same bean multiple fields

2010-06-08 Thread Upasana Sharma
I have a form which needs to submit multiple values(user name , last used etc) of the same type for different users on a single click. But my form bean refers to one user's field only . i need to submit all the fields using a single form button click. how should i use beans n jsp in this case. --

Re: same bean multiple fields

2010-06-08 Thread Paweł Wielgus
Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org/1.x/struts-taglib/indexedprops.html Best greetings, Paweł Wielgus. 2010/6/8 Upasana Sharma sharma...@gmail.com: I have a form which needs to submit multiple values(user name , last used etc) of the same type for

Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
Thanks for ur reply... by i m using struts 2.0... 2010/6/8 Paweł Wielgus poulw...@gmail.com Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org/1.x/struts-taglib/indexedprops.html Best greetings, Paweł Wielgus. 2010/6/8 Upasana Sharma sharma...@gmail.com:

Struts.xml - Packages

2010-06-08 Thread James Cook
Hi All, Having a blank mind moment here. I was hoping someone might be able to clear it up with me. I am using my favourite Struts 2 setup of Convention + Spring. However I am just going through the process of adding a global exception mapping, so I created a struts.xml file which contains

Error in Weblogic

2010-06-08 Thread Abhishek Doctor
am trying to deploy simple hello world application from APACHE STRUTS TUTORIAL on weblogic after exporting war files from Eclipse. I am getting following error: index.jsp:1:1: Needed class com/opensymphony/xwork2/util/ValueStack is not found when methods of

Struts 2 + dates

2010-06-08 Thread lucas owen
Hi Struts users! I need to present a java.util.Date in a jsp. It has to be within a s:textfield because the user can modify/edit this date. The problem is when I display the date s:textfield name=myDate/, it shows the date with a wrong format. I can use fmt:formatDate value=${myDate}

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Hi Lucas, You can use some component based on jQuery to format your date and edit as well. See here: http://digitalbush.com/projects/masked-input-plugin/ I use this component on my project. Piece of cake! Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 2:39 PM, lucas

Re: Struts 2 + dates

2010-06-08 Thread Ken
http://struts.apache.org/2.1.8.1/docs/tag-reference.html See: The datetimepicker tag... you can specify the date format very easily and it provides nice edit functionality. On Tue, 2010-06-08 at 19:39 +0200, lucas owen wrote: Hi Struts users! I need to present a java.util.Date in a jsp.

S2 with cassandra

2010-06-08 Thread Frans Thamura
anyone have a simple demo S2 with cassandra or hadoop may be wanna share ur experience thx -- Frans Thamura Meruvian. We grow because we share the same believe. Mobile: +6287885901958 Blog Profile: http://frans.thamura.info We provide services to migrate your apps to Java (web), in amazing

Re: Struts 2 + dates

2010-06-08 Thread Daniel S. Teixeira
Suggestion better than mine! :) Regards, Daniel S. Teixeira danso...@gmail.com On Tue, Jun 8, 2010 at 3:50 PM, Ken ken.mcwilli...@aerose.com wrote: http://struts.apache.org/2.1.8.1/docs/tag-reference.html See: The datetimepicker tag... you can specify the date format very easily and it

Re: Struts 2 + dates

2010-06-08 Thread sandeep kotha
I agree with ken simple best thing to do %@ taglib prefix=sx uri=/struts-dojo-tags% sx:head / sx:datetimepicker key=bean.date displayFormat=dd/MM//. On 8 June 2010 23:09, lucas owen sr.ilus...@gmail.com wrote: Hi Struts users! I need to present a java.util.Date in a jsp. It has to be

Re: same bean multiple fields

2010-06-08 Thread Ken
1) Do you have a working example where a single value is put on a form and then displayed with a JSP? 2)Do know how to display data on a JSP with Struts 2 from a bean? If you have 1) you are far closer than you think, if not but you understand the magic behind number 2) then you'll see that

Re: Struts 2 + dates

2010-06-08 Thread lucas owen
thanks to all what a cracks u r 2010/6/8 sandeep kotha sandeep4u.ko...@gmail.com I agree with ken simple best thing to do %@ taglib prefix=sx uri=/struts-dojo-tags% sx:head / sx:datetimepicker key=bean.date displayFormat=dd/MM//. On 8 June 2010 23:09, lucas owen

Re: same bean multiple fields

2010-06-08 Thread satyanarayana katta
One way to have hidden variables for the remaining fields under the same form and by default all the fo fields get submitted Sent from my iPhone On Jun 8, 2010, at 1:05 AM, Upasana Sharma sharma...@gmail.com wrote: Thanks for ur reply... by i m using struts 2.0... 2010/6/8 Paweł Wielgus

Re: same bean multiple fields

2010-06-08 Thread Upasana Sharma
hi thanks for ur reply I do have working examples of both 1 and 2... using single bean and form where elements occur for once .. On Wed, Jun 9, 2010 at 1:10 AM, Ken ken.mcwilli...@aerose.com wrote: 1) Do you have a working example where a single value is put on a form and then displayed

Re: Error in Weblogic

2010-06-08 Thread Lukasz Lenart
2010/6/8 Abhishek Doctor abhishek8...@yahoo.com:  am trying to deploy simple hello world application from APACHE STRUTS TUTORIAL on weblogic after exporting war files from Eclipse. I am Do you have xwork jar included? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła