You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by eugenebalt <eu...@yahoo.com> on 2011/08/29 17:01:12 UTC

PageParameters with a Data Bean (Custom Object)?

I need to construct a page from a bean object. Ideally, I'd pass a custom
Object to 

PageParameters params = new PageParameters();
params.add("bean", bean);

but it's not letting me do that... only Strings. Any suggestions? Thanks

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageParameters-with-a-Data-Bean-Custom-Object-tp3776436p3776436.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: PageParameters with a Data Bean (Custom Object)?

Posted by Martin Grigorov <mg...@apache.org>.
new MyPage(bean);

On Mon, Aug 29, 2011 at 5:01 PM, eugenebalt <eu...@yahoo.com> wrote:
> I need to construct a page from a bean object. Ideally, I'd pass a custom
> Object to
>
> PageParameters params = new PageParameters();
> params.add("bean", bean);
>
> but it's not letting me do that... only Strings. Any suggestions? Thanks
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageParameters-with-a-Data-Bean-Custom-Object-tp3776436p3776436.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org