Hi there,
I have an xsl newbie question
I am using the double-listbox style of a multivalue widget.
This uses the forms-advanced-field-styling.xsl stylesheet.
This stylesheet appears to match against body and the double-listbox
works nicely on the many pages that have the body element.
Robin Wyles wrote:
Hi,
Is there a way to specify that the property reloading.spring.enabled
is set to false when using the cocoon:prepare Maven goal? Something I
can specify in the block's POM perhaps?
See
Hi Paul,
Could you post the snippet that matches the normal body tag?
Is it something like
xsl:template match=body
...
/xsl:template
That should also match the body tag with the onload attribute...
Cheers,
Robby
-Original Message-
From: Paul Joseph [mailto:[EMAIL PROTECTED]
Hi Robby,
I *think* the template that is not matching is the one below. As you
see, it calls forms-advanced-field-styling.xsl.
The line on my xml file that seems to make the double-listbox work is
this one:
body
If I change body to
body onLoad=javascript:myJavaScriptFunction then the
Can't make ApacheCon this week in New Orleans? You can still watch all
the keynotes, Apache 101 sessions, and system administration track in
live video streams:
http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann
Keynotes and the Apache 101 lunchtime sessions are free; the
What's the HTML result you get? I would have to check how onload is
handled, but I'd expect this to be the problem. Cocoon Forms tries to
set onload itself, I just don't know exactly how it handles existing
onload values.
Joerg
On 04.11.2008 23:52, Paul Joseph wrote:
Hi Robby,
I *think*
Joerg,
In my template.xml file, if I replace body
onLoad=javascript:myJavaScriptFunction with body then the
double-listbox works perfectly.
If I don't though, I get the display looks good, but when I attempt to
do anything, an error message is displayed that options.length is null
or not