You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ka...@wipro.com on 2010/12/30 16:17:46 UTC

Struts 2 Radio Button for show and hide fields

Hi,
I want to create two struts 2 radio button one for delegate,one for pull,
if i click delegate and submit only some of the fields i will show and some of the 
fileds i will hide same like pull also. any body help my problem. 
 
Thanks and Regards,
Karthick G
Mobile:8971318927

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

Re: Struts 2 Radio Button for show and hide fields

Posted by Kushan Jayathilake <ku...@gmail.com>.
That's totally relates to java scripts, use on click event to call a java
script function and apply "style = display: none;" & "style = display:
block;" (retrieve the element before you apply this, hope you know how to do
that)
On 30 Dec 2010 20:48, <ka...@wipro.com> wrote:
> Hi,
> I want to create two struts 2 radio button one for delegate,one for pull,
> if i click delegate and submit only some of the fields i will show and
some of the
> fileds i will hide same like pull also. any body help my problem.
>
> Thanks and Regards,
> Karthick G
> Mobile:8971318927
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
>
> www.wipro.com

Re: Struts 2 Radio Button for show and hide fields

Posted by tito <ti...@gmail.com>.
do you want to selectively show/hide certain fields on the page while
selecting the radio button ? In tat case you can use a div tag and use
display/block styles.The solution is not at all related to struts
though and is purely javascript.

As you work in Wipro,which is a software giant,guess it has an inhouse
tech help team :)

On 12/31/10, Dave Newton <da...@gmail.com> wrote:
> While I'm not entirely sure what you're asking, it sounds like trivial
> JavaScript, and unrelated to Struts.
>
> Dave
>
> On Thu, Dec 30, 2010 at 10:17 AM, <ka...@wipro.com> wrote:
>
>> Hi,
>> I want to create two struts 2 radio button one for delegate,one for pull,
>> if i click delegate and submit only some of the fields i will show and
>> some
>> of the
>> fileds i will hide same like pull also. any body help my problem.
>>
>> Thanks and Regards,
>> Karthick G
>> Mobile:8971318927
>>
>> Please do not print this email unless it is absolutely necessary.
>>
>> The information contained in this electronic message and any attachments
>> to
>> this message are intended for the exclusive use of the addressee(s) and
>> may
>> contain proprietary, confidential or privileged information. If you are
>> not
>> the intended recipient, you should not disseminate, distribute or copy
>> this
>> e-mail. Please notify the sender immediately and destroy all copies of
>> this
>> message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of viruses.
>> The
>> company accepts no liability for any damage caused by any virus
>> transmitted
>> by this email.
>>
>> www.wipro.com
>>
>

-- 
Sent from my mobile device

regards,
Tito Cheriachan
http://www.titocheriachan.com


___________________________________________
Automate Twittering using AutoTweeter
http://www.autotweeter.in
<http://www.autotweeter.in>Follow twitter users automatically with
AutoFollower
http://www.twitterautofollower.com



10 litres of water is required to produce a sheet of paper.
--

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts 2 Radio Button for show and hide fields

Posted by Dave Newton <da...@gmail.com>.
While I'm not entirely sure what you're asking, it sounds like trivial
JavaScript, and unrelated to Struts.

Dave

On Thu, Dec 30, 2010 at 10:17 AM, <ka...@wipro.com> wrote:

> Hi,
> I want to create two struts 2 radio button one for delegate,one for pull,
> if i click delegate and submit only some of the fields i will show and some
> of the
> fileds i will hide same like pull also. any body help my problem.
>
> Thanks and Regards,
> Karthick G
> Mobile:8971318927
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>