Re: TagHandler design for tag implementations (was Re: JXP Template support?)

2006-10-19 Thread Ted Husted
On 10/18/06, Don Brown [EMAIL PROTECTED] wrote: I'm wondering if we shouldn't go in new direction to improve the tags Looking at the freemarker templates, the ratio of Freemarker code to HTML is probably 1.5, which leads me to wonder why we are using a template language at all. There is

Re: TagHandler design for tag implementations (was Re: JXP Template support?)

2006-10-19 Thread Don Brown
Martin Cooper wrote: Hmm, this is starting to look like it would if you used ECS: http://jakarta.apache.org/ecs/index.html Well, DOM is to SAX as ECS is to a TagHandler. While both are trying to create HTML, ECS creates an object for every element, which is a lot to maintain and takes more

Re: JXP Template support?

2006-10-18 Thread Patrick Lightbody
THANK YOU DON. You said it much better than I did. Honestly, guys, the reaction here is a little... odd. I wanted to engage the dialog of how we might address known issues. Unless you've used the Struts 2 tags, it probably is hard to provide any real constructive feedback on this particular

Re: JXP Template support?

2006-10-18 Thread Philip Luppens
I think perhaps we are getting too deep into the solution when we don't understand or agree upon the problem. The purpose of the Struts tags is to provide a shortcut to create simple and complex output. The tags are usable in Velocity, Freemarker, and JSP. It does this by

Re: JXP Template support?

2006-10-18 Thread Ted Husted
On 10/18/06, Patrick Lightbody [EMAIL PROTECTED] wrote: - JSP-like - No scripplet support - Fast - Very lightweight To me, the key features of Struts Tags are that they 0 Access framework state in a consistent and convenient way and that they are 1 Available for templating technologies

Re: JXP Template support?

2006-10-18 Thread Martin Cooper
On 10/18/06, Patrick Lightbody [EMAIL PROTECTED] wrote: THANK YOU DON. You said it much better than I did. Honestly, guys, the reaction here is a little... odd. I wanted to engage the dialog of how we might address known issues. Unless you've used the Struts 2 tags, it probably is hard to

Re: JXP Template support?

2006-10-18 Thread Ted Husted
On 10/18/06, Martin Cooper [EMAIL PROTECTED] wrote: Maybe not for you, but it is a big issue for me. I am not willing to have a project as prominent as Struts rely on another project that has only a single developer behind it. That puts us at risk if bugs are encountered and are not promptly

Re: JXP Template support?

2006-10-18 Thread Martin Cooper
On 10/18/06, Ted Husted [EMAIL PROTECTED] wrote: On 10/18/06, Martin Cooper [EMAIL PROTECTED] wrote: Maybe not for you, but it is a big issue for me. I am not willing to have a project as prominent as Struts rely on another project that has only a single developer behind it. That puts us at

RE: JXP Template support?

2006-10-18 Thread Dave Newton
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of On 10/18/06, Ted Husted [EMAIL PROTECTED] wrote: I dont' see the benefit of JXP yet myself, but this sort of thing simply doesn't matter. It's open source, and if there's a problem, we fork and apply the patch ourselves. Sure, JXP

TagHandler design for tag implementations (was Re: JXP Template support?)

2006-10-18 Thread Don Brown
I'm wondering if we shouldn't go in new direction to improve the tags Looking at the freemarker templates, the ratio of Freemarker code to HTML is probably 1.5, which leads me to wonder why we are using a template language at all. Here is a design for tag libs that I've been mulling

RE: TagHandler design for tag implementations (was Re: JXP Template support?)

2006-10-18 Thread Dave Newton
From: Don Brown [mailto:[EMAIL PROTECTED] [...]why we are using a template language at all. My take on that was that the template language allowed more flexibility at run-time and it allowed non-Java people to participate in custom rendering of... uh... things. It would be faster because all

Re: JXP Template support?

2006-10-18 Thread Ted Husted
On 10/18/06, Martin Cooper [EMAIL PROTECTED] wrote: Suppose it was Spring we were talking about. You're saying that you'd be OK with forking Spring and supporting it as part of Struts? Sure, JXP is on a much smaller scale, but the principle is the same. If the Spring group went insane, and we

Re: JXP Template support?

2006-10-18 Thread thlee
Hi all, This is thlee from JXP. It's glad to see some interest/disinterest in JXP. Here are some facts that you might find useful: 1. JXP is created as a subproject and is used mainly in swingweb project to render html representation of awt/swing components. 2. Since it is interpreted it

Re: JXP Template support?

2006-10-18 Thread Mike B
thlee, Would you consider elevating JXP to a top-level project and in doing so, bring JXP closer to the JSP spec (except for the areas that create a dependency on a JSP/Servlet container)? I personally see broad appeal for the project and that is why I started using it. In my opinion,

Re: JXP Template support?

2006-10-18 Thread thlee
Mike, It certainly is a possibility. For most part it is close to trivial, with the exception of taglib support, which I think would require more changes to the infrastructure of JXP. Others suchs as page extends etc doesn't really apply to JXP. For now, I probably would add the simple

Re: JXP Template support?

2006-10-18 Thread Mike B
Great! Does this include EL support? I will keep my eyes open for the next release. Cheers, Mike - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=46468messageID=94644#94644

Re: TagHandler design for tag implementations (was Re: JXP Template support?)

2006-10-18 Thread Martin Cooper
On 10/18/06, Don Brown [EMAIL PROTECTED] wrote: I'm wondering if we shouldn't go in new direction to improve the tags Looking at the freemarker templates, the ratio of Freemarker code to HTML is probably 1.5, which leads me to wonder why we are using a template language at all. Here is a

Re: JXP Template support?

2006-10-17 Thread Philip Luppens
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

Re: JXP Template support?

2006-10-17 Thread Martin Cooper
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

Re: JXP Template support?

2006-10-17 Thread Mark Menard
On 10/17/06 4:19 AM, Philip Luppens [EMAIL PROTECTED] wrote: 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). It's not tied to the servlet api afaik (see the faq), and the lack of

