. The ContentTypeHandlerManager also
allows handlers to be registered by mime-type and/or extension. I'm
happy with it but want to ensure it doesn't conflict with other plans.
I've kept in mind that in the future the manager may check the accepts
header for the response content-type.
Thanks,
Jeromy Evans
https
should
test for both cases, or whether CodeBehind is broken and has always
failed to find results in jars.
[Environment: tomcat:5.5.25.0, jvm:1.5.0_13-b05, os: linux
2.6.22-14-generic]
Thanks,
Jeromy Evans
-
To unsubscribe, e
Musachy Barroso wrote:
I think that if the resource name starts with a /, then the class
loader will use it as an absolute path (taking the web app root as
root). If the resource name is relative, the classloader tries all the
entries in the classpath(including jars), as roots, using the
Anyone know where is the download.cgi page is maintained/generated?
(http://struts.apache.org/download.cgi)
The links for Alternative Java 4 JARs are invalid:
It is:
http://*mirror*/struts/binaries/struts-2.0.11.2-j4.zip
but should be:
-1
The params of StreamResult are already evaluated. Example:
result name=stream type=stream
param name=contentType${contentType}/param
param name=inputNameinputStream/param
param name=contentDispositionattachment;
filename=${fileName}/param
param
Paul Benedict wrote:
Anyway to accomplish this in 2.0? Have you ever did it? Just looking for a
quick answer, even if that includes adding action mappings to the config.
Paul
A quick solution is to extend the DefaultActionMapper to set the
actionName to index if it looks like a
Musachy Barroso wrote:
I opened a code review here:
http://fisheye6.atlassian.com/cru/CR-9
I added a new interface ClearableValueStack, which if implemented will
make the OGNL parameter binding run in a clean context.
I'm not sure how to get permission to make comments in crucible.
Musachy Barroso wrote:
With all the problems/questions and time that the ajax tags have
caused, and not having any takers on porting to the latest Dojo
release. I would propose to deprecate, or even remove the Dojo plugin,
or at least let users know that we will not be upgrading to a newer
Dojo
Paul Benedict wrote:
Dojo 0.4.3 is old :-) I didn't know that. No one wants to move it to 1.x or
wherever they are now?
Paul
Many have tried. In general, the effort doesn't justify the result.
ie. you put a lot of effort writing new templates and tags that
predominately wrap and
Ted Husted wrote:
I'd suggest that we put a replacement together before pulling the Dojo
plugin out of the distribution (I can help). We could at least
deprecate Dojo in the meantime.
-T.
I can help too but I'm moving house today so may be offline for a while
(it takes weeks to get a new
or the forums for your IDE.
Please don't follow-up with questions here.
regards,
Jeromy Evans
safewraju wrote:
hi to all,
i am working on Ubuntu OS. while compiling itz not giving any error,
after compiling .class file also generating. but the main problem is for new
.class files execute
This relates to Musachy's recent proposal to remove OGNL entirely from
the parameter-setting process. Which I think is a very good idea.
If I've understood correctly, currently there is no way to filter the
parameter names, using regex or otherwise, other than to verify them use
a
Dave Newton wrote:
I'm running into a weird difference between:
[1] s:textfield name=foo.bar value=foo.bar/
and
[2] s:textfield name=foo.bar value=%{foo.bar}/
Nutshell: when there's nothing submitted for foo.bar (at least if it's the only element
on the page) [1] will print foo.bar as a
Just an interesting note:
According to the Google keyword tool in English speaking countries and
territories:
- the number of searches containing the phrase struts (-cars) has
been flat the last 12 months (approx 1,000,000 per month). I wish I
could compare that to previous years.
- this is
?
regards,
Jeromy Evans
Wendy Smoak wrote:
Our user docs point to snapshots of the archetypes, which is not
ideal. Especially since old snapshots were removed recently by infra
to free up disk space, and the commands in the docs no longer work.
I've branched the blank and starter archetypes [1
Don Brown wrote:
On Mon, Aug 25, 2008 at 12:54 PM, Martin Cooper [EMAIL PROTECTED] wrote:
Another option is a client-side component-based framework like Ext or Flex
running directly against web services, RESTful or otherwise. No server-side
web framework required. Of course, you could use
Musachy Barroso wrote:
What are the plans for the future of the REST plugin? Has anybody
tried to make it more JSR-311 like? I am not a REST user myself, but I
am kind of bored and could help if there was a clear understanding of
what needs to be done.
I haven't touched the REST plugin for
Ralf Fischer wrote:
Well there is a thing like that where you can publish information to
google or other search engines in one single file. You have to serve a
file with a name like http://foo.com/site.xml.gz [1] which holds a
description of your whole site. Sure it's no API, but it gets
+1
[platform: clean XP install]
Interesting note: struts 2.0.11.2 has never replicated to to
http://mirrors.dotsrc.org/maven2
Wendy Smoak wrote:
The Struts 2 Starter Maven Archetype v2.0.11.2 is available for review.
Staging repository:
Musachy Barroso wrote:
Do we have any pending blocking tickets for a 2.1 builds? or are we just
missing free time from our build masters? It would be nice to get 2.1
rolling. I was looking at:
http://struts.apache.org/2.x/docs/creating-and-signing-a-struts-21x-distribution.html
and I have to
Musachy Barroso wrote:
From the ones scheduled for 2.1.3 there are still some minor ones in there,
and other that are on hold for different reasons. I will start playing with
the release process over the weekend. We also need an xwork release right?
Looks like struts-annotations-1.0.4
I've added some more information to the dojo tags documents and was
hoping someone intimately familiar with the tags can do a sanity check
for me. The objective is to emliminate some of the frequently asked
questions:
http://cwiki.apache.org/confluence/display/WW/Ajax+Tags
Duplicated
Musachy Barroso wrote:
...
Okay, that makes more sense for the case where separateScripts is false,
but now I'm having second thoughts about my interpretation of
executeScripts and WW-2501.
bind and contentPane do this:
if (this.executeScripts) {
var parsed= this.parse(data)
Musachy Barroso wrote:
Ah, and I thought we were about to fix this one :). I think you are right
on, wouldn't calling eval() on the generated script, instead of expecting
the browser to execute it fix this problem?
musachy
It probably would work better in this case, but creating a script
Dave Newton wrote:
--- On Fri, 9/5/08, Jeromy Evans wrote:
Unfortunately with separateScripts=false case, I couldn't
get an inline alert to work in FF. I'm not sure why...
it created the script node and added it to the
parent (a span) and then ...nothing...
How does the Yahoo
matt.payne wrote:
There seem to be some type of regression that has happen with regards to
actionMessage/actionErrors.
In the current build snapshots of 2.1.3 actionErrors/message are no longer
exposed my to the sitemesh decorator(I am using freemarker result
types/decorators). However that
Dave Newton wrote:
--- On Tue, 9/9/08, Martin Cooper wrote:
This smells like reinventing a subset of Commons Validator
just for S2. Can you convince me otherwise?
My initial motivation was to create a stop-gap, extensible mechanism for adding
custom JavaScript validators without
Has anyone given any more thought to an OSGI container embedded within
Struts2?
I ask because I growing to hate having to build and deploy entire war
files and regularly restart Containers. It seems far behind alternative
technologies.
Is it conceivable that:
- the container provides the
Atlassian, is a committer, I might start
there. They use WebWork 2 right now, so it may involve a migration to
Struts 2, we'll see...
Don
On Fri, Sep 12, 2008 at 10:33 AM, Jeromy Evans
[EMAIL PROTECTED] wrote:
Has anyone given any more thought to an OSGI container embedded within
Struts2?
I ask
Don Brown wrote:
The Atlassian plugin system has been in Atlassian products for years,
allowing developers to add new features to Atlassian applications
dynamically in some cases (Confluence). However, the two main
problems with it were:
Cool. I'm impressed you guys are allowed to be open
Are you still out there Brian? Did you put any thought into something
like this for JCatapult modules within S2?
Jeromy Evans wrote:
Has anyone given any more thought to an OSGI container embedded within
Struts2?
I ask because I growing to hate having to build and deploy entire war
files
Dave Newton wrote:
Any more comments?
The question has come up a few times on the user list in the last week or two.
My proposal is an incremental improvement (if tiny); if we switch to
commons-validator at least their JavaScript code could be re-used.
Dave
I still say go with the
Piotr Matkowski wrote:
Maybe Enums should be handled by struts by default? Why they aren't handled?
Enum conversion broken/unsupported in OGNL's default type converter. I
can't recall where. I spent hours hunting it down and put it in the too
hard basket...
However, if you enable
Bob Tiernay wrote:
I'm not 100% sure, but I though Musachy enabled this by default?
Ah, yes, Don did for 2.1.0, https://issues.apache.org/struts/browse/WW-2162
But it's not back-ported to 2.0.x
-
To unsubscribe, e-mail:
dusty wrote:
How do we tackle all this? Do we have a meeting? Do we create a Chief who
can make decisions for better or for worse? Clearly decisions need to be
made. Do we start StrutsCon 2009 and lock everyone in a room until the
decisions are made? I started to also write apps in Rails
Wendy Smoak wrote:
On Tue, Oct 21, 2008 at 6:01 PM, Bob Tiernay [EMAIL PROTECTED] wrote:
I get the sense that CI + Maven is a like wrestling with a slinky. Is this
problem endemic to s2? What do other open source projects do to alleviate
this?
The release process here could be *much*
is
provided, not xalan). I've never investigated any further than that.
Yes, it's stupid and time-wasting.
cheers,
Jeromy Evans
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dave Newton wrote:
Removing the REST plugin restores regular S2 .action accessibility. So I guess
my questions are: is this by design, and is there a way to combine both in the
same app?
No, you can't use both approaches in the same app.
You can get most of the way by setting up the a
Al Sutton wrote:
Is there a reason why using an ID of the form x.y blows out the REST
plugin in 2.1.2?
If I use the URL;
http://localhost/AndroidPhoneApplications/packages/!veecheck?id=org.blah.com
everything works, however if I use;
Martin Cooper wrote:
On Tue, Nov 4, 2008 at 7:16 PM, Wes Wannemacher [EMAIL PROTECTED] wrote:
Just pulled and built with both Java 5 6 and didn't see it...
Using Ubuntu Intrepid on AMD64 with Sun JDKs.
Weird. I was using Java 6, but switched to Java 5 and now it builds. (This
is
Koen Serry wrote:
* 2.0.12: yes great GA, ah no it doesn't do static resources, so all client
side validations won't work
Just a tip, if you're releasing a production app, you shouldn't be
serving static resources from the struts2 dispatcher. Extract them and
the problem is avoided.
instead of value attribute
Update the constants in struts.xml to use setup convention+rest
instead of codebehind+rest.
Check web.xml (filters and params)
Update CamelCase action results and references to match Convention
Hope that's useful to someone.
regards,
Jeromy Evans
On 04/01/2009, at 4:17 AM, Musachy Barroso wrote:
2. I am not sure about the camel case problem. I guess we could add
another flag to search for camel-cased results, instead of the
default. I am on the fence for this one, as actions names are built
with - by default, and the idea behind the
On 04/01/2009, at 6:48 AM, Musachy Barroso wrote:
Ok, this is implemented in trunk and the doc was updated. I removed
disableJarScanning and excludeJars and added includeJars. Only
jars whose URL matches one of the regexes in
struts.convention.action.includeJars will be scanned.
+1 GA
Thanks Musachy.
REMINDER: the struts-2.1 DTD should be published at
http://struts.apache.org/dtds/struts-2.1.dtd
Note: the wiki contains a page about migrating applications from 2.0.x
to 2.1x. If anyone has any improvements please include them. It's
referenced in the release
Yes, thank you for taking on such a leadership and ownership role
Musachy.
At the very least, you've earned free accommodation in spare beds and
on sofas across the globe when you next travel.
On 14/01/2009, at 5:17 AM, Dave Newton wrote:
Really, we owe him a lot for this release.
What
I've used it with 2.1. If I recall correctly, only the unit tests
needed to be modified.
There's a patch sitting on my machine jsonplugin4struts21.patch
that's probably linked to one of the issues in the bug tracker.
On 15/01/2009, at 7:54 AM, James Holmes wrote:
Ok, thanks. I am
=
dispatcher.getConfigurationManager().getConfiguration();
StrutsPrepareFilter will still need to chain to the next filter, so
you'll also have to modify the StrutsExecuteFilter so it doesn't run
but does chain to its next filter. Doesn't seem very elegant.
Hope that gets you started.
regards,
Jeromy
templates and duplication of templates for
every new theme is necessary (theme inheritance doesn't work as one
would expect). There's no easy fix to that.
cheers,
Jeromy Evans
On 12/08/2009, at 12:19 AM, Don Brown wrote:
At Atlassian, every application seems to have picked a different web
that module (is that even possible?)
regards,
Jeromy Evans
-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org
guess I need to approach the GAE forum now. Has anyone got any
ideas about what to attempt next on the S2/Xwork side? Stack traces
for the two cases are below.
regards,
Jeromy Evans
Failed startup of context
com
.google.apphosting.utils.jetty.runtimeappenginewebappcont...@67fe80
On 24/08/2009, at 1:29 PM, Jeromy Evans wrote:
As a work-around (guess), I changed it to cimpl.getDeclaredClasses()
instead which is permitted (I don't know if this has the same effect
on the ClassLoader). That got me past the issue above, but the same
SecurityException occurs
On 25/08/2009, at 2:28 AM, Musachy Barroso wrote:
would it help to have a maven archetype for S2 and GAE?
musachy
Yes, but not yet I think. The GAE team only support an ant build
process and I'd like to see the maven-based build converge a little
more. At the moment everyone rolls
On 25/08/2009, at 2:59 AM, Musachy Barroso wrote:
Everything should be included in the default build. We can add a
profile to exclude the plugin from building, just like we did with
assembly.
musachy
Just trying to summarize:
- the default build should include everything (requires JDK 1.6
.
Regards,
Jeromy Evans
://engineering.linkedin.com/frontend/leaving-jsps-dust-moving-linkedin-dustjs-client-side-templates
Regards,
Jeromy Evans
On 28/01/2012, at 10:28 PM, Christian Grobmeier wrote:
Great examples. I will look into it.
May I ask you why you didn't develop this at the struts repos? With
dojo tags going
101 - 156 of 156 matches
Mail list logo