Re: [VOTE] Struts 2.2.0 Vote

2010-06-29 Thread Andreas Joseph Krogh
-- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and to watch | 1414 Trollåsen | som

Properties not getting @Injected in custom-converter

2010-04-20 Thread Andreas Joseph Krogh
on where to go from here? -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and to watch

Re: New release

2010-03-16 Thread Andreas Joseph Krogh
On Tuesday 16. March 2010 11.04.29 Lukasz Lenart wrote: > I made a new release of OGNL 3.0, right now I'm trying to push it into > central repo? Can you post a link to changes in 3.0? -- Andreas Joseph Krogh Senior Software Deve

Re: struts 2.2 and guice

2009-12-10 Thread Andreas Joseph Krogh
On Thursday 10. December 2009 20.28.48 Musachy Barroso wrote: > guys, can you start a different thread for this? :) You have a point there, talk about hijacking a thread:-) -- Andreas Joseph Krogh Senior Software Developer /

Re: struts 2.2 and guice

2009-12-10 Thread Andreas Joseph Krogh
or ctrl+clicks a link" is "Doctor it hurts when I do this (bangs fist against head)", which means; Dont do that. So the bottom line is - yes I agree that the functionality of conversation-scope is important, but it's not necessarily that hard to implement. I e

Re: struts 2.2 and guice

2009-12-10 Thread Andreas Joseph Krogh
of a wizard expire requires more work, but should not be magic either. You can f.ex. schedule a Quartz-job using Spring to run every x minute and reap expired wizard-instances which then must register themselves, a static in-memory map should be sufficient, when created. -- Andreas Joseph Kro

Re: struts 2.2 and guice

2009-12-10 Thread Andreas Joseph Krogh
t it would be nice to have, but not a must. Most implementations I've seen of "conversation"-scope are rather messy and don't provide anything beyond what you can achieve with ScopedModelDriver(scope=session) and some custom-code. I've built several, robust, wizard-like

Re: 2.1.8.1: Change in escaping

2009-11-17 Thread Andreas Joseph Krogh
llows the specification of multiple escape > mechanisms including an ordering in which they'll be applied. +1 -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most dif

Re: 2.1.8.1: Change in escaping

2009-11-17 Thread Andreas Joseph Krogh
against multiple returns) > > > But.. What if you for some reason wants to escape both javascript and xml.. > (would you ever?) Yes, at leas I would. I sometimes end up having to embed HTML/XML in either JS-variables or as URLEncoded in an HTML-attribute, so escaping multiple t

Bug in restful2?

2009-10-31 Thread Andreas Joseph Krogh
set back on the mapping unless there exist some extra parameters (handled in the if-block in line 183). I fail to see how this has ever worked... -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS

Re: XWork 2.1.6 released

2009-09-19 Thread Andreas Joseph Krogh
On Saturday 19 September 2009 09:41:06 am Rainer Hermanns wrote: > Hi, > > finally done, XWork 2.1.6 is on its way to the mirrors and should > be available soon... You're the man! -- Andreas Joseph Krogh Senior Softwar

xwork-2.1.6 release?

2009-09-05 Thread Andreas Joseph Krogh
Hi all. How is that xwork-2.1.6 release doing? -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a

Re: Current build failing

2009-09-02 Thread Andreas Joseph Krogh
On Wednesday 02 September 2009 09:14:04 pm Andreas Joseph Krogh wrote: > On Wednesday 02 September 2009 05:13:10 pm Wes Wannemacher wrote: > > For me, the build wasn't failing, it was hanging... The problem was a > > backslash instead of file.separator (or whatever

Re: Current build failing

2009-09-02 Thread Andreas Joseph Krogh
te a patch, that'd be great! > Otherwise, you can comment out embeddedjsp from the modules section of > the plugins' directory pom.xml file and skip it. Ok, I'll put on my patch hat and have a look... -- Andreas Joseph Krogh Senior Software Developer / CTO

Re: Current build failing

2009-09-02 Thread Andreas Joseph Krogh
ime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode) $ uname -a Linux andreak-laptop 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:54:56 UTC 2009 i686 GNU/Linux -- Andreas Joseph Krogh Senior So

Current build failing

2009-09-01 Thread Andreas Joseph Krogh
kipped: 0 Anyone looking into this? -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and

Sv: Re: 2.1.8?

2009-08-25 Thread Andreas Joseph Krogh
På tirsdag 25. august 2009 kl 18:23:04 skrev du: > is Struts still pointing to xwork 2.1.5-SNAPSHOT? That might be a > problem because the xwork version was already bumped to > 2.1.6-SNAPSHOT. Struts' trunk definitely points to 2.1.6-SNAPSHOT and has been for a while. -- Andrea

Re: 2.1.8?

