Can't obtain object in POJO using AJAX and problem with validation

2008-08-02 Thread Francisco Exposito Aguilera
Hi, I define in my menu.jsp page two . On the left the menu which always appears. On the right, the part which is updated after every action. Then I have another jsp with a form, the xml validation file and the POJO. The action definition is: /src/jsp/crear/usuarioCrear.jsp

RE: Can't obtain object in POJO using AJAX and problem with validation

2008-08-02 Thread Francisco Exposito Aguilera
. If so, set the > showLoadingText="false" attribute on the submit button and this problem > is resolved. (you can verify this is the problem by testing in Firefox > before making the change) > > Hope that helps, > Jeromy Evans > > Francisco Exposito Aguiler

Error with c:for Each and c:out

2006-07-26 Thread Francisco Exposito Aguilera
Hi all, I am trying to show the results of a search from a database into a jsp page, but it doesn't work. If I add in the jsp file: where listarEmpresas is the parameter where is saved the Collection and Nombre is one of the fields from OTDEmpresas: session.setAttribute("listarEmpr

RE: Error with c:for Each and c:out

2006-07-26 Thread Francisco Exposito Aguilera
e() in the class project.struts.OTD.OTDEmpresa, try with a lower-case 'n'. > -Original Message----- > From: Francisco Exposito Aguilera [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 26, 2006 10:35 AM > To: user@struts.apache.org > Subject: Error with c:for Eac

html:optionsCollection problem

2006-08-01 Thread Francisco Exposito Aguilera
Hi, I have a Bean: package project.struts.General; import java.util.ArrayList; import java.util.Collection; import java.io.*; public class Prueba implements Serializable { private Collection empresas=new ArrayList(); public Collection getEmpresas() { empresas.add("string1");

Re: html:optionsCollection problem

2006-08-01 Thread Francisco Exposito Aguilera
ly also want a field named "toSelect", with accessor and mutators in your form bean, to hold the selected value. On 8/1/06, Francisco Exposito Aguilera <[EMAIL PROTECTED]> wrote: Hi, I have a Bean: package project.struts.General; import java.util.ArrayList; import java.util.Collectio

Re: html:optionsCollection problem

2006-08-03 Thread Francisco Exposito Aguilera
mp;t=008283 Romu <[EMAIL PROTECTED]> wrote: where pays is the property of your form 2006/8/1, Francisco Exposito Aguilera : > > I´ve added it into a but I obtain the > error > > Cannot create iterator for [EMAIL PROTECTED] > > I´ve modified some code because I want

html:link and collection

2006-08-05 Thread Francisco Exposito Aguilera
Hi, I have a jsp where I show some fields of a search. If I click on every row, I must be redirected to a new page with all info of that row. As I read weeks ago at this mailing list, it should be done with html:link, but I have some problems... The DispatchAction searchUsers which "show" th

Died with html:link

2006-09-08 Thread Francisco Exposito Aguilera
Hi, I have a jsp page where I show a table with some fields of a session collection (listUsers). In every row of the table I want to call a new jsp page in order to show all fields. value='${lee.lastName}'/> value='${lee.name}'/> action="searchUser.do?parametro=edi

Re: Error loading Collection in form

2006-09-26 Thread Francisco Exposito Aguilera
Hi, I've solved the issue this morning. My DTOGroup.java was not correctly defined. I had public class DTOGroups extends DynaValidatorForm implements Serialize and the extends DynaValidatorForm is not correct -obvious I don't remember to put it there :) From: "Thomas Joseph" <[EMAIL

Struts+uitags+ajax

2007-01-12 Thread Francisco Exposito Aguilera
Hi all, Is it possible to add ajax inside uitags tags?? I am trying to create a page in struts including uitags and ajax, but it doesn't work. And I don't know if what I'm trying to do is possible or not. I have a form with: 1. An html:select, which shows some access control list onchange="

Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
Hello all, I have a doubt about how design the exceptions in my struts project. I have the action classes and the bean classes. The action classes execute methods from bean classes, which connect to the database. Supposing I am trying to create a user in one of my web pages and the user I wa

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
From: Dave Newton <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Exceptions design Date: Sun, 4 Feb 2007 09:41:23 -0800 (PST) --- Francisco Exposito Aguilera wrote: > What is the best way to show the user this sql er

Re: Exceptions design

2007-02-04 Thread Francisco Exposito Aguilera
Reply-To: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: Exceptions design Date: Sun, 4 Feb 2007 09:41:23 -0800 (PST) --- Francisco Exposito Aguilera wrote: > What is the best way to show the user this sql error? I'm skeptical that you'd want to sho

File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
Hello all, I am trying to upload files, but I have some doubts… As I´ve read, there are two typical ways to do that: 1.Using StrutsFileUpload MyActionForm myForm = (MyActionForm)form; FormFile myFile = myForm.getMyFile(); String fileName= myFile.getFileName()

Re: File Upload design doubt

2007-02-18 Thread Francisco Exposito Aguilera
re privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Francisco Exposito Aguilera" <[EMAIL PROTECTED]> To:

Re: File Upload design doubt

2007-02-19 Thread Francisco Exposito Aguilera
;il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Francisco Exposito Aguilera" <[EMAIL PROTECTED]> To: Sent: Sunday, February 18, 2007 3:36 PM Subject: Re: File Upload design doubt > Yes, I have commons-fi

Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Hi all, In the jsp page I sent a collection which contains integer and string values: [1, "A", 2, "B", 2, "C", 1, "D", 2 , "E", 3, "F", 3, "G"] In the page I want to obtain the data (strings of the collection) in the correct level (integers of the collection) A B C D E F G

RE: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
//End if ¿Is this idea correct? If yes, how can I know if the actual value of the collection is an integer or a string? If my idea is not correct, could you guide me??? Thanks a lot Regards, Paco From: "Francisco Exposito Aguilera" <[EMAIL PR

Re: Show info from collection by levels and check data type

2007-03-31 Thread Francisco Exposito Aguilera
Really easy with your help!!! Thanks a lot Laurie! From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: Show info from collection by levels and check data type Date: Sat, 31 Mar 2007 16:22:29 -0400 Francisco E

Show error in parent page

2007-04-11 Thread Francisco Exposito Aguilera
Hi all, I have a jsp with a download button. When I click on that button, a new web page using javascript is opened: onclick="window.open('http://server:8080/FileServer/Menus/Search/selectDownloadType.jsp','blank','width=400,height=300,scrollbars=no')">key="button.download"/> In the ne