Re: [appfuse-user] Passing Strings to form post in struts

2009-05-19 Thread Matt Raible
That looks like it should work. What's the error you're seeing? On Mon, May 18, 2009 at 10:12 PM, Saeed Iqbal wrote: > I have this but its not setting the beans value > > > > > > > > public class PetFormAction extends BaseSupport { > > private ATestBean aTestBean; > private boolean

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
I have this but its not setting the beans value public class PetFormAction extends BaseSupport { private ATestBean aTestBean; private boolean DEBUG = true; public String execute() throws Exception { return SUCCESS; } public ATestBean getATestBean() {

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Matt Raible
Can you rephrase your question or explain it with code? Thanks, Matt On Mon, May 18, 2009 at 9:37 PM, Saeed Iqbal wrote: > That was for a string. How do I use custom bean objects? > > Thanks, > -saeed > > > On Tue, May 19, 2009 at 9:14 AM, Saeed Iqbal wrote: > >> It seems to work now. Thanks.

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
That was for a string. How do I use custom bean objects? Thanks, -saeed On Tue, May 19, 2009 at 9:14 AM, Saeed Iqbal wrote: > It seems to work now. Thanks. > > Thanks, > -saeed > > > On Tue, May 19, 2009 at 9:02 AM, Matt Raible wrote: > >> What is the code you're using to retrieve the value? Yo

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
It seems to work now. Thanks. Thanks, -saeed On Tue, May 19, 2009 at 9:02 AM, Matt Raible wrote: > What is the code you're using to retrieve the value? You should be able to > add a setter that matches the parameter name and it'll automatically be > populated. > > Matt > > > On Mon, May 18, 200

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Matt Raible
What is the code you're using to retrieve the value? You should be able to add a setter that matches the parameter name and it'll automatically be populated. Matt On Mon, May 18, 2009 at 9:11 PM, Saeed Iqbal wrote: > How? I am trying but it is displaying as null > > Thanks, > -saeed > > > On Tu

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
How? I am trying but it is displaying as null Thanks, -saeed On Tue, May 19, 2009 at 8:55 AM, Matt Raible wrote: > You should be able to, yes. > > > On Mon, May 18, 2009 at 9:08 PM, Saeed Iqbal wrote: > >> I am trying to pass a search string. I know get is the preferred way to do >> but can we

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Matt Raible
You should be able to, yes. On Mon, May 18, 2009 at 9:08 PM, Saeed Iqbal wrote: > I am trying to pass a search string. I know get is the preferred way to do > but can we pass it as post? > > Thanks, > -saeed > > > On Tue, May 19, 2009 at 8:51 AM, Matt Raible wrote: > >> Can you be more specific

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
I am trying to pass a search string. I know get is the preferred way to do but can we pass it as post? Thanks, -saeed On Tue, May 19, 2009 at 8:51 AM, Matt Raible wrote: > Can you be more specific about what you're trying to do? > > > On Mon, May 18, 2009 at 9:05 PM, Saeed Iqbal wrote: > >> Hi

Re: [appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Matt Raible
Can you be more specific about what you're trying to do? On Mon, May 18, 2009 at 9:05 PM, Saeed Iqbal wrote: > Hi > > I would like to know if passing string as method post is allowed in struts? > > Thanks, > -saeed >

[appfuse-user] Passing Strings to form post in struts

2009-05-18 Thread Saeed Iqbal
Hi I would like to know if passing string as method post is allowed in struts? Thanks, -saeed