Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
Hi,

 Howard Lewis Ship wrote on Sat, 24 Mar 2007 11:42:22 -0800

 This is correct behavior for rendering HTML (as opposed to XHTML).
 Unlike T4, T5 knows the difference.  HTML is a SGML language where
 open tags are not necessarly balanced with close tags.

 What's coming is the ability for Tapestry to render XML/XHTML
 correctly and choose the correct strategy (HTML vs. XML/XHTML)
 automatically.

 does this imply that T5 will be able to do this one day or is
there any way to enforce XHTML-compliant output with T5 as it
is now?

Cheers,

Martin

-- 
- / http://herbert.the-little-red-haired-girl.org / -
=+= 
WE ARE THE BORG - RESISTANCE IS VOLTAGE DIVIDED BY CURRENT!

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



Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Howard Lewis Ship

Just hasn't been fleshed out yet; there needs to be a negotiation between
the MarkupWriterFactory service and the page that does the rendering to
determine the correct MarkupWriter configuration for the result.

On 5/29/07, Martin Dietze [EMAIL PROTECTED] wrote:


Hi,

 Howard Lewis Ship wrote on Sat, 24 Mar 2007 11:42:22 -0800

 This is correct behavior for rendering HTML (as opposed to XHTML).
 Unlike T4, T5 knows the difference.  HTML is a SGML language where
 open tags are not necessarly balanced with close tags.

 What's coming is the ability for Tapestry to render XML/XHTML
 correctly and choose the correct strategy (HTML vs. XML/XHTML)
 automatically.

does this imply that T5 will be able to do this one day or is
there any way to enforce XHTML-compliant output with T5 as it
is now?

Cheers,

Martin

--
- / http://herbert.the-little-red-haired-girl.org /
-
=+=
WE ARE THE BORG - RESISTANCE IS VOLTAGE DIVIDED BY CURRENT!

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





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com


Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
On Tue, May 29, 2007, Howard Lewis Ship wrote:

 Just hasn't been fleshed out yet; there needs to be a negotiation between
 the MarkupWriterFactory service and the page that does the rendering to
 determine the correct MarkupWriter configuration for the result.

sorry, -v, please :)

Cheers,

Martin

-- 
- / http://herbert.the-little-red-haired-girl.org / -
=+= 
while (!asleep)
  ++sheep;

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



Re: T5: No /option tag rendered when using enum

2007-05-29 Thread Martin Dietze
On Tue, May 29, 2007, Martin Dietze wrote:

 On Tue, May 29, 2007, Howard Lewis Ship wrote:
 
  Just hasn't been fleshed out yet; there needs to be a negotiation between
  the MarkupWriterFactory service and the page that does the rendering to
  determine the correct MarkupWriter configuration for the result.
 
 sorry, -v, please :)

I guess that was a bit too short - I merely wanted to ask for
more details; do I get right this has not been implemented yet
but is in the process of being implemented?

Cheers,

Martin

-- 
- / http://herbert.the-little-red-haired-girl.org / -
=+= 
My family says I'm a psychopath, but the voices in my head disagree

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



Re: T5: No /option tag rendered when using enum

2007-03-24 Thread Howard Lewis Ship

This is correct behavior for rendering HTML (as opposed to XHTML).
Unlike T4, T5 knows the difference.  HTML is a SGML language where
open tags are not necessarly balanced with close tags.

What's coming is the ability for Tapestry to render XML/XHTML
correctly and choose the correct strategy (HTML vs. XML/XHTML)
automatically.

On 3/22/07, Erik Johansson [EMAIL PROTECTED] wrote:

Hi,

when using the Select component with an Enum the options within the select tag wont 
render the /option tag.

Example:

The enum

public enum TestEnum {
ONE,TWO,THREE;
}

will render the select

select id=selected name=selected
option value=ONEOne
option value=TWOTwo
option selected=selected value=THREEThree
/select

Is this a known bug? (I'm not familiar with JIRA so I dont know how to post 
this or if it has been noticed)

regards
-Erik


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





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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