Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: Ajax Requirement

siva

2007-02-28

Replies:

Thanks for the reply.

Can you please tell me which cookbook example which you are referring.

I went through showcase.war, there was doubleselect which was closest to my
requirement, but, it doesn't hit the server for change in master select.
But, in my case I want some sql query to be executed to find the result of
child select.

Is there any similar example anywhere which I can refer?

Thanks
siva

-----Original Message-----
From: Frank W. Zammetti [mailto:fzlists@(protected)]
Sent: Tuesday, February 27, 2007 7:52 PM
To: Struts Users Mailing List
Subject: Re: Ajax Requirement

JWP doesn't offer ready-made components such as this (yet!!), but it
*does* make developing them very simple (and without you having to code
Javascript usually)... this particular case is actually one of our
cookbook examples, so I suppose you could in fact say it offer this
particular item :)

Frank

Musachy Barroso wrote:
> If you are using the "autocompleter" tag, this is done already, and
> there is
> an example on showcase. If not, you will have to do everything my hand,
for
> which I would recommend using a framework that already has it, like
> AjaxTags, not sure if Java Web Parts has something like this also, Frank?
>
> regards
> musachy
>
> On 2/27/07, Siva Gurusamy <sivag@(protected):
>>
>> Hi,
>>
>>
>>
>> I am new to Struts 2. I have following requirement on Ajax. Can somebody
>> explain me how to implement this requirement?
>>
>>
>>
>> There is form in which there are 2 selects. One is a master select and
>> other
>> is child select whose values changes based on master select. I want to
>> implement in Ajax. This is similar to having 2 selects one with Country
>> and
>> other with states. Based on selection of Country, values in state select
>> changes. There are also other fields in the form which will be submitted
>> when all the fields are entered properly.
>>
>>
>>
>> Thanks
>>
>> siva
>>
>>
>
>

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@(protected)
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.