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
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
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
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?
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
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
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.
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
-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
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(){
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.
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
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:
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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?.
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:
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
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;
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
;
}
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
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 /
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() {
35 matches
Mail list logo