Re: How to dinamically load a field

2007-03-07 Thread Célio Cidral Junior
2007/3/7, Dave Newton <[EMAIL PROTECTED]>: The next-to-last example specifically shows how to use the autocompleter tag to update one select when another one is changed; I thought that was what you were asking about. Thanks! Again, I or somebody else will be happy to change the documentation

Re: How to dinamically load a field

2007-03-07 Thread Dave Newton
--- Célio Cidral Junior wrote: > I'm having difficult to understand how the > autocompleter works ... > > http://struts.apache.org/2.x/docs/autocompleter.html > > ... more specifically, how it can help me on the > problem I posted in this thread. Try http://struts.apache.org/2.x/docs/ajax-tags.h

Re: How to dinamically load a field

2007-03-07 Thread Célio Cidral Junior
2007/3/7, Dave Newton <[EMAIL PROTECTED]>: What does the documentation not tell you? I will update it if there's something missing, but it was more than enough to get my use of it going. I'm having difficult to understand how the autocompleter works ... http://struts.apache.org/2.x/docs/autoc

Re: How to dinamically load a field

2007-03-07 Thread Dave Newton
--- Célio Cidral Junior wrote: > Anyway I'm gonna hack around to see if I can find out > how it works. What does the documentation not tell you? I will update it if there's something missing, but it was more than enough to get my use of it going. d. _

Re: How to dinamically load a field

2007-03-07 Thread Célio Cidral Junior
2007/3/7, Musachy Barroso <[EMAIL PROTECTED]>: If you are using S2, the autocompleter tag does that The bad documentation get on my nerves. It's sad the fact that fantastic pieces of software like Struts2 doesn't have decent documentation. Anyway I'm gonna hack around to see if I can find out h

Re: How to dinamically load a field

2007-03-07 Thread Célio Cidral Junior
2007/3/7, Musachy Barroso <[EMAIL PROTECTED]>: If you are using S2, ... Oh yeah, I'm sorry, I forgot to mark my post as [S2]. Thanks for the replies. Célio. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [OT] How to dinamically load a field

2007-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Célio, Célio Cidral Junior wrote: > [W]hat I need is to load a field based on the value > selected on another field. Let's say you have a State field > and also a City field. The user selects a state and the cities of that > state are loaded in the

Re: How to dinamically load a field

2007-03-07 Thread Musachy Barroso
If you are using S2, the autocompleter tag does that, you can use the "formId" attribute to specify a form which will be submitted to the action, from which you can return the right values. If you are using S1, you will need an ajax library. musachy On 3/7/07, Célio Cidral Junior <[EMAIL PROTECT

How to dinamically load a field

2007-03-07 Thread Célio Cidral Junior
Well, perhaps "dinamically" is not the best way to describe it, but anyway what I need is to load a field based on the value selected on another field. Let's say you have a State field and also a City field. The user selects a state and the cities of that state are loaded in the City field. What