Re: [S2] ArrayList always NULL when posting data in a form

2007-03-06 Thread Eider Iturbe
Hi again, yes, you can define it like this: java.util.Collection col = new java.util.ArrayList(); I hope it helps you, Eider On 06/03/07, cisco <[EMAIL PROTECTED]> wrote: So how would you define the collection ? Can you provide a snipet of code. Thanks

Re: ArrayList always NULL when posting data in a form

2007-03-06 Thread Eider Iturbe
Hello, you can not define the ArrayList like you did it. You have to define like this: The collection to be iterated over MUST conform to one of the following requirements in order for iteration to be successful: - An array of Java objects or primitives. - An implementation of java.util.Co

Re: Problem while using

2006-11-13 Thread Eider Iturbe
neet Lakhina <[EMAIL PROTECTED]> wrote: On 11/13/06, Eider Iturbe <[EMAIL PROTECTED]> wrote: > > Hi, > > You mustn´t add an ArrayList in request scope, you have to add a > Collection > of objects of the class "uservo" . Dont really know what you are trying to s

Re: Problem while using

2006-11-13 Thread Eider Iturbe
Hi, You mustn´t add an ArrayList in request scope, you have to add a Collection of objects of the class "uservo" . Regards, -- Eider On 11/13/06, santas <[EMAIL PROTECTED]> wrote: HI i tried what u said but stil the same error is shown to me i have set the list with key "users" then i fir

Re: html:optionsCollection usage

2006-08-25 Thread Eider Iturbe
Hi, In order to use tag, you have to define and set a "Collection" type object in your ActionForm. In this object, you'll have your list. public class myFormBean extends ActionForm { private String idSelected = null; ... private Collection myList = new ArrayList(); ... } And the Collection is

Re: How to get the action name (in addition to the context path name)?

2006-07-17 Thread Eider Iturbe
Hi! I'm looking for a method in org.apache.struts.action.ActionMapping that returns the name of the action or jsp that has invoked my action (this action is the owner of the ActionMapping). Which is this method ? thanks in advance, -- Eider On 7/11/06, Samere, Adam J <[EMAIL PROTECTED]> wrote

Re: key not found using internationalization

2006-06-27 Thread Eider Iturbe
here do I tell struts if I want sv, no or the ordinary ApplicationResources file? Will struts fall back on the ApplicationResources.properties file as default? Den 6/27/2006, skrev "Eider Iturbe" < [EMAIL PROTECTED]>: Hi! The ApplicationResources.properties file is usually ins

Re: key not found using internationalization

2006-06-27 Thread Eider Iturbe
Hi! The ApplicationResources.properties file is usually inside source part, and not in Web Content part. For example, you can create a package called "i18n" and then you can save the ApplicationResources.properties file there. Then, you have to set this in struts-config.xml: Another question,

Re: Problems with logic:iterate

2005-11-28 Thread Eider Iturbe
I don't know how to implement in jsp the code to read all the values of the arraylist, Eider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems with logic:iterate

2005-11-28 Thread Eider Iturbe
Hi, I've defined in a formBean called "adminFormBean" this: private List anulFarms = new ArrayList(); public void setAnulFarms(int key, long anulFarm) { this.anulFarms.add((long) anulFarm); } public long getAnulFarms(int key) { return (Long)anulFarms.get(key); }

Re: Problem:

2005-11-22 Thread Eider Iturbe
setCmax then the property should be accessed as "cmax" in any of the struts tag. Have a Good Day!!! Best Regards Pal -----Original Message- From: Eider Iturbe [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 3:03 PM To: Struts Users Mailing List Subject: Problem: Hi!

Problem:

2005-11-22 Thread Eider Iturbe
Hi! I have a problem with defining an scripting variable with: /type="java.lang.Integer"/> /and this property is defined into the bean called adminFormBean like this: /private int Cmax = 0 ; public void setCmax(int cmax) { this.Cmax = cmax; } public int getCmax() {

Re: Problems with script in JSP

2005-10-24 Thread Eider Iturbe
t know if exist a way to do this, but this is not the way. Eider Iturbe <[EMAIL PROTECTED]To: Struts Users Mailing List es> cc: bcc:

Problems with script in JSP

2005-10-24 Thread Eider Iturbe
Hi all! I have a problem: Tomcat can't compile next code of a JSP: The problem is the script part: "<%=fechabaja%>". Can anyone help me, please? Thanks! Eider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Struts in Tomcat

2005-10-21 Thread Eider Iturbe
:802) In OC4J container it runs well. Can anyone help me? Thanks, Eider Wendy Smoak wrote: From: "Eider Iturbe" <[EMAIL PROTECTED]> I've developed a web application using JDeveloper and I've tested it using JDeveloper's embedded server, OC4J. Now I'm

Struts in Tomcat

2005-10-21 Thread Eider Iturbe
Hi Struts users! I've developed a web application using JDeveloper and I've tested it using JDeveloper's embedded server, OC4J. Now I'm attempting that this web application works in Tomcat (version 5). But I've problems, because Tomcat can't compile some code. Do I have to install/add any li