Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Does anyone have a clue why

s:action var=cms name=cms-topstories/

is working differently between 2.1.2 and 2.1.6?  I have looked many places
and cannot see the usage pointed out anywhere.  Is
thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
only hot sheet for differences?  I'd rather not roll back if it's only
a
subtle change.

Peace,
Scott


Re: 2.1.6 mystery

2009-02-10 Thread Musachy Barroso
What does s:property value=#cms / print?

musachy

On Tue, Feb 10, 2009 at 2:38 PM,  stanl...@gmail.com wrote:
 Does anyone have a clue why

 s:action var=cms name=cms-topstories/

 is working differently between 2.1.2 and 2.1.6?  I have looked many places
 and cannot see the usage pointed out anywhere.  Is
 thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
 only hot sheet for differences?  I'd rather not roll back if it's only
 a
 subtle change.

 Peace,
 Scott




-- 
Hey you! Would you help me to carry the stone? Pink Floyd

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



Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Hey brother --

Actually, I believe the problem is with the action call itself

s:action var=cms name=cms-topstories/

When this action is invoked, my CmsAction identifies the appropriate action
name using

getContext().getActionInvocation().getInvocationContext().getName();

which is now ALWAYS returning the name that was associated with the initial
request e.g. cms-mainPage





On Tue, Feb 10, 2009 at 1:42 PM, Musachy Barroso musa...@gmail.com wrote:

 What does s:property value=#cms / print?

 musachy

 On Tue, Feb 10, 2009 at 2:38 PM,  stanl...@gmail.com wrote:
  Does anyone have a clue why
 
  s:action var=cms name=cms-topstories/
 
  is working differently between 2.1.2 and 2.1.6?  I have looked many
 places
  and cannot see the usage pointed out anywhere.  Is
  thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
  only hot sheet for differences?  I'd rather not roll back if it's only
  a
  subtle change.
 
  Peace,
  Scott
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

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




Re: 2.1.6 mystery

2009-02-10 Thread Musachy Barroso
I would say that this change:

http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java?r1=651946r2=668602

broke that for you(you were using something that was actually broken).
You can grab the value in your action, and make it available to the
JSP.

musachy

On Tue, Feb 10, 2009 at 2:49 PM,  stanl...@gmail.com wrote:
 Hey brother --

 Actually, I believe the problem is with the action call itself

 s:action var=cms name=cms-topstories/

 When this action is invoked, my CmsAction identifies the appropriate action
 name using

 getContext().getActionInvocation().getInvocationContext().getName();

 which is now ALWAYS returning the name that was associated with the initial
 request e.g. cms-mainPage





 On Tue, Feb 10, 2009 at 1:42 PM, Musachy Barroso musa...@gmail.com wrote:

 What does s:property value=#cms / print?

 musachy

 On Tue, Feb 10, 2009 at 2:38 PM,  stanl...@gmail.com wrote:
  Does anyone have a clue why
 
  s:action var=cms name=cms-topstories/
 
  is working differently between 2.1.2 and 2.1.6?  I have looked many
 places
  and cannot see the usage pointed out anywhere.  Is
  thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
  only hot sheet for differences?  I'd rather not roll back if it's only
  a
  subtle change.
 
  Peace,
  Scott
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

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






-- 
Hey you! Would you help me to carry the stone? Pink Floyd

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



Re: 2.1.6 mystery

2009-02-10 Thread stanlick
Thanks Musachy --

I really appreciate you pointing this out.  I will review the changes to see
if it would be cheaper to roll back to 2.1.2.  This sort of change that
breaks an application is troubling.

Peace,
Scott


On Tue, Feb 10, 2009 at 1:54 PM, Musachy Barroso musa...@gmail.com wrote:

 I would say that this change:


 http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java?r1=651946r2=668602

 broke that for you(you were using something that was actually broken).
 You can grab the value in your action, and make it available to the
 JSP.

 musachy

 On Tue, Feb 10, 2009 at 2:49 PM,  stanl...@gmail.com wrote:
  Hey brother --
 
  Actually, I believe the problem is with the action call itself
 
  s:action var=cms name=cms-topstories/
 
  When this action is invoked, my CmsAction identifies the appropriate
 action
  name using
 
  getContext().getActionInvocation().getInvocationContext().getName();
 
  which is now ALWAYS returning the name that was associated with the
 initial
  request e.g. cms-mainPage
 
 
 
 
 
  On Tue, Feb 10, 2009 at 1:42 PM, Musachy Barroso musa...@gmail.com
 wrote:
 
  What does s:property value=#cms / print?
 
  musachy
 
  On Tue, Feb 10, 2009 at 2:38 PM,  stanl...@gmail.com wrote:
   Does anyone have a clue why
  
   s:action var=cms name=cms-topstories/
  
   is working differently between 2.1.2 and 2.1.6?  I have looked many
  places
   and cannot see the usage pointed out anywhere.  Is
   thishttp://struts.apache.org/2.1.6/docs/version-notes-216.htmlthe
   only hot sheet for differences?  I'd rather not roll back if it's only
   a
   subtle change.
  
   Peace,
   Scott
  
 
 
 
  --
  Hey you! Would you help me to carry the stone? Pink Floyd
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 
 



 --
 Hey you! Would you help me to carry the stone? Pink Floyd

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