Hello,

maybe the '/' makes problems?
Try this: Add an property type.header.text = '// header' in a property file
read by the workflow.
Then you can access this property in the globalVarDef by: <globalVarDef
name="type_header_text"
                        value="${type.header.text}"/>


Regards
Darius


Uwe Maurer wrote:
> 
> Newbie Question:
> 
> How / where can I define the global Variables type_header_text and
> type_header_footer used in the templates of the JavaBasic Catridge? I
> didn't really find documentation about this, just some hints in the oaw
> forum. So I tried this within my workflow:
> 
> <workflow>
> 
>        ...
>     <component id="generator" class="oaw.xpand2.Generator"
> skipOnErrors="true">
> 
>         <globalVarDef name="type_header_text" value="// header"/>
>         <globalVarDef name="type_footer_text" value="// footer"/>
>          ...
>     </compontent>
> </workflow>
> 
> But all I got is an ERROR when the generator component is executed:
> 
> ERROR - line 1:1: unexpected token: /
> 
> Any hints?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JavaBasic-Cartridge%3A-How-to-define-GLOBALVAR-type_header_text-tf4248224s17564.html#a12095925
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to