Sent: Thursday, January 12, 2006 5:34 PM
To: Struts Users Mailing List
Subject: Re: How to use a POJO inside Struts FormBean?
Gupta, Karan wrote:
> / CLASS IDefForm ***/
> public class IDefForm extends ActionForm
> {
>
> private IDef iDef;
Did you try renami
inside another tag. In most cases you can use
element content instead of "value" attribute of that element.
Michael.
On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using a logic:equal tag in my jsp and the value of the property has to be
> compa
day, January 13, 2006 4:44 PM
To: Struts Users Mailing List
Subject: Re: How to use a tag withing another tag?
On 1/13/06, Gupta, Karan <[EMAIL PROTECTED]> wrote:
> I have tried several ways, including
> value="">
> but nothing seems to work.
As you've dis
Hi,
I'm using a logic:equal tag in my jsp and the value of the property has to be
compared with the value in a bean. How is it possible to do that?
In the following code, both "inventoryDefinitions" and "equipTypes" are of type
List.
IDef() always returns a non-null result.
Hubert
On 1/12/06, Gupta, Karan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to use a POJO inside a Struts (1.2.7) FormBean,
> but I am unable to access the fields inside the POJO.
>
> package com.fmm.web.invento
truts Users Mailing List
Subject: Re: How to use a POJO inside Struts FormBean?
On Thu, 2006-01-12 at 15:15 -0800, Gupta, Karan wrote:
>
> I get this exception:
> javax.servlet.ServletException: No getter method for property
> iDef.partNumber of bean org.apache.struts.taglib.html.
Hi,
I am trying to use a POJO inside a Struts (1.2.7) FormBean,
but I am unable to access the fields inside the POJO.
package com.fmm.web.inventory.forms;
public class IDefForm extends ActionForm
{
private IDef iDef;
private List inventoryDefinitions;
...getters ..and..
MVC -- you will only be changing the view.
Instead of using the Struts tags in certain places, you'll be using displaytag.
You can also write your own decorators etc. to modify the content thats
displayed.
its pretty cool.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE
8 matches
Mail list logo