I orginally thought the problem was with struts, but it seems to be an xsl
problem I am having.   I am generating many struts forms using jsp/xml
syntax and struts.  It is working quite nicely so far.  I am using
<html:form>,<html:text>,<html:radio>... with no problems, but for some
reason my xsl style sheet renders <html:checkbox> or <html:mulitbox> without
html prefix.

I found the problem for anyone who may need an answer.  It was nothing to do
with checkbox or multibox.  Since I was calling this from within and XSL
template, I needed to declare the tag library in the xsl style sheet as well
as the jsp:root.

Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS  Chemical Engineering

-----Original Message-----
From: Jason Long [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 12:21 AM
To: Struts Users Mailing List
Subject: Problems with multibox and checkbox


I have tried both of the following, but I can not get this to work.

<html:multibox property="chkItems" value="[EMAIL PROTECTED]"/>
<html:checkbox property="chkItems" value="[EMAIL PROTECTED]"/>

I have a group of checkboxes that I would like to have filled after a
validation attempt.
If I add either of the following I get the following rendered to the
browser.
I have radio, and text fields working fine.

<multibox value="47" property="chkItems"/>
<checkbox value="47" property="chkItems"/>

What am I missing?
Do I need to set chkItems to zero length in the form reset() method?
If so, what is the syntax?

Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS  Chemical Engineering



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to