RE: OT: Struts JSR?

2004-03-23 Thread Paananen, Tero
First let's be very clear. It's *not* about market share. I have to disagree with you on this one. Struts is the defacto standard because of its market share. Why does Struts need to be defacto standard? Struts in itself has no value, IMHO. Obviously Struts developers have an

RE: How can I extend a Struts tag?

2003-09-26 Thread Paananen, Tero
Can somebody tell me which is the best way to do this? Oh boy :) There was a long discussion not so long ago about the problems with extending the tags (not limited to the Struts tags, btw) on this list. You're stuck with copy-and-pasteing TextTag.doStartTag() into your new tag, then

RE: How can I extend a Struts tag?

2003-09-26 Thread Paananen, Tero
public int doStartTag() throws JspException { int tempValue = super.doStartTag(); StringBuffer href = new StringBuffer(some stuff); ResponseUtils.write(pageContext, sb.toString()); return tempValue; } This all works fine for me! So you're doing

Re: Tags more extensible (was: Suggestions for Calendar Popup taglib?)

2003-08-18 Thread Paananen, Tero
[this is in response to Robert Leland's reply to my post on the struts-user list griping about the (un)extensibility of custom tags] My #1 pet peeve about custom taglibs are that almost none of them have been designed with extensibility in mind. This includes all the Struts tags that I've

RE: Tags more extensible (was: Suggestions for Calendar Popup tag lib?)

2003-08-18 Thread Paananen, Tero
From what I've seen most custom tags seem to have been implemented as one big doStartTag() or doEndTag(). The entire implementation of the tag is in that one method. I have worked to move most of the code out of doStartTag() and doEndTag() for many tags. My pattern has been to have a

RE: ActionForwards, et al (was SuccessAction)

2003-08-14 Thread Paananen, Tero
the patch is here: http://issues.apache.org/bugzilla/show_bug.cgi?id=18002 This one needs to be in a 1.1 release. -TPP - This email may contain confidential and privileged material for the sole use of the intended

RE: [OT] Is there a NYC area Struts User Group?

2003-08-14 Thread Paananen, Tero
Does anyone know of a NYC area Struts user group? http://groups.yahoo.com/group/struts_NYC/ -TPP - This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review,

RE: Reflection

2003-07-31 Thread Paananen, Tero
http://www.theserverside.com/home/thread.jsp?thread_id=20655 A good paper on performance, but implies that Struts reflection is slow. I disagree, but.. would not mind converting some of the Struts to CGLib, if there is a comiter who would review and integrate, should it come on agenda.

LookupDispatchAction vs. DispatchAction

2003-07-11 Thread Paananen, Tero
Anyone know why the error handling is different in these two Action classes when the parameter is missing from the request? DispatchAction calls the unspecified() method, but LookupDispatchAction throws an exception that can not be caught in the application. Why isn't LookupDispatchAction

RE: LookupDispatchAction vs. DispatchAction (bug #18002)

2003-07-11 Thread Paananen, Tero
I wouldn't call this a bug (a very annoying feature, at least for me), but from reading the javadoc for the DispatchAction.unspecified() method, it looks like the method was added in later to allow application developers to create their own default behavior when the dispatch parameter isn't

RE: Struts/.NET (was JavaPro)

2003-06-17 Thread Paananen, Tero
And IDEA may be the best developer's UI ever invented. Ted, would you mind comparing IDEA to Eclipse a little bit, if you have time? Not a full blown feature-by-feature review, just highlights. I've historically always been restricted to whatever my employer gives me (which has usually been

RE: Struts tools, re: What's next for Struts?

2003-06-11 Thread Paananen, Tero
so perhaps we will succeed in converting the dinosaurs to Struts :-) It's already happening. I'm teaching corporate mainframe programmers how to move into the Java world using WebSphere Studio Application Developer (WSAD) for serious companies in/near Philadelphia and Pittsburgh. In most