Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:radio

 
ankur sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having problem while using html:radio tag in my jsp. The jsp is working fine if i am using the simple input type=radio tag as

input type="Radio" name="check" value="" onklick="update('%out.print(tmp1.get(i));%');"



but as soon as i convert this to
html:radio property="check" value="" onklick="update('%out.print(tmp1.get(i));%');"



i am getting error as

Cannot find bean under name org.apache.struts.taglib.html.BEAN

Please help me out to find a solution.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"just anks", please check your private messages for an important message from me.
 
Vivek Kr Singh
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cannot find Bean refers to loss of struts action servlet to identify from where the value is being referred.

If you have configured form bean name as "inputForm" then try to provide the same under name property of an html:radio. Property must be referring to a bean attribute here an inputForm attribute with proper getter/setter methods defined.

Remove "-" from on-click
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic