Re: Problems with forms field

2008-05-20 Thread Laurie Harper
Do you mean adding the getter fixed the problem? The reason I believe you need it is that for Struts to set, for example, dadosPessoais.nome it needs to call getDadosPessoais().setNome(value). If you omit the getter for dadosPessoais, Struts is not able to determine a value for that property an

Re: Problems with forms field

2008-05-20 Thread Felipe Lorenz
hummm this is not necessary.. i just want do send, not retrieve... but i fix the problem... i dont know whats happen, i did create a new project in NetBeans... maybe it lost something... i dont know... But thanks folks... On Tue, May 20, 2008 at 2:59 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:

Re: Problems with forms field

2008-05-19 Thread Laurie Harper
Looks like you're missing a getter for dadosPessoais in your action class... L. Felipe Lorenz wrote: Ok.. i did it... its all right.. but i dont know... i will print my code: JSP: <[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> htt

Re: Problems with forms field

2008-05-19 Thread Felipe Lorenz
Ok.. i did it... its all right.. but i dont know... i will print my code: JSP: <[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> http://www.w3.org/TR/html4/loose.dtd";> JSP Page

Re: Problems with forms field

2008-05-19 Thread Milan Milanovic
Check the names of the fields, they must mach with attributes names in action class, and also check that you have correct get/set methods for them in your action class. -- Milan Jim Kiley <[EMAIL PROTECTED]> wrote: Felipe, It would be much easier for others to help you if you would include rel

Re: Problems with forms field

2008-05-19 Thread Jim Kiley
Felipe, It would be much easier for others to help you if you would include relevant parts of your code, as well as let us know what version of Struts you are using. jk On Mon, May 19, 2008 at 2:15 PM, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > Hi, > > i did work with struts, and im work with i

Problems with forms field

2008-05-19 Thread Felipe Lorenz
Hi, i did work with struts, and im work with it. But, i dont how, the value of field are not send to Action class.. for example: My forms have 3 fields.. text.. normal.. simple.. so, when i submit this the form only the last filed are set. I put a System.out in my action class, and i see only t