I'm trying to make custom component, which fetch its template from database.

@Component
abstract class DBTemplate extends BaseComponent
{
    // templateId is PK of stored in database template
    @Parameter
    public asbtract String getTemplateId();
}

Example:

<span jwcid="@DBTemplate" templateId="4"/>

I've made my own implementation of ITemplateSourceDelegate, and here is my 
question: how can read value of templateId inside ITemplateSourceDelegate.
findTemplate() method? I need this to know which template should be loaded from 
database.

Tapestry 4.0

TIA, Karl


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

Reply via email to