Conditional display of xforms:upload control

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Conditional display of xforms:upload control

mactwixs
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

RE: Conditional display of xforms:upload control

mactwixs
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

RE: Conditional display of xforms:upload control

mactwixs
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: RE: Conditional display of xforms:upload control

Erik Bruchez
Administrator
FYI we answered this question on StackOverflow:

http://stackoverflow.com/questions/12958894/disabling-xformsupload-control-with-avt/12979804#12979804

-Erik

On Fri, Oct 19, 2012 at 4:04 AM, MCGRAW Ian
<[hidden email]> wrote:

> The snippet below seems to work in my table (having first deleted the style
> I defined inside thexforms:upload tag) as I am already taking advantage of
> Yahoo! UI Library in Form Runner.
>
> I'd still be interested to know if there is an official approach to
> disabling display of the xforms:uploadcontrol though.
>
>
>
>
>
> <xhtml:td class="if{(eb_log[@required='false']) then 'yui-dt-hidden' else
> ''}">
>
>
>
>
>
> From: MCGRAW Ian [mailto:[hidden email]]
> Sent: 18 October 2012 17:08
> To: [hidden email]
> Subject: [ops-users] RE: Conditional display of xforms:upload control
>
>
>
> I now have this question posted on Stackoverflow as I am trying to use AVT
> to control visibility of xforms:upload control - however the example I have
> posted is not working - see http://stackoverflow.com/q/12958894/1312704
>
>
>
> From: MCGRAW Ian
> Sent: 18 October 2012 08:39
> To: [hidden email]
> Subject: Conditional display of xforms:upload control
>
>
>
> Hi Guys,
>
>
>
> Quick question and hopefully one you will know an equally quick solution to:
>
>
>
> I want to conditionally display the xforms:upload control depending on the
> values present in my instance data (instance data is loaded in on ev:event
> 'xforms-ready').
>
>
>
> What control logic can I use to to accomplish this and is there a good
> example I can reference?
>
>
>
> Many thanks, Ian.
>
> London, UK.
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: Conditional display of xforms:upload control

mactwixs
CONTENTS DELETED
The author has deleted this message.