NetBeans Tip: Add/Remove Sort Key from Woodstock TableDataProvider
Join the DZone community and get the full member experience.Join For Free
have you used pluginportal, you might not have realised but its a jsf web application. i am using the portal for the past 6 months, and never thought of this.
firstly, i will ask you something, if you have submitted any plugins, you would see your my plugins section, once you logged in.
table is shown, and recently i saw it has a sortable header, when i click it either it arranges plugin’s info in descending/ascending order.
how do we get that?
now, how do we get this feature in your web application. if you have any tabular component in your application, then select any column and goto properties window (ctrl+shift+7), there would see a property sort under section data .
when you enter a uniqueid (sort key),
the changes that took place in jsp is the following attribute gets added-
or, you could have added this attribute yourself in jsp, and when you switch to design view, and changes are reflected with the sort header icon present in the respective column.
Opinions expressed by DZone contributors are their own.