Ok, I finally managed to make it work.
so now the answer...
as I said, I did it exactly the same way as the example:
Autocompleter 2
and here we never get the result (the selected thing). Of course if we want
to have it we have to add name="mySelectedValue" and have a
setMySelectedValue in
Yes I mean to use the value on my action, and I did set name="myVar" and I do
have a "myVar" field and a public setMyVar() method on my action.
This is strange, because when I write my autocompleter this way:
here the value is "stored" and I can use it in my action.
But if I write exactly the s
By "get the selected value", do you mean to use the value on your
action? If that is the case, all you have to do is set name="myVar",
and then have a "myVar" field and a public setMyVar(...) method on
your action.
musachy
On Wed, Mar 26, 2008 at 1:19 PM, sassien <[EMAIL PROTECTED]> wrote:
>
>
Hi everyone,
I'm new to struts 2, and I finally managed to link 2 autocompleters using a
few examples like this one:
http://www.planetstruts.org/struts2-showcase/viewSource.action?page=/ajax/autocompleter/index.jsp
or this one:
http://struts.apache.org/2.x/docs/autocompleter.html
As it is done
4 matches
Mail list logo