Hi there,
The method prepare() in org.apache.struts2.dispatcher.Dispatcher will
forcefully set the encoding and locale of a HttpRequest if there were
defaultEncoding and defaultLocale in global settings, causing the original
encoding and locale (if there were any) of the Request being unexpect
On Tuesday 16 December 2008 23:49:51 Dave Newton wrote:
> --- On Tue, 12/16/08, Andreas Joseph Krogh wrote:
> > Anyone else needing this, or am I in some kind of
> > joda-cult here in Norway?
>
> I've used it, but all the places I've consulted at use java.util.Date. Yours
> is the first request
I use yoda time, also with Hibernate.
Once I found a patch (don't remember where), but as far as i have used
it, i think it works.
package funala.web.typeconverter;
public class Iso8601DateTypeConverter extends StrutsTypeConverter {...}
Try it, It does what it is supposed to do (reading the code)
--- On Tue, 12/16/08, Andreas Joseph Krogh wrote:
> Anyone else needing this, or am I in some kind of
> joda-cult here in Norway?
I've used it, but all the places I've consulted at use java.util.Date. Yours is
the first request for it that I know of, and I follow the user group fairly
closely.
On Tuesday 16 December 2008 23:36:50 Musachy Barroso wrote:
> > Previously I've created container-objects to wrap joda-classes, which works
> > but shouldn't be necessary. I kind of hoped that Struts-2 in its most
> > modern form (trunk) included converters for the most common object-types. I
>
> He he, we know different people it seems:-) Anyway, it's not like the API of
> joda-time changes very often, so I assume it's practically a one-timer. But,
> I see that this doesn't ich very much, obviously, among the core-developers,
> and hence doesn't get scratched.
>
use the force you mus
On Tuesday 16 December 2008 23:30:59 Martin Cooper wrote:
> On Tue, Dec 16, 2008 at 2:23 PM, Andreas Joseph Krogh
> wrote:
>
> > On Tuesday 16 December 2008 23:14:50 Musachy Barroso wrote:
> > > It doesn't mean that it will convert from string to a joda object, it
> > > means that it will convert
> Previously I've created container-objects to wrap joda-classes, which works
> but shouldn't be necessary. I kind of hoped that Struts-2 in its most modern
> form (trunk) included converters for the most common object-types. I think,
> for what it's worth, the ticket is missleading and that it
On Tue, Dec 16, 2008 at 2:23 PM, Andreas Joseph Krogh
wrote:
> On Tuesday 16 December 2008 23:14:50 Musachy Barroso wrote:
> > It doesn't mean that it will convert from string to a joda object, it
> > means that it will convert a string in ISO 8601 format, to a Date
> > object. The patch in that t
On Tuesday 16 December 2008 23:14:50 Musachy Barroso wrote:
> It doesn't mean that it will convert from string to a joda object, it
> means that it will convert a string in ISO 8601 format, to a Date
> object. The patch in that ticket used joda lib to create the ISO 8601,
> if I don't remember wron
It doesn't mean that it will convert from string to a joda object, it
means that it will convert a string in ISO 8601 format, to a Date
object. The patch in that ticket used joda lib to create the ISO 8601,
if I don't remember wrong.
musachy
On Tue, Dec 16, 2008 at 5:09 PM, Andreas Joseph Krogh
Hi all.
I'm trying trunk now with a field in my domain-object (User) with a property of
type DateTime:
private DateTime birthDate;
Then I have a datepicker in my JSP operation on this property:
And it renders the date correctly
The problem is that it's failing when trying to save the form:
20
you are safe, I am taking a break atm :)
On Tue, Dec 16, 2008 at 4:50 PM, Dave Newton wrote:
> --- On Tue, 12/16/08, Dave Newton wrote:
>> I get a buld error for the handlers saying they don't
>> override a method from their superclasses (Anchor, Checkbox,
>> Div, FieldError, and AbstractMessage
All Struts materials are under the Apache Software License:
http://www.apache.org/licenses/LICENSE-2.0
On Tue, Dec 16, 2008 at 4:47 PM, Biesbrock, Kevin
wrote:
> To whom it may concern,
>
> I wasn't sure where this question should be directed; however, I assumed
> it best to be answered by thos
--- On Tue, 12/16/08, Dave Newton wrote:
> I get a buld error for the handlers saying they don't
> override a method from their superclasses (Anchor, Checkbox,
> Div, FieldError, and AbstractMessageListHandlers).
Stop editing dammit you're messing up my versions and commits!
:p
:)
Dave
-
To whom it may concern,
I wasn't sure where this question should be directed; however, I assumed
it best to be answered by those who created the images. I'm putting
together some information about Struts 2 on a company wiki and wondered
how, if at all, I could use the image located at
http://cwik
svn it up
On Tue, Dec 16, 2008 at 4:22 PM, Dave Newton wrote:
> I get a buld error for the handlers saying they don't override a method from
> their superclasses (Anchor, Checkbox, Div, FieldError, and
> AbstractMessageListHandlers).
>
> Dave
>
>
> --- On Tue, 12/16/08, Musachy Barroso wrote:
I get a buld error for the handlers saying they don't override a method from
their superclasses (Anchor, Checkbox, Div, FieldError, and
AbstractMessageListHandlers).
Dave
--- On Tue, 12/16/08, Musachy Barroso wrote:
> From: Musachy Barroso
> Subject: beta testers needed for java templates
>
On Tuesday 16 December 2008 21:50:36 Dave Newton wrote:
> S2 is built from XWork: as I mentioned late last week, if you're building S2
> from trunk you may have to build XWork from trunk as well.
>
> You can do that the way Musachy suggests, or build and install XWork
> separately.
Yeah. Last w
S2 is built from XWork: as I mentioned late last week, if you're building S2
from trunk you may have to build XWork from trunk as well.
You can do that the way Musachy suggests, or build and install XWork separately.
Dave
--- On Tue, 12/16/08, Andreas Joseph Krogh wrote:
> After the merge of U
On Tuesday 16 December 2008 21:44:04 Musachy Barroso wrote:
> You need to build xwork, or do a:
>
> mvn -P xwork install
>
> assuming the xwork is in ../xwork relative to the main pom.xml
Thanks.
--
Andreas Joseph Krogh
Senior Software Developer / CEO
+
You need to build xwork, or do a:
mvn -P xwork install
assuming the xwork is in ../xwork relative to the main pom.xml
musachy
On Tue, Dec 16, 2008 at 3:41 PM, Andreas Joseph Krogh
wrote:
> Hi all.
> After the merge of UnknownHandlerManager my "mvn install" on struts2/trunk
> fails:
> /home/an
Hi all.
After the merge of UnknownHandlerManager my "mvn install" on struts2/trunk
fails:
/home/andreak/dev/struts2/trunk/core/src/main/java/org/apache/struts2/config/BeanSelectionProvider.java:[39,30]
cannot find symbol
symbol : class UnknownHandlerManager
location: package com.opensymphony.xwo
+1
thanks a lot for taking care :)
cheers,
Rainer
> The Multiple Unknown Handlers patch was merged into xwork and struts
> trunks. Now we can move convention plugin out of the sanbox. Last call
> for objections :) (2.1 build coming soon)
>
> musachy
>
> On Wed, Nov 26, 2008 at 5:06 PM, Musachy Bar
That 30% can't really be trusted. I setup a page with a couple of tags
(the only ones I had by that time), and rendered the same thing like
1000 times. I am confident they will be faster than that, if anyone
comes up with a good benchmark, please drop it in the sandbox, or mail
it to me and I will
I'd like to test them and think this is a huge opportunity for Struts 2. I
am, however, surprised that you're only seeing a 30% improvement. I would
have thought it would have been orders of magnitude better. I know your
profiling is probably rudimentary at this point and the code hasn't been
tuned
Not really, I will setup a page in the plugin repository. The tags
should work as a drop in replacement for tags in the "simple" theme,
so there isn't much to document.
musachy
On Tue, Dec 16, 2008 at 1:36 PM, Matt Raible wrote:
> Is there any documentation?
>
> On Dec 16, 2008, at 11:14 AM, "Mu
+1
Let's get 2.1 to GA!
On Tue, Dec 16, 2008 at 12:50 PM, Musachy Barroso wrote:
> The Multiple Unknown Handlers patch was merged into xwork and struts
> trunks. Now we can move convention plugin out of the sanbox. Last call
> for objections :) (2.1 build coming soon)
>
> musachy
>
> On Wed, No
Is there any documentation?
On Dec 16, 2008, at 11:14 AM, "Musachy Barroso"
wrote:
Hi all,
anyone up for beta testing the java templates? These are the steps
to try them
1.Check out src from
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-javatemplates-plugin
2. Build the
Hi all,
anyone up for beta testing the java templates? These are the steps to try them
1.Check out src from
https://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-javatemplates-plugin
2. Build them and install them
3. Add them to your web app
org.apache.struts
struts2-java
The Multiple Unknown Handlers patch was merged into xwork and struts
trunks. Now we can move convention plugin out of the sanbox. Last call
for objections :) (2.1 build coming soon)
musachy
On Wed, Nov 26, 2008 at 5:06 PM, Musachy Barroso wrote:
> I updated the patch to use a 2.1 dtd, instead of
31 matches
Mail list logo