Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Migrate from Struts 2.0.1 to 2.0.5

Shuai Zheng

2007-02-13

Replies:

I just try it last weekend.
The new feature in 2.0.5 is nice (mostly because now it is using new Dojo).

There are tips I have faced:
1, the datepicker has been replaced by datetimepicker
2, panel has been removed and replaced by div. And the refreshOnShow
attribute is ignored now.
3, a bug in select tag but there are some ways to walk round it.
Here issue 2 and 3 make me very uncomfortable, although I can change code to
walk around it, but it is unreasonable to be a solution for a project. So I
rollback to 2.0.1

You also need to change the struts.properties. You can refer to the new
showcase.

Please refer to the issues in JIRA which are posted for 2.0.5.

I will suggest you to wait for the next release, because there are really
some critical bugs in the 2.0.5(especially the bug on select tag).

For myself, I am waiting for the 2.0.6 and will try to upgrade the project
again.

Regards,

Zheng Shuai

On 2/13/07, walidito <walid.hajeri@(protected):
>
>
> Hi,
> I'm very sorry if this question has already been asked, but I would like
> to
> know how to migrate from 2.0.1 to 2.0.5 and if it is not risky.
> I have already started my project in 2.0.1 and it works well (it took time
> to make it work well)... I have few concerns about staying at 2.0.1 or
> migrating :
> 1 - is it easy enough to migrate ?
> 2 - Will I need to change my code ?
> 3 - In the near future, I will definitely need to call Struts 1.x actions.
> I
> know there's a plugin system in the 2.0.5. But can I do it easily with
> 2.0.1
> or should I better migrate to do so ?
>
> Your answers are welcome !
>
> thanks a lot.
> --
> View this message in context:
> http://www.nabble.com/Migrate-from-Struts-2.0.1-to-2.0.5-tf3221136.html#a8945829
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.