Hi @ All....

I?ve try to build  a page but i?m not right in understanding how tapestry
works....

OK: I Have a Page Class "Context" (extending BasePage implementing
PageBeginRenderListener)which consists some propertys of Type "Persons"
which extends from BaseComponent and which ist not abstract. This Class
builds an arraylist of "Person" extending BaseComponent.

Now I want to initialiaze the Propertys in the Context Class at the begin of
pageBeginRender is called. There i create a new Instance of Persons. then i
call persons.setPersonList(ArrayList Person) so that all value are
initialized.

In the Context.html i try to visualize the Context builded when
pageBeginRender is called.

         <span jwcid="@Foreach" source="ognl:Persons" value="ognl:ListItem">
                 <span jwcid="@If" condition="ognl:ListItem instanceof
Persons">
                 <span jwcid="@Person"
AdresslList="ognl:ListItem.getAdressList()"  
                                                        
Name="ognl:ListItem.getName()"/>
                 </span>
         </span>

The Class person has the propertys:  String name and ArrayList AdressList.

So the Problem is that the parameter are not referenced. the component
parameters are always null... or in detail they have the values defined in
the standart constructor. Can anyone help me... ?!???!?!?!?


-- 
View this message in context: 
http://www.nabble.com/Problem-Understanding-Tapestry..-tf2400174.html#a6692697
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to