Questions tagged [param]

304 questions
3
votes
1 answer

Sinantra, how access URL params such as "?something=xyz" in a POST handler (it's not in params[])

We're using a third party web service that POSTS multipart data (a file) back to us. But it ALSO passes an extra param via the url http://ourdomain.com/theposturl?extra=good the 'filename' object with :filename and :tempfile for the binary data are…
jpw
  • 18,697
  • 25
  • 111
  • 187
3
votes
2 answers

How to query a param in the middle of an URL with Retrofit

I'm reading post and docs about Retrofit 1 & 2. I have the next source code to get a repo from an user. @GET("users/{user}/repos") Call> getRepos(@Path("user") String user); In retrofit2 I see that now we need to change @Path with…
Víctor Martín
  • 3,352
  • 7
  • 48
  • 94
3
votes
1 answer

angularjs back previous page state.go stateParams

Hello all I want to know how to make a return to the previous page in AngularJS with state.go stateParams or between two different pages I tried this but the variable is empty: $ctrl.next = function(){ $state.go('modiffili',…
user6285277
3
votes
2 answers

disable flash audio in object params?

Is there a way of disabling the audio in a flash file via the object params?
tomfmason
  • 1,039
  • 1
  • 11
  • 15
3
votes
1 answer

How to select specified element using XSLT by its index?

I have a xml file here:
Howard Jia
  • 33
  • 3
3
votes
1 answer

Setting f:setPropertyActionListener value with a f:param value

I'm trying to use the setPropertyActionListener tag to set a value in my backing bean. However, it doesn't work as I expected. Context: userService is an instance of my backing bean, which contains an int member, reqID. This, in turn, is the key to…
Steve J
  • 35
  • 1
  • 4
3
votes
4 answers

How to Change object property in params JavaScript

Example: I need create function like object, if i have simple object, i can get it like this: myObject = function(){ alert('tada'); } but i need to implement this function or other param inner object like this: myObject = { value :…
3
votes
1 answer

Struts2 pass parameters to action in different webapp

I use Struts 2.3.16.3. I want an action from webapp 1 to pass parameters to an action in webapp 2. In the struts.xml of webapp 1 I define the following result:
user1884155
  • 3,616
  • 4
  • 55
  • 108
3
votes
2 answers

jsf set ui:param or use a value that changes dynamically in ui:repeat

I want to update an ui:param value or use something similar in ui:repeat loops with a condition. The idea is something as follows (is just an aprox, not the final implementation but I guess is understandable):
dcalap
  • 1,048
  • 2
  • 13
  • 37
3
votes
1 answer

Unable to serialize object - jquery.param returning undefined

I wish to encode an array of objects using JQuery.param() to then send the data via an ajax GET request. The object is of type object and when doing console.log(JSON.stringify(obj)) i…
Ben
  • 6,026
  • 11
  • 51
  • 72
3
votes
3 answers

Cant get requested GET param in yii

im trying create url like this: www.domain.com/auth?join=social in yii. This is my config: 'urlManager' => array( 'urlFormat' => 'path', 'rules' => array( '' => 'site/', …
iProgrammer
  • 756
  • 2
  • 10
  • 20
3
votes
1 answer

Richfaces tooltip componentcontrol param

I have a table where each cell click opens a tooltip using the componentControl tag, this works. But I wanted to pas a parameter to the tooltip, which is different per table cell.
Jurgen Hannaert
  • 973
  • 10
  • 22
3
votes
2 answers

How to pass a managed bean as param at a facelet template

I'm having a lot of trouble trying to pass a managed bean as param at a facelet template. I'm trying to create a variable at a facelet template and pass its value through ui:param, but i'm constantly having the "Target Unreachable, identifier 'bean'…
3
votes
3 answers

XSLT: Apply templates with conditional parameters?

I'd like to apply a template with different parameters based on the result of a conditional. Something like this:
conciliator
  • 6,078
  • 6
  • 41
  • 66
3
votes
2 answers

How to pass values from HTML page to java applet?

I have tried passing values using javascript like below