Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread Kushan Jayathilake
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, wrote: > Hi, > I want to create two struts 2 rad

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread tito
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 ha

Re: Struts 2 Radio Button for show and hide fields

2010-12-30 Thread Dave Newton
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, 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