[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: RE: <html:text> DTD xhtml 1.0 Strict
From: "Randall Svancara" <rsvancara () adaweb ! net>
Date: 2005-04-28 21:13:30
Message-ID: 9FACF2700DF15849849992AB521FF875163E86 () SWAN_MAIL1 ! ada ! net ! gov
[Download RAW message or body]
nuts....I was looking under struts xhtml html:text and I found
nothing.....to exact of a search I guess.
Thanks
Randall
-----Original Message-----
From: Michael Jouravlev [mailto:jmikus@gmail.com]
Sent: Thursday, April 28, 2005 3:05 PM
To: Struts Users Mailing List
Subject: Re: <html:text> DTD xhtml 1.0 Strict
google: struts xhtml
The first line of search result:
"Kickstart FAQ - Apache Struts: Are the Struts tags XHTML compliant?"
http://struts.apache.org/faqs/kickstart.html#xhtml:
If you use an <html:html xhtml="true> or <html:xhtml/> element
on your page, the tags will render as XHTML (since Struts 1.1).
Also from BaseHandlerTag.java:
/**
* Returns the closing brace for an input element depending on xhtml
status. The tag
* must be nested within an %lt;html:html> tag that has xhtml set
to true.
* @return String - > if xhtml is false, /> if xhtml is true
* @since Struts 1.1
*/
protected String getElementClose() {
if (this.isXhtml()) {
return " />";
} else {
return ">";
}
}
On 4/28/05, Randall Svancara <rsvancara@adaweb.net> wrote:
> I am wondering if <html:text> can be altered to generate valid DTD
> xhtml 1.0 strict xhtml.
>
> For example, I have:
>
> <html:text property="search" size="20"/>
>
> which generates:
>
> <input type="text" name="search" size="20" value="">
>
> For valid xhtml 1.0 strict dtd, it needs to look like this:
>
> <input type="text" name="search" size="20" value=""/>
>
> Any ideas, suggestions or comments.
>
> Thanks in advance.
>
> Randall
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic