Hi Luther,
there is an annotation @DataType("xxxx"). It is used to annotate
accessors in you Entity. With this you can shortcut the
DataTypeAnalyzer. xxxx names the block to render the Type.
Greetings nillehammer

Luther Baker schrieb:
> Is there a way to 'choose' which render block to use for a particular
> context?
> 
> I have created a DISPLAY and an EDIT render block for a GenericSelectModel
> based on a Hibernate table of values.
> 
> In one context, a Hibernate entity holds a reference to this entity and
> terms it "Parent".
> 
> In another context, a Hibernate entity holds a reference to this entity and
> terms it "File Cabinet."
> 
> I register the type with the AppModule - but is it possible to let the
> component choose which app block to display? Is there another way to use the
> GenericSelectModel with multiple labels?
> 
> Thanks,
> 
> -Luther
> 

-- 
http://www.winfonet.eu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to