The doubleselect tag provides easy to use encapsulation of your usecase,
with binding to the s2 based model. But in the very end, it's use will
render javascript code in the resulting html, and there is no way around
 because of how html / http is designed.

Skip Hollowell schrieb:
> Rene,
> 
> It sounds you are are saying that there IS a way, using this
> <s:doubleselct>  Correct?
> 
> Rene Gielen wrote:
>> Indeed there is no way without Javascript. The s2 tag Skip is searching
>> for is
>> http://cwiki.apache.org/confluence/display/WW/doubleselect
>>
>> Zoran Avtarovski schrieb:
>> > Any solution has to be javascript based. The question is wether you
>> want a
>> > server side visit or not. And that is dependant on how much data
>> variability
>> > there is in your second select list.
>> >
>> > In our case if there are only a limited number of variations we
>> download
>> > them all as part of the initial page and use pure javascript, but if
>> there
>> > lots then we employ a simple ajax call.
>> >
>> > Z.
>> >
>> >> I apologize profusely for what has got to be a FAQ, but I can't find
>> >> reference to this at all, either Googling or in my message archives.
>> >>
>> >> I have the classic problem of 2 select boxes, and the values of the
>> >> second select will change based upon the choice in the first box.
>>  I am
>> >> using a simple theme at the present time, and have no immediate
>> plans to
>> >> move to anything AJAX related for this release.
>> >>
>> >> I have seen ComboBox and AutoComplete, but these don't seem to come
>> >> close to what is needed.  IS there a Struts 2 based way to do this, or
>> >> am I back to JavaScript?
>> >> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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