Re: Work in progress - 2.3.16

2013-11-18 Thread Volker Krebs

Maybe something for the Migration Guide.
Accessing a map has changed a bit.

With 2.3.15.3 the following did work:


With 2.3.16 you have to write:


Regards
Volker



Am 17.11.2013 11:08, schrieb Lukasz Lenart:

Jenkins still cannot properly build the project, anyway I'm not going
to wait any longer and I will start working on new release in next few
days.

2013/11/12 Lukasz Lenart :

Thanks a lot!

2013/11/12 Volker Krebs :

I've used #836 from Jenkins and it fixed the MultiPartRequest issue.
I will check with your version from http://maven.lenart.org.pl/

Regards


Am 12.11.2013 12:19, schrieb Lukasz Lenart:


I think everything is ready to push the new version, but I'm still
waiting when Volker will have a chance to test it ;-) But Jenkins is
down for now and till know it wasn't able to build new package ;-)

So, I have prepared packages by my self and uploaded them here
http://maven.lenart.org.pl/


Regards





-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



S2 2.3.16-SNAPSHOT

2013-11-18 Thread Dave Newton
It's what's currently listed on the S2 homepage; is this deliberate?

d.

-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


Re: S2 2.3.16-SNAPSHOT

2013-11-18 Thread Dave Newton
I guess it's just the text? The link's page shows 2.3.15.


On Mon, Nov 18, 2013 at 12:27 PM, Dave Newton  wrote:

> It's what's currently listed on the S2 homepage; is this deliberate?
>
> d.
>
> --
> e: davelnew...@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton 
> b: Bucky Bits 
> g: davelnewton 
> so: Dave Newton 
>
>


-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


Build failed in Jenkins: Struts2-JDK6 #845

2013-11-18 Thread Apache Jenkins Server
See 

Changes:

[Lukasz Lenart] WW-4243 Renames based test case class to avoid using it outside 
of core

--
[...truncated 12214 lines...]
Building tree for all the packages and classes...
Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Building index for all the packages and classes...
Generating 

Generating 

Generating 

Building index for all classes...
Generating 

Generating 

Generating 

Generating 

Generating 

[INFO] Building jar: 

[INFO] 
[INFO] --- maven-antrun-plugin:1.6:run (copy-sources) @ struts2-mailreader ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
 [copy] Copying 22 files to 


Re: S2 2.3.16-SNAPSHOT

2013-11-18 Thread Lukasz Lenart
Here it is ok
http://struts.apache.org/release/2.3.x/

how did you get there?

2013/11/18 Dave Newton :
> I guess it's just the text? The link's page shows 2.3.15.
>
>
> On Mon, Nov 18, 2013 at 12:27 PM, Dave Newton  wrote:
>
>> It's what's currently listed on the S2 homepage; is this deliberate?
>>
>> d.
>>
>> --
>> e: davelnew...@gmail.com
>> m: 908-380-8699
>> s: davelnewton_skype
>> t: @dave_newton 
>> b: Bucky Bits 
>> g: davelnewton 
>> so: Dave Newton 
>>
>>
>
>
> --
> e: davelnew...@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton 
> b: Bucky Bits 
> g: davelnewton 
> so: Dave Newton 

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Re: Work in progress - 2.3.16

2013-11-18 Thread Lukasz Lenart
2013/11/18 Volker Krebs :
> Maybe something for the Migration Guide.
> Accessing a map has changed a bit.
>
> With 2.3.15.3 the following did work:
> 
>
> With 2.3.16 you have to write:
> 

You mean that the 'numer' is a static key not an expression (resolved
to getNumber())? Anyway, thus is strange.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Registering aliases from within a plugin

2013-11-18 Thread Lukasz Lenart
Hi,

As I'm working in extracting Velocity support into a plugin, I have
faced a small problem: how to register alias to allow override
VelocityManager by user?

Right now, it is done via BeanSelectionProvider [1] where each class
which can be aliased is defined statically and then the provider is
statically added in Dispatcher [2]. Now I need a way to allow define
the same but inside the plugin.

The first idea is to define a new type of configuration file:
struts-aliases.xml but I would like to have a programmatic way, any
thoughts?

[1] 
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/BeanSelectionProvider.java?view=markup#l366
[2] 
https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?view=markup#l449


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org



Re: S2 2.3.16-SNAPSHOT

2013-11-18 Thread Dave Newton
:(

I think it's because of Google's tuned search results.

I get "http://struts.apache.org/2.x"; as my top "struts 2" hit because I
still search for "struts 2" explicitly.

Oops, sorry.


On Mon, Nov 18, 2013 at 2:20 PM, Lukasz Lenart wrote:

> Here it is ok
> http://struts.apache.org/release/2.3.x/
>
> how did you get there?
>
> 2013/11/18 Dave Newton :
> > I guess it's just the text? The link's page shows 2.3.15.
> >
> >
> > On Mon, Nov 18, 2013 at 12:27 PM, Dave Newton 
> wrote:
> >
> >> It's what's currently listed on the S2 homepage; is this deliberate?
> >>
> >> d.
> >>
> >> --
> >> e: davelnew...@gmail.com
> >> m: 908-380-8699
> >> s: davelnewton_skype
> >> t: @dave_newton 
> >> b: Bucky Bits 
> >> g: davelnewton 
> >> so: Dave Newton 
> >>
> >>
> >
> >
> > --
> > e: davelnew...@gmail.com
> > m: 908-380-8699
> > s: davelnewton_skype
> > t: @dave_newton 
> > b: Bucky Bits 
> > g: davelnewton 
> > so: Dave Newton 
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


Re: Registering aliases from within a plugin

2013-11-18 Thread Lukasz Lenart
I think I found intermediate solution - I'm going to extend struts.dtd
and define new structure bean-selector. It will contain a class which
will provide aliases ;-)

The change is backward compatible as the element isn't required, it is
optional. And thus also allow to move all the aliases from
BeanSelectionProvider to struts-default.xml





Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/11/18 Lukasz Lenart :
> Hi,
>
> As I'm working in extracting Velocity support into a plugin, I have
> faced a small problem: how to register alias to allow override
> VelocityManager by user?
>
> Right now, it is done via BeanSelectionProvider [1] where each class
> which can be aliased is defined statically and then the provider is
> statically added in Dispatcher [2]. Now I need a way to allow define
> the same but inside the plugin.
>
> The first idea is to define a new type of configuration file:
> struts-aliases.xml but I would like to have a programmatic way, any
> thoughts?
>
> [1] 
> https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/BeanSelectionProvider.java?view=markup#l366
> [2] 
> https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?view=markup#l449
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org