Try <t:select t:id="${prop:refFieldId}" ... Christoph
Marc A. Donis wrote: > Hi again, > > I am trying to get a select component to take an id from its component > class, rather than having it staticly defined in the tml. > It seems, however, that no matter what I try, the id is always > interpreted as a literal string. > > e.g.: > > <t:select t:id="prop:refFieldId" ... etc > > which I would expect to get the id from an accessor named > getRefFieldId() in the component class, but instead it generates the id > as "prop:refFieldId". > > Is id special in this way? If so, is there some sort of workaround for > this? > > What I want is something like this: > > <t:label t:for="selectField">${message:label1}</t:label> > <t:ReferenceDropDown t:selectId="literal:selectField" ... etc /> > > and then, ReferenceDropDown.tml: > > <t:select t:id="prop:selectId" ... etc /> > > in order to tie the label to the select which is inside my own > ReferenceDropDown component. > > Thoughts? > > Thanks again, > Marc > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]