RE: How to use a POJO inside Struts FormBean?

2006-01-16 Thread Gupta, Karan
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

RE: How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
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

RE: How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
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

How to use a tag withing another tag?

2006-01-13 Thread Gupta, Karan
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.

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
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

RE: How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
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.

How to use a POJO inside Struts FormBean?

2006-01-12 Thread Gupta, Karan
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..

RE: Question on http://displaytag.sourceforge.net/

2005-11-01 Thread Gupta, Karan
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