I'll echo the question of "why would you want to?", but it's easy to
accomplish if you're not insistent on using the tag:
" method="GET"
action="">
...
-Brian
P.S. Is it just me, or is the documentation on the struts form tag a bit
lacking in examples?
On Sun, Jan 3, 2010 at 1:28 AM, Paul
I don't think you can. Why would you want to?
On Tue, Dec 22, 2009 at 8:01 PM, Jason Novotny wrote:
> Hi,
>
> I'm a Struts newbie and am tasked with trying to change relative URLs on
> our site to be absolute. I have a form that looks like:
>
>
>
> and once it renders it displays:
>
> onsubm
Hi,
I'm a Struts newbie and am tasked with trying to change relative
URLs on our site to be absolute. I have a form that looks like:
and once it renders it displays:
action="/modules/mymodule/fcon/MyAction.do" onsubmit="return
validateFilterForm(event, this);">
What I'd like is to ha
ch (from what I remember) created
portlet urls automatically.
Nils-H
On Tue, Dec 16, 2008 at 5:27 PM, Evert Lammerts wrote:
> Hi Nils,
>
> I've tried your suggestion but it doesn't seem to be possible. The action
> attribute in html:form expects an Action URI, while actionURL cre
Hi Nils,
I've tried your suggestion but it doesn't seem to be possible. The action
attribute in html:form expects an Action URI, while actionURL creates an
absolute URL. Still, being a beginner with this, I'm pretty sure I'm missing
something - I guess it IS possible to cr
You can probably use the 'var' attribute of the portlet:actionURL tag
to store the url as a variable which you can reference by an
expression in the html:form tag. Take a look at the tag reference for
the portlet tags (PLT.22.2) in the JSR168 spec [1] for details.
Nils-H
[1] - http
Hi all,
Using struts 1.3.8 I'm trying to use the struts-html taglib to create a form
attribute that submits the form to a maximized window state, like possible with
the actionURL tag:
">
"
method="POST">
Is there a way to do this? Maybe with a hidde
, response) {
...
}
}
-Original Message-
From: D'Ottavio Alessandro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2008 11:47 AM
To: Struts Users Mailing List
Subject: R: More html:form TAG in one page for struts 1
Ciao Antonio,
Actually I'm using 2 differe
e bean using the setter present...
> and the same will be done for the Action B with the associated FormBeanB
>
> this will solve the problem of the validation and mean that I can use
> more html:form tag associate at the same page because the submit will
> request one specific actio
ested by function A need) struts automatically will
valorised the bean using the setter present...
and the same will be done for the Action B with the associated FormBeanB
this will solve the problem of the validation and mean that I can use
more html:form tag associate at the same page because the s
2008/10/22 D'Ottavio Alessandro <[EMAIL PROTECTED]>:
> I have one page and one FormBean that is populated by the form but I
> would like have 2 FormBean and 2 form associated at the same page
Are you going to use 1 or 2 actions?
Because you can associate only 1 form bean to 1 action, but the same
Hi to all
Sorry for my poor English
I have one page and one FormBean that is populated by the form but I
would like have 2 FormBean and 2 form associated at the same page
Actually
Form a logical point of view:
My pages represent 2 different function, so there is one button for one
fu
2008/8/4 Alexis Abdel <[EMAIL PROTECTED]>:
> That exeption in english it is:
>
> The server found an error,and cant fill this requirement.
>
> org.apache.jasper.JasperException: Exception in JSP: /index.jsp:16
Can you post the complete stack trace, especially the cause?
Antonio
P.S. I speak also
2008/8/4 Alexis Abdel <[EMAIL PROTECTED]>:
> Configuration 1.3//EN"
>
> "http://struts.apache.org/dtds/struts-config_1_0.dtd";>
Shouldn't it be "1_3"?
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi!
I am using Struts 1.3.8 and when i want to try some of the examples or when i
want to develop something
i always have the same error in the line with "html:form."
This is a very simple example:
Inside Web-inf,i have a lib folder with the following libs:
Antlr-2.7.2.jar,commons
> Right, that has sorted the problem with the form, thanks for the help.
>
> I'm wondering why that tag was put there in the first place,
> what could have been the reasoning behind that? I'm hoping
> that removing it won't have implication elsewhere in the process...
Are you talking about the
Right, that has sorted the problem with the form, thanks for the help.
I'm wondering why that tag was put there in the first place, what could have
been the reasoning behind that? I'm hoping that removing it won't have
implication elsewhere in the process...
Slattery, Tim - BLS wrote:
>
>> We
> We have a struts form, and we need to have a styleId element
> (which translates into a standard HTML id element). When we
> include it, the page breaks, with no errors logged, just a
> blank page. If we leave it out completely, when the page
> loads an id element has been included, with the
Hello all.
We have a struts form, and we need to have a styleId element (which
translates into a standard HTML id element). When we include it, the page
breaks, with no errors logged, just a blank page. If we leave it out
completely, when the page loads an id element has been included, with the
v
Use the getElementById scripting method.
On 8/6/07, john lee <[EMAIL PROTECTED]> wrote:
>
> I have two file, and try to test javascript, but javascript can not access
> document.form.
>
> Can one know why? inside , styleId <> Name attribute? if so,
> what is the solution for that?
>
> i use st
I have two file, and try to test javascript, but javascript can not access
document.form.
Can one know why? inside , styleId <> Name attribute? if so, what
is the solution for that?
i use strusts 1.3
tks in advance
john
one file is javacript file, called my.js
include file="/WEB-INF/jspf/PreFooter.jspf" %>
We have defined the form attribute in PreHeader.jspf itself.
Now when we thought of using taglibs through out our project, we are not
able to define in PreHeader.jspf as it gives an error saying
unterminated html:form
Any idea how we co
David, tks for ur help.
actually, my goal is to have multiple submit button on same page, do same
thing, but carry different input value(different search result).
john
David Conrad <[EMAIL PROTECTED]> wrote:
On 4/20/07, john lee wrote:
> what is S1 tags? i still use struts 1.3.8.
S
On 4/20/07, john lee <[EMAIL PROTECTED]> wrote:
what is S1 tags? i still use struts 1.3.8.
Struts 1.x. S2 would be Struts 2.x. So, with 1.3.8, you are still using S1.
So, no possible to submit formay array?
> possible for me to implement the following code?
> > for (i=1:i>
what is S1 tags? i still use struts 1.3.8.
So, no possible to submit formay array?
tks
john
Dave Newton <[EMAIL PROTECTED]> wrote:
--- john lee wrote:
> possible for me to implement the following code?
> > for (i=1:i> {
>response.Write("> styleId="+i);
>
--- john lee <[EMAIL PROTECTED]> wrote:
> possible for me to implement the following code?
> <%
> for (i=1:i<=10:i++)
> {
>response.Write(" styleId="+i);
>response.Write(" value="+i);
>response.Write("");
>response.Write("");
>}
> %>
>
possible for me to implement the following code?
<%
for (i=1:i<=10:i++)
{
response.Write("");
response.Write("");
}
%>
but, how to capature form(0), form(1) with corrsponsed part inside ActionForm
?
tks in advance
john
50 PM
> To: Struts Users Mailing List
> Subject: RE: Re: EL expression in html:form action
>
> It should work OK if you're using the
> http://struts.apache.org/tags-html-el taglib.
>
> -Original Message-
> From: Lim Hock-Chai [mailto:[EMAIL PROTECTED]
> Sent:
It should work OK if you're using the
http://struts.apache.org/tags-html-el taglib.
-Original Message-
From: Lim Hock-Chai [mailto:[EMAIL PROTECTED]
Sent: Friday, 16 March 2007 4:08 AM
To: Struts Users Mailing List
Subject: RE: Re: EL expression in html:form action
I'm pretty
m: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Thursday, March 15, 2007 12:00 PM
To: user@struts.apache.org
Subject: Re: EL expression in html:form action
Lim Hock-Chai wrote:
> I'm getting the "cannot retrieve mapping for action" error when using
> EL e
Lim Hock-Chai wrote:
I'm getting the "cannot retrieve mapping for action" error when using EL
expression in the action attribute of tag. See below.
AcctContact.jsp ==>
.. . .
struts-config.xml ==>
.. . .
Error ==>
=
I'm getting the "cannot retrieve mapping for action" error when using EL
expression in the action attribute of tag. See below.
AcctContact.jsp ==>
. . .
struts-config.xml ==>
. . .
Error ==>
==
ERROR - ServletEx
sage-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 4:14 AM
To: user@struts.apache.org
Subject: From html:form direct to JSP
Hi everybody,
New day, new problem :). I have a html:form in my page, with hidden
fields (don't ask why, long explanation). W
Hi everybody,
New day, new problem :). I have a html:form in my page, with hidden fields
(don't ask why, long explanation). When you submit that form, an action is
triggered, which forwards the user to a page. The problem is, the forward is
the only thing that the action does (no addit
Sorry didn't get what you mean by "use JSTL/EL to navigate the servlet
api" :)
As I mentioned before request.getServletPath() gives Tiles layout jsp
page, not action mapping.
*
Best Regards
Ilja
Joseph McGranaghan wrote:
That MappingDispatchAction sounds l
That MappingDispatchAction sounds like a good idea.
What if you use JSTL/EL to navigate the servlet api and do a
similar filter for /admin/* etc?
Could do it in a javascript function onSubmit.
-Joe
Ilja S. wrote:
The thing is that I use MappingDispatchAction
So in one action class I have 2 m
The thing is that I use MappingDispatchAction
So in one action class I have 2 methods: 1 will be executed when
/supervisor/deals is accessed and other when /admin/deals is executed. I
found this convenient for handling authorization (user with role
supervisor can't access /admin/* urls) and hav
What if you use a DispatchAction and one path.
Either way you will need to check a parameter (or something)
to ensure the proper route
-Joe
Ilja S. wrote:
Hello
This could be silly question but I'm kind stuck here.
I have 2 ActionMappings in struts config with following paths:
path="/admin/dea
Hello
This could be silly question but I'm kind stuck here.
I have 2 ActionMappings in struts config with following paths:
path="/admin/deals"
path="/supervisor/deals"
Both have the forward to same jsp with form.
All I want to do is depending on a requested mapping submit form, well,
to its' ac
On 12/7/06, chuanjiang lo <[EMAIL PROTECTED]> wrote:
Hi all
i have this jsp page with a form
and the corresponding mapping in the struts config is
When i view the source code of the jsp
it shows
Why is the action mapping to my context path?
Appreciate an
Hi all
i have this jsp page with a form
and the corresponding mapping in the struts config is
When i view the source code of the jsp
it shows
Why is the action mapping to my context path?
Appreciate any advice
st
Assunto: Re: html:form problem
It looks like you might be using modules...are you?
-adam
Roberto C. Lima Jr. wrote:
Hi, everyone.
I have an app that will be published at internet with apache + JBoss
Server.
So, it will be published on the address above:
<http://sis.enovar.
17:35
Para: Struts Users Mailing List
Assunto: Re: html:form problem
It looks like you might be using modules...are you?
-adam
Roberto C. Lima Jr. wrote:
> Hi, everyone.
>
>
>
> I have an app that will be published at internet with apache + JBoss
> Server.
>
> So, it wil
17:31
Para: Struts Users Mailing List
Assunto: Re: html:form problem
Have you tried:
(*Chris*)
On 9/21/06, Roberto C. Lima Jr. <[EMAIL PROTECTED]> wrote:
>
> Hi, everyone.
>
>
>
> I have an app that will be published at internet with apache + JBoss
> Server.
>
> S
com.br/
But the problem is that html:form writes more than just the “.do” thing
becomes
So, when i submit the page, it is trying to go to
http://sis.enovar.com.br/sis/example.do
and actually I was wondering it goes to
http://sis.enovar.com.br/example.do
Does anyone ha
m.br/
But the problem is that html:form writes more than just the ".do" thing
becomes
So, when i submit the page, it is trying to go to
http://sis.enovar.com.br/sis/example.do
and actually I was wondering it goes to
http://sis.enovar.com.br/example.do
Does anyone ha
Hi, everyone.
I have an app that will be published at internet with apache + JBoss Server.
So, it will be published on the address above:
<http://sis.enovar.com.br/> http://sis.enovar.com.br/
But the problem is that html:form writes more than just the .do thing
b
': Cannot specify "styleId" when in XHTML mode as
the HTML "id" attribute is already used to store the bean name
javax.servlet.ServletException: Cannot specify "styleId" when in XHTML
mode as the HTML "id" attribute is already used to store the bean name
already used to store the bean name
javax.servlet.ServletException: Cannot specify "styleId" when in
XHTML mode as the HTML "id" attribute is already used to store the
bean name
FormTag dictates that the styleId attribute cannot be set in the
html:form tag when using xhtml
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
Add target attrib. in the form of your popup window
...
-Original Message-
From: José María Tristán [mailto:[EMAIL PROTECTED]
Sent: May 11, 2006 6:33 PM
To: 'Struts Users Mailing List'
Subject: use html:form to pass the a child window to a parent window
Hi,
In the popup I'm forward html:form to a ActionFirstWindow.do. But this
action open a new first window and not gets the data.
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On Wednesday, May 3, Nathan Coast wrote:
> You need to change your javascript to
> document.getElementById('tryItForm').submit();
That does it.
Thanks for your help.
-DB
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
without struts inserts the name="tryItForm" attribute for
the form. With struts inserts the id="tryItForm"
attribute. You need to change your javascript to
document.getElementById('tryItForm').submit();
David Byron wrote:
I've inherited some struts code and I have a question about the ht
I've inherited some struts code and I have a question about the html
that it generates. I have a feeling there's a bunch more stuff I need
to read but I'm having trouble finding it.
I've run the generated html through validator.w3.org and it gave me
errors that I don't have end tags on input elem
ot;Michael Jouravlev" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, March 09, 2006 2:33 AM
Subject: Re: Submit a html:form with a link
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> I see no real need to force people to change working i
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> I see no real need to force people to change working implementations that
> use DispatchAction or LookupDispatchAction by deprecating them.
Still some do the same job better than other. I am not saying about
forcing people. Just telling them
I see no real need to force people to change working implementations that
use DispatchAction or LookupDispatchAction by deprecating them. We probably
need better docs to explain the different implementations - but peoples
opnions on whats best to use vary widely - some people don't think
DispatchAc
On 3/8/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> The most common cause of this in LookupDispatchAction is the presence of
> "whitespace" in the label value. So in the example I gave you, this happens
> if you don't put the tags all on one line, something like this:
>
>
>
>
>
> You n
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:
> I tried your solution but it does't work. I get the exception:
>
> SEVERE: Servlet.service() for servlet action threw exception
> javax.servlet.ServletException: Request[/search] does not contain handler
> parameter named searchType
We
L PROTECTED]>
To: "Struts"
Sent: Wednesday, March 08, 2006 3:19 PM
Subject: Re: Submit a html:form with a link
Niall:
I tried your solution but it does't work. I get the exception:
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.ServletExcepti
Niall:
I tried your solution but it does't work. I get the exception:
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: Request[/search] does not contain handler
parameter named searchType
at
org.apache.struts.actions.LookupDispatchAction.execute(Looku
On 3/8/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote:
> It's there a way of submit an html:form to a LookUpDispathAction with
> a link instead of a submit button?
What problem are you trying to solve?
* If you can get all of the request parameters into the link URL, yes.
one
parameter you need to build a java.util.Map of parameters and pass it to the
tag using the name/property attributes.
Niall
- Original Message -
From: "Yariel Ramos Moreno" <[EMAIL PROTECTED]>
Sent: Wednesday, March 08, 2006 2:19 PM
Hi everybody:
It&
Hi everybody:
It's there a way of submit an html:form to a LookUpDispathAction with a link
instead of a submit button?
Thanks and regards.
Perry Jeung wrote:
I have a html:form tag with a dynamic action value that works in one version of
Struts and not in another.
I'm new to Tiles and I want to do the following in one of the reusable tiles
named report.jsp:
" >
In an experiment, I took the struts-example webapp fr
I have a html:form tag with a dynamic action value that works in one version of
Struts and not in another.
I'm new to Tiles and I want to do the following in one of the reusable tiles
named report.jsp:
" >
In an experiment, I took the struts-example webapp from the Struts
) there's no
instance of the form tag stored in any scope under that key; and (b)
even if it were, the tag implementation class isn't type compatible with
the standard Struts tag.
So, the first question is should this be considered a bug in so much as
s:form is documented as being funct
a bug in so much as
> s:form is documented as being functionally equivalent to html:form?
Yah, that sounds like a bug ... or perhaps a change in functionality of the
standard version that needs to be ported to the faces version.
And second, how would I rewrite the above code so it works equivalen
even if it were, the tag implementation class isn't type compatible with
the standard Struts tag.
So, the first question is should this be considered a bug in so much as
s:form is documented as being functionally equivalent to html:form?
And second, how would I rewrite the above code so it
gt;
>
> -Original Message-
> From: Jane Eisenstein [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 12:06 PM
> To: Struts Users Mailing List
> Subject: RE: problem with html:form tag action property
>
> Yes I have that mapping. The form ta
: problem with html:form tag action property
Problem solved. The problem was due to the ordering of tags in our
web.xml. When I rearranged the servlet-mappings for our action servlet
so the *.do pattern is specified last, the form tag generates a correct
action property:
action
*.do
-Original Message-
From: Jane Eisenstein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 12:06 PM
To: Struts Users Mailing List
Subject: RE: problem with html:form tag action property
Yes I have that mapping. The form tag is not working irrespective of
Yes I have that mapping. The form tag is not working irrespective of
whether the .do suffix is there.
-Original Message-
From: Catherine [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 27, 2005 10:02 AM
To: user@struts.apache.org
Subject: Re:problem with html:form tag action property
Check if you have the following entry in your web.xml.
...
action
*.do
Then in your form, you don't need to suffix .do, Struts will do that for you:
Cheers,
Catherine
-
http://Struts_User_List.roomity.c
tical to step through the html:form tag's execution with a
debugger and see where things are going wrong?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Monday, September 26, 2005 6:59 PM
To: user@struts.apache.org
Subject: Re: problem with htm
I think you need to remove the '.do' from the action (I'm using prefix
rather than suffix mapping, though, so I could be wrong...).
L.
Jane Eisenstein wrote:
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag ge
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag generates a form tag that looks like:
(CarePlannerWeb is the name of the web application)
I don't understand why the wrong form action is being generated. The
targ
> A tag would be handy for this ...
Indeed there is one, please take a look at
On Wed, September 14, 2005 11:15 am, Laurie Harper said:
> I think your 'semantics' arugment may be confusing two orthogonal sets
> of semantics, but I do see where you're coming from.
Could be. Wouldn't be the first time :)
> We're well off-topic so I'm keeping this brief, but feel free to foll
I think your 'semantics' arugment may be confusing two orthogonal sets
of semantics, but I do see where you're coming from.
We're well off-topic so I'm keeping this brief, but feel free to follow
up off-list if you want to discuss further.
L.
Frank W. Zammetti wrote:
On Wed, September 14,
Frank W. Zammetti wrote:
If I don't want to use scripting I guess I could use something like
${requestScope['org.apache.struts.action.mapping.instance'].name}
But what if the Globals.MAPPING_KEY will change ... :-)
That's why you want to use the field in Globals... if the key under which
the m
On Wed, September 14, 2005 10:15 am, Tamas Szabo said:
> I definitely like clean code and if I'm looking at the generated HTML
> I agree that it is cleaner if you reference the form by name.
> But in the JSP it's just doesn't seem right to reference a form
> name that will appear only in the genera
>
> I would say that the code that is yielded when you reference the form by
> name is clearer and thus better regardless and I would throw away the
> possibility of someone changing the name in the config file. It's more
> important that the code be as explicit IMO.
I definitely like clean cod
On Wed, September 14, 2005 6:35 am, Laurie Harper said:
> I never said you *shouldn't* use 'class' to style elements :-)
True enough :)
> That's the right answer when you want to apply the same set of styles to
> multiple elements (although even without the 'class' attribute here,
> you'd still
On Wed, September 14, 2005 6:35 am, Laurie Harper said:
> I never said you *shouldn't* use 'class' to style elements :-)
True enough :)
> That's the right answer when you want to apply the same set of styles to
> multiple elements (although even without the 'class' attribute here,
> you'd still o
Frank W. Zammetti wrote:
Laurie Harper wrote:
Why do you say that's a bad practice? It's actually both supported and
recommended; in fact, the 'name' attribute is deprecated in favour of
the 'id' attribute so 'id' is the only way to target CSS to a
particular page element rather than an entire
Tamas Szabo wrote:
> So the whole decission comes down to:
If I think that it's more likely that the name of the form will change in
the action mapping(struts-config) than someone will add a new form
to the jsp (before my form and without observing that I have javascript
functions which rely on
Laurie Harper wrote:
Why do you say that's a bad practice? It's actually both supported and
recommended; in fact, the 'name' attribute is deprecated in favour of
the 'id' attribute so 'id' is the only way to target CSS to a particular
page element rather than an entire display class.
...
OK,
Tamas Szabo wrote:
Isn't there a struts tag which for a given action path it gives me the
name of the associated form?
No there isn't, though it'd be trivial to write. What you can do,
though, is something like this:
Note that's untested (and probably wrong!), but it really is just a
Frank W. Zammetti wrote:
Note also that styleId is the attribute of that you want,
that renders an ID attribute (unfortunate naming choice since it
encourages the usage of the ID attribute to assign CSS classes, which is
another bad practice IMO, but whatever, it works!).
Why do you say that
On 9/14/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> It's generally something to avoid because you may at some point change
> the order of your forms and then find that your code no longer works.
> Think of what happens if you put a form before this one later... now the
> form you want is
otal newbie in javascript.
I just ask because I had to reference the form and I used
forms[0] despite of the fact that I'm using html:form and I have
the name of the form.
But the html:form is generated based on the action attribute
so I thougth that if someone changes the action mapping in stru
do you caution against using forms[0]?
I'm not arguing against this, I'm a total newbie in javascript.
I just ask because I had to reference the form and I used
forms[0] despite of the fact that I'm using html:form and I have
the name of the form.
But the html:form is generated base
Sent: Tuesday, September 13, 2005 11:05 AM
Subject: Re: How to replace normal html-from through html:form in
Struts? Example
gollinger wrote:
document.next.submit();
The problem I have is that the form tag in Struts has no name!
Why?
So how can I execute the java-script? Which
t"
Sent: Tuesday, September 13, 2005 11:05 AM
Subject: Re: How to replace normal html-from through html:form in
Struts? Example
gollinger wrote:
document.next.submit();
The problem I have is that the form tag in Struts has no name!
Why?
So how can I execute the java-script? Which
Message -
From: "Jason King" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, September 13, 2005 11:05 AM
Subject: Re: How to replace normal html-from through html:form in Struts?
Example
gollinger wrote:
document.next.submit();
The
gollinger wrote:
document.next.submit();
The problem I have is that the form tag in Struts has no name!
Why?
So how can I execute the java-script? Which name should I use instead?
Regards
Antonio
document.form[0] or form[1] will work.
---
document.next.submit();
The problem I have is that the form tag in Struts has no name!
Why?
So how can I execute the java-script? Which name should I use instead?
Regards
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTEC
On Saturday at 9:36am, DB=>Don Brown <[EMAIL PROTECTED]> wrote:
DB> Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an
DB> "id" or"name" if xhtml mode is on. You are correct, the styleId is a
DB> good workaround, especially if you use the commons-validator checked
DB> out fro
1 - 100 of 185 matches
Mail list logo