Re: [Xsltforms-support] How to put a xf:hint within an xf:output text
Brought to you by:
alain-couthures
From: Elias M. <eli...@gm...> - 2012-12-27 21:17:15
|
HI Alain. Thanks for the quick reply. That sounds good. I actually had the xf:hint within the output as straight text and it did work, but as you mentioned, it eventually went away. Thanks for fixing it. Elias On Thu, Dec 27, 2012 at 4:06 PM, Alain Couthures < ala...@ag...> wrote: > Hi Elias, > > I would like the header of the table to show the label and description >> from the instance. I tried: >> >> <table> >> <tr> >> <th> >> <xf:output value="instance('labels')/Codes[Code = 'BCODE']/Name"/> >> <xf:hint><xf:output value="instance('labels')/Codes[Code = >> 'BCODE']/Desc"/></xf:hint> >> </xf:output> >> </th> >> .. >> .. >> but it doesn't work. Any suggestions?? >> > I decided to ignore xf:alert for xf:output because an error due to an > input field should not be propagated to all output controls using it. And > xf:hint started to be ignored too... > > But I agree that xf:hint and xf:help might still be useful for xf:output > controls. > > The XSLT template named "field" has to be modified to limit the > restriction for xf:output to xf:alert only. I will commit this as soon as > possible. > > Thanks! > > -Alain > > |