RE: Build requires JDK 1.6 now - EmbeddedJSP plugin

2009-08-24 Thread Al Sutton
uild requiring JDK 6? It's not that JDK 6 is required at run-time. If that's the case, I don't think this is a big deal. On Mon, Aug 24, 2009 at 1:07 AM, Al Sutton wrote: > My opinion is to go J6 with a J5 optional package. > > That way users can get as much as we can give them

RE: Build requires JDK 1.6 now - EmbeddedJSP plugin

2009-08-23 Thread Al Sutton
My opinion is to go J6 with a J5 optional package. That way users can get as much as we can give them out of the box and if they really must only use J5 they can still do so. We'll also have to make sure we don't use String.isEmpty :). Al. -- * Written an Android App? - List it at http://an

RE: Possible Chrome/s:file interaction problem.

2009-08-20 Thread Al Sutton
ject: Re: Possible Chrome/s:file interaction problem. Al, I recently started running Chrome, but I don't have any apps that use s:file. If you have a smallish app, I can try it out if you want to email me a zip. Not sure if it makes a difference, but I'm running it on linux amd64. -Wes On

Possible Chrome/s:file interaction problem.

2009-08-19 Thread Al Sutton
Has anyone tried Google Chrome with the s:file JSP tag? I've got a form which works with IE, Safari, and Firefox, but fails with Chrome (the submitted file isn't passed through to the File object in the action). I'm just wondering if it's something in my form or a wider problem that I should pu

RE: profiling

2009-08-15 Thread Al Sutton
To be honest I didn't even know it was there, I've always used a 3rd party product. Al. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the company numberĀ  6741909. The registered head office is Kemp House,

RE: Struts2 jQuery Plugin - Logo

2009-07-24 Thread Al Sutton
As one of the original backers of the ajax-library neutral approach I think it's a noble goal that didn't pan out in reality. It's been several months since the discussion about that took place and theres' been little if any movement in getting it done, and given that ajax components are now pr

RE: Struts2 jQuery Plugin - Logo

2009-07-24 Thread Al Sutton
I'd make this a candidate for inclusion in the main release, it could certainly go a long way to replacing the current ajax tags. Al. -- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the company numberĀ  6741

RE: Struts 2.1.7 Vote

2009-06-23 Thread Al Sutton
Sent: 23 June 2009 13:52 To: Struts Developers List Subject: Re: Struts 2.1.7 Vote Al Sutton wrote: > My project uses -codebehind-plugin, -core, -rest-plugin, Doesn't REST depend on convention? I'd be wary of using codebehind alongside convention/rest (plus codeb

RE: Struts 2.1.7 Vote

2009-06-23 Thread Al Sutton
A few things I've noticed (not hugely important, but may raise some end user questions); ** Upgrade issues ** My project uses -codebehind-plugin, -core, -rest-plugin, -sitemesh-plugin. After the upgrading just the jars I get; Caused by: java.lang.ClassNotFoundException: org.apache.struts2.res

RE: use of private final vs. protected

2009-06-03 Thread Al Sutton
Back in the dim and distant past I remember final being used to give the JIT an optimization hint that whatever's described as final can be inlined as it won't change (note JIT not compiler). It's not a big saving, but in tight loops and heavily called code it can all add up. I found http://www

RE: Google App Engine support?

2009-04-13 Thread Al Sutton
ook at it, but this got me thinking, what is SiteMesh doing with JNDI anyway? musachy On Mon, Apr 13, 2009 at 7:27 AM, Al Sutton wrote: > At the moment I'm giving > http://groups.google.com/group/google-appengine-java/browse_thread/thr > ead/1e > 3868a6a2661585 a spin. >

RE: Google App Engine support?

2009-04-13 Thread Al Sutton
to be up for fixing some of these issues. This one looks like either a JNDI bug or JNDI security measure (my guess is the later). Either way, it should be simple to fix. You could also roll a new Sitemesh JAR that smothers JNDI lookup errors. -bp On Apr 10, 2009, at 12:40 AM, Al Sutton wrote:

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
notfound exception. I will piggyback on Don's > research ;) > > musachy > > On Thu, Apr 9, 2009 at 11:47 AM, Al Sutton wrote: >> Appcfg is a script which just runs a java app and uses wherever it >> picks Java up from as the java.home variable. This means if it picks &

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
pers List Subject: Re: Google App Engine support? yeah sure. Let me try that, it is probably getting confused with one of the 1234e10 SDKs/JREs I have around. musachy On Thu, Apr 9, 2009 at 11:34 AM, Al Sutton wrote: > Set JDK_HOME\bin first on your path. If it picks up the JRE version of &

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
---Original Message- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: 09 April 2009 16:24 To: Struts Developers List Subject: Re: Google App Engine support? I am trying it also, but I can't get appcfg to find javac. musachy On Thu, Apr 9, 2009 at 11:17 AM, Al Sutton wrote:

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
88) at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:42) at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:87) Cool, I'll look into it this weekend. Thanks for the help! Don On Fri, Apr 10, 2009 at 1:04 AM, Al Sutton wrote: > It's given me a 500, but I've ad

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
sandbox/tree/master You will need to change the path to the sdk in build.xml. Don On Fri, Apr 10, 2009 at 12:32 AM, Al Sutton wrote: > If you want to send over what you've done I've got a live account I'd > be willing to test it on. > > Al. > > ---

