The parameter name should be "location" if you're using the auto loader
thingy. The loader knows how to get the key property.
On Feb 11, 2012 10:00 AM, <[email protected]> wrote:
> Hi:
>
> I have a URL like
> <a href="/context/actionName?location.id=40"
> and my action bean class like
> class AB {
> protected Location location
> public getLocation
> public setLocation......
> }
> class Location{
> private id;
> public getId
> public setId(Integer id)...
> }
> I would expect clicking the link would auto create the location object and
> set the id to be "40"
> but my test shows the location object remains to be null when the handler
> is called.
>
> But similar binding works if I use post inside a form.
>
> Thanks in advance.
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users