Re: Contrib Table Weirdness...
It seems to be a problem with your model. What are you giving to your table? On 7/12/06, James Carman [EMAIL PROTECTED] wrote: I am using a contrib table on one of my screens with no issues. On another screen, where I'm doing exactly the same thing, when I try to access a property of one of the objects in the table model, I keep getting an ognl.NoSuchPropertyException: java.lang.Integer.name Apparently, it's iterating through a bunch of Integers. But why? On my other page, I'm doing exactly the same thing and it prints out the name property just fine. Anyone seen this before? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco
RE: Contrib Table Weirdness...
Nevermind. I figured it out. Stupid mistake that I don't care to share (unless you really prod). -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list of Supplier objects (the Supplier class does have a name property). -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:04 AM To: Tapestry users Subject: Re: Contrib Table Weirdness... It seems to be a problem with your model. What are you giving to your table? On 7/12/06, James Carman [EMAIL PROTECTED] wrote: I am using a contrib table on one of my screens with no issues. On another screen, where I'm doing exactly the same thing, when I try to access a property of one of the objects in the table model, I keep getting an ognl.NoSuchPropertyException: java.lang.Integer.name Apparently, it's iterating through a bunch of Integers. But why? On my other page, I'm doing exactly the same thing and it prints out the name property just fine. Anyone seen this before? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco - 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: Contrib Table Weirdness...
:) I was actually thinking of something really simple. Its just that kind of mistake... On 7/12/06, James Carman [EMAIL PROTECTED] wrote: Nevermind. I figured it out. Stupid mistake that I don't care to share (unless you really prod). -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list of Supplier objects (the Supplier class does have a name property). -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:04 AM To: Tapestry users Subject: Re: Contrib Table Weirdness... It seems to be a problem with your model. What are you giving to your table? On 7/12/06, James Carman [EMAIL PROTECTED] wrote: I am using a contrib table on one of my screens with no issues. On another screen, where I'm doing exactly the same thing, when I try to access a property of one of the objects in the table model, I keep getting an ognl.NoSuchPropertyException: java.lang.Integer.name Apparently, it's iterating through a bunch of Integers. But why? On my other page, I'm doing exactly the same thing and it prints out the name property just fine. Anyone seen this before? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco - 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] -- Cumprimentos, Rui Pacheco
RE: Contrib Table Weirdness...
Yes, it was pretty stupid. I didn't realize that when you create an executable hibernate criteria from a detached criteria that any changes made to the resulting criteria actually get written to the underlying detached criteria. That doesn't seem like it's right, though. They should be copying the detached criteria. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:25 AM To: Tapestry users Subject: Re: Contrib Table Weirdness... :) I was actually thinking of something really simple. Its just that kind of mistake... On 7/12/06, James Carman [EMAIL PROTECTED] wrote: Nevermind. I figured it out. Stupid mistake that I don't care to share (unless you really prod). -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list of Supplier objects (the Supplier class does have a name property). -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:04 AM To: Tapestry users Subject: Re: Contrib Table Weirdness... It seems to be a problem with your model. What are you giving to your table? On 7/12/06, James Carman [EMAIL PROTECTED] wrote: I am using a contrib table on one of my screens with no issues. On another screen, where I'm doing exactly the same thing, when I try to access a property of one of the objects in the table model, I keep getting an ognl.NoSuchPropertyException: java.lang.Integer.name Apparently, it's iterating through a bunch of Integers. But why? On my other page, I'm doing exactly the same thing and it prints out the name property just fine. Anyone seen this before? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco - 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] -- Cumprimentos, Rui Pacheco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]