RE: Google App Engine support?

2009-04-09 Thread Al Sutton
If you want to send over what you've done I've got a live account I'd be willing to test it on. Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office i

RE: [OT] Google App Engine Java

2009-04-08 Thread Al Sutton
A palce to host the demo apps perhaps :). Al. --- * Written an Android App? - List it at http://andappstore.com/ * == Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX,

Re: servlet to struts

2009-03-03 Thread Al Sutton
Please post this to the struts-user mailing list where more people will be able to help you. Al. kool wrote: kool wrote: Hi all, I have one servlet. now i have to convert the functionality of the servlet to struts mvc (writing an action class and daos). i am able to converted into servle

Re: Potential bug/dumb mistake with a href, s:url, and s:property

2009-02-27 Thread Al Sutton
dumb hat day it is then :). At least it's Friday. Al. Dave Newton wrote: Al Sutton wrote: However, if I do; Blah The link ends up as; http://server/apppath/linkto/objectId;jessionid=2389712798321 which takes the user to the right place. I couldn't find a note saying &quo

Potential bug/dumb mistake with a href, s:url, and s:property

2009-02-26 Thread Al Sutton
I've just come across something which may be a bug, or may just be accepted as a dumb way of doing things an not a worry. Using tomcat and URL rewriting for sessions if you put; Blah The link ends up as; http://server/apppath/linkto;jessionid=2389712798321/objectId So that when the user

Re: Any Eclipse Plugin for struts 2.1.6 and does it supports i18n properly

2009-02-26 Thread Al Sutton
Can you move this over to struts-user please. Al. sajidbigler wrote: Hi Pawel, Thanks for your fast reply but does ResourceBundleEditor_v0.7.7 suppots Arabic Locale. The Most important point here which is bother me is how can i accomplish Arabic Locale the link with give you utf conversion of

Re: Session problem

2009-02-20 Thread Al Sutton
Please repost your question to the struts-users list. This list is for discussions relating to the development of the core struts framework. Thanks, Al. mohamed sabirulla wrote: Hi I facing session maintain problem while navigate back button in browser as well as refresh button, please give

Re: Dojo plugin deprecated

2009-01-15 Thread Al Sutton
+1 for removing the First-Class AJAX support line. Al. Frank W. Zammetti wrote: I don't know, I think Andreas' point has at least some validity... the page he linked to does in fact state: "*First-class AJAX support* - Add interactivity and flexibility with AJAX tags that look and feel just

Re: Dojo plugin deprecated

2009-01-14 Thread Al Sutton
The other thing to remember is that S2 doesn't stop you taking any of the existing AJAX frameworks and using them directly in your JSPs, so it's no like the change has completely barred the use of AJAX functionality. Al. Martin Cooper wrote: Let's be clear about this. * Lots of people think

Re: [VOTE] Struts 2.1.6 Quality

