Hi,
does anybody have an example of s:autocompleter getting list value
from an action?
I have been trying to update a list based on the selection of another
one, but no success. I'd like the dropdown lists not hardcoded as
showcase example does.

Thanks,
Rodrigo Pereira


On Dec 11, 2007 4:50 PM, Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
> Hi,
> I tried that but it only loads 1st dropdown, the 2nd is never updated.
>
> <form id="selectForm">
>
>         <s:autocompleter theme="simple" name="upperValue" list="upper"
> listValue="name" listKey="valueId" notifyTopics="/changeLower"/>
>
> </form>
>
> <s:autocompleter theme="ajax" name="lowerValue" list="lower"
> listValue="name" listKey="valueId" listenTopics="/changeLower"
> formId="selectForm"/>
>
>
> Thanks,
> Rodrigo Pereira
>
>
> On Dec 11, 2007 4:42 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> > --- Rodrigo Pereira <[EMAIL PROTECTED]> wrote:
> > > this way you're hard coding the 1st dropdown list.
> > > I'd like to get it from an action.
> >
> > So use a value from the action instead of an immediate OGNL value.
> >
> > > By the way, how does the 2nd dropdown get updated?
> >
> > Via the notify/listen topics.
> >
> > d.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to