Re: [Xsltforms-support] Display two inputs for one field; one readonly the other editable
Brought to you by:
alain-couthures
From: Steven P. <Ste...@cw...> - 2010-05-26 13:29:03
|
On Wed, 26 May 2010 12:50:30 +0200, Mark van den Boomen <ko...@gm...> wrote: > The problem is that the client wants to hold on to the look of an old > (oracle forms) application, and those applications show readonly data > with a disabled inputfield. That's just a CSS issue. Shouldn't be hard. Best wishes, Steven Pemberton > > 2010/5/26 Steven Pemberton <Ste...@cw...>: >> On Wed, 26 May 2010 12:11:19 +0200, Mark van den Boomen >> <ko...@gm...> wrote: >> >>> Given the following XML: >>> >>> <root> >>> <item> >>> <value>1</value> >>> </item> >>> <item> >>> <value>2</value> >>> </item> >>> <item> >>> <value>3</value> >>> </item> >>> </root> >>> >>> The items are displayed in a table using xforms:repeat containing the >>> editable inputs. Under the table is a xforms:input which should be >>> disabled. If an user sets focus to one of the editable inputs then the >>> input under the table should show the value of the selected input in >>> the table. >>> >>> The problem is when using a xforms:bind to set the value to readonly >>> it will set both inputs readonly. Is there a way to set the readonly >>> independent for the inputs? >> >> I'm not sure if I understand the problem, but why not use an <output> >> under the table, and an input in the repeat? >> >> Best wishes, >> >> Steven Pemberton >> >>> >>> Thanks, >>> >>> Mark >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Xsltforms-support mailing list >>> Xsl...@li... >>> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support |