RE: Change an action of a form with javascript

2006-10-20 Thread José María Tristán
an action of a form with javascript From: José María Tristán [mailto:[EMAIL PROTECTED] docuemt.forms[0].action = new action; and I call the submit. That's a typo, right? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED

Change an action of a form with javascript

2006-10-19 Thread José María Tristán
Hello: I have a form whith a default action. When any use pres a button I call to a function on javascript that change the value of action: docuemt.forms[0].action = new action; and I call the submit. But, this return me this error: mensaje No action instance for path

Problem whith a select

2006-08-25 Thread José María Tristán
Hello: I have a select where i have select one value. When I submit the form the method get load this value. But, if after, I not select any value the method set don't is call. An example: html:select property=marcas multiple=true size=20 styleClass=cuadros

RE: Problem whith a select

2006-08-25 Thread José María Tristán
Thank you very much. -Mensaje original- De: Antonio Petrelli [mailto:[EMAIL PROTECTED] Enviado el: viernes, 25 de agosto de 2006 11:26 Para: Struts Users Mailing List Asunto: Re: Problem whith a select José María Tristán ha scritto: Hello: I have a select where i have select

RE: Validation does not verify the hidden controls?

2006-06-30 Thread José María Tristán
: RE: Validation does not verify the hidden controls? Do you know if the hidden field values were sent by the browser? That would be a place to start. Struts doesn't distinguish between an html:hidden and a html:text field on the server side. -Richard -Original Message- From: José María

Validation does not verify the hidden controls?

2006-06-29 Thread José María Tristán
Hello: I have five tabs. When i click into a tab one css hide and other css show. If anything control of a form is into a css hide when I launch the validation is not validate. Why? Thank you very much. - To

How I can cancel a submit to use validation?

2006-06-27 Thread José María Tristán
Hello: I use validation of side of client. i have a function on javascript that is launch when the user submit the form. This function can to call the validation functions or no. I put bCancel = true but when function validateSeguimientoComercialForm(form) is call the submit is launch.

RE: Mistake of syntax in html:button

2006-06-26 Thread José María Tristán
to be the entire attribute value, not just a portion of it. You'll have to do something like this: onclick='%= Enviar( + property + ) %' -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 12:22 AM To: 'Struts Users Mailing List' Subject: RE

RE: Mistake of syntax in html:button

2006-06-23 Thread José María Tristán
-Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 7:48 AM To: user@struts.apache.org Subject: Mistake of syntax in html:button Hello: This code: html:button property=buton onclick='Enviar(%=property%)'Aceptar

To close a window capturing the information

2006-06-22 Thread José María Tristán
Hello: I have a window that open a popup. When the user close the popup I want only show the first window but it's capturing the data. In the popup window I have this: SCRIPT language=JavaScript function Cerrar(){

Mistake of syntax in html:button

2006-06-22 Thread José María Tristán
Hello: This code: html:button property=buton onclick='Enviar(%=property%)'Aceptar/html:button it's show in the window: Aceptar ) Aceptar is a button but the next text don't must show. Thank you very much.

RE: Mistake of syntax in html:button

2006-06-22 Thread José María Tristán
a view source on the generated jsp and look at the values; then work backwards from there. Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 7:48 AM To: user@struts.apache.org Subject

Error to pass struts-config dtd 1.1 to 1.2

2006-06-21 Thread José María Tristán
Hello: I'll like to use struts 1.2.x. I have struts 1.1. I replace the jars and the tld. In the struts-config I write: !DOCTYPE struts-config PUBLIC-//Apache Software Foundation//DTD Struts Configuration 1.2//ENhttp://struts.apache.org/dtds/struts-config_1_2.dtd; before I have:

Problem whith servletAction in struts 1.2

2006-06-19 Thread José María Tristán
Hello: I was to used struts 1.1 and the apllication was worked. I 'm to use now the struts 1.2 and the aplication show this error: No está disponible el Servlet action The problem is that i'm use validation of struts 1.2 and it's don't work ok with struts 1.1. Why

Problem whith Validation in javascript

2006-06-16 Thread José María Tristán
Hello: I have the next: html:form action=/coffeenet/SeguimientoComercial/SeguimientoComercial.do onsubmit=return validateSeguimientoComercialForm(this); html:submit property=submit onclick=bCancel=false;/html:submit html:javascript

Pass dates between two windows

2006-06-14 Thread José María Tristán
Hi, I have a form bean than it's use in two windows. Per example: window1. html:button: search Employers window2 list Employers html:select property=employers html:button close The button search

RE: Pass dates between two windows

2006-06-14 Thread José María Tristán
of the selected employers so, making a simple query to the DB, you can get the info needed for each ID from selectedEmployers. Hope it helps, Emilia -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: woensdag 14 juni 2006 8:30 To: user@struts.apache.org Subject: Pass

RE: Pass dates between two windows

2006-06-14 Thread José María Tristán
help! Have fun, Emilia -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: woensdag 14 juni 2006 9:25 To: 'Struts Users Mailing List' Subject: RE: Pass dates between two windows Very thanks Emilia. I use the second option, work whith form-bean. Is possible show

Error using validator

2006-06-14 Thread José María Tristán
Hello, I'm trying to use validator framework but the aplication don't works. In the struts-config.xml i have: form-bean name=seguimientoComercialForm type=org.apache.struts.action.ValidatorForm/ then mapping: action

Problem whith values of a form-bean

2006-06-14 Thread José María Tristán
Hello: I hava a html:select optionscollection: html:select property=unidades multiple=true size=6 styleClass=control html:optionsCollection property=unidadesSelect/ /html:select and in the form-bean the method: public void

RE: Error using validator

2006-06-14 Thread José María Tristán
: Error using validator José María Tristán wrote: java.lang.NullPointerException seda.coffeenet.SeguimientoComercial.struts.action.IndexSeguiComerAction.exe cute(IndexSeguiComerAction.java:25) I would start by looking at IndexSeguiComerAction.java line 25. Dave

Problem in a action

2006-06-07 Thread José María Tristán
Hi: I have an error when i try launch an action of struts: No input attribute for mapping path /coffeenet/SeguimientoComercial/IndexSeguiComer The struts-config.xml: action path=/inicio type=seda.incidencias.struts.action.ActionInicio name=formInicio

RE: Problem in a action

2006-06-07 Thread José María Tristán
Hello; Yes, it's ok. I'm want use validate of struts because i thinking that it's a good idea and don't causes problems. Thank you very much. -Mensaje original- De: starki78 [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de junio de 2006 16:21 Para: user

arg variable into a bean:message?

2006-05-19 Thread José María Tristán
Hello, is posible have and arg of a message that it's a tag of the file resources.proerties? Por example: Resources.properties label.name=antonio label.address=c/address label.sum=live in

Style in a tags-html

2006-05-17 Thread José María Tristán
Hi: I hava a html:optionsCollection property=empresasSelect style=red:color/. Is possible use a css into a html control? Por example: style empresa{red:color} /style

RE: Style in a tags-html

2006-05-17 Thread José María Tristán
html:options collection=area property=key labelProperty=value/ /html:select /p PD: do you speak spanish? El mié, 17 de 05 de 2006 a las 12:04, José María Tristán escribió: Hi: I hava a html:optionsCollection property=empresasSelect style=red:color

RE: use html:form to pass the a child window to a parent window

2006-05-12 Thread José María Tristán
Ok. Thank you very much. -Mensaje original- De: M Faizal [mailto:[EMAIL PROTECTED] Enviado el: viernes, 12 de mayo de 2006 5:32 Para: Struts Users Mailing List Asunto: RE: use html:form to pass the a child window to a parent window Add target attrib. in the form of your popup window

Reset a control of a form

2006-05-12 Thread José María Tristán
Hello: I have a form whith anything controls. One of it is a list. Por example: Numbers 1 2 3 4 When usert select a register, how can i reset this value select?.

use html:form to pass the a child window to a parent window

2006-05-11 Thread José María Tristán
Hi, Sorry but I'm speak only a little english. I have two windows. the first windows call to a popup windows that gets data. When user subbmit the form this is close and the parent window show this data. First Window Name: Street:

RE: Struts with javascript

2006-03-29 Thread José María Tristán
ok. Thank you very much. -Mensaje original- De: Deepa Khetan [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 29 de marzo de 2006 11:55 Para: Struts Users Mailing List Asunto: Re: Struts with javascript When the HTMl page is rendered on screen, all the struts controls are rendered as

Problem whith html:optionscollection

2006-02-10 Thread José María Tristán
Hi, I have a bean form: import java.util.*; import org.apache.struts.action.ActionForm; import org.apache.struts.util.LabelValueBean; public class CustomSubmitForm extends ActionForm { private String m_firstName = null ; private String[] m_countryCode;

RE: html:options whith a HashMap

2006-02-09 Thread José María Tristán
That's all for it. On 2/8/06, José María Tristán [EMAIL PROTECTED] wrote: Hi, I have an application whith a html:options whith two ArrayList to see the name(arrayCodigo) and the label (arrayDescripcion) html:select property=listEdad multiple=true

RE: Problem whith a arrayList and a html:option

2006-02-08 Thread José María Tristán
; } With best regards, Anjishnu. -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 8:13 PM To: user@struts.apache.org Subject: Problem whith a arrayList and a html:option Hello, Sorry by the text but I speak a little english

html:options whith a HashMap

2006-02-08 Thread José María Tristán
Hi, I have an application whith a html:options whith two ArrayList to see the name(arrayCodigo) and the label (arrayDescripcion) html:select property=listEdad multiple=true html:options name=arrayCodigo labelName=arrayDescripcion /

Problem whith a arrayList and a html:option

2006-02-07 Thread José María Tristán
Hello, Sorry by the text but I speak a little english. I have a problem with a struts application. I want capture data to a multiple select. I use a Arraylist into a Bean. This is a part of my code of the actionform: private List listEdad = new ArrayList(); public List getListEdad() {