try this...

String sortColParam = paramEncoder.encodeParameterName(TableTagParameters.*
PARAMETER_SORT*);

String columnName = (String)req.getParameter(sortColParam);
Thanks,
Naveen.

On Tue, Feb 22, 2011 at 10:29 AM, Emi Lu <em...@encs.concordia.ca> wrote:

> > Is there a way, we can retrieve "column name" but not column index when
> > doing order by?
> >
> > String sort_index   = req.getParameter((new
> >
> ParamEncoder("row_rec")).encodeParameterName(TableTagParameters.PARAMETER_SORT));
> >
> > Could you provide
>
> I mean:
> String sort_col_name   = req.getParameter((new
>
> ParamEncoder("row_rec")).encodeParameterName(TableTagParameters.PARAMETER_NAME))
>
> Thank you,
>  --
> Lu Ying
>
>
> ------------------------------------------------------------------------------
> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk
> Collect, index and harness all the fast moving IT data generated by your
> applications, servers and devices whether physical, virtual or in the
> cloud.
> Deliver compliance at lower cost and gain new business insights.
> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to