java - How to send data to ActionBean via JavaScript? -
I am playing with strips and I wonder if it is possible to send javascript-generated data to Actionben. To be more specific, when I click on some element on the page with my mouse, after clicking on the tabs: link
, I have to return the ID of that element to the actionbane. I have already saved that ID in SS variable id
, how do I do it?
Are you using parameterized links?
& lt; Stries: link id = "mylink" href / beanclass = "..." event = "..." & gt; & Lt; Stries: Ultimate name = "id" value = "some_default_value" /> click on me! & Lt; / Stripes: Links & gt;
Most possibilities arise: Note : The suggestion is unverified. Edit : On the second thought, why to write some code, just type some javascript http://mysite.com/...?id=some_default_value
, which you will use later in JavaScript Some
"id? =" + Id;
at the link's URL address?
Comments
Post a Comment