I don't see any problem with your code on first sight.
Do you have more than one form in the page? Is the page you're trying to
Submit is the first one in the page?
Try putting the name of the form instead of forms[0].submit do
Document.name-of-your-form.submit();
And also, in your onclick=...
What are you trying to accomplish with the +key?
Erez
-Original Message-
From: Phani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 1:24 AM
To: [EMAIL PROTECTED]
Subject: unterminated.tag Exception
I am getting the jsp.error.unterminated.tag exception
because of the
]
Sent: Thursday, September 16, 2004 11:49 PM
To: Struts Users Mailing List
Subject: Re: using JSP2.0 / JSTL1.1 with Struts
Erez Efrati wrote:
Hi all,
Until now I've been using Struts 1.1 with JSP1.2/JSTL 1.0 with the use
of JSTL EL extension for Struts tags.
Html-el etc..
Now I'd like to move
Hi all,
Until now I've been using Struts 1.1 with JSP1.2/JSTL 1.0 with the use
of JSTL EL extension for Struts tags.
Html-el etc..
Now I'd like to move on and take advantage of the JSP2.0 and JST1.1 new
features.
I am running with JBoss 3.2.5 + Tomcat 5.0.
Any special steps? Do I need to
2004 21:53:36 +0200, Erez Efrati [EMAIL PROTECTED]
wrote:
I am trying to set the default value of a checkbox to 'checked' by
putting:
html:checkbox property=schedule value=true/
but somehow it does not check it. The produced HTML gives me
input type=checkbox .. value=on
What am I
I am trying to set the default value of a checkbox to 'checked' by
putting:
html:checkbox property=schedule value=true/
but somehow it does not check it. The produced HTML gives me
input type=checkbox .. value=on
What am I missing here?
Thanks,
Erez
anyone
Who reads this don't get the idea that I am aiming at this way but still
it is sometime useful. Not always we have an init action which is
especially a pain with a form that belongs to some tile.
Erez
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Saturday
Hi,
This not a struts issue though my project is well attached down to the
bones to struts.
I am a bit rusty in HTML and I need your advice.
I have a login form with username and password fields. The button is
built with a table consisting of the graphical edges and the text
(retrieved from the
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 4:12 PM
To: 'Struts Users Mailing List'
Subject: [OT] form default submit button
Hi,
This not a struts issue though my project is well attached down to the
bones to struts.
I am a bit rusty in HTML
Where do I put this onsubmit();
--Erez
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 12:51 PM
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: RE: [OT] form default submit button
Thanks Shilpa,
I will try it.
Erez
Hi,
I am looking for a good place / group to place a small HTML question.
Can someone point me to such?
Thanks,
Erez
You might want to check www.myeclipseide.com
I use it and it's great!
--Erez
-Original Message-
From: char [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 5:18 PM
To: [EMAIL PROTECTED]
Subject: eclipse3.0 struts plugin
hi all.
May anybody tell me a struts plugin can use
Hi all,
I have a tile that contains a form.
Where is the best place to initialize it?
In simple struts the action is called and the form
Is created and the action can set the form values and forward to the
view page. It's true that a tile can have a controller but it does aware
of the form
form class
and save it on the request context - clean it's not :)
Any help would appreciated.
Thanks,
--Erez
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 7:44 PM
To: 'Struts Users Mailing List'
Subject: initialize a form in a tile
Hi
: initialize a form in a tile
From: Erez Efrati [EMAIL PROTECTED]
I have a tile that contains a form.
Where is the best place to initialize it?
In simple struts the action is called and the form
Is created and the action can set the form values and forward to the
view page.
It works exactly
.
Thanks again,
Erez
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 7:05 PM
To: Struts Users Mailing List
Subject: RE: initialize a form in a tile
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02
Wendy,
The beauty of tiles is that they can operate entirely as autonomous
components. The case you are talking about is the simplest, one
controller (=the Struts Action class) that forwards to a view which is
composed of several small tile views where each tile contains JSP and
has no action to
Jim,
I just hope TileAction really provides the form and mapping parameters
along with the Controller context.
--Erez
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 8:50 PM
To: Struts Users Mailing List
Subject: RE: initialize a form in a
Hi,
A simple question: after working with a FormFile, do I need to call the
destroy() method?
Thanks,
Erez
Try the following:
c:set var=thePath value=${pageContext.request.servletPath} /
Regards,
Erez
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 10:21 PM
To: Struts Users Mailing List
Subject: Tag question
How can I set a variable (I assume
that renders everything *after* the servlet path, oddly.
My controller is mapped to /services/*.
I need a var that is equal to /services.
The example below is printing out the end of the path --
/usecase/page.jsp
Erik
Erez Efrati wrote:
Try the following:
c:set var=thePath value
That's what this method is supposed to return it's not something you are
doing wrong.
Maybe that will help:
http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html?l=new
Erez
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 20, 2004 10:56 PM
To:
Hi Erik,
Not too long ago I struggled with this issue too and also played with
the
SecurityFilter (on sourceforge.net) but it didn't work with JBoss.
And so after digging and digging I came up with my own security filter
that
Does work with JBoss and in fact can be adapted to more Application
Denis,
Your code: (just as you typed it) seems fine except for the spaces in
'... items = ${...'.
c:forEach items = ${masterList} var=masterKey
c:out value=${firstMap[masterKey]} /
/c:forEach
I use JSTL code in my project that does exactly what you are trying to
do and it works fine. I
To make the following line work
c:out value=${Constants.HOME_DIR_KEY}/
You must store an instance of a class under the token name of
Constants in the session context and better yet in the servlet-context
so every page in your application would have access to it. Putting it in
the request or page
Hi James, could you please be more specific about this recursion bug? I
am using the 1.1 version so it would help..
Erez
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 7:50 PM
To: 'Struts Users Mailing List'
Subject: RE: BaseDispacthAction?
Could someone please explain to me what is the purpose of
MessageResource, what is the difference
(if there is one) between it and the ResourceBundle class? Is it
recommended over the ResourceBundle? Does it use caching for
performance?
Thanks,
Erez
In option 1:
Option 1, states that both editEntryAction and createEntryAction have
Different entries in the strutst-config.xml with their 'name' attribute
set
To their used form name.
What if you have a form that is similar both for create and update.
In the JSP, which action would you put in the
AM
To: Struts Users Mailing List
Subject: Re: Design Question
Erez Efrati wrote:
Hi,
I am developing an EJB/Struts J2EE application.
Up to now I have dealt with the design of the customer web application
side
and I came to the admin area - the back office web application part.
I should also
Hi all,
It is a bit off topic but still I thought maybe someone in the Struts
air space would
have a clue of something I don't :)
I am looking for a way or package to present poll results in my web
application.
Any ideas of such library / tag / javascript ?
Thanks in advance,
- Erez
Hi,
I am developing an EJB/Struts J2EE application.
Up to now I have dealt with the design of the customer web application
side
and I came to the admin area - the back office web application part.
I should also point out that I am using the securityFilter filter for
authentication.
My
(classes) and
presentation layer than you may want to consider having the admin
functions be in the same web app. I think using Struts modules can be
useful here. I would expand more but I am about to fall asleep.
Bill Siggelkow
Erez Efrati wrote:
Hi,
I am developing an EJB/Struts J2EE
Hi,
I am developing an EJB/Struts J2EE application.
Up to now I have dealt with the design of the customer web application
side
and I came to the admin area - the back office web application part.
I should also point out that I am using the securityFilter filter for
authentication.
My
34 matches
Mail list logo