yes, T4 have "nicers" way for manage this,
In this example I'm using reflexion to manage any object's cain in the
unico property selection Class.

Diogenes.

2006/3/30, Henri Dupre <[EMAIL PROTECTED]>:
> Thanks
> public void pageBeginRender(PageEvent event){
> .....
> this.setCollectionName(new SelectionObject(youObjectArray[],"youMethod"));
> ....
> }
>
> Is exactly what I had in Tapestry 3 but when you hack in this method you
> need to take into account the rewinding... I was hoping to be able to write
> something nicer in Tapestry 4.
>
> Henri.
>
> On 3/29/06, Diogenes Moreira <[EMAIL PROTECTED]> wrote:
> >
> > http://wiki.apache.org/jakarta-tapestry/PropertySelectionForAll
> >
> >
> > 2006/3/28, Henri Dupre <[EMAIL PROTECTED]>:
> > > I actually just found it out... the keyExpression and converter should
> > do
> > > the trick.
> > >
> > > On 3/28/06, Henri Dupre <[EMAIL PROTECTED]> wrote:
> > > >
> > > > In one of my pages, I need to display a list of propertySelection
> > lists
> > > > and I'm getting into complex problems in Tapestry 4.
> > > > In Tapestry 3, I used a Foreach loop and I've been recreating my list
> > > > object even on rewinding cycles for enabling the propertySelection to
> > assign
> > > > a value. But with Tapestry 4 and the @For, I'm getting into some
> > complex
> > > > rewinding issues and I'd like to find an easier solution.
> > > > The easiest would probably be to use an array property for the value
> > of
> > > > each @PropertySelection but that doesn't look very good to me... any
> > better
> > > > suggestions?
> > > >
> > > > Thanks,
> > > >
> > > > Henri.
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > >
> > > Henri.
> > >
> > >
> >
> >
> > --
> > Diogenes A Moreira
> > Project Manager
> >
> > PLEASE NOTE
> > This message, along with any attachments, may be confidential or
> > legally privileged.  It is intended only for the named person(s), who
> > is/are the only authorized recipients. If this message has reached you
> > in error, kindly destroy it without review and notify the sender
> > immediately. Thank you for your help.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks,
>
> Henri.
>
>


--
Diogenes A Moreira
Project Manager

PLEASE NOTE
This message, along with any attachments, may be confidential or
legally privileged.  It is intended only for the named person(s), who
is/are the only authorized recipients. If this message has reached you
in error, kindly destroy it without review and notify the sender
immediately. Thank you for your help.

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

Reply via email to