Titi Wangsa wrote:
i'm havig problem with struts.
i'm using 1.2.7 and i'm using the validator plug-in
the problem is when i'm using html:javascript forname=

the name attribiute for form
<form name="">
is not rendered when <html:html xhtml="true">

however when only <html:html> is specified, without turning on the
xhtml feature,
the <form name=""> tag is rendered.

the question is, how to use the <html:javascript>
feature for client side validation when using <html:html xhtml="true"

A very quick look at the code for the form tag suggests that xhtml=true should make no difference to whether the name attribute gets generated. Are you sure that's the only thing different between working and not working?

Or did you mean the entire 'form' tag doesn't show up in the HTML if you include xhtml=true?

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


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

Reply via email to