2009-01-12 Thread Al Sutton
http://mail-archives.apache.org/mod_mbox/struts-dev/200805.mbox/%3c92544c510805150723h423f6dedo2b5cbd2c83b4b...@mail.gmail.com%3e Al. GF wrote: I checked by my self. Luckily you updated to 2.3.13 because previous ones had very big issues about locking and performance http://freemarker.sourcefor

Twitter Release Alerts

2009-01-10 Thread Al Sutton
I've nabbed the Apache_Struts username on Twitter in case we want to use it to feed off an RSS of release alerts (someone else has already pinched Struts). I'm happy to set this up if someone can point me an the correct RSS feed. Al. -- == Funky Android Limited is registered in England &

Re: [VOTE] Struts 2.1.6 Quality

2009-01-10 Thread Al Sutton
It might be better to set up an RSS feed and use something like twitterfeed.com to pipe it out to twitter, that way we can cater for RSS fans and twitter fans in one go. Al. Rene Gielen wrote: BWT, since this is getting a more and more ususal practice, how about opening a Struts2 twitter acco

Re: [VOTE] Struts 2.1.6 Quality

2009-01-08 Thread Al Sutton
After some testing 2.1.6 is being used behind the production deployments for andappstore.com. I'll shout if anything comes up. Al. Rainer Hermanns wrote: +1 GA Great job Musachy, thanks! cheers, Rainer The Struts 2.1.6 test build is now available. Release notes: * [http://struts.apache.

Re: [VOTE] Struts 2.1.6 Quality

