Try "xhtml:class" instead of just "class".
Maybe somebody can check in the spec if XForms controls must or may support the class attribute?
-Erik
Brian Bacsu wrote:
Hi
I am wondering if the "class" attribute is supported for xforms controls, to control their display behavior. When I create an xforms controls as below:
<tr>
<td>Event Description</td>
<td> <xforms:textarea ref="document/event/eventdescription" class="TestAreaStyle">
</xforms:textarea> </td>
</tr>
The following error is produced.
*OXF Error*
*Type* class java.lang.RuntimeException
*Message* org.orbeon.oxf.common.ValidationException: null, line 0, column 0 : Error unexpected attribute "class"(schema: http://www.w3.org/2002/xforms/controls) : null, line 0, column 0: Error unexpected attribute "class"(schema: http://www.w3.org/2002/xforms/controls)
*Location* oxf:/pages/event/view_event.xsl
Thanks,
Brian Bacsu
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user
