Styling XForms

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

Styling XForms

Markku Laine
Hi Erik and Alex,


Have you ever thought about supporting standardized XForms styling syntax?

For example, at the moment if I want to style an <xforms:output> element using
Orbeon Forms I need to use:
/* Orbeon Forms styling */
.xforms-output {
   color: #FF0000;
}

Instead of:
@namespace xforms url(http://www.w3.org/2002/xforms);
/* Standard XForms styling */
xforms|output {
   color: #FF0000;
}


Could it be possible that the author of a form would style the form using
standardized XForms styling syntax and Orbeon Forms would transform this syntax
at the same time when the form is transformed to HTML+JavaScript+CSS?

Regards


-Markku Laine



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Styling XForms

Erik Bruchez
Administrator
Markku,

> Have you ever thought about supporting standardized XForms styling syntax?
>
> For example, at the moment if I want to style an <xforms:output> element
> using Orbeon Forms I need to use:
> /* Orbeon Forms styling */
> .xforms-output {
>   color: #FF0000;
> }
>
> Instead of:
> @namespace xforms url(http://www.w3.org/2002/xforms);
> /* Standard XForms styling */
> xforms|output {
>   color: #FF0000;
> }
>
>
> Could it be possible that the author of a form would style the form
> using standardized XForms styling syntax and Orbeon Forms would
> transform this syntax at the same time when the form is transformed to
> HTML+JavaScript+CSS?
Funny you are mentioning that: I just suggested in another thread that
this could be something nice to have. So yes we have thought about it,
and it would probably a nice thing to do. But it's probably also quite a
bit of work so we haven't worked on this at all so far. But suggestions
and/or code are of course welcome.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws