Re: how to display droplist item in filtertext?

3 views
Skip to first unread message

Jeff Johnston

unread,
Jan 11, 2012, 10:38:34 PM1/11/12
to jm...@googlegroups.com
Is the data in the column available/unavailable or Available/Unavailable? Make sure that you match the value of the droplist with the data of the column.

-Jeff



On Wed, Jan 11, 2012 at 2:06 AM, sheep <batma...@gmail.com> wrote:
i use the following code to make my own droplist:
public class AvailableDroplistFilterEditor extends
DroplistFilterEditor {
 @Override
 protected List<Option> getOptions()  {
   List<Option> options = new ArrayList<Option>();
   options.add(new Option("available","Available"));
    options.add(new Option("unavailable", "Unavailable"));
    return options;    } }

<jmesa:htmlColumn property="available"
filterEditor="com.mycompany.view.AvailableDroplistFilterEditor" />


when i choose"avaliable" in droplist and onclick it,i can get true
result. but the filtertext above htmlColumn "available" display null.
how i can i make it display what i have selected just like other
columns displaying filtervalues.

thank you!

--
You received this message because you are subscribed to the Google Groups "JMesa" group.
To post to this group, send email to jm...@googlegroups.com.
To unsubscribe from this group, send email to jmesa+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jmesa?hl=en.


Reply all
Reply to author
Forward
0 new messages