Application Resources and TextTool

2005-02-09 Thread Markos Charatzas
Hi all, I get this weird bug(?) with TextTool. On my struts-config.xml I declare the following message resource message-resources parameter=DestinationsResources key=destinations / then in my template I use the textool to retrieve a value from that resource $text.get('title.img',

Charset (Struts and Velocity)

2005-02-09 Thread Markos Charatzas
Hi there, Although, 1. I have defined the charset in struts-config.xml like the following controller contentType=text/html; charset=ISO-8859-7/ 2. In velocity properties I have set both input.encoding=ISO-8859-7 output.encoding=ISO-8859-7 3. my html templates have the content type set properly

VelocityViewServlet Differences with VelocityServlet

2005-02-09 Thread Steve O'Hara
I've taken the advice offered by everyone to switch to using the VelocityViewServlet but I've got a strange error occurring which didn't happen with VelocityServlet (or if it did, it was caught). When I log out from my application I clear the session object by doing a session().invalidate() Now,

Re: VelocityViewServlet Differences with VelocityServlet

2005-02-09 Thread Nathan Bubna
hmm. i've not had problems with invalidated sessions before. can you give us some of that stack trace? i wanna see where this is happening. On Wed, 9 Feb 2005 11:11:38 -, Steve O'Hara [EMAIL PROTECTED] wrote: I've taken the advice offered by everyone to switch to using the

Re: Application Resources and TextTool

2005-02-09 Thread Nathan Bubna
the relevant code (in veltools 1.1's StrutsUtils) is doing the following: resources = (MessageResources) request.getAttribute(bundle + moduleConfig.getPrefix()); if (resources == null) { resources = (MessageResources) app.getAttribute(bundle +

Re: velocity and JET (java emitter templates)

2005-02-09 Thread Shinobu Kawai
Hi Mike, Hi Does anyone have any any experience working with both of these template technologies? I'm evaluating both and trying to get a feel for what they can and can't do, so far I'm getting the impression that velocity provides a more flexible solution but wondering whats your

Re: Charset (Struts and Velocity)

2005-02-09 Thread Shinobu Kawai
Hi Markos, Although, 1. I have defined the charset in struts-config.xml like the following controller contentType=text/html; charset=ISO-8859-7/ 2. In velocity properties I have set both input.encoding=ISO-8859-7 output.encoding=ISO-8859-7 #* Actually, the output.encoding doesn't matter

Re: velocity and JET (java emitter templates)

2005-02-09 Thread Mike J Boyersmith
Sorry, I don't know anything about JET, but I was wondering if you could share with us what you have found about the two. Shinobu Kawai Yoshida [EMAIL PROTECTED] Sure thing, What I have found is that JET or Java Emitter Templates is an Eclipse technology www.eclipse.org and part of EMF (though