fr:currency problem

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

fr:currency problem

mar
Alex,

The <xforms:alert> and <xforms:hint> elements don't seem to be working
as children of <fr:currency>. Am I doing something wrong or is this a
known issue?
 
<fr:currency ref="total" prefix="" digits-after-decimal="2">
 <xforms:label class="currencyLabel">Total:</xforms:label>
 <xforms:alert>This field is required</xforms:alert>
 <xforms:hint>This is a money field example: 123.00</xforms:hint>
</fr:currency>


Thanks.

Martin


--
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: fr:currency problem

Alessandro  Vernet
Administrator
Martin,

Good point. You could get the alert to work by adding some CSS  
(Firebug can help there). The same is true for the hint if you just  
want it displayed in the page (e.g. in gray below the field), but it  
would be more complicated if you wanted to have hint as a yellow  
tooltip. Of course, all this should work out of the box. For now, I  
added a bug:

http://forge.ow2.org/tracker/index.php?func=detail&aid=314606&group_id=168&atid=350207

Alex



On Jan 5, 2010, at 2:12 PM, "Schwartzman, Martin" <[hidden email]
 > wrote:

> Alex,
>
> The <xforms:alert> and <xforms:hint> elements don't seem to be working
> as children of <fr:currency>. Am I doing something wrong or is this a
> known issue?
>
> <fr:currency ref="total" prefix="" digits-after-decimal="2">
> <xforms:label class="currencyLabel">Total:</xforms:label>
> <xforms:alert>This field is required</xforms:alert>
> <xforms:hint>This is a money field example: 123.00</xforms:hint>
> </fr:currency>
>
>
> Thanks.
>
> Martin
>
> --
> 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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet