RE: Separate Java Bean Class for Getter/Setter method.

2011-05-31 Thread arin_12
Here is my whole code. implement ParameterAware. Declaration of MAP. Map parameters = null; Call this method. getParameters("alId") public void setParameters(Map params) { // TODO Auto-generated method stub this.p

Re: Pagination using Struts library

2011-05-19 Thread arin_12
Recently when I tried the jQuery Grid from the website it is not able to edit the grid. Seems like there is some problem. I have posted the same in the forum. Dont know it has been fixed or not. Try this below url. http://www.weinfreund.de/struts2-jquery-grid-showcase/index.action -- View this

RE: Separate Java Bean Class for Getter/Setter method.

2011-05-19 Thread arin_12
I also tried Map . But the same result. .toString also does not help any thing. It looks like the Parameter from request is returning Map. Later If i run the value as String array I get the value. The length is always sets to 1. String st[] = map.get("param"); value = st[1]; This gives me th

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-18 Thread arin_12
Now the URL looks like, No extra amp; http://localhost:8080/Samvidh_CIS/doEditAllergy.action?alId=2&alDescription=algy_full_desc&alName=algy_short_desc Now the New problem is that, I am not able to retrieve the value of the key though I am able to see the key. Code in Action Class-

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-17 Thread arin_12
http://localhost:8080/Samvidh_CIS/doEditAllergy.action?alId=2&alDescription=algy_full_desc&alName=algy_short_desc This the URL that is generating. It is al not all. -- View this message in context: http://struts.1045723.n5.nabble.com/Separate-Java-Bean-Class-for-Getter-Setter-method-tp4385274p4

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-12 Thread arin_12
I dont know if its a bug or functinoality. I am passing 3 param from a page. I am only able to receive the 1st one in the next page... Dont know why. Page one :- Page two :- Description Enable th

Re: Separate Java Bean Class for Getter/Setter method.

2011-05-11 Thread arin_12
Thanks for the reply. I had tried the same thing and again removed. Will there be any dis/adv if I use this Model class ? Another question is how can i pass/retrieve a parameter in my action class ? http://localhost:8080/Samvidh_CIS/doEditAllergy.action?allergy.Id=1002 I want this allergy.Id=1002

Separate Java Bean Class for Getter/Setter method.

2011-05-10 Thread arin_12
I am trying to develop a small struts apps. I want to write all the setter and getter method in a separate Bean file and want to keep the controller clean :) If we remem, struts 1.2 style. I dont want to use viewname.elementname style. This create a issue in the javascript validation. As JS is no

Re: struts2 and tiles

2011-05-09 Thread arin_12
It will be nice if you can send/attach the sample... -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-and-tiles-tp4378407p4381427.html Sent from the Struts - User mailing list archive at Nabble.com. -

RE: struts2 and tiles

2011-05-08 Thread arin_12
Tile in struts has some serious issue to work on. It never works perfectly of we have any examples. I have worked on inherited tiles fashion in 1.2 a long time back. It used to work very smoothly :) If any one has some tiles example please share your knowledge. -- View this message in context:

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-18 Thread arin_12
I am working on this tiles now... I can post some sample... But it will be late :) -- View this message in context: http://struts.1045723.n5.nabble.com/Tiles-problem-Error-executing-tag-Attribute-title-not-found-tp4274988p4310525.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2: Pre-populate form with values from a session bean

2011-04-13 Thread arin_12
Name /s:textfield> This might help some one. Hidden value comes from the previous parameter. And the textfield value comes from the pre-populated bean section. -- View this message in context: