Re: Antwort: Re: T5: OnPassivate returning multiple variables
Hi, Thanks to all, list of objects works, I do not try array, must be working as well. kristian.marinkovic wrote: > > you could also return a list of objects > > > > > "Robin Helgelin" <[EMAIL PROTECTED]> > 01.10.2007 11:12 > Bitte antworten an > "Tapestry users" > > > An > "Tapestry users" > Kopie > > Thema > Re: T5: OnPassivate returning multiple variables > > > > > > > On 10/1/07, Angelo Chen <[EMAIL PROTECTED]> wrote: >> public Long onPassivate() { >> return currentUser.getId(); >> } > > I'm actually just guessing here, but public Long[] onPassivate() ? > > -- > regards, > Robin > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- View this message in context: http://www.nabble.com/T5%3A-OnPassivate-returning-multiple-variables-tf4546953.html#a12976834 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: Re: T5: OnPassivate returning multiple variables
you could also return a list of objects "Robin Helgelin" <[EMAIL PROTECTED]> 01.10.2007 11:12 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: T5: OnPassivate returning multiple variables On 10/1/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > public Long onPassivate() { > return currentUser.getId(); > } I'm actually just guessing here, but public Long[] onPassivate() ? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: OnPassivate returning multiple variables
On 10/1/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > public Long onPassivate() { > return currentUser.getId(); > } I'm actually just guessing here, but public Long[] onPassivate() ? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: OnPassivate returning multiple variables
Hi, I have this page that was activated with two parameters, as I understand onPassivate is used to persist the parameters, how can u return two parameters in this case? Thanks, A.C. http://localhost:8080/Show/3097/262 public Class onActivate(Long id, Long usr_id) { /* some process here */ return null; } public Long onPassivate() { return currentUser.getId(); } -- View this message in context: http://www.nabble.com/T5%3A-OnPassivate-returning-multiple-variables-tf4546953.html#a12975321 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]