2009-08-24 Thread Andreas Joseph Krogh
to xwork 2.1.6, I'd also like to get struts-master > released so that we aren't sitting on changes up there as well. -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The m

2.1.8?

2009-08-24 Thread Andreas Joseph Krogh
I know I'm nagging... Now how about that 2.1.8-GA? Any issues left to be resolved or are we waiting for the xwork-2.1.6 "again"? -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS

Re: Patch making struts.action.excludePattern work as expected

2009-08-20 Thread Andreas Joseph Krogh
ere wasn't any 2.1.8-SNAPSHOT there... It also applies to 2.1.7... -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | kno

Patch making struts.action.excludePattern work as expected

2009-08-20 Thread Andreas Joseph Krogh
g it, hopefully this will make it in the 2.1.8-GA. -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do

2.1.8 release?

2009-08-05 Thread Andreas Joseph Krogh
What's keeping it from being released? -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing a

Re: confused about OGNL

2009-06-30 Thread Andreas Joseph Krogh
On Tuesday 30 June 2009 04:47:22 pm Wes Wannemacher wrote: > On Tue, Jun 30, 2009 at 10:33 AM, Musachy Barroso wrote: > > On Tue, Jun 30, 2009 at 7:26 AM, Andreas Joseph > > Krogh wrote: > >> was maybe a little too precise in pointing out 2.1.8, but what I'd like to

Re: confused about OGNL

2009-06-30 Thread Andreas Joseph Krogh
On Tuesday 30 June 2009 03:09:08 pm Wes Wannemacher wrote: > On Tue, Jun 30, 2009 at 8:07 AM, Andreas Joseph > Krogh wrote: > > On Tuesday 30 June 2009 03:14:00 am Musachy Barroso wrote: > >> 2.7 has been out for a while, so it should not be *that* risky, but I > >>

Re: confused about OGNL

2009-06-30 Thread Andreas Joseph Krogh
cluding 2.7.x in 2.1.8, even if it means delaying the release some to allow testing. -- Andreas Joseph Krogh Senior Software Developer / CTO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien

Re: Scala and s:iterator

2009-05-25 Thread Andreas Joseph Krogh
On Sunday 24 May 2009 09:36:48 pm Andreas Joseph Krogh wrote: > Hi all. > Normally this kind of post would be better posted to -users, but I'm looking > for the developers comments on this. > > Anyone have any experience using Scala with Struts2? I'm especially thinki

Scala and s:iterator

2009-05-24 Thread Andreas Joseph Krogh
could use, refactoring out the call to "MakeIterator.convert(findValue(value))" to a factory of some kind which checked some kind of registry for providing a proper Iterator for the Scala-object returned by findValue(value). Comments? -- Andreas Josep

Re: Now that struts-master is done, going to start 2.1.7 release

2009-05-05 Thread Andreas Joseph Krogh
t that this is possible asking Mr. Google. Maybe mentioning it in the "wildcard mapping"-section would be a good place? -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS|

Re: WW-2394 really implemented?

2009-04-27 Thread Andreas Joseph Krogh
ot;user_*", method = "{1}") public class UserAction Anyway, the class-based @Action(s)-annotations seem to work as expected, good work and thanks for listening:-) -- Andreas Joseph Krogh Senior Software Developer / CEO +--

Re: WW-2394 really implemented?

2009-04-27 Thread Andreas Joseph Krogh
now found some time to test it and it appears it's not working the same way as actions defined in struts.xml with respect to wildcard-patterns. For example, say you have the following in struts.xml: How do I accomplish the same thing using annotations? -- Andreas Jos

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
musachy Very cool! I'm building right now, will let you know the results -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveie

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
ons as one can using XML, which today you can't. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know ho

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
On Sunday 26 April 2009 10:57:59 pm Wes Wannemacher wrote: > On Sunday 26 April 2009 04:53:23 pm Andreas Joseph Krogh wrote: > > On Sunday 26 April 2009 10:48:33 pm Wes Wannemacher wrote: > > > On Sunday 26 April 2009 04:43:42 pm Andreas Joseph Krogh wrote: > > > > On

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
On Sunday 26 April 2009 10:48:33 pm Wes Wannemacher wrote: > On Sunday 26 April 2009 04:43:42 pm Andreas Joseph Krogh wrote: > > On Sunday 26 April 2009 10:32:43 pm Wes Wannemacher wrote: > > > On Sunday 26 April 2009 04:27:28 pm Andreas Joseph Krogh wrote: > > > > On

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
On Sunday 26 April 2009 10:32:43 pm Wes Wannemacher wrote: > On Sunday 26 April 2009 04:27:28 pm Andreas Joseph Krogh wrote: > > On Sunday 26 April 2009 10:10:29 pm Musachy Barroso wrote: > > > But you always map a url to a method, an action is not executed, a > > > m

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
pings just like the "action"-element in struts.xml does, like: -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | k

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
ue for calling MyAction.nex() for example) not part of the URI itself. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | k

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
e main reasons I still map my actions in struts.xml. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to d

