Re: 2.0.11: s:autocompleter

2007-12-27 Thread Vencent Chen
lower = new ArrayList(); > > > > > > if( upperValue.equalsIgnoreCase("A") ){ > > > lower.add( new Value(1,"a1") ); > > > lower.add( new Value(2,"a2") ); > > >

Re: 2.0.11: s:autocompleter

2007-12-24 Thread Rodrigo Pereira
; > > }else{ > > lower.add( new Value(1,"b1") ); > > lower.add( new Value(2,"b2") ); > > } > > > > return SUCCESS; > >

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
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

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
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

Re: 2.0.11: s:autocompleter

2007-12-15 Thread Rodrigo Pereira
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

Re: 2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
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

Re: 2.0.11: s:autocompleter

2007-12-11 Thread Dave Newton
--- 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. --

Re: 2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
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="

2.0.11: s:autocompleter

2007-12-11 Thread Rodrigo Pereira
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