Thanks for the suggestion. This is what I ended figuring out after I figured
out what date/time format my property of type java.util.Date would accept:
"/>
A ugly hack in order nest in the hidden field. If anyone know how
to do this properly just using
I would appreciate it.
Nick
On Sat
I'd just search back through the list archives; I don't recall if it was in
user or dev. Around 2008-2009-ish (perhaps a smidge earlier?), Musachy was
the main driver, and I'm pretty sure he was using something out of Tomcat.
Dave
On Sat, Jan 29, 2011 at 7:17 PM, Dave Evans wrote:
> On Sat, Jan
On Sat, Jan 29, 2011 at 2:01 PM, Dave Newton wrote:
> On Sat, Jan 29, 2011 at 4:49 PM, Dave Evans wrote:
>
> I am thinking about trying to duplicate/re-use/wrap/etc jstl in a
>> framework for use in a non-web templates, just trying to find out if
>> there is already work being done on this idea. M
On Sat, Jan 29, 2011 at 4:49 PM, Dave Evans wrote:
> Would you like to elaborate on what makes it a poor general purpose
> templating language?
XML isn't a templating language, it's a data exchange format. XML is
human-hostile.
> The el is easy to read
The EL itself, maybe. JSP, not so much.
I am using it primarily for emails, but I need to be able to call the
templatizing method from within a business layer class. Something
like:
Template template = new Template(path);
Map map = getDataForEmail();
String result = template.templatize(map);
On Sat, Jan 29, 2011 at 12:13 PM, Chris Pr
Would you like to elaborate on what makes it a poor general purpose
templating language? The el is easy to read and can handle nested
objects, arrays and maps. Most importantly, since I choose to use it
for my web presentation, I'd rather not have an entire other spec to
keep track of. Why bother?
Are you using this for generating emails from web applications? I developed
a tag library that allows you to generate text/html emails using JSP and it
works great with Struts/Tiles/Spring. (It would probably work with
Freemarker/Velocity as well, I've just never tried it)
(*Chris*)
On Sat, Jan
On Sat, Jan 29, 2011 at 2:37 PM, Dave Evans wrote:
> Yes, I currently use velocity. But i'd really rather just use a single
> "language" for both web and non-web presentation.
>
Ew. IMO JSP is a poor general-purpose templating language, and makes less
sense for non-web presentation.
IIRC Musachy
Yes, I currently use velocity. But i'd really rather just use a single
"language" for both web and non-web presentation.
On Fri, Jan 28, 2011 at 10:01 PM, Maurizio Cucchiara
wrote:
> Personally, I prefer velocity [1] or freemarker [2]. They have a good
> learning curve (especially velocity), they
9 matches
Mail list logo