Cosmin Bucur wrote:
I don't understand why the jwcid and the id have to match .

So tapestry won't render the page if your components have
subcomponents which end up having the same name ? that sux

Anywais , I never needed to do this , but I do have lists in my apps ,
and within the listable components I make , the subcomponents tend to
be identic . However I never declare these subcomponents in my jwc ,
forcing them to have a jwcid name . Instead I do this

<span id="ognl:val1" jwcid="@Insert" value="ognl:val1" />
<span id="ognl:val2" jwcid="@Insert" value="ognl:val1" />

...

Would that approach not work ?
Well if "ognl:val1" turns out with invalid ID values (I don't remember the rules now, but there are some), it wouldn't work. Also, what guarantees that ognl:val1 and ognl:val2 are identic? And even if they're different in the same component, what happens when you put several instances of this component in the page?

--
Ing. Leonardo Quijano Vincenzi
DTQ Software




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to