Re: eclipse environment to explore the Struts2 sources and create fix patches

2008-04-17 Thread David Durham, Jr.
On Thu, Apr 17, 2008 at 2:20 PM, Décio Heinzelmann Luckow [EMAIL PROTECTED] wrote: My problem is when I want to see all projetcs inside Eclise, I alredy have generated the Eclipse 'project files' using maven and try to open with Eclipse, but eclipse allways crashes (it simply close). You

Re: Freekmarker vs. Velocity

2008-03-27 Thread David Durham, Jr.
On Thu, Mar 20, 2008 at 10:35 PM, Niall Pemberton [EMAIL PROTECTED] wrote: http://struts.apache.org/2.x/docs/freemarker.html I don't use either, but I've read various opinions that Freemarker is much better than velocity, but this sounds like we think they're comparable. Anyone got an

Re: [S2] Code does not use generics too much

2008-03-06 Thread David Durham, Jr.
On Thu, Mar 6, 2008 at 2:42 PM, Brian Pontarelli [EMAIL PROTECTED] wrote: You can't put things into Maps that have wildcards. The compiler complains because Object really isn't '?'. Although most language pragmatist would tell you it is. But the language zealots say otherwise, and those

Re: [s2] Let's get out Struts 2.1.1

2008-02-27 Thread David Durham, Jr.
I'd definitely be interested in using a JQuery plugin for struts if it came out (has one already?). I've found the library to be very useful. The documentation is pretty good, though a little out of date wrt. some of the plugins (the UI ones notably, but they're getting a lot of dev work right

Re: [s2]JQuery Plugin

2008-02-27 Thread David Durham, Jr.
Changing the subject: On Wed, Feb 27, 2008 at 11:54 AM, Dave Newton [EMAIL PROTECTED] wrote: --- David Durham, Jr. [EMAIL PROTECTED] wrote: I'd definitely be interested in using a JQuery plugin for struts if it came out (has one already?). Not really; I had just barely started

Re: [s2]JQuery Plugin

2008-02-27 Thread David Durham, Jr.
On Wed, Feb 27, 2008 at 12:57 PM, Dave Newton [EMAIL PROTECTED] wrote: As I worked on a client's application, however, I realized that the tags were almost useless to me, as everything was so specific that it was much, much cleaner to simply write the JavaScript. I then changed the jQuery

Re: [s2]JQuery Plugin

2008-02-27 Thread David Durham, Jr.
On Wed, Feb 27, 2008 at 1:17 PM, David Durham, Jr. [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 12:57 PM, Dave Newton [EMAIL PROTECTED] wrote: As I worked on a client's application, however, I realized that the tags were almost useless to me, as everything was so specific

Re: [s2]JQuery Plugin

2008-02-27 Thread David Durham, Jr.
On Wed, Feb 27, 2008 at 1:22 PM, David Durham, Jr. [EMAIL PROTECTED] wrote: Or maybe the body could be the options map, which often includes callback function. Is there a better forum for this discussion, or is the struts-dev list the place? That doesn't make sense. Maybe something like

Re: invent way to get dropdown data in JSP not using actions or taglibs?

2008-01-02 Thread David Durham, Jr.
Three or four years ago, this issue with the view was discussed alot. There was talk of mechanisms termed 'view-controllers' and concepts such as 'view logic'. Isn't this something that Tiles does pretty well? I haven't looked at Tiles 2, and I recall Tiles 1 required a little extra effort

Re: name inconsistency

2007-07-10 Thread David Durham, Jr.
On 7/7/07, Musachy Barroso [EMAIL PROTECTED] wrote: * Move id attribute to UIBean so it is in all UI tags * Remove id from tags that are neither UIBean nor ContextBean (like Property for example) I think this still leaves the issue with jspx. Say that I have the same html element within a

Re: name inconsistency

2007-07-10 Thread David Durham, Jr.
On 7/10/07, David Durham, Jr. [EMAIL PROTECTED] wrote: My example is kind of weak because the argument to the style attribute could easily be conditionalized, thereby avoiding the id issue. Nonetheless, I think struts 2 tags should use something besides id across the board, except in cases where

Re: name inconsistency

2007-06-14 Thread David Durham, Jr.
On 6/13/07, Rene Gielen [EMAIL PROTECTED] wrote: I personally personally find the combination of s:set name=foo value=... / s:textfield name=foo / a veeery common usecase. That said, I would be quite confused to have to write s:set id=foo value=... / s:textfield name=foo / instead in future.

Re: name inconsistency

2007-06-14 Thread David Durham, Jr.
On 6/14/07, Musachy Barroso [EMAIL PROTECTED] wrote: Also: action, date text Still a problem, IMO, because if you're someone that writes .jspx documents, you can only use a tag that uses id + value stack key combination in, at most, one place within a document, and still have a valid jspx.

correct way to build struts

2007-01-25 Thread David Durham
If the information here is correct: http://struts.apache.org/2.x/docs/building-the-framework-from-source.html The build appears to be failing: [surefire] Running org.apache.struts2.sitegraph.SiteGraphTest Jan 25, 2007 2:35:07 PM com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory clinit

Re: correct way to build struts

2007-01-25 Thread David Durham
David Durham wrote: If the information here is correct: http://struts.apache.org/2.x/docs/building-the-framework-from-source.html The build appears to be failing: Without -Pall, the build works, so it looks as if not all profiles build right now. -Dave

referencing spring beans from struts.xml

2006-12-12 Thread David Durham
I kind of stumbled over the spring glue for struts, rereading the wiki page a few times before the struts.xml action _class_ needs to reference the bean name attribute from spring's configuration. Just thinking about it a little more, that seems a bit esoteric. Would it be better to have the

Re: referencing spring beans from struts.xml

2006-12-12 Thread David Durham
Dave Newton wrote: From: David Durham [mailto:[EMAIL PROTECTED] I kind of stumbled over the spring glue for struts, rereading the wiki page a few times before the struts.xml action _class_ needs to reference the bean name attribute from spring's configuration. Just thinking about it a little

Re: referencing spring beans from struts.xml

2006-12-12 Thread David Durham
Ted Husted wrote: On 12/12/06, Don Brown [EMAIL PROTECTED] wrote: action name=... class=Spring:SpringBeanName / or something like that to kind of indicate to a developer, Hey, this isn't a standard java class name. Good point. I like this idea more because it would allow us to use

can't find (404) 2.0.1-SNAPSHOT archetype

2006-11-10 Thread David Durham
I'm trying to follow the getting started guide here: http://cwiki.apache.org/confluence/display/WW/Ready%2C+Set%2C+Go%21 Found this message indicating something about apache servers being down: http://www.nabble.com/Re%3A-Struts2-runs-in-Eclipse-p6982629.html I can only find

Re: can't find (404) 2.0.1-SNAPSHOT archetype

2006-11-10 Thread David Durham
Wendy Smoak wrote: On 11/10/06, David Durham [EMAIL PROTECTED] wrote: The timestamp on 1.0-SNAPSHOT is from July. Is it current? If not, where can I find a current snapshot? Maybe just use struts-blank from 2.0.1 apps? I just re-published the archetype snapshot, so you can try it again

Re: can't find (404) 2.0.1-SNAPSHOT archetype

2006-11-10 Thread David Durham
David Durham wrote: Wendy Smoak wrote: On 11/10/06, David Durham [EMAIL PROTECTED] wrote: Is this a problem with my maven setup or something wrong with the snapshot? Sorry abou that. We removed the Sitemesh tlds but didn't remove them from the archetype descriptor. I just published a new

Re: can't find (404) 2.0.1-SNAPSHOT archetype

2006-11-10 Thread David Durham
Wendy Smoak wrote: On 11/10/06, David Durham [EMAIL PROTECTED] wrote: Actually, I spoke to soon. Following the next step: 1) org.apache.struts:struts2-core:jar:2.0.1-SNAPSHOT Change the version numbers in pom.xml to 2.0.2-SNAPSHOT and it should work. Unfortunately, we lost the staged

html:link + HTTP POST

2006-08-13 Thread David Durham
I posted on the user list and didn't get a response, so not sure .. Anyway, I'm thinking it would be nice to have the html:link tag accept an optional method attribute that defaults to get and when set to post does one of a couple different things. 1 - adds a form, method=post with hidden

Re: [taglib] calendar taglib

2006-06-26 Thread David Durham
C. Grobmeier wrote: i am writing a taglib at the moment for renderering a html calendar, similar to the commercial: http://www.servletsuite.com/servlets/caltag.htm I would like to contribute it to the struts taglib project. Are you interested in such a taglib? I was curious that nobody has

Re: Sending run time value to custom tag

2006-05-26 Thread David Durham
Hanmay, this is a struts-user question Hanmay Udgiri wrote: Hi I am sending a runtime value to a custom tag.I am sending the value through bean:write tag but it is not sending the value.i am attaching the sample code. mytags:indicatorEndDisplay indicatorType=bean:write name='myform'

small error on announcements page

2006-05-08 Thread David Durham
Hi, On this page: http://struts.apache.org/announce.html In the bulleted section of the first announcement, 23 March 2006 ... the following statement is open-ended: A new mailreader demo application that duplicates the functionality of the Struts 1.x version of this app, so

display tag link busted

2006-01-27 Thread David Durham
On this page: http://struts.apache.org/struts-action/userGuide/preface.html#resources The display tag link is this: http://http://displaytag.sourceforge.net/ -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Removing CGLIB enhancement from struts-action

2006-01-18 Thread David Durham
Thoughts? [0] http://issues.apache.org/bugzilla/show_bug.cgi?id=37730 Heh, maybe a custom classloader for struts apps that is aware of struts-config. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[Friday] Re: is there is anything replacing ActionErrors ...

2005-12-16 Thread David Durham
Why does struts allready have a saveErrors(request, messages) as saveErrors(session, messages) can be used for the same use-case ? Take it to Struts-user, or go back to the drawing board. Those are different use-cases. I've noticed an increased amount of spam since this posting ... :)

Re: is there is anything replacing ActionErrors in struts; please replyas early as possible

2005-12-14 Thread David Durham
Nicolas De Loof wrote: This deprecation is very interesting but doesn't answer my orginial question : Why does struts allready have a saveErrors(request, messages) as saveErrors(session, messages) can be used for the same use-case ? Take it to Struts-user, or go back to the drawing board.

Re: [VOTE] Confirm Shale 1.0.0 Test Build Release Plan

2005-12-04 Thread David Durham
This may seem [OT] to some people on the list, but I hope it drives another nail into FormDef's coffin. Seriously, who in their right mind would declare a bean with Java? Ryan Stewart wrote: I'll second that. I'm hardly new, but I much prefer to have everything packaged as one unit as well.

Re: [VOTE] Confirm Shale 1.0.0 Test Build Release Plan

2005-12-03 Thread David Durham
Craig McClanahan wrote: Call it a social experiment :-). I'm continually amazed at how many people treat open source projects as a binary distribution, and never bother to go get the source. Several commons packages, as well as Spring, do it this way ... I want to see if it encourages people

Re: [OT] RE: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-25 Thread David Durham
Dakota Jack wrote: First, comparing Struts and JSF is like comparing C++ and Visual Basic. Struts is REQUEST-DRIVEN MVC and JSF (Shale) is PAGE CENTRIC RAD (rapid development with tools as in VB). Anyone that cannot see they don't go together, frankly, is not that insightful, in my opinion.

Re: [ANNOUNCEMENT] New Struts Committer: Gary vanMatre

2005-08-23 Thread David Durham
Dakota Jack wrote: That would be, James, not Dakota but the list. This is the most unusual committer nomination I have ever seen. James, will it ever be possible to get you to respond to these inquiries, if you must respond, in an adult way? I appreciate Joe's perspective, although I think

Re: [VOTE] Move minimum to 2.3 (was Re: Changing how CommonsMultipartRequestHandler handles text parameters?)

2004-09-01 Thread David Durham
James Mitchell wrote: That would be a bad mistake. How many products do you know that have a 1.5 minimum requirement? If we're talking about Struts 2.0, it's not actually a product yet, so it's purely speculation. I'm not saying move the 1.x branch to 1.5. I'm not even saying that you *should*

Re: manipulating data in a collection in jsp and setting it in the ActionForm

2004-08-19 Thread David Durham
You'll get a better response by posting this to [EMAIL PROTECTED] tim jeremicz wrote: we are iterating through an arraylist of objects in our jsp that we get from session. we then display the object's elements in text fields for a user to manipulate and submit. the problem is: what do you