[s1] Added Tiles 2 integration module

2007-03-01 Thread Antonio Petrelli

Hi all!
I would like to know if I can add the Struts 1 - Tiles 2 integration
module to struts-parent pom.
This module is used inside Tiles' showcase, that is currently
available only in its SVN repository, and it seems to work pretty
well:
https://svn.apache.org/repos/asf/tiles/examples/trunk/tiles-showcase/

Thank you
Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s2] Enhancement to Zero Config: Default Success Result

2007-03-01 Thread Ted Husted

On 2/28/07, mraible <[EMAIL PROTECTED]> wrote:

One change I'd like to see to the codebehind plugin is the ability to
specify the default location of pages. For example WEB-INF/pages.  Or is
that what the "struts.codebehind.defaultPackage" constant is for?


I'd like to see that for all results. We often regurgitate the same
path-prefix over and over and  over, making the configuration harder
to read. Perhaps "location-prefix" could be a global setting.

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s1] Added Tiles 2 integration module

2007-03-01 Thread Paul Benedict

For Struts 1, sure! We'd love to have it for 1.4

Antonio Petrelli wrote:

Hi all!
I would like to know if I can add the Struts 1 - Tiles 2 integration
module to struts-parent pom.
This module is used inside Tiles' showcase, that is currently
available only in its SVN repository, and it seems to work pretty
well:
https://svn.apache.org/repos/asf/tiles/examples/trunk/tiles-showcase/

Thank you
Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Niall Pemberton

On 3/1/07, Ted Husted <[EMAIL PROTECTED]> wrote:

We choose not to re-use a tag after a build has been released, where
"released" means the PMC has voted on the build. But, if it's still a
test-build, and it would be helpful to retag it for some reason, then
"no harm, no foul". I've been known to reset a tag up to three times
before calling a vote. This situation is nebulous, since there is a
vote thread, but no actual votes :)


I agree with what Ted - from a purely practical PoV the effort
required to re-tag and rebuild a 1.3.7 version would be no different
from creating a 1.3.8 version. So for me I think its less confusing to
just roll 1.3.8 - but I don't have a strong opinion so would leave it
down to the RM whose actually doing the work.

Niall


If a tag is reused, it's important to delete the old one first.

* svn delete https://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_#_#_#
-m "STR-### Removing first try at #.#.#."

-Ted.

On 2/28/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote:
> > Paul, do you think that STR-3009 -- ActionRedirect from ForwardConfig
> > not redirecting properly -- should be fixed for 1.3.7 to minimize the
> > impact of 1.3.5 ActionRedirect behavior?
> >
> I believe once a release is tagged, it cannot be undone. There is a
> ticket list for 1.3.8 which you can work on. If you believe the 1.3.5
> forwarding behavior is an issue, you can give your unbinding -1. What do
> you think?
>
> Paul
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
HTH, Ted.
* http://www.husted.com/struts/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Niall Pemberton

On 2/28/07, Michael Jouravlev <[EMAIL PROTECTED]> wrote:

On 2/28/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote:
> > Paul, do you think that STR-3009 -- ActionRedirect from ForwardConfig
> > not redirecting properly -- should be fixed for 1.3.7 to minimize the
> > impact of 1.3.5 ActionRedirect behavior?
> >
> I believe once a release is tagged, it cannot be undone. There is a
> ticket list for 1.3.8 which you can work on. If you believe the 1.3.5
> forwarding behavior is an issue, you can give your unbinding -1. What do
> you think?

I don't really use this class. I wrote my own version before
ActionRedirect was checked into the core lib. Not an issue for me.


Its not something that would stop me voting 1.3.7 GA - so IMO its
really down to you Paul. If you feel its important and have the energy
to roll a 1.3.8 with this issue fixed then go for it. If not then lets
carry on with the 1.3.7 vote.

Niall


Michael.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Niall Pemberton

+1 for GA quality

Niall

On 2/25/07, Paul Benedict <[EMAIL PROTECTED]> wrote:

The Struts 1.3.7 test build is now available.

Release notes:
* http://struts.apache.org/1.x/userGuide/release-notes.html

Distribution:
* http://people.apache.org/builds/struts/1.3.7/

Maven 2 staging repository:
* http://people.apache.org/builds/struts/1.3.7/m2-staging-repository/

If you have had a chance to review the test build, please respond with
a vote on its quality:

[  ] Leave at test build
[  ] Alpha
[  ] Beta
[  ] General Availability (GA)

Everyone who has tested the build is invited to vote. Votes by PMC
members are considered binding. A vote passes if there are at least
three binding +1s and more +1s than -1s.

Please remember that a *binding* +1 for GA implies that you intend to
support the release by applying patches and responding to posts to the
user and dev lists.

The vote will remain open for at least 72 hours, longer upon request.

Thank you,
Paul Benedict


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



dev@struts.apache.org

2007-03-01 Thread Dilep
Hi
I have a form with 2 radio buttons Yes and No. By default in Add mode i want to 
set to 'No'. I am doing this in my form bean and its fine. But when it comes to 
update page, how do i set back to the selected one based on my database value 
'Yes' or 'No'.  Tough it looks generic requirement, i am having little tough 
time.

Thanks
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=68065&messageID=128786#128786


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Paul Benedict

[  ] Leave at test build
[  ] Alpha
[X ] Beta
[  ] General Availability (GA)

I cast my vote to fix ActionRedirect in 1.3.8:
https://issues.apache.org/struts/browse/STR-3009

Do any other Struts committers object? The complaint is that 
ActionRedirect does not enforce "redirect=true" in 1.3.5 (but was in 
1.2.9), and I will be putting back that constraint for 1.3.8.


