Old thread... However, I believe I'm doing exactly what you are saying:
Struts 2.0.x + XHTML + .jspx file with a embedded inside a
element. This is working perfectly. No errors in my editor (NetBeans 5.5.1)
or in the runtime (Glassfish v2). Here is a simple example:
http://ja
gt;> From: "Laurie Harper" <[EMAIL PROTECTED]>
>> To: user@struts.apache.org
>> Subject: Re: xhtml problem
>> Date: Fri, 01 Jun 2007 16:36:01 -0400
>>
>>
>> That's a quite different issue from DTD validation. Yes, when you
>> use XML-fo
tax.
- rc
> - Original Message -
> From: "Laurie Harper" <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Subject: Re: xhtml problem
> Date: Fri, 01 Jun 2007 16:36:01 -0400
>
>
> That's a quite different issue from DTD validation. Yes, when you
That's a quite different issue from DTD validation. Yes, when you use
XML-format JSP documents, they must be authored in well-formed XML. This
isn't a Struts tags issue; the same would be true for any JSP custom
action (tag) from any source.
For the case you describe below I'd probably try a c
That is exactly how I do it now, using the xhtml1-transitional dtd. But when
the container assembles the page, it is not valid xhtml, because of the
nested s2-tag elements. For example, the s2 documentation uses this example
to dynamically change the css class of a tr element:
oddeven">
Aside fr
Ray Clough wrote:
The failure is in the deployed code. The processor which produces html from
the jsp markup (in tomcat, in this case) will not allow the nested elements.
It is treating everything as pure xml, and the dtd for xhtml won't allow that
type of markup. I could live with it if it
y the editor which was
complaining. I have been trying to use a blend of jsp el with the s2 tags, but
that has problems too.
- rc
> - Original Message -
> From: "Manos Batsis" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Subject: Re: xhtm
Ray Clough wrote:
I produce all my jsp pages is xml format - ie. as 'jspx' jsp-documents. I
find a serious drawback to the struts tags, and I'm wondering if anyone has
a suggestion. The xhtml does not allow element content within other
elements; for example the tag cannot contain a tag. Lots
8 matches
Mail list logo