Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Chad Brandon
Nathan Coast wrote: ok, I think I'm getting the hang of it. I declare a which points to a file which contains

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Nathan Coast
ok, I think I'm getting the hang of it. I declare a which points to a file which contains

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Chad Brandon
Wouter Zoons wrote: Nathan Coast wrote: sorry, I'm talking rubbish, there is a StringUtils var in the java cartridge. I guess the question is still valid, is there any way to declare an instance for use in an overridden template? thanks, Nathan you could always override the cartridge-descriptor

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Wouter Zoons
Nathan Coast wrote: sorry, I'm talking rubbish, there is a StringUtils var in the java cartridge. I guess the question is still valid, is there any way to declare an instance for use in an overridden template? thanks, Nathan you could always override the cartridge-descriptor.xml too :-) -- Wout

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Nathan Coast
sorry, I'm talking rubbish, there is a StringUtils var in the java cartridge. I guess the question is still valid, is there any way to declare an instance for use in an overridden template? thanks, Nathan Nathan Coast wrote: Hi, I've overridden the value object template from the java cartridge

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Wouter Zoons
Nathan Coast wrote: Hi, I've overridden the value object template from the java cartridge using the property. In my template, I'd like to access an instance of org.apache.commons.lang.StringUtils. The java cartridge doesn't declare a stringUtils variable. Is there any way for me to declare

Re: [Andromda-user] stringutils variable in overridden template

2005-04-21 Thread Chad Brandon
Hi Nathan, From the java cartridge andromda-cartridge.xml: "" so you should be able to access "$stringUtils" from the templates If you want to merge in your own templateObject definitions, use the "" in the java cartridge's andromda-cartridge.xml to merge in your own. Nathan Coast wrote: Hi,