Re: WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
On Sunday 26 April 2009 08:29:57 pm Wes Wannemacher wrote: > On Sunday 26 April 2009 02:22:50 pm Andreas Joseph Krogh wrote: > > Hi. > > I see that https://issues.apache.org/struts/browse/WW-2394 is closed with > > resolution=implemented with a comment referring to the

WW-2394 really implemented?

2009-04-26 Thread Andreas Joseph Krogh
want to map it as /mynamespace/showuser *and* /mynamespace/anotheralias for some reason, how is this possible using the Convention-plugin as the @Action-annotation is not applicable to classes? -- Andreas Joseph Krogh Senior Software Developer

Configurable list of uri-patterns to prevent Struts2 from mapping actions

2009-03-07 Thread Andreas Joseph Krogh
Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and to watch | 1414 Trollåsen | somebody

Re: Accessing properties set in struts.xml and/or struts.properties

2009-03-01 Thread Andreas Joseph Krogh
eck for exclusion *after* the action-context is created on purpose. The point is that I don't want Struts to try to auto-map an action based on the excluded URI, and possibly fail, but I *do* want to be able to use a

Re: Updated versions of servlet-filtes to allow excluding uris from being processed by Struts2

2009-02-27 Thread Andreas Joseph Krogh
On Saturday 28 February 2009 00:11:21 Dave Newton wrote: > Andreas Joseph Krogh wrote: > > On Friday 27 February 2009 15:04:52 Musachy Barroso wrote: > >> Hi Andreas, attaching the patch to a jira ticket is the way to go to > >> make sure we don't forget about

Re: Updated versions of servlet-filtes to allow excluding uris from being processed by Struts2

2009-02-27 Thread Andreas Joseph Krogh
figured out how to use a property configured in struts.xml or struts.properties. So no init-params in servlet-filter-config necessary anymore. Please consider it for the next release or at least give feedback on what you don't like about it. Anyway; Comments are welcome. -- Andreas Jose

Updated versions of servlet-filtes to allow excluding uris from being processed by Struts2

2009-02-27 Thread Andreas Joseph Krogh
original plan was to be able to configure this by setting a property specifying the pattern(s) in struts.properties or struts.xml, but nobody proposed a solution for how I could use those properties from the servlet-filters when I asked... -- Andreas Joseph Krogh Senior Software Developer / CEO

Re: Accessing properties set in struts.xml and/or struts.properties

2009-02-27 Thread Andreas Joseph Krogh
ly i think exclusion would be a usefull feature Good:-) I see quite a lot of other improvements struts2 could benefit from, especially the taglibs, and will post a list soon of things me and my company would like to implement. -- Andreas Joseph Krogh Senio

Re: Accessing properties set in struts.xml and/or struts.properties

2009-02-27 Thread Andreas Joseph Krogh
ne* place (struts.xml or struts.properties) instead of scattered around. So, again: Is there a mechanism in place for accessing these properties in a uniform way from "everywhere"? -- Andreas Joseph Krogh Senior Softw

Re: Accessing properties set in struts.xml and/or struts.properties

2009-02-26 Thread Andreas Joseph Krogh
On Wednesday 25 February 2009 22:27:25 Andreas Joseph Krogh wrote: > Hi all. > I would like to extend the struts2 servlet-filters with a config-option > telling it URI-patterns to exclude. My thoughts are to add a property: > > struts.action.url_exclude_pattern=/lang/.*,/pages/.

Accessing properties set in struts.xml and/or struts.properties

2009-02-25 Thread Andreas Joseph Krogh
27;ll have to maintain my own implementations of the servlet-filters. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Rosenholmveien 25 | know

Re: Dojo plugin deprecated

2009-01-15 Thread Andreas Joseph Krogh
your needs and give back... I think you'll find many people being quite grateful to you for your efforts. Frank Struts-2.1 with AjaxAnywhere fits my needs very well:-) -- Andreas Joseph Krogh Senior Software Developer / CEO +---

Re: Dojo plugin deprecated