2009-01-07 Thread Al Sutton
+1 to Musachy being da man! (and 2.1.6 seems to be working fine with my webapp so +1 GA for what it's worth :)). Al. James Holmes wrote: +1 GA that is! On Wed, Jan 7, 2009 at 2:10 PM, James Holmes wrote: +1 You da man! On Mon, Jan 5, 2009 at 5:06 PM, Musachy Barroso wrote:

Re: Confusion over draft docs

2009-01-05 Thread Al Sutton
Robots.txt is the de-facto standard for controlling what gets indexed (http://www.robotstxt.org/) Maybe there should be a robots.txt with; User-agent: * Disallow: /2.x in the struts.apache.org webdoc root, and possibly add the noarchive tags to the pages as a double check (http://www.google.

Re: 2.1.4 release quality

2009-01-03 Thread Al Sutton
2.1.5 looks good to me. Al. Musachy Barroso wrote: 2.1.5 is up: http://people.apache.org/builds/struts/2.1.5/ musachy On Fri, Jan 2, 2009 at 11:03 AM, Musachy Barroso wrote: I just kicked it off :) musachy On Fri, Jan 2, 2009 at 11:01 AM, Al Sutton wrote: Sounds like a plan to

S2.1.5

2009-01-03 Thread Al Sutton
Any reason S1.3.9-core is included when 1.3.10 is listed as the latest GA? Al. -- == Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this em

Re: 2.1.4 release quality

2009-01-02 Thread Al Sutton
ould affect the REST plugin, which is one of the main things in 2.1, so I think we might want to go for a 2.1.5 build, what do you think? musachy On Fri, Jan 2, 2009 at 4:57 AM, Al Sutton wrote: OK, The problem seems to come in UrlHelper.buildURL on line 174 of ServletUrlRenderer which is only

Re: 2.1.4 release quality

2009-01-02 Thread Al Sutton
s" is true, and there is some logic around the action being found or not, so a few things can go wrong there. thanks musachy On Thu, Jan 1, 2009 at 4:39 AM, Al Sutton wrote: Happy new year all. I think I've found a couple of problems, one form based, and one rest plugin based (a

2.1.4 release quality

2009-01-01 Thread Al Sutton
Happy new year all. I think I've found a couple of problems, one form based, and one rest plugin based (and these are reproducable :)). 1) In the JSP I have a form which uploads a file, the s:form tag is; onsubmit="document.getElementById('submit_button').disabled = 1;"

Re: 2.1.4 Quality - XWork/OGNL issue

2008-12-30 Thread Al Sutton
.name would never be populated. musachy On Tue, Dec 30, 2008 at 4:12 AM, Al Sutton wrote: The previous problems are fixed, but there looks like there might be a potential issue with XWork and/or OGNL I use displaytag and when paging through the URL is something like; http://loca

Re: 2.1.4 Quality - XWork/OGNL issue

2008-12-30 Thread Al Sutton
g, or it breaks? Can you post the stacktrace? AFAIK the parameters are always evaluated, otherwise params like person[1].name would never be populated. musachy On Tue, Dec 30, 2008 at 4:12 AM, Al Sutton wrote: The previous problems are fixed, but there looks like there might be a potential i

2.1.4 Quality - XWork/OGNL issue

2008-12-30 Thread Al Sutton
The previous problems are fixed, but there looks like there might be a potential issue with XWork and/or OGNL I use displaytag and when paging through the URL is something like; http://localhost/AndroidPhoneApplications/subs/?d-16387-p=3 When paging through with 2.1.4 I get an exception fr

Re: Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-30 Thread Al Sutton
at 16:05 -0500, Musachy Barroso wrote: Grab it while it is hot: http://people.apache.org/builds/struts/2.1.4/ musachy On Mon, Dec 29, 2008 at 11:56 AM, Al Sutton wrote: I've not had a chance to run any tests yet (the nightlies directory seems to only hold the core jar and the AndAp

Re: Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-29 Thread Al Sutton
ry to get the nightlies going again. -Wes On Sun, 2008-12-28 at 11:58 -0500, Musachy Barroso wrote: I don't think we have those. Do we? musachy On Sun, Dec 28, 2008 at 3:44 AM, Al Sutton wrote: I've changed machines recently and haven't got a S2 dev environmen

Re: Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-28 Thread Al Sutton
oso wrote: I change the filter and filter mappings to the "old" ones, and showcase still works, do you know what I would need to change to reproduce the problem? musachy On Sat, Dec 27, 2008 at 11:12 AM, Al Sutton wrote: I'm sorry I didn't try the trunk

Re: Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-27 Thread Al Sutton
k we saw this before and had been fixed. musachy On Sat, Dec 27, 2008 at 4:50 AM, Al Sutton wrote: Next problem; I'm seeing an exception being thrown in Freemarker which I believe is a knock on effect from the sitemesh plugin. When I set a breakpoint in FreemarkerTemplateEngine.rende

Struts 2.1.3 Quality - Freemarker/Sitemesh plugin issue

2008-12-27 Thread Al Sutton
Next problem; I'm seeing an exception being thrown in Freemarker which I believe is a knock on effect from the sitemesh plugin. When I set a breakpoint in FreemarkerTemplateEngine.renderTemplate there are several passes through where the servletcontext, request, and response objects are pulled

Re: [VOTE] Struts 2.1.3 Quality

2008-12-26 Thread Al Sutton
8 at 12:51 PM, Musachy Barroso wrote: As Codebehind was deprecated REST should build on top of Convention, you might want to start a new thread for this (maybe we broke something in REST?). musachy On Fri, Dec 26, 2008 at 12:46 PM, Al Sutton wrote: I've just dropped the 2.1.3 j

Re: [VOTE] Struts 2.1.3 Quality

2008-12-26 Thread Al Sutton
I've just dropped the 2.1.3 jars into an app which was working with 2.1.2 and the rest URLs appear to no longer work. Previously / fired off Controller.index() in my actions package. Now I just get; "T here is no Action mapped for namespace / and action name . - [unknown location]" I've tr

2.1.3 Release

2008-12-26 Thread Al Sutton
Just done a quick check of the libs and noticed that 1.3.10 contains some more recent libs that then 2.1.3 release. Namely; commons-beatutils (1.8.0 in s1.3.10, .1.7.0 in s2.1.3) commons-chain(1.2 in S1, 1.1 in S2) It might be worth syncing these two for the next release :). Al. -- == Fun

[Friday] Re: IBM is an island (the quest for getting a websphere license continues)

2008-12-12 Thread Al Sutton
The knee bones' connected to the thigh bone the thigh bones connected to the hip bone. (sing along if you know the words..) Al. Struts Two wrote: The legal folks in my team have directed me to Websphere Release team whose manager told me that they have someone who is IBM contact to Ap

A bit of a moral boost..

2008-11-21 Thread Al Sutton
I thought I'd post this as I know it's always nice to see your work is doing well; AndAppStore.com is uses Struts 2.1.2 core, codebehind, rest, and sitemesh plugins (as well as the SSL one from googlecode), we're regularly seeing 250,000+ hits a day (yes, quarter of a million) on a single ser

Re: Drop J4 support, was: Re: release process

2008-11-16 Thread Al Sutton
Sun ended support for Java 1.4 at the end of last month[1], so it would seem reasonable to drop support for 2.1 Al. http://java.sun.com/products/archive/eol.policy.html Rainer Hermanns wrote: I'd vote with +1 for dropping j4-support in Struts 2.1.X but with -1 for Struts 2.0.X because of know

Sanity check on REST plugin

2008-11-05 Thread Al Sutton
get a 404. If it's a bug I'll have a look at hacking together a fix. Al. -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/alsutton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Concerned Strutszien: A Manifesto

2008-10-19 Thread Al Sutton
* REST - Great way to organize web based applications Nobody is working on this right? I'm not working on it, but I have a few projects deployed using it, so i would wonder if it needs much in the way of work (if any at all). Al. --

Re: Google Dev Day

2008-09-16 Thread Al Sutton
e tag file that inserts the tag body. Does that make some sense? musachy On Tue, Aug 26, 2008 at 2:55 PM, Al Sutton <[EMAIL PROTECTED]> wrote: Have you got your code up somewhere, I'd like to take a look so I know what I'd be commenting on (and I can take a copy on a laptop).

Re: Google Dev Day

2008-08-26 Thread Al Sutton
t tags are splitted in 2 files, the open tag is in one and the close tag is in the other. GXP doesn't like this, as the xml won't be well formed on each individual template. You could get some suggestions on what would be the best way of doing this. musachy On Tue, Aug 26, 2008 at 10:04 A

Google Dev Day

2008-08-26 Thread Al Sutton
Guys, I'm going to be going to Googles Dev Day in London in mid-September, is there anything anyone wants me to get info on given the recent GXP discussions, etc.? Al. -- Al Sutton W: www.alsutton.com B: alsutton.wordpress.com T: twitter.com/als

Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?

2008-08-07 Thread Al Sutton
Google uses WebWork 2 and Struts 2 in many of its applications, -- -- Al Sutton W: www.alsutton.com T: twitter.com/alsutton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: If your evaluating new template engines, what about ZipScript

2008-08-01 Thread Al Sutton
nteresting, since we are also looking for an alternative approach to supporting Ajax with the Struts tags. -Ted. On Fri, Aug 1, 2008 at 1:30 AM, Al Sutton <[EMAIL PROTECTED]> wrote: Joe, My main reason for backing GXP is that it's been used in high volume "real world" a

Re: If your evaluating new template engines, what about ZipScript

2008-07-31 Thread Al Sutton
Joe, My main reason for backing GXP is that it's been used in high volume "real world" apps by Google and so has been proven to scale. Does ZipScript have the same real world testing, and if so where is it used? Al. Joe Hudson wrote: Hello, With all the talk about GXP, I wanted to let you

Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?

2008-07-26 Thread Al Sutton
P.S. If you want to know more about GXP there is a history available from http://google-opensource.blogspot.com/2008/07/google-xml-pages-functional-markup.html Al Sutton wrote: Gets my vote. GXP will have had "real-world" thrashing and monitoring whereas as we've seen recen

Re: [s2] Google XML Pages (GXP) to replace Freemarker in tags?

2008-07-26 Thread Al Sutton
Gets my vote. GXP will have had "real-world" thrashing and monitoring whereas as we've seen recently freemarkers scalability issues aren't always found and fixed that quickly. Al. Don Brown wrote: It is pretty well known that Google uses WebWork 2 and Struts 2 in many of its applications, but

Re: [PROPOSAL] Deprecate or remove Dojo plugin

2008-07-22 Thread Al Sutton
ExtJS is a big no-no in my book. To use it in a commercial project you need to buy a license, which would put off a lot of commercial customers. Personally I use YUI for two reasons; 1) It's easy to separate out and include only the parts I need in my webapp so I don't end up with war bloat.

