On Thu, 19 Sep 2013 11:07:20 -0300, George Christman
wrote:
Michael, Thanks that worked perfectly, however for some strange reason, I
still need the value encoder. Without it, I get the following error.
You must correct the following errors before continuing.
- Selected option is not lis
I've checked this code in 5.3.6 and in 5.4-alpha-23 and it's works fine
w/o encoder. There were changes in SelectModel (TAP5-2184) recently.
Tapestry 5.4 is in development and not stable yet. Do you use it for
production?
19.09.2013 18:46, George Christman пишет:
I'm using 5.4.22 with blankOpt
I'm using 5.4.22 with blankOption="literal:NEVER" added as a parameter to
my select component.
On Thu, Sep 19, 2013 at 10:14 AM, Michael Gagauz wrote:
> No idea. Which version of tapestry do you use? Try to add
> blankOption="never" param to select.
>
> 19.09.2013 18:07, George Christman пишет:
No idea. Which version of tapestry do you use? Try to add
blankOption="never" param to select.
19.09.2013 18:07, George Christman пишет:
Michael, Thanks that worked perfectly, however for some strange reason, I
still need the value encoder. Without it, I get the following error.
You must corre
Michael, Thanks that worked perfectly, however for some strange reason, I
still need the value encoder. Without it, I get the following error.
You must correct the following errors before continuing.
- Selected option is not listed in the model.
It works perfectly fine with the encoder, I'm a
You can't do it using SelectModelFactory unless you'll create some kind
of wrapper for Boolean. Try to create SelectModel manually:
List tardies = new ArrayList();
tardies.add(new OptionModelImpl("Y", true));
tardies.add(new OptionModelImpl("N", false));
new Sel
I'm using a standard select menu nested within a loop. The boolean values
come from my hibernate entity. I took a look at the enumSelectModel, I'm
just not sure how to get it to work with my entity.
.tml
.java
@Propert
Hi,
which select model are You using?
if You use an EnumSelectModel the client side caption is build as follow:
Enum.class.getSimpleName()+"."+Enum.name()
2013/9/19 George Christman :
> Hello, I'm wondering if anybody knows how to rename the options in a select
> menu using .properties or some ot
Hello, I'm wondering if anybody knows how to rename the options in a select
menu using .properties or some other method. I currently have true false in
the menu and that needs to be changed to Y N.
Thanks,
George