aspose file tools*
The moose likes Struts and the fly likes html:radio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:radio" Watch "html:radio" New topic
Author

html:radio

ankur sharma
Greenhorn

Joined: Oct 11, 2007
Posts: 1
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

Joined: Jan 10, 2002
Posts: 61199
    
  66

"just anks", please check your private messages for an important message from me.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Vivek Kr Singh
Ranch Hand

Joined: Oct 12, 2007
Posts: 56
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


SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:radio