Re: [VOTE] Struts 2.0.11.2 Quality (fast track) - UPDATE / SERIOUS ISSUE

2008-07-07 Thread Al Sutton
Any chance we can sneek the freemarker update in as well. It seems to be showing improvements to performance in multi-client cases without any negative side effects. Al. Don Brown wrote: 2.0.11.3 sounds fine to me. Are there that many commits on the 2.0.x branch that we aren't ready to relea

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-30 Thread Al Sutton
I think we're pretty much done, I do beleive that a configuration should reflect the environment it runs in, but I think our opinions differ when it comes to allowing developers to dictate behavioural changes between environments and shipping code which is never executed. Brian Pontarelli wrot

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-30 Thread Al Sutton
Brian Pontarelli wrote: I'll reply inline quickly. I'm coming from the other side of the configuration debate; the side that says you should have the configuration file which shows whats happening as opposed to having "intelligent" defaults which hide configuration options from the deployer/s

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
Dave Newton wrote: --- On Sun, 6/29/08, Al Sutton <[EMAIL PROTECTED]> wrote: Dave, you're heading for a lightbulb moment [...] If I had a nickel for every time somebody's assumed that about me I wouldn't need to have people assume that about me ;) :). if

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
Enjoy the duckies and give those critters a rub up the wrong way from me :). Al. Dave Newton wrote: --- On Sun, 6/29/08, Al Sutton <[EMAIL PROTECTED]> wrote: Just to follow this on, as I understand it dev, test, and prod map to configuration sets which are configured into th

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
e: --- On Sun, 6/29/08, Al Sutton <[EMAIL PROTECTED]> wrote: And so don't you then come to the conclusion of what is the point of a dev, test, prod switch when things are set individually anyway? *Can* be set individually; you bring up a special case, which would necess

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
(I've chopped some of the previous messages from the end for the benefit of those in digest mode). I'm coming from the other side of the configuration debate; the side that says you should have the configuration file which shows whats happening as opposed to having "intelligent" defaults which

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
alterable by the tech support people. Al Sutton wrote: And so don't you then come to the conclusion of what is the point of a dev, test, prod switch when things are set individually anyway? Al. Dave Newton wrote: --- On Sun, 6/29/08, Al Sutton <[EMAIL PROTECTED]> wrote: Then the quest

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
ated endpoints rather than altering the application code. They use combinations of DNS changes, scripted clients, dummy message queue listeners, and mock ups of external systems to ensure that the QA configuration is as close to production as possible. Dave Newton wrote: --- On Sun, 6/29

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
And so don't you then come to the conclusion of what is the point of a dev, test, prod switch when things are set individually anyway? Al. Dave Newton wrote: --- On Sun, 6/29/08, Al Sutton <[EMAIL PROTECTED]> wrote: Then the questoin becomes "Hows does the developer create

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
Frank -Original Message- From: Al Sutton <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2008 9:06 AM To: Struts Developers List Subject: Re: [OT] Re: environment awareness (project stage in JSF) Then the questoin becomes "Hows does the developer create a configuration set when th

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
for any given app regardless of what env it's in... We do this sort of thing all the time too because of multiple versions in flight and under QA review, but we still maintain a single EAR being deployed to all environments for any given version. -Original Message- From: Al Sutto

Re: [OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
Then the questoin becomes "Hows does the developer create a configuration set when the application is released which uses the database server which is chosen by the tech support team when things start going wrong at a later date?" Al. Dave Newton wrote: --- On Sun, 6/29/08,

[OT] Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
lazy. Trust me when I say that writing environment aware configuration is not a reduction of work or management. Furthermore, you assume only two environments it seems. We had 5 different environments and they all had different configuration. -bp On Jun 28, 2008, at 10:06 AM, Al Sutton wrote: Br

Re: environment awareness (project stage in JSF)

2008-06-29 Thread Al Sutton
u see as "lazy", exactly? Frank -Original Message- From: Al Sutton <[EMAIL PROTECTED]> Sent: Saturday, June 28, 2008 12:06 PM To: Struts Developers List Subject: Re: environment awareness (project stage in JSF) Brian, From what I can see your only real problem is QA on co

Re: environment awareness (project stage in JSF)

2008-06-28 Thread Al Sutton
definitely don't think it has anything to do with lazy developers. In fact, some of the best developers I know use it extremely well to control size, performance, scale, functionality, and much more in different environments. -bp On Jun 28, 2008, at 4:56 AM, Al Sutton wrote: I thin

Re: environment awareness (project stage in JSF)

2008-06-28 Thread Al Sutton
I think the concept is an idea which will appeal to lazy developers. Why on earth would you want to put conditionals into your code that you know will only evaluate to a set value in the environment they run in? If anything it makes problems harder to track down because if someone takes a cop

Re: [VOTE] Struts 2.0.11.2 Quality (fast track)

2008-06-24 Thread Al Sutton
Cool. Thanks for the explanation. Al. Rainer Hermanns wrote: Al, yes.. it was not yet officially announced, because of the missing Struts2 release. The release is available here [1] since 06/13/2008. As soon as this release is out, xwork will be annonced as well. cheers, Rainer [1] http://rel

Re: [VOTE] Struts 2.0.11.2 Quality (fast track)

2008-06-23 Thread Al Sutton
Is there any reason XWork 2.0.5 isn't available for download from http://www.opensymphony.com/xwork/download.action? Is the 2.0.5 jar included in 2.0.11.2 an officially released version? Al. Rene Gielen wrote: The Struts 2.0.11.2 security release test build is now available. Release notes:

Re: RESTful form tags

2008-06-20 Thread Al Sutton
imho the best way of doing this would be allowing the action parameter of the s:form tag to be evaluated (according to the S2 docs it currnetly isn't). That way people could use either >... or construct something like /pet/%{id}/delete using a URL object which is then handled by the existing

Re: [s2] 2.1.3 is 34% complete...keep it up

2008-06-20 Thread Al Sutton
Should that be "Dojo is a beast"? It is friday isn't it :). Al. James Holmes wrote: +2 Dojo is a best. I'm all for something lighter like jQuery, Prototype, etc. On Fri, Jun 20, 2008 at 11:47 AM, Al Sutton <[EMAIL PROTECTED]> wrote: Deprecate the dojo plug

Re: [s2] 2.1.3 is 34% complete...keep it up

2008-06-20 Thread Al Sutton
Deprecate the dojo plugin and allow users to work directly with any ajax framework Musachy Barroso wrote: So many dojo issues... musachy On Fri, Jun 20, 2008 at 10:36 AM, Don Brown <[EMAIL PROTECTED]> wrote: The Great Struts Bug Hunt is progressing nicely, with 50 issues closed already.

Re: groovy pet project

2008-06-16 Thread Al Sutton
You might want to look at http://gant.codehaus.org/ if you don't already have a build setup. Al. Musachy Barroso wrote: I needed a pet project to learn Groovy, so I have been playing with an app to generate Struts 2 CRUD applications. http://code.google.com/p/strutson/. The generated blank ap

Re: [s2] The Great Struts 2.1 Bug Hunt!

2008-06-12 Thread Al Sutton
Don, I noticed you bounced the WW-2586 which updated the pom for the struts1 plugin to 1.3.8 from 1.3.5 to be fixed in 2.2.x. Does this mean the intention is not to fix the bug which means that compilation fails if you update the dependency? Al. Don Brown wrote: I officially declare the St

Re: Defaults for results

2008-06-12 Thread Al Sutton
James Holmes-2 wrote: Not sure why there is a difference. Perhaps there's good reason? But if not, I'm in favor of consistency and making things the same. Good catch. On Thu, Jun 12, 2008 at 8:31 AM, Al Sutton <[EMAIL PROTECTED]> wrote: Is there any reason why the defa

Defaults for results

2008-06-12 Thread Al Sutton
Is there any reason why the default result type in struts.xml is ServletDispatcherResult, but in Zero-Conf the default for @Result is NullResult? Wouldn't it make life easier for newcomers to have the defaults the same for struts.xml and Zero-Conf? Al. --

Re: Struts 2 namespace question

2008-06-12 Thread Al Sutton
Please post your message to the users list. kukudas wrote: Sorry next time i will post on the user-list section. Here an example: My struts.xml Configuration: /ad/conf.jsp In my Jsp: conf/adconfig.ac

Re: UknownHandlers

2008-06-05 Thread Al Sutton
Brian Pontarelli wrote: Al Sutton wrote: Plugins will have to define their dependencies if they want to be handled correctly, so if G needs to be run after D then D is a dependancy, and if the author of G does not declare it as such then that is an bug in plugin G. Similarly if B needs to be

Re: UknownHandlers

2008-06-04 Thread Al Sutton
, G really needs to run before B but after D. Therefore, the final order might be: E -> A -> G -> D -> B -> F -> C But there is some flexibility because some dependencies could be swapped according to the limited knowledge of each plugin and the final graph. -bp Al Sutt

Re: UknownHandlers

2008-06-03 Thread Al Sutton
And; if( plugins.length > 0 ) { addPluginAndDependencies(orderedList, plugins[0]); } should be; for(Plugin thisPlugin : plugins) { addPluginAndDependencies(orderedList, thisPlugin); } (Jeeze, it's one of those days :)). Al. Al Sutton wrote: Quick correction

Re: UknownHandlers

2008-06-03 Thread Al Sutton
Quick correction; for( Plugin thisPlugin : plugin.getDependencies() ) { addPluginAndDependencies(orderedList, plugin); } should be; for( Plugin thisPlugin : plugin.getDependencies() ) { addPluginAndDependencies(orderedList, thisPlugin); } Al Sutton wrote: With

Re: UknownHandlers

2008-06-03 Thread Al Sutton
g order that the application needs. I think it is better to just force the configuration on the users if they have conflicting plugins. But if you could hash out the algorithm for the dependency graph and ordering we could see if it would work. -bp Al Sutton wrote: Why not expand it out a

Re: Is this patch worth submitting?

2008-06-03 Thread Al Sutton
option, why not. On Tue, Jun 3, 2008 at 4:29 AM, Al Sutton <[EMAIL PROTECTED]> wrote: I'm working on some code which returns a result stream which shouldn't be cached. I've modded the StreamResult class to add an "allowCaching" attribute which sets the Pra

Is this patch worth submitting?

2008-06-03 Thread Al Sutton
I'm working on some code which returns a result stream which shouldn't be cached. I've modded the StreamResult class to add an "allowCaching" attribute which sets the Pragma and Content-Control headers on the result. I have simple question; Is this worth opening up a JIRA issue with the patch,

Re: UknownHandlers

2008-06-02 Thread Al Sutton
Why not expand it out and allow users to specify a plugin processing order?, that way any potential conflict of plugin handling method could be resolved by specifying an order. If we also introduced a dependency list in struts-plugin.xml the core code could not only take a stab at the right or

Freemarker 2.3.13

2008-06-02 Thread Al Sutton
Guys, I've rolled a patch and put it on https://issues.apache.org/struts/browse/WW-2664, given the FM guys say it gave a 20x speedup in one scenario I think it's probably worth putting it in for the next release :). Al. - T

Re: [s2] 2.1 to 2.5 Roadmap discussions

2008-06-01 Thread Al Sutton
Are we dumping pre-1.5 support for 2.1 given that Sun say that 1.4.2 will be EOLed to the general public by the end of October this year? It would be a little wasteful of manpower to support something in the core that the vender says will be dead a few months after we go GA. Don Brown wrote:

Re: classpath scanner

2008-05-28 Thread Al Sutton
How about talking to the author about splitting it into a commons library? This would give the usual benefits of propogating bug fixes and avoid duplicate work on divergent code bases. Al. Musachy Barroso wrote: It is a standalone library, used heavily by the OpenEJB and Geronimo guys.

  1   2   3   >