Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Anybody on this, please? -- Robi Roberto Nunnari wrote: Hello. I'd like to use declarative Action-alias field validation for several Actions/methods in my S2 webpapp. S2 let's me do in struts.xml elegant things like: package name=admin extends=tiles-default namespace=/admin ... action

Re: [struts] validation and action names with slashes

2008-06-20 Thread Dale Newfield
Roberto Nunnari wrote: ..but in order to add declarative validation, that would require a file named: CategoryAction/create-validation.xml but '/' is not a character allowed in filenames. Did you actually try putting the validation file at CategoryAction/create-validation.xml (i.e.: in a

Re: [struts] validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Hi Dale. Thank you for your answer. See my comments below. -- Robi Dale Newfield wrote: Roberto Nunnari wrote: ..but in order to add declarative validation, that would require a file named: CategoryAction/create-validation.xml Oops.. little typo! That should read:

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Oops.. little typo! Correction below, in context. Maybe using a different separator in action name, like '!' instead of '/' could help.. But now this leads me to a more general question: Can action names containing '*' be mapped at all to Action-alias validation? Thank you! -- Robi Roberto

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Hi guys. From my tests here's what I found: 1) action names with '/' are not usable for declarative action-alias validation because of java package name (and most probably filesystem ) incompatibilities 2) action names with wildcards and '!' (ie '*!*') are not usable for declarative

[OT] What slows you down?

2008-06-20 Thread Ted Husted
Since it's friday, let me pose a question to the group ... Even with rock-solid frameworks like Apache Struts, it still seems like web application development takes longer than it should. Some frameworks, like Ruby on Rails, speak directly to time to market concerns and have been gathering many

Re: [OT] What slows you down?

2008-06-20 Thread Al Sutton
Web Design :). I can code it in a few days, but getting it to look pretty so that users don't complain, thats a b**ch. Seriously though, one of the things we could do is a something link Suns blueprints or a cookbook of code recepies where we have pages which show and explain the code

Re: [OT] What slows you down?

2008-06-20 Thread stanlick
I think a web page generator from action/model would be a huge shot in the arm. Of course it would need to be gussied up a bit, but doing these by hand is a leach on time. I recall a product back in the day that would generate pages from db tables. Perhaps it's now open source and could be

Re: [OT] What slows you down?

2008-06-20 Thread Antonio Petrelli
2008/6/20 Ted Husted [EMAIL PROTECTED]: But why does web application still seem so difficult or so time-consuming? IMHO it's the presence of too many layers of applications. For a simple thing like a search result you have to do (for example in Struts 1): - the JSP page - the DAO - the service

Re: [OT] What slows you down?

2008-06-20 Thread stanlick
That's pretty accurate! You know, these reoccurring cycles could be patterned into framework base classes now that Java support generics. Db4o works fine in this manner and needs no 2D mappings at all. In fact, I have a single class that handles all persistence/search behaviors for all my

Re: [OT] What slows you down?

2008-06-20 Thread Roger Varley
On Friday 20 June 2008 15:07:17 Al Sutton wrote: Web Design :). I can code it in a few days, but getting it to look pretty so that users don't complain, thats a b**ch. That shouldn't be my problem. I'm a developer not a graphic designer. What would be nice though, would be if it were easier

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: 2) action names with wildcards and '!' (ie '*!*') are not usable for declarative action-alias validation. No idea why. This works: action name=manageAccount!* method=do{1} class=package.ManageAccountAction matches the XML validation:

Re: [OT] What slows you down?

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Antonio Petrelli [EMAIL PROTECTED] wrote: IMHO it's the presence of too many layers of applications. +1 The most productive environment I've worked in is Lisp (and Smalltalk, I guess). Config, code, HTML, everything was generated from Lisp. I had usable IDE assistance

Re: [OT] What slows you down?

2008-06-20 Thread Ian Roughley
[EMAIL PROTECTED] wrote: I think a web page generator from action/model would be a huge shot in the arm. Of course it would need to be gussied up a bit, but doing these by hand is a leach on time. I recall a product back in the day that would generate pages from db tables. The is a company

Re: [OT] What slows you down?

2008-06-20 Thread Jim Kiley
With Struts 2 I've got testability right down the spine of the application. There's very little Java I can write that I can't test. And testing really does speed up your application development cycle, as I'm sure the pros here know. The stuff I can't test is what slows me down: JSP, and the gap

Re: [OT] What slows you down?

