Using Cocoon 2.1.8 I am generating a form definition from flowscript:
var editCountryDataForm = new Form("cocoon:/db/forms/country", {"state":"output"});//dynamic And generating it thus via the pipeline: <map:match pattern="db/forms/*"> <map:generate src="forms/{1}_defn.xml" type="jx"> And in the country_defn.xml (form) file I have: <fd:field id="Code" required="true" state="${state}"> <fd:label>Country Code *${state}*</fd:label> But the "state" value never shows up at all in the resulting form, even when using different values in the flowscript, and the state of the field shows up as a "normal" form element. I'm sure I am missing something simple... but what? Thanks Derek -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org