2009-01-14 Thread Andreas Joseph Krogh
the web (http://struts.apache.org/2.1.6/index.html). Built-in AJAX-support (first-class AJAX support) is one of the things Struts2 announces as a main-feature, and with the dojo-plugin going away this isn't true any more. This means Struts-2.1 no longer has any decent ui-tags? -- Andreas Joseph Kro

Re: Struts2 and joda-time

2008-12-16 Thread Andreas Joseph Krogh
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

Re: Struts2 and joda-time

2008-12-16 Thread Andreas Joseph Krogh
What really confused me was that this issue has status "Resolved" and really isn't resolved at all. The attached files are not in trunk. A comment saying something like "This could be used to write a plugin as we don't want to introduce an external dependency to joda-time&q

Re: Struts2 and joda-time

2008-12-16 Thread Andreas Joseph Krogh
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 >

Re: Struts2 and joda-time

2008-12-16 Thread Andreas Joseph Krogh
time. I know this sounds kind of rant-ish, but there are so many good things about Struts2 that missing out-of-the-box joda-support is kind of hard to swallow... -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ Office

Struts2 and joda-time

2008-12-16 Thread Andreas Joseph Krogh
d to work? I thought so, reading this: The comment in WW-2476 saying that "This was resolved as part of XW-473", what does it actually mean? -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS

Re: Problems compiling trunk (again)

2008-12-16 Thread Andreas Joseph Krogh
arately. Yeah. Last week I commented out the offending code as I just wanted to get the up to speed with struts-2.1 from trunk, but now I see that I cannot make that "short-cut" anymore. It works now after building and installing xwork2 from trunk. Sorry for the noise. -- Andreas

Re: Problems compiling trunk (again)

2008-12-16 Thread Andreas Joseph Krogh
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

Problems compiling trunk (again)

2008-12-16 Thread Andreas Joseph Krogh
n: package com.opensymphony.xwork2 ... I'm no maven expert, but I thought it was supposed to manage the dependancy of the new xwork for me. How do make it download and use the new xwork so that it compiles? -- Andreas Joseph Krogh Senior Software

Re: Nested-tag support

2008-12-12 Thread Andreas Joseph Krogh
ut it won't be tomorrow:-) -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Karenslyst Allé 11 | know how to do a thing and to watch

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
On Thursday 11 December 2008 23:46:14 Andreas Joseph Krogh wrote: > On Thursday 11 December 2008 23:40:51 Ronny Løvtangen wrote: > > > > On Dec 11, 2008, at 11:21 PM, Nils-Helge Garli Hegvik wrote: > > > > > As mentioned, I realized that just _after_ pressing th

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
> For those that aren't, take a look at the original explanation of > nested tags in Struts 1 from Aaron Bates: > http://www.keyboardmonkey.com/next/Primer_partOne.jsp?content=yesplease The "What if..." in part-2 is especially relevant. -

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
ment where the above would be a relevant solution to anything. Documenting this limitations whold be OK I think. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
On Thursday 11 December 2008 23:31:59 Andreas Joseph Krogh wrote: > On Thursday 11 December 2008 23:26:02 Musachy Barroso wrote: > > The problem with your suggestion is that it works for simple, and > > specific cases, but given OGNL "power", there is a large way of case

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
gt; > > > what would the name be in that case? That's a more complex one, for which I don't have an answer at the moment. But the IteratorComponent must be able to somehow find out which index this actually results in, ant stuff that into the piggy-banking neste

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
On Thursday 11 December 2008 23:21:23 Dave Newton wrote: > What is this, some sort of Norwegian revolt? You're on! -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficu

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
ffort (se how Struts-1.1 does it) to avoid the messy stuff you're suggesting above. -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Karenslyst Al

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
ribute for the input-tag. Something like this in evaluateParams(): if (this.name != null) { name = findString(this.name); addParameter("name", NestedContextHelper.computeNesting(stack)+findString(na

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
And I propose changing it so that you can write this insted: Person Data Notice how the "person." part is missing from the input-tags. -- Andreas Joseph Krogh Senior Software Developer / CEO +-

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
; Wouldn't to the trick? Yes, ofcourse, but that's exactly what I'm trying to avoid. The point is when you're creating advanced GUIs you don't always know that "full path", so making it possible to include a JSP (jsp:include) for rendering some input-values afte

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
de regardless of the object-hierarchy the object resides in". -- Andreas Joseph Krogh Senior Software Developer / CEO +-+ OfficeNet AS| The most difficult thing in the world is to | Karenslyst Allé 11 | know

Re: Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
Anyone? I really would like to see this included sooner than later and would appreciate any feedback. On Thursday 11 December 2008 13:18:20 Andreas Joseph Krogh wrote: > Hi all! > One of the most usefull things about (2.0 < Struts >= 1.1) is the > nested-tag-library. It a

Build-failure on svn rev-725814

2008-12-11 Thread Andreas Joseph Krogh
/struts2/trunk/core/src/main/java/org/apache/struts2/components/Property.java:[164,27] cannot find symbol symbol : method escapeJavaScript(java.lang.String) location: class com.opensymphony.xwork2.util.TextUtils Is anyone looking into this? -- Andreas Joseph Krogh Senior Software Developer / CEO

Nested-tag support

2008-12-11 Thread Andreas Joseph Krogh
I believe this is quite simple to implement given that the valuestack is always available and contains everything we need. Is anyone working on this? Will the community accept such a patch and apply it to mainstream? -- Andreas Joseph Krogh <[EMAIL PROT