RE: Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread Lance Semmens
Problem solved... it ended up being one of our own custom tags that wasn't 
cleaning up after itself. Have changed the tag to mimic the behavior in the 
standard nested tags.

Cheers,
Lance.

-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: 07 March 2007 14:22
To: Struts Users Mailing List
Subject: Re: Upgrading to struts 1.3.5, nested tags are broken

On 3/7/07, Lance Semmens <[EMAIL PROTECTED]> wrote:
> We are in the process of upgrading to struts 1.3.5, I have followed the 
> upgrade guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most 
> of the nested tags now seem to be broken.
>
> For example:
> 
>type="example.com.Record">
> 
>   
> 
>
> The following exception is thrown:
> javax.servlet.jsp.JspException: No getter method for property: 
> "investor.name" of bean: "someForm"
> at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
> at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
> at 
> org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTag.java:60)
>
>
> It seems as if  is going to the  to get 
> "investor.name" instead of "record" in  as I would expect. 
> If I change my  tags to  it fixes 
> them. I have looked at the code and writeNesting uses 
> NestedPropertyHelper.getAdjustedProperty() whereas write uses 
> NestedPropertyHelper.setNestedProperties().
>
>  is broken too, looking at the similarities in all of the 
> nested tags I get the they're all broken in this way.

I'm not that familiar with the nested tags - are you saying that you
have pages that used these tags and worked in Struts 1.2.x and they no
longer do so when upgrading to Struts 1.3.5?

Niall

> Cheers,
> Lance.

-
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: Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread Niall Pemberton

On 3/7/07, Lance Semmens <[EMAIL PROTECTED]> wrote:

We are in the process of upgrading to struts 1.3.5, I have followed the upgrade 
guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most of the 
nested tags now seem to be broken.

For example:

  

  


The following exception is thrown:
javax.servlet.jsp.JspException: No getter method for property: "investor.name" of bean: 
"someForm"
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
at 
org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTag.java:60)


It seems as if  is going to the  to get "investor.name" instead of 
"record" in  as I would expect. If I change my  tags to 
 it fixes them. I have looked at the code and writeNesting uses 
NestedPropertyHelper.getAdjustedProperty() whereas write uses NestedPropertyHelper.setNestedProperties().

 is broken too, looking at the similarities in all of the 
nested tags I get the they're all broken in this way.


I'm not that familiar with the nested tags - are you saying that you
have pages that used these tags and worked in Struts 1.2.x and they no
longer do so when upgrading to Struts 1.3.5?

Niall


Cheers,
Lance.


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



RE: Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread Lance Semmens
I want record.getInvestor().getName() to be called. My understanding of nested 
is that  does not need to mention "record" as it implicitly 
knows about it.

-Original Message-
From: nagesh.kumar [mailto:[EMAIL PROTECTED] 
Sent: 07 March 2007 09:25
To: 'Struts Users Mailing List'
Subject: RE: Upgrading to struts 1.3.5, nested tags are broken

Instead of using  investor.name use record.name 

Try  this will work

-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 2:54 PM
To: 'user@struts.apache.org'
Subject: Upgrading to struts 1.3.5, nested tags are broken

We are in the process of upgrading to struts 1.3.5, I have followed the
upgrade guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13.
Most of the nested tags now seem to be broken.

For example:

  

  


The following exception is thrown:
javax.servlet.jsp.JspException: No getter method for property:
"investor.name" of bean: "someForm"
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
at
org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTa
g.java:60)


It seems as if  is going to the  to get
"investor.name" instead of "record" in  as I would expect.
If I change my  tags to  it fixes
them. I have looked at the code and writeNesting uses
NestedPropertyHelper.getAdjustedProperty() whereas write uses
NestedPropertyHelper.setNestedProperties().

 is broken too, looking at the similarities in all of the
nested tags I get the they're all broken in this way. 

Cheers,
Lance.


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


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



-
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: Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread nagesh.kumar
Instead of using  investor.name use record.name 

Try  this will work

-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 07, 2007 2:54 PM
To: 'user@struts.apache.org'
Subject: Upgrading to struts 1.3.5, nested tags are broken

We are in the process of upgrading to struts 1.3.5, I have followed the
upgrade guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13.
Most of the nested tags now seem to be broken.

For example:

  

  


The following exception is thrown:
javax.servlet.jsp.JspException: No getter method for property:
"investor.name" of bean: "someForm"
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
at
org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTa
g.java:60)


It seems as if  is going to the  to get
"investor.name" instead of "record" in  as I would expect.
If I change my  tags to  it fixes
them. I have looked at the code and writeNesting uses
NestedPropertyHelper.getAdjustedProperty() whereas write uses
NestedPropertyHelper.setNestedProperties().

 is broken too, looking at the similarities in all of the
nested tags I get the they're all broken in this way. 

Cheers,
Lance.


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


DISCLAIMER:
The information in this e-mail is the property of InterGlobe and is 
confidential and privileged. It is intended solely for the addressee. Access to 
this email by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken in 
reliance on it is prohibited and will be unlawful. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message



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



Upgrading to struts 1.3.5, nested tags are broken

2007-03-07 Thread Lance Semmens
We are in the process of upgrading to struts 1.3.5, I have followed the upgrade 
guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most of the 
nested tags now seem to be broken.

For example:

  

  


The following exception is thrown:
javax.servlet.jsp.JspException: No getter method for property: "investor.name" 
of bean: "someForm"
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:903)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:230)
at 
org.apache.struts.taglib.nested.bean.NestedWriteTag.doStartTag(NestedWriteTag.java:60)


It seems as if  is going to the  to get 
"investor.name" instead of "record" in  as I would expect. If 
I change my  tags to  it fixes them. I 
have looked at the code and writeNesting uses 
NestedPropertyHelper.getAdjustedProperty() whereas write uses 
NestedPropertyHelper.setNestedProperties().

 is broken too, looking at the similarities in all of the 
nested tags I get the they're all broken in this way. 

Cheers,
Lance.


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