You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vitali Rumshin <ru...@web.de> on 2004/02/03 18:05:26 UTC

modified RadioGroup/Radio components

Hi all, Tapestry funs.
Our designers have made some strage page design for a one our project, and I 
have faced a one problem with Radio/ RadioGroup components. Problem was that a 
RadioGroup component can not be nested in general, but I needed to place some 
nested RagioGroup and Radio components inside Td tags of the table (mix them). 
So I have modified these components and used reserved name property of the 
Radio component to bind it with the name of the parent RadioGroup , and now 
RadioGroup component can update only correspond Radios elements.

like this:

<jwcid="oneCategory@RadioGroup" selected="ognl:currentOneCatObject"> 
  <jwcid="anotherCategory@RadioGroup" selected="ognl:currentAnotherCatObject">
     <jwcid="@Radio" name="oneCategory"  value="A1" /> A1 
     <jwcid="@Radio" name="anotherCategory"  value="B" /> B
     <jwcid="@Radio" name="oneCategory"  value="A2" /> A2 
  </jwcid> 
</jwcid> 

somebody interested in such components, I could send it .

Best Regards, Vitali


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org