Re: JXP Template support?

2006-10-17 Thread Philip Luppens
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

Re: JXP Template support?

2006-10-17 Thread Ted Husted
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

Re: JXP Template support?

2006-10-17 Thread Mike B
Hi Guys, I am simply responding because we have been using JXP for about 7 months now.. We are currently using JXP for our web component templates. It has worked out fairly well. We actually started out using FreeMarker, but did not like the idea of learning a new syntax just for

Re: JXP Template support?

2006-10-17 Thread Philip Luppens
Non-developer here. [snip] So, if I copy them to my webapp root, and then upgrade Struts versions I'll need to manually update them? Yes - but they tend to stay rather static and it's a simple matter of extracting the jar and copying all theme directories. You only need to take care if you

Re: JXP Template support?

2006-10-17 Thread Mark Menard
On 10/17/06 1:10 PM, Philip Luppens [EMAIL PROTECTED] wrote: Yes - but they tend to stay rather static and it's a simple matter of extracting the jar and copying all theme directories. You only need to take care if you are overriding templates already. Which ought to be done by creating a

Re: JXP Template support?

2006-10-17 Thread Philip Luppens
On 10/17/06 1:10 PM, Philip Luppens [EMAIL PROTECTED] wrote: Yes - but they tend to stay rather static and it's a simple matter of extracting the jar and copying all theme directories. You only need to take care if you are overriding templates already. Which ought to be done by

Re: JXP Template support?

2006-10-17 Thread Martin Cooper
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

Re: JXP Template support?

2006-10-17 Thread Nathan Bubna
If you don't want to learn anything new, why stop in the middle at JXP? Just use java itself. Then there's no new syntax (we'll ignore the fact that java syntax is still evolving...) and no new API (again ignoring the fact that those change too) that can often take longer to grok than a new

Re: JXP Template support?

2006-10-17 Thread Philip Luppens
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

Re: JXP Template support?

2006-10-17 Thread Ted Husted
On 10/17/06, Martin Cooper [EMAIL PROTECTED] wrote: I'm still not impressed by a grand total of only 46 posts on JXP in almost 2 years. At this point, what really matters is whether the code meets our needs and whether the license can be changed. If the code did serve our needs, a sole

Re: JXP Template support?

2006-10-17 Thread Don Brown
I think perhaps we are getting too deep into the solution when we don't understand or agree upon the problem. The purpose of the Struts tags is to provide a shortcut to create simple and complex output. The tags are usable in Velocity, Freemarker, and JSP. It does this by delegating to an

Re: JXP Template support?

2006-10-17 Thread Mike B
Licensing appears to be a non-issue. http://www.onemindsoft.org/modules/newbb/viewtopic.php?topic_id=70forum=4post_id=218#forumpost218 - Posted via Jive Forums

JXP Template support?

2006-10-16 Thread Patrick Lightbody
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

Re: JXP Template support?

2006-10-16 Thread Philip Luppens
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

Re: JXP Template support?

2006-10-16 Thread Ted Husted
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: I'd only vote for it if a) it indeed proves to be (significally) faster than Freemarker and b) if we can't fix the caching problem in Freemarker. And if jxp is willing to change the license. * http://jxp.sourceforge.net/license.html The

Re: JXP Template support?

2006-10-16 Thread Ted Husted
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching problem: * http://article.gmane.org/gmane.comp.web.freemarker.user/2555/match=freemarker+performance+ww Do we have a JIRA ticket open for the problem?

Re: JXP Template support?

2006-10-16 Thread Philip Luppens
On 10/16/06, Philip Luppens [EMAIL PROTECTED] wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching problem: * http://article.gmane.org/gmane.comp.web.freemarker.use r/2555/match=freemarker+performance+ww Yes, that's the one. There were a

Re: JXP Template support?

2006-10-16 Thread tm jee
Hi guys, I've go ahead and created an issue in Struts2 jira. https://issues.apache.org/struts/browse/WW-1473 rgds Philip Luppens [EMAIL PROTECTED] wrote: On 10/16/06, Philip Luppens wrote: b) if we can't fix the caching problem in Freemarker. Are we talking about this caching

Re: JXP Template support?

2006-10-16 Thread Martin Cooper
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

Re: JXP Template support?

2006-10-16 Thread James Mitchell
Wow, when it rains, it pours ;) -- James Mitchell 678.910.8017 On Oct 16, 2006, at 11:13 PM, Martin Cooper 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