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
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
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:
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
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
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
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
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
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
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
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
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:
--- 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
[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
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
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
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
--- 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,
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
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:
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]
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
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
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,
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
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
--- 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
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
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
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
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
- 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
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]
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
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)
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
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
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
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
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
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
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
-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
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
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
--- 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
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
--- 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
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
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
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
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]
--- 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
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
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
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
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:
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
58 matches
Mail list logo