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
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
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
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
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,
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
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
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
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
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
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.
>
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:
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
&
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
&
---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:
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
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.
>
> ---
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
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,
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
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
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
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
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
+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
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
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
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 &
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
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.
+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:
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.
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
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
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
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
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;"
.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
* 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.
--
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).
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
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
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]
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
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
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
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
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.
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
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
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
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
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
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
(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
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
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
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
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
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
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,
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
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
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
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
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
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:
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
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
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.
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
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
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
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.
--
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
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
, 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
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
Quick correction;
for( Plugin thisPlugin : plugin.getDependencies() ) {
addPluginAndDependencies(orderedList, plugin);
}
should be;
for( Plugin thisPlugin : plugin.getDependencies() ) {
addPluginAndDependencies(orderedList, thisPlugin);
}
Al Sutton wrote:
With
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
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
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,
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
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
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:
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 - 100 of 226 matches
Mail list logo