I often use <div> tags for these types of components, because <span> is
not always contextually valid.
The logic you're proposing would cause these extra <div>s to appear in
my html.

Paul

On Wed, 20 Sep 2006 08:10:56 -0700, "Howard Lewis Ship"
<[EMAIL PROTECTED]> said:
> Components which have an "element" parameter (If, For, etc.).
> 
> Perhaps we should code it as:
> 
>   if the component's tag is "span", honor the element parameter,
>   else honor the component's actual tag
> 
> So:
> 
> <fieldset jwcid="[EMAIL PROTECTED]" element="fieldset"
> condition="ognl:book.name">
> 
> could be replaced with
> 
> <fieldset jwcid="[EMAIL PROTECTED]" condition="ognl:book.name">
> 
> To the same result.
> 
> -- 
> 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
-- 
  Paul Ferraro
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web


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

Reply via email to