Dear all,

I had a problem using the Select component.

I have a List of Members that I want to populate into the Select component.

Here is my html template:
<select t:type="Select" model="members" value="member"></select>

And here's my Page class:
@Inject @Parameter Member member;
private List<Member> members;

But I get this exception:
No adapter from type com.taxandtech.projexion.entities.Member to type
org.apache.tapestry.services.ValueEncoderFactory is available
(registered types are java.lang.Enum, java.lang.String).

I've tried adding a ValueEncoder, although it hasn't worked yet but it
seems to be a long way to register the Member entity to the value
encoder. Is there an easier way to use the Select component?

Thanks in advance.

:)

-- 
It's not just about coding, it's a matter of fulfilling your core being

YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/

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

Reply via email to