The vote will end tonight.

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:

2007-03-01 Thread Martin Cooper

For the third time now, please ask your User questions on the User list, not
the Dev list.

--
Martin Cooper


On 3/1/07, Dilep <[EMAIL PROTECTED]> wrote:


Hi
I have a form with 2 radio buttons Yes and No. By default in Add mode i
want to set to 'No'. I am doing this in my form bean and its fine. But when
it comes to update page, how do i set back to the selected one based on my
database value 'Yes' or 'No'.  Tough it looks generic requirement, i am
having little tough time.

Thanks
-
Posted via Jive Forums

http://forums.opensymphony.com/thread.jspa?threadID=68065&messageID=128786#128786


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re:

2007-03-01 Thread Dilep
Sorry about that.. i looked in to that and i did'nt find Struts User list.
Do you mean Web Work users ??

Thanks
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=68065&messageID=128795#128795


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:

2007-03-01 Thread Martin Cooper

http://struts.apache.org/mail.html

--
Martin Cooper


On 3/1/07, Dilep <[EMAIL PROTECTED]> wrote:


Sorry about that.. i looked in to that and i did'nt find Struts User list.
Do you mean Web Work users ??

Thanks
-
Posted via Jive Forums

http://forums.opensymphony.com/thread.jspa?threadID=68065&messageID=128795#128795


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Migrating from 2.0.1 to 2.0.6

2007-03-01 Thread Shekhar Yadav
All,

 

Is there a document somewhere which tells how to migrate from 2.0.1
version to 2.0.6. I tried migrating and I am running into issues with
tiles.xml and dojo. If there is a consolidated list somewhere to look at
it would be helpful. Else, I guess I will have to go with trial and
error.

 

Thanks,

Shekhar



Re: Struts 1.4 & 2.1 sharing localization code

2007-03-01 Thread Niall Pemberton

On 2/28/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

2007/2/22, Antonio Petrelli <[EMAIL PROTECTED]>:
> What could be useful for Tiles is a single configurable entry-point
> from which the current Locale should be taken. I don't know if Paul
> means this.

I think Niall cleared my doubt in the Tiles Developers list, letting
me know about Paul's work:
http://issues.apache.org/struts/browse/STR-2897
I noticed that it can be easily used also with Tiles, so now the
question is: where does this code belong to?
I don't think that putting it in Struts is a good idea, since it will
create an unwanted dependency.
But neither commons-resources nor commons-i18n seem to have a Locale
resolving feature. Both of those places seem to be good to me, I
really don't know why there are two projects for the same subject
(correct me if I am wrong).
Whatever the choice is, I am willing to collaborate.


Commons resources never made it to a release and Commons i18n never
made it out of the Sandbox. The reason for two projects (AFAIK) was
they were created by different people. Commons Resources was code
factored out of Struts 1.

If you wanted to start something - any Apache committer can have
access to the Commons Sandbox - I think you just have to ask.

Niall


Antonio


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Henri Yandell

On 3/1/07, Paul Benedict <[EMAIL PROTECTED]> wrote:

[  ] Leave at test build
[  ] Alpha
[X ] Beta
[  ] General Availability (GA)

I cast my vote to fix ActionRedirect in 1.3.8:
https://issues.apache.org/struts/browse/STR-3009

Do any other Struts committers object? The complaint is that
ActionRedirect does not enforce "redirect=true" in 1.3.5 (but was in
1.2.9), and I will be putting back that constraint for 1.3.8.

The vote will end tonight.


(non-binding) +1 on Beta - though I'm really '+1 what Paul thinks as he's RM'.

Is the aim to start a vote on 1.3.8 as soon as STR-3009 is ready?

Hen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Paul Benedict

Henri Yandell wrote:

Is the aim to start a vote on 1.3.8 as soon as STR-3009 is ready?
That's my plan. It's a one-liner to fix. I'll put up a 1.3.8 this 
weekend and call another vote.


Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [VOTE] Struts 1.3.7 Quality

2007-03-01 Thread Michael Jouravlev

On 3/1/07, Henri Yandell <[EMAIL PROTECTED]> wrote:

On 3/1/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
> [  ] Leave at test build
> [  ] Alpha
> [X ] Beta
> [  ] General Availability (GA)
>
> I cast my vote to fix ActionRedirect in 1.3.8:
> https://issues.apache.org/struts/browse/STR-3009
>
> Do any other Struts committers object? The complaint is that
> ActionRedirect does not enforce "redirect=true" in 1.3.5 (but was in
> 1.2.9), and I will be putting back that constraint for 1.3.8.
>
> The vote will end tonight.

(non-binding) +1 on Beta


Same here. Who knows when 1.4 will be rolled out, so the sooner this
get fixed the better.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[s1] Taglib plugin problem

2007-03-01 Thread Paul Benedict

What is going on with the output of the taglib plugin?

http://struts.apache.org/1.x/struts-taglib/tagreference.html#link

All the HTML is verbatim and smashed together. Who can help?

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [s1] Taglib plugin problem

2007-03-01 Thread Antonio Petrelli

2007/3/2, Paul Benedict <[EMAIL PROTECTED]>:

What is going on with the output of the taglib plugin?

http://struts.apache.org/1.x/struts-taglib/tagreference.html#link

All the HTML is verbatim and smashed together. Who can help?


I think that the "tag reference" menu item should be removed, since it
has been superseded by taglibdoc:
http://struts.apache.org/1.x/struts-taglib/tlddoc/html/link.html
In taglibdoc all HTML tags work correctly

Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]