--- [EMAIL PROTECTED] wrote:
> I would need to display more image elements and a label inside an <a
> href=...> element - it looks to me that in order to have an <a> element
> doing xforms processing I would need another 'xxforms:appearance' type -
> I assume the place to implement is xforms-to-xhtml.xsl. I suspect this
is
> not the right place though to write application specific extensions
> since it will be lost when doing any upgrades.
> What is the right way to solve this problem?
Hi Balaza,
You could do this in the xforms-to-xhtml.xsl, just like you say, but you
should try to avoid modifying this file when you can, as it you modify
this file you will have to merge your modifications when upgrading to a
new version of Presentation Server.
Instead, I suggest you put an attribute in your own namespace, e.g.:
<xforms:submit xxforms:appearance="link"
my-namespace:rendering="bunch-of-images">
This attribute will be copies on the <xhtml:a> that gets generated. So you
can then insert the images in your theme based on the existence of this
attribute (in the examples: oxf:/oxf-theme/theme.xsl).
Alex
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user