No error message, but in the HTML page :

<option value="[EMAIL PROTECTED]">

instead of my enum value...

My java code :

    public EnumSelectModel getReportModel() {
        return new EnumSelectModel(Report.class, _resources.getMessages());
    }




Michael Courcy a écrit :
> Do you have error messages ?
>
> TNO a écrit :
>> Hi,
>>
>> I want to create a very simple select list from an enum.
>>
>> <t:select model="${reportModel}" value="${report}"/>
>>
>> But in a select component, the model (org.apache.tapestry.SelectModel)
>> is required, I try to use EnumSelectModel but it did not work...
>> I can't have my enum list...
>>
>> please help, thanks
>>
>> Tom
>>
>>
>>
>> ---
>> Antivirus avast! : message Sortant sain.
>> Base de donnees virale (VPS) : 071114-0, 14/11/2007
>> Analyse le : 15/11/2007 16:50:02
>> avast! - copyright (c) 1988-2007 ALWIL Software.
>> http://www.avast.com
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>   
>
>


---
Antivirus avast! : message Sortant sain.
Base de donnees virale (VPS) : 071114-0, 14/11/2007
Analyse le : 15/11/2007 17:47:28
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to