You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by tapestry5 <bi...@gmail.com> on 2008/08/07 05:42:14 UTC

Extra paramer in Grid Sort

I am using "<t:grid source="dummy" row="dummy" mode="model"> component.
I also have Grid Sort feature in that. 

Now i need to pass some extra parameter in that Grid Sort links.
When i view the source of sort link i see 
../../../testreportdisp.grid.columns:sort/name Name 

I want to add two more parameter in that url. Something like this: 
../../../testreportdisp.grid.columns:sort/name/user/role Name 

And Further i also want to read those parameters.

Is there any way i can do that.

I am using Tapestry 5.0.13
-- 
View this message in context: http://www.nabble.com/Extra-paramer-in-Grid-Sort-tp18863499p18863499.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: Extra paramer in Grid Sort

Posted by Adam Zimowski <zi...@gmail.com>.
Recently my developer was looking for answer to this, and was
frustrated by seeing this without an answer...

@OnEvent(EventConstants.PASSIVATE)
Object[] passivate() {
  return ... ; // your activation context for grid sort link to use...
}

should do it.

On Wed, Aug 6, 2008 at 10:42 PM, tapestry5 <bi...@gmail.com> wrote:
>
> I am using "<t:grid source="dummy" row="dummy" mode="model"> component.
> I also have Grid Sort feature in that.
>
> Now i need to pass some extra parameter in that Grid Sort links.
> When i view the source of sort link i see
> ../../../testreportdisp.grid.columns:sort/name Name
>
> I want to add two more parameter in that url. Something like this:
> ../../../testreportdisp.grid.columns:sort/name/user/role Name
>
> And Further i also want to read those parameters.
>
> Is there any way i can do that.
>
> I am using Tapestry 5.0.13
> --
> View this message in context: http://www.nabble.com/Extra-paramer-in-Grid-Sort-tp18863499p18863499.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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