2008-06-20 Thread Musachy Barroso
I would have to say: people. It doesn't matter how good frameworks are, for some reason, some people decide to write their own frameworks, and they do a terrible job at it. I always land on these companies :). Some examples I have seen in my current and last company: 1. Custom MVC (makes me want

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Paul Zepernick
Another tidbit of information...The startup error only happen when maping an action result of type jasper. If I take out the type, the server starts just fine with the jasper plugin jar. Is there something else I need to setup in the configuration to tell it about the jasper result type? Is

Re: [OT] What slows you down?

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Jim Kiley [EMAIL PROTECTED] wrote: I don't have a JSP debugger, and JSPs don't generate log statements (wow, wouldn't it be awesome if they could?). AFAIK they can, although I'll often just use a println. What environment are you using that you don't have a JSP debugger,

Re: [OT] What slows you down?

2008-06-20 Thread Jim Kiley
On Fri, Jun 20, 2008 at 9:29 AM, Dave Newton [EMAIL PROTECTED] wrote: --- On Fri, 6/20/08, Jim Kiley [EMAIL PROTECTED] wrote: I don't have a JSP debugger, and JSPs don't generate log statements (wow, wouldn't it be awesome if they could?). AFAIK they can, although I'll often just use a

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Dave Newton
I thought I already answered that? You can also narrow down the packages that will produce DEBUG-level statements; although that might be a bit hit-or-miss at this stage in the game. Do you have the Jasper dependencies yet? Dave --- On Fri, 6/20/08, Paul Zepernick [EMAIL PROTECTED] wrote:

Re: [OT] What slows you down?

2008-06-20 Thread Jim Kiley
Gah, I have been using MyEclipse for two years and never noticed the JSP debugger. How embarrassing. jk On Fri, Jun 20, 2008 at 9:31 AM, Jim Kiley [EMAIL PROTECTED] wrote: On Fri, Jun 20, 2008 at 9:29 AM, Dave Newton [EMAIL PROTECTED] wrote: --- On Fri, 6/20/08, Jim Kiley [EMAIL PROTECTED]

Re: [OT] What slows you down?

2008-06-20 Thread Dave Newton
Gah, I have been using MyEclipse for two years and never noticed the JSP debugger. How embarrassing. *lol* I almost never use JSP debuggers, but on occasion they're *really* handy :) Dave - To unsubscribe, e-mail: [EMAIL

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Paul Zepernick
Dave, Yes, I turned on debug and there was a ton of information, but no stack trace or anything else saying why the filter failed to start. I do have all the Jasper dependencies in now (that email is a couple down). Thanks, Paul Zepernick -Original Message- From: Dave Newton

Re: [OT] What slows you down?

2008-06-20 Thread stanlick
Actually, I applaud you. If you need to debug jsp pages, you have bigger problems! On Fri, Jun 20, 2008 at 8:37 AM, Jim Kiley [EMAIL PROTECTED] wrote: Gah, I have been using MyEclipse for two years and never noticed the JSP debugger. How embarrassing. jk On Fri, Jun 20, 2008 at 9:31 AM,

Re: [OT] What slows you down?

2008-06-20 Thread Martin
something about the difference between developer (someone who only works one version of an IDE) and a software engineer who can engineer a solution (regardless of the IDE) for debugging check out console out c:out http://jakarta.apache.org/taglibs/sandbox/doc/iterators-doc/index.html HTH

Re: [OT] What slows you down?

2008-06-20 Thread Ian Roughley
And don't forget s:debug / and the debug interceptor (that I believe dumps to log file/xml) :-) Martin wrote: something about the difference between developer (someone who only works one version of an IDE) and a software engineer who can engineer a solution (regardless of the IDE) for

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Paul Zepernick [EMAIL PROTECTED] wrote: Yes, I turned on debug and there was a ton of information, but no stack trace or anything else saying why the filter failed to start. I do have all the Jasper dependencies in now (that email is a couple down). Ah. Not sure what to

Re: [OT] What slows you down?

2008-06-20 Thread Don Brown
This is an excellent question, Ted, thanks for bringing it up. At Atlassian, we've been rolling out a few new internal applications built on Grails and have been amazed how easy it can be. They take production-ready libraries like Hibernate and Spring, then tie everything together in a seamless

Re: [OT] What slows you down?

2008-06-20 Thread Jim Kiley
Part of what's going on for me is that Struts 2 provides me with such a large improvement in productivity over the last two Java web frameworks that I used (Struts 1 and JSF) I haven't yet gotten over my pleasure with the framework. I haven't gotten ticked off at it yet, because even when

Re: validation and action names with slashes

2008-06-20 Thread Roberto Nunnari
Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the convenience of conventions? -- Robi Jeromy Evans wrote: Roberto

Extending Theme Issue (Struts 2.1.2)

2008-06-20 Thread Nick Scavelli
I am struggling to extend a theme for my web application. The parent property in theme.properties does not seem to work for my custom theme I am trying to implement. Theme name is ccast2_0, and I have added struts.ui.theme=ccast2_0 and struts.ui.templateDir=template to

SV: [OT] What slows you down?

2008-06-20 Thread Frode T. Johansen
- jsp tags It was just confusing and time consuming to learn and do alot of c:if/c:forEach/c:choose and make it right. In the beginning I just escaped into java a lot % % -struts tags I still hate tags like the s:select mixed with i18n, ognl, converters and the lot. 1 mistake, 1 miss, 1

Re: [OT] What slows you down?

2008-06-20 Thread Musachy Barroso
I won't comment on all this, because, I am totally biased, and it is friday after all, but here: Look to php zend framework that was it for me, lol. musachy Ok...I won't talk about the rest because I am obviously biased On Fri, Jun 20, 2008 at 11:04 AM, Frode T. Johansen [EMAIL PROTECTED]

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Paul Zepernick
Here are the jars that I have currently: activation-1.1.jar antlr-2.7.2.jar asm.jar asm-attrs.jar cglib-2.1.3.jar commons-beanutils-1.6.jar commons-chain-1.1.jar commons-codec-1.3.jar commons-collections-2.1.1.jar commons-digester-1.7.jar commons-httpclient-3.0.jar commons-javaflow-20060411.jar

Re: [OT] What slows you down?

2008-06-20 Thread Giovanni Azua
In the context of Struts 2 and from my personal experience as a Struts framework (pure java-centric) user that does not do webapps development for a living I would have very much appreciated: 1-. A rather colorful set of Struts Blank applications where you could get out of the box: a)

Struts 2.1.2 DateTimePicker

2008-06-20 Thread Jan Froehlich
Hi @all... Are there any other themes or styles or stylesheets for the Struts 2.1.2 datetimepicker available? Or do I have to overwrite all css classes to change the appearance? The dropdown is very small so its really hard to pick a date. FYI: It looks like that in IE7 and Firefox 2. Regards

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Dave Newton
does the pkg extend the jasper pkg? are you really using all those s2 plugins?! (sent via mobile; too lazy to capitalize properly.) dave --- On Fri, 6/20/08, Paul Zepernick [EMAIL PROTECTED] wrote: From: Paul Zepernick [EMAIL PROTECTED] Subject: RE: Logging For SEVERE: Error filterStart

SV: [OT] What slows you down?

2008-06-20 Thread Frode T. Johansen
As I said: I'm not that a great coder, and not an expert php or java coder. Coding pure logic in java or php goes at a nice pace. Once you are in the loop where you got a variable, object, list/map/tree of stuffs - and need that converted to something html'ish ... then for me php is far easier

RE: SV: [OT] What slows you down?

2008-06-20 Thread Nick Scavelli
Musachy abused the first rule, dont' feed the trolls... :) Subject: SV: [OT] What slows you down? Date: Fri, 20 Jun 2008 18:27:10 +0200 From: [EMAIL PROTECTED] To: user@struts.apache.org As I said: I'm not that a great coder, and not an expert php or java coder. Coding pure logic in

RE: Logging For SEVERE: Error filterStart

2008-06-20 Thread Paul Zepernick
You're the man The package did not extend jasper. I was not aware of that. The server starts up fine now. Thanks so much for the help. As for the plugins, no we are not using them all. I have to take them out. We just kind of dumped everything in when we were trying to get Struts 2

Re: Struts2 annotation based TLD generation using Ant

2008-06-20 Thread Dmitriy Kuznetsov
Musachy Barroso wrote: Get it from here: http://repo1.maven.org/maven2/org/apache/struts/struts-annotations/ musachy I've managed to do it with following target: target name=generate-taglib depends=compile-project apt classpathref=struts-plugin.classpath

RE: [OT] What slows you down?

2008-06-20 Thread Sarr, Nathan
Let me start with I think struts 2 is great - like some of the others the size of the technology stack and UI seem to give me the most trouble as well. Some things I've had to deal with in struts 2 are: 1. The tags - I decided to not use the struts tags as I prefer to use JSTL and JSP

RE: [OT] What slows you down?

2008-06-20 Thread Karr, David
-Original Message- From: Sarr, Nathan [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 10:29 AM To: Struts Users Mailing List Subject: RE: [OT] What slows you down? 2. Validation - since I'm using Yahoo User Interface Libraries (YUI) and my actions are returning JSON or

RE: [OT] What slows you down?

2008-06-20 Thread Sarr, Nathan
Hi David, That sounds great - thanks for tip. I'm going to grab the Beta release ASAP. -Nate -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 1:47 PM To: Struts Users Mailing List Subject: RE: [OT] What slows you down? -Original

RE: [OT] What slows you down?

2008-06-20 Thread Karr, David
Check the archives for the note I wrote on 6/15 with subject Some confusion trying to do ajax form submit. Musachy gave me some very useful info (read all his responses). -Original Message- From: Sarr, Nathan [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2008 11:16 AM To: Struts

Re: SV: [OT] What slows you down?

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Frode T. Johansen [EMAIL PROTECTED] wrote: -Debugging. What does the request.paramterMap contains of variables form post/get? I have a small code for printing that... just pain to use the debugger for it. What does the valuestack contains? I don't know... Or use

Re: SV: [OT] What slows you down?

2008-06-20 Thread Musachy Barroso
lol, another one that didn't read the sign ;) musachy On Fri, Jun 20, 2008 at 3:48 PM, Dave Newton [EMAIL PROTECTED] wrote: --- On Fri, 6/20/08, Frode T. Johansen [EMAIL PROTECTED] wrote: -Debugging. What does the request.paramterMap contains of variables form post/get? I have a small code

Re: SV: [OT] What slows you down?

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Musachy Barroso [EMAIL PROTECTED] wrote: lol, another one that didn't read the sign ;) I'm really bad at that game; they get me every time. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Struts 2 Page Ctrl+R

2008-06-20 Thread Rubbinio
Hi all, we have some Struts 2 pages which load fine but if the user uses Ctrl+R or Browser Refresh the page reloads but no values are populated. This worked fine before using Struts 1 and my guess is that it was because the form was present in session. Is there any way to make this work in

Re: Error replicating sessions with Struts 2 framework java application

2008-06-20 Thread Laurie Harper
Problems with Tomcat session replication are really a Tomcat issue, not a Struts issue. You will likely have more luck asking on the Tomcat user's list. You should include more details about how you configured Tomcat for session replication, too, since that seems likely to be where the problem

Re: [OT] What slows you down?

2008-06-20 Thread Neil Erdwien
I'd like to +1 the sentiment that we have too many layers and too many options for each layer. I'll resist the temptation to try to list various layers and options -- there are just too many. What I'd like to add to the discussion is the theory that there is a natural selection/evolutionary

building from source

2008-06-20 Thread Roberto Nunnari
Hi! I've been trying to build struts2 2.1.3-SNAPSHOT, svn'ed today but without success. The error seams to be related to xwork.. which I just built from source (just svn'ed), too. Can any kind soul help me, please? -- Robi E:\devel\ApacheASF\struts\struts2mvn clean install -Pall [INFO]

Re: building from source

2008-06-20 Thread Dave Newton
--- On Fri, 6/20/08, Roberto Nunnari [EMAIL PROTECTED] wrote: I've been trying to build struts2 2.1.3-SNAPSHOT, svn'ed today but without success. The error seams to be related to xwork.. which I just built from source (just svn'ed), too. Are you using a local checkout of XWork as described

Re: building from source

2008-06-20 Thread Roberto Nunnari
Hi Dave. Dave Newton wrote: --- On Fri, 6/20/08, Roberto Nunnari [EMAIL PROTECTED] wrote: I've been trying to build struts2 2.1.3-SNAPSHOT, svn'ed today but without success. The error seams to be related to xwork.. which I just built from source (just svn'ed), too. Are you using a local

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the convenience of conventions? It works with

Re: building from source

2008-06-20 Thread Dave Newton
I can't get it to work now either :p --- On Fri, 6/20/08, Roberto Nunnari [EMAIL PROTECTED] wrote: I'll report back to you.. That'd be great; Maven gives me fits. I'd like to try out the convention plugin.. should I take it from the sandbox? just cd sandbox mvn package? I've not built the

Re: building from source

2008-06-20 Thread Roberto Nunnari
hehe.. I'm in good company then! :D I rarely use maven.. just when I need to build softwares that require it, like struts and tiles.. so.. I'm quite lost with maven! ok.. wiping out the maven repo didn't help. I still get lots of stack trace from running test in xwork.. but after that it says:

Re: validation and action names with slashes

2008-06-20 Thread Jeromy Evans
Roberto Nunnari wrote: Jeromy Evans wrote: Roberto Nunnari wrote: Hi Jeromy! The Convention plugin looks very interesting! Does it work with 2.1.3-SNAPSHOT ? I'd like to give it a try this weekend. What about mixing it with tiles? Would it require specifying tiles results thus breaking the