Questions tagged [param]
304 questions
0
votes
1 answer
SwfObject not setting bgcolor in IE
I am trying to create a flash object using SwfObject javascript. It how ever works well with FF and chrome, but it doesnt display the background colour
My JS Code
var swfWidth = "500";
var swfHeight = "500";
var swfBgColor = "#ff0000";
var…

nipiv
- 773
- 1
- 8
- 21
0
votes
0 answers
JSF resolve EL expression passed like param (Facelets)
First, my code:
report-layout.xhtml:
NO SUPP!!!
…

wsaca
- 55
- 11
0
votes
1 answer
Jquery slider 100% height
I'm trying to set a vertical jquery slider to 100% height of a container div. How can I do this? I've tried changing the parameter height: 400 to height:"100%" but that just stretches the page to the height of the entire slider content. The goal is…

LPAOriginal
- 11
- 6
0
votes
0 answers
How can I translate jsp:param within jsp:include to Java with RequestDispatcher.include
I want to translate
to Java, like:
RequestDispatcher rd = request.getRequestDispatcher("xxx.jsp");
rd.include(request, response);
How can I put the param x = 0 ? the…

Cosmin Cosmin
- 1,526
- 1
- 16
- 34
0
votes
1 answer
Local variables and jQuery.globalEval
In my Rails 3 ajax scaffolding I have a hook on ajax:success which takes any code defined in a data-loaded attribute of the calling entity (a, form etc) and executes it using jQuery.globalEval. I want to access a local variable in the hook, for…

Jay Croghan
- 445
- 3
- 16
0
votes
2 answers
Applet param not preserving CRLFs
I wrote and applet that uploads a multi-paragraph string as a param. When I test it in Netbeans, it preserves the CRLFs, but when I deploy it live, in an app, it discards them Why is this happening and what can I do about it?

Willy Chaplin
- 1
- 1
0
votes
1 answer
Ruby On Rails - Acts As Taggable - Change name of param: keyword
I wonder if/how to change the name of the param :keyword when using acts as taggable?
Today my url looks like this:
http://www.foo.bar/tagged?keyword=baz
I would like to change the "keyword" to another word.
controller
def tagged
…

Philip
- 6,827
- 13
- 75
- 104
0
votes
1 answer
Passing parameters to param tag dynamically
I want to pass the value to the tag of applet dynamically.
I am taking the ID from session in this way and want to assign ID value to applet
var ID = Session[1];
Is this correct value of passing ID value to the applet dynamically
or is there any…

user1400915
- 1,933
- 6
- 29
- 55
0
votes
0 answers
Change param value using jquery
I need to change object param value when I click on a link, using jquery. I tryed these solutions, but they don't work in ie:
$('a.link-video').live('click',function(){
$('.object-video', $(this).parent().parent()).param({name : 'flashvars',…

pindol
- 2,110
- 6
- 35
- 52
0
votes
1 answer
Javascript in JSF - "body onload=" vs tag
I am trying to use a javascript on one of my JSF pages. Unfortunately the
Is not called at all. I have discovered that if I add /redirect tag in the navigation case that navigate to the page,…

srd.pl
- 571
- 10
- 22
-1
votes
2 answers
Get the value of radiobutton to a ${param}
Basically I have two radiobuttons here, with different values, now when submitted the next page should display the selection. But it does not, when i try this with type=text it works fine. Please help.

Pursuer of Dying Stars
- 188
- 3
- 12
-1
votes
2 answers
PHP - evaluating param
I have following code:
when I use it like:
mysite.com/test.php?param=2+2
or
mysite.com/test.php?param="2+2"
it prints
2 2
not
4
I tried also eval - neither worked

encoree1337
- 317
- 2
- 15
-1
votes
4 answers
Get value of out parameter before assigning
I'm updating a method that contains an out parameter. I need to check the value of the parameter before setting it to a default.
public int DoWork(out int param)
{
param = 0;
}
However, when I try to do something like this
public int…

miguelarcilla
- 1,426
- 1
- 20
- 38
-1
votes
1 answer
mysqli Fatal error: Call to a member function bind_param() on a non-object
I have a problem with a prepared statement, here is my code:
function query_array($table, $data) {
foreach ($data as $column => $value) {
$columns[] = sprintf("`%s` = '%s'", $column, $this->db->real_escape_string($value));
}
…

Special K.
- 521
- 1
- 8
- 18
-1
votes
1 answer
zend send email to refer a friend
I have a page to send invite email to friend.
When you enter your friend email and it's send.
Your friend receive the email and in that email he has a link that goes to a page to refer the user.
Here's my question: when the friend click on that…

user1892860
- 13
- 5