In my form definition, I have added a macro as follows: <jx:macro name="form-widget-value" targetNamespace="http://apache.org/cocoon/forms/1.0#template"> <jx:parameter name="id"/> <span>${cformsHelper.getWidget(widget,id).getValue()}</span> </jx:macro>
The JX generator properly executes the macro, however LOTS of whitespace is
inserted. For example, if I called it twice in a row as follows:
<ft:form-widget-value id="city"/>, <ft:form-widget-value id="state"/>
It will expand to:
<span>Boston</span> , <span>MA</span>
Which displays as:
Boston , MA {notice the extra space before the comma}
How can I tell Cocoon (or the generator) to remove unnecessary whitespace?
I've tried with and without the <SPAN> tags.
Thanks for everyone's help.
Gerry
smime.p7s
Description: S/MIME cryptographic signature
