> On 10/17/06, Philip Luppens > <[EMAIL PROTECTED]> wrote: > > > > > On 10/17/06, Philip Luppens > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > On 10/16/06, Patrick Lightbody > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Take a look at JXP: > http://jxp.sourceforge.net/ > > > > > > > > > > > > This might be very close to the template > > > language I > > > > > have been looking for > > > > > > that is JSP-like, but has the advantages > that > > > > > FreeMarker and Velocity > > > > > > provide in that it can be loaded from the > > > > > classpath. I've wanted to select > > > > > > something like this as the template > language > > > used > > > > > by the UI tags (instead of > > > > > > FreeMarker). > > > > > > > > > > > > What do you guys think? > > > > > > > > > > > > > > > Calling it a "template language" seems a bit > of a > > > > > stretch, to me. It's > > > > > basically untouched content with the ability > to > > > drop > > > > > pseudo-Java code into > > > > > it. So it has the attributes of JSP that > people > > > most > > > > > dislike about JSP. ;-) > > > > > There are no tags or expression language, no > > > control > > > > > over headers or content > > > > > type, a potentially confusing syntax (being > only > > > > > pseudo-Java), and it > > > > > appears to be tied to the Servlet API. Add to > > > that > > > > > the LGPL license and that > > > > > it's a one-man project, and I can't say I'd > be > > > > > enthusiastic about adding > > > > > support for it. > > > > > > > > > > -- > > > > > Martin Cooper > > > > > > > > I wouldn't go that far - the author (if it's > indeed > > > a one-man-show, > > > > couldn't find it) is quite persistent (it's > been > > > around for more than 2 > > > > years). > > > > > > > > > I don't think anything ever goes away on > SourceForge. > > > ;-) The project page > > > is here: > > > > > > http://sourceforge.net/projects/jxp > > > > > > From this, you can see that there is one > developer, > > > no mailing lists, no > > > forum activity, no bugs, no support requests, no > > > patches, no feature > > > requests - in fact, no indication that anyone > other > > > than the author has ever > > > done anything at all with it in the 2+ years > since it > > > was created. That is > > > not a good sign at all. > > > > Yes, but you should also take a look at the > homepage (or rather, the > > company's homepage, it seems [1]). > > > I'm still not impressed by a grand total of only 46 > posts on JXP in almost 2 > years.
I agree, but I thought I'd just point out there is 'more' going on than just the SF pages. I admit that 'more' in this case is almost nothing, but it's still more than 'we threw the code on SF two years ago', like thousands of similar projects. I'm not impressed by it either, but I try to give everything a fair chance. > > > > > > It's not tied to the servlet api afaik (see the > faq), > > > > > > > > > OK. I took this from section 3.2 of the > > > documentation, but I see now that > > > this is only in a "web-scripts" environment > (whatever > > > that means). > > > > > > and the lack of headers/expression language is > not > > > thÃÂát important. > > > > > > > > > I disagree here. How would I guarantee that my > UTF-8 > > > output would not be > > > mangled if I have no way to specify content type? > > > What if I wanted to use > > > Big5 encoding in my template? > > > > Perhaps there's a misunderstanding here - I meant, > since it's only used to > > render the WW tags, the lack of headers shouldn't > be a problem. > > > Let's suppose that I have a JXP file that has no > embedded code, just for > simplicity right now, and that I'm going to use that > to render a WW tag. OK, > now, tell me how I should interpret the raw bytes in > that JXP file. If the > first byte is 0x41, is that an 'A'? Or is it perhaps > the first byte of a > UCS-2 character? A Big5 character? How could you > possibly know? Well, I guess this is where my exprience shines in complete absence - I don't have a clue what you mean by 'how should I interpret the raw bytes', nor what it's relevance is when it comes to processing the WW tags. Could you explain this, or point me to a relevant doc ? Thanks > -- > Martin Cooper > Cheers, Phil > [snip] --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=46468&messageID=94284#94284 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]