lower = new ArrayList();
> > >
> > > if( upperValue.equalsIgnoreCase("A") ){
> > > lower.add( new Value(1,"a1") );
> > > lower.add( new Value(2,"a2") );
> > >
;
> > }else{
> > lower.add( new Value(1,"b1") );
> > lower.add( new Value(2,"b2") );
> > }
> >
> > return SUCCESS;
> >
e.
>
> Thanks,
> Rodrigo Pereira
>
>
> On Dec 15, 2007 2:32 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> > Rodrigo-
> >
> > There is a bug I logged on autocompleter..hopefully we'll have a patch soon
> > https://issues.apache.org/struts/browse/WW-23
ck glance at this?
>
> Saludos desde EEUU
> Martin-
>
> - Original Message -
> From: "Rodrigo Pereira" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Saturday, December 15, 2007 10:34 AM
> Subject: Re: 2.0.11: s:autocomp
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, R
Hi,
I tried that but it only loads 1st dropdown, the 2nd is never updated.
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
--- 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.
--
Hi,
this way you're hard coding the 1st dropdown list. I'd like to get it
from an action.
By the way, how does the 2nd dropdown get updated?
Thanks,
Rodrigo Pereira
On Dec 11, 2007 2:01 PM, <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.6/docs/ajax-tags.html
> theme="simple" list="
Hi,
I am trying to dynamic update a dropdown list based on the selection
of the previous one, but I am getting no value in the 2nd dropdown
list.
dropdown.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
Example - Dropdown
9 matches
Mail list logo