user-unsubscribe@struts.apache.org

2004-12-05 Thread Erez Efrati

RE: help : submit with javascript problem

2004-10-09 Thread Erez Efrati
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=...

RE: unterminated.tag Exception

2004-10-05 Thread Erez Efrati
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

RE: using JSP2.0 / JSTL1.1 with Struts

2004-09-22 Thread Erez Efrati
] 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

using JSP2.0 / JSTL1.1 with Struts

2004-09-16 Thread Erez Efrati
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

RE: html:checkbox default value

2004-09-12 Thread Erez Efrati
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

html:checkbox default value

2004-09-11 Thread Erez Efrati
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

RE: html:checkbox default value

2004-09-11 Thread Erez Efrati
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

[OT] form default submit button

2004-08-13 Thread Erez Efrati
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

RE: [OT] form default submit button

2004-08-13 Thread Erez Efrati
-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

RE: [OT] form default submit button

2004-08-13 Thread Erez Efrati
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

HTML question

2004-08-12 Thread Erez Efrati
Hi, I am looking for a good place / group to place a small HTML question. Can someone point me to such? Thanks, Erez

RE: eclipse3.0 struts plugin

2004-08-03 Thread Erez Efrati
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

initialize a form in a tile

2004-08-02 Thread Erez Efrati
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

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
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

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
: 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

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
. 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

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
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

RE: initialize a form in a tile

2004-08-02 Thread Erez Efrati
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

File Upload

2004-07-20 Thread Erez Efrati
Hi, A simple question: after working with a FormFile, do I need to call the destroy() method? Thanks, Erez

RE: Tag question

2004-07-20 Thread Erez Efrati
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

RE: Tag question

2004-07-20 Thread Erez Efrati
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

RE: Tag question

2004-07-20 Thread Erez Efrati
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:

RE: [OT] JBoss, Jaas and Struts

2004-07-19 Thread Erez Efrati
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

RE: JSTL Map Accessors

2004-07-06 Thread Erez Efrati
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

RE: how to de-reference bean name using java method?

2004-07-05 Thread Erez Efrati
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

RE: BaseDispacthAction?

2004-05-09 Thread Erez Efrati
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?

MessageResource question

2004-04-24 Thread Erez Efrati
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

RE: Advantages/Disadvantages of One Action for each Use Case

2004-04-22 Thread Erez Efrati
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

RE: Design Question

2004-04-05 Thread Erez Efrati
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

[OT] poll results tag

2004-04-02 Thread Erez Efrati
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

Design Question

2004-04-02 Thread Erez Efrati
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

RE: Design Question

2004-04-02 Thread Erez Efrati
(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

Design Question

2004-04-01 Thread Erez Efrati
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