Why doesn't the Conditional comonent not accept informal parameters ?

"Elankath, Tarun (Cognizant)" <[email protected]> Mon, 24 Feb 2003 07:12:34 -0500
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <ED5E2A9386A4D411BCC900508BF7E43D01A14908@CTSINBLRSXUA>
Hi list,

I am rather peeved that the conditional component doesn't accept =
informal parameters. I have an element with a CLASS attribute that I =
wish to display conditionally. Unfortunately, if I give a jwcid to this =
element and let it be a conditional component, then the CLASS attribute =
is invalid.

IMHO, this is a bug. I don't see any good reason as to why informal =
parameters are forbidden int the conditional component. As far as good =
sense goes, informal parameters should be allowed in all circumstances =
for all components, it should only be disabled in case of conflict.

I know have to put an un-necessary pair of <span jwcid=3D"ifBlah"> tags =
around the element now.  This only messes the template, instead of =
keeping it inviolate.=20


Regards,
Tarun


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf