RE: Action Form: HashMap

2003-06-06 Thread Erez Efrati
Try looking at the source of the generate page. See that all looks correct. I am also not sure if leading spaces between the name of the property name 'stringMapped' and the () chars are legal... -- Erez -Original Message- From: Zhu He [mailto:[EMAIL PROTECTED] Sent: Friday, June 06,

RE: Action Form: HashMap

2003-06-06 Thread Erez Efrati
I mean the HTML view source after the page has been generated. I am working with the Mapped Properties methods and it works fine so hang on there, it will work at the end... :) -- Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 7:28 PM

How to refer to the name of the form within a html:form block?

2003-05-27 Thread Erez Efrati
Is there a way to refer or get the name of the form inside the html:form ? I am trying to do something like the following: html:form logic:iterate id=item name=??name-of-form?? Property=items ... /logic:iterate /html:form Thanks, Erez

RE: How to refer to the name of the form within a html:form blo ck?

2003-05-27 Thread Erez Efrati
: RE: How to refer to the name of the form within a html:form blo ck? you don't need to, leave the name attribute out, the iterate tag will automatically associate name with the name of the form that it is inside. Hope this helps -Original Message- From: Erez Efrati [mailto:[EMAIL

RE: How to refer to the name of the form within a html:form blo ck?

2003-05-27 Thread Erez Efrati
Ok it's working when I am using the nested:iterate tag. -- Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:38 AM To: 'Struts Users Mailing List' Subject: RE: How to refer to the name of the form within a html:form blo ck? Thanks

what is wrong here?

2003-05-27 Thread Erez Efrati
I keep getting errors on the following: (I am using 1.1 beta 3) bean:define id=col value='%= 6 / 4 + 1 %' / Can someone tell me what is wrong here? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Action Form: HashMap

2003-06-06 Thread Erez Efrati
so i can't look at the source. I took out the spaces, and I looked at the DEBUG Log and there is a line from BeanUtils setProperty ( Form, stringMapped(bbb), [xxx] ) And it worked! Thanks for your help Ray Madigan -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent

JAAS Struts JBoss + Tomcat

2003-07-04 Thread Erez Efrati
Hi, I am trying to integrate the JAAS into my Struts application running on JBoss 3.0.7 + Tomcat. I am a newbie here, and I would appreciate your help on several questions: 1. From what I read here, I saw that I should probably use the FORM auth method, and that this page should not use any of

RE: JAAS Struts JBoss + Tomcat

2003-07-05 Thread Erez Efrati
Thanks a lot Paul for the answers. -- Erez -Original Message- From: Paul Thomas [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2003 2:49 PM To: struts-user Subject: Re: JAAS Struts JBoss + Tomcat On 04/07/2003 16:16 Erez Efrati wrote: Hi, I am trying to integrate the JAAS

Login Form

2003-07-08 Thread Erez Efrati
Hi, My question is a bit off Struts but still since I am using Struts and it's too urgent for me I thought to try my luck here, maybe someone had stumbled on this issue too. I am running JBoss/Tomcat/Struts using the JAAS for handling the application security aspects. I have used the

RE: Login Form

2003-07-08 Thread Erez Efrati
for the login form(protected page) on the site home page. Something like: iframe name='logon_frame' id='logon_frame' style='width:100%; height:120;' SCROLLING='no' src='https://localhost:8443/logon_iframe.jsp'/iframe Hope this helps. -Original Message- From: Erez Efrati [mailto:[EMAIL

RE: Login Form

2003-07-08 Thread Erez Efrati
Subject: RE: Login Form Have a look at this (you may find what you want): http://sourceforge.net/projects/securityfilter/ Sean -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: July 8, 2003 10:11 AM To: 'Struts Users Mailing List' Subject: Login Form Hi, My

RE: Login Form

2003-07-09 Thread Erez Efrati
Radford [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 11:19 AM To: Struts Users Mailing List Subject: RE: Login Form On Tue, 2003-07-08 at 20:34, Erez Efrati wrote: Thanks Sean, I looked at it and it does avoid the BIG limitation posed by the standard spec in fact. Still I cannot use

RE: Login Form

2003-07-10 Thread Erez Efrati
. Sean Radford, MBBS, MSc [EMAIL PROTECTED] http://bladesys.demon.co.uk/ Blade Systems On Wed, 2003-07-09 at 15:33, Erez Efrati wrote: Sean, many thanks for keeping up with my questions - appreciate it. And yes you are correct. I am using JBoss 3.0.7 / Tomcat 4.1.24. By the way have you got any

RE: Login Form

2003-07-10 Thread Erez Efrati
=com.aegeus.securityfilter.JBossRealmAdapter/realm Hope that helps, Sean -- Dr. Sean Radford, MBBS, MSc [EMAIL PROTECTED] http://bladesys.demon.co.uk/ Blade Systems On Thu, 2003-07-10 at 12:01, Erez Efrati wrote: Sean, Thanks for the code. I have downloaded everything and I am about to start playing

RE: Login Form

2003-07-10 Thread Erez Efrati
for some background info: I am using JBuilder 8.0EE and I am using the JBoss 3.0.7 , Does that have anything to do with the compilation errors? Do I need a later version of JBoss? Thanks, Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:44 PM

RE: Login Form

2003-07-10 Thread Erez Efrati
-10 at 17:59, Erez Efrati wrote: Sean, I have tried out the SecurityFilter web examples and they are working just fine. I have started to integrate it into my project, but I am getting compilation errors on the JBossRealmAdapter.java. It can't seem to find AuthenticationManager, RealmManager

action forward to real jsps under Tiles

2003-07-12 Thread Erez Efrati
I am new to Tiles: 1) What are the downsides over writing your own? 2) While using the Tiles+Struts, is it possible to put forward an action to a real JSP file rather than a Tiles definition? Would it (Tiles request processor) know the difference? Thanks, Erez

RE: module / tiles problems

2003-07-13 Thread Erez Efrati
Just by looking and I am new to tiles... That the set-property property=moduleAware value=false / The VALUE should be set to TRUE not false. Hope it helps, Erez -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 2:12 PM To: struts-user

Tiles:getAsString tag

2003-07-13 Thread Erez Efrati
Is there a way to give tiles:getAsString a key instead of a literal string ? Just like bean:message key=welcome it will use the key to retrieve the string from the message resources. If not, how hard is it to make it work? Thanks, Erez

RE: Tiles:getAsString tag

2003-07-14 Thread Erez Efrati
name= sandeep --- Erez Efrati [EMAIL PROTECTED] wrote: Is there a way to give tiles:getAsString a key instead of a literal string ? Just like bean:message key=welcome it will use the key to retrieve the string from the message resources. If not, how hard is it to make it work? Thanks

Tiles and %@ taglib

2003-07-15 Thread Erez Efrati
In tiles, where should I be best putting the %@ taglib uri=required lib %? Each tile jsp with its own tags or put them all in the layout JSP I use? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Tiles and %@ taglib

2003-07-15 Thread Erez Efrati
an application server that supports both styles, however, it really becomes a matter of preference. -Tim -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 1:56 PM To: 'Struts Users Mailing List' Subject: Tiles and %@ taglib In tiles, where should I

html:html dir attribute

2003-07-16 Thread Erez Efrati
My project is based on struts, and I use the 'dir' attribute in the html dir=rtl tag. Why doesn't the struts html:html support the 'dir' attribute? And more important is how can I combine the html:html locale=true with the 'dir' attribute? Currently I had to use the non-struts html tag. Thanks,

actions best practice question

2003-07-18 Thread Erez Efrati
I have a login page with a link with forgot password? for users to retrieve the passwords to their email account in case they forgot it. It's pretty trivial but still using struts what is the best practice? Should the link inside the login page point to the ForgotPassword.jsp or to a

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Nico, I agree with that, and that is basically how I did. But I was wondering for the first time the action is called, basically just for displaying the page letting the user type in the fields values and click submit, what action do you use, if any? Cause, it's only the next time the action is

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Nico, thanks a lot for the prompt answers. Do you use for that the org.apache.struts.actions.ForwardAction ? Erez -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:48 PM To: Struts Users Mailing List Subject: Re: actions best practice

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Thanks again Nico. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 3:06 PM To: Struts Users Mailing List Subject: Re: actions best practice question I use a Forward action-mapping : action path=/newUser/init

action mapping 'input' question

2003-07-18 Thread Erez Efrati
I guess it's simple, but why can't I put an action /MyAction.do in the 'input' field in a action-mapping in the struts-config.xml? Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: action mapping 'input' question

2003-07-18 Thread Erez Efrati
I am using struts/tiles/validator in my application. Using the following configuration works fine, still I see that on the first invocation the form gets validated and I get validation errors. My ForgotPasswordAction action is used both for the INIT and the SUBMIT operations. The only solution I

RE: JBoss configuration problem with struts

2003-07-21 Thread Erez Efrati
If you just put more information and specify more about what and how did you do. Just for of it, I am working with JBoss and Struts and it all works just fine under the JBoss default. Erez -Original Message- From: Younis, Shahzaib [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003

RE: JBoss configuration problem with struts

2003-07-21 Thread Erez Efrati
is this: prompt.username = User Name Now the war file is working fine in all directory, but not in default directory, it seems like its not extracting prompts from properties file. -Original Message- From: Erez Efrati [SMTP:[EMAIL PROTECTED] Sent: Monday, July

Birthdate validation ?

2003-07-23 Thread Erez Efrati
I have a birth date field composed of three different fields of day month and a year. Now, what is the best way to receive those three and combine them into a java.sql.Date class and performing validation using the validator? Hope someone been there done that.. Thanks, Erez

RE: Birthdate validation ?

2003-07-23 Thread Erez Efrati
Levine [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 2:18 PM To: [EMAIL PROTECTED] Subject: Re: Birthdate validation ? Use Calendar, more than likely the concrete GregorianCalendar. Calendar.setField(field, field value); x3 Calendar.getTime() - Date From: Erez Efrati

RE: Birthdate validation ?

2003-07-23 Thread Erez Efrati
] Sent: Wednesday, July 23, 2003 8:30 PM To: 'Struts Users Mailing List' Subject: RE: Birthdate validation ? There is a date validator. I am not sure why a birthdate is any different? How do you present your field to the user is it a one input text? -Original Message- From: Erez Efrati

Simple Tiles question

2003-07-24 Thread Erez Efrati
A simple question I guess, Is it legal to have the tags like html /html and others in a tile. Meaning, when converting a page to a tile, do I have to remove those html:html header etc. tags? Erez - To unsubscribe, e-mail:

RE: Simple Tiles question

2003-07-24 Thread Erez Efrati
the tile is used. If the tile is a standalone page no, but if it's intended to be a fragment of a page, then you'd want to remove those to remove the possbility of having a malformed page. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 3:51 PM

RE: Simple Tiles question

2003-07-24 Thread Erez Efrati
self-contained rows but can be anything - providing the HTML page that is finally generated from all the tiles is valid. Hue. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 20:51 To: 'Struts Users Mailing List' Subject: Simple Tiles question

html:base/ in Tiles pages question

2003-07-25 Thread Erez Efrati
I am using Tiles, now, where am I supposed to put the html:base / tag. I would assume inside the mainLayout.jsp, but wouldn't it cause any problems in other tile pages located in different directories? Thanks, Erez - To

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
Peter, You should take a look at the example bundled with Struts - struts-validator it shows exactly how to validate by page basis. For example (taken from my configuration): !-- username -- field property=username)

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
Yes it's exactly how it is. -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 4:55 PM To: Struts Users Mailing List Subject: Re: Validation and Multi-Page Forms On Jul 25, 2003, Erez Efrati [EMAIL PROTECTED] wrote: |You should take

RE: Validation and Multi-Page Forms

2003-07-25 Thread Erez Efrati
: Validation and Multi-Page Forms Thanks, this helped. One more problem, the errors are being created but html:errors property=myfiled/ is not displaying them.. Any ideas? Peter -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 11:16 AM To: 'Struts

Working with Struts + Dreamweaver

2003-07-25 Thread Erez Efrati
I have a JBoss/Tomcat/Struts project in which till now I have written all the pages manually with a simple editor. I have recently downloaded Dreamweaver by Macromedia and started playing with it to see what it is capable of doing. Being far from expert in HTML page design my questions are: 1. Is

RE: Working with Struts + Dreamweaver

2003-07-25 Thread Erez Efrati
that. Although the tags of course are just one aspect of Struts, not even the most criticial in that you can use any tag library with Struts. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 3:13 PM To: 'Struts Users Mailing List' Subject: Working

RE: Working with Struts + Dreamweaver

2003-07-28 Thread Erez Efrati
Erez Efrati wrote: I have a JBoss/Tomcat/Struts project in which till now I have written all the pages manually with a simple editor. I have recently downloaded Dreamweaver by Macromedia and started playing with it to see what it is capable of doing. Being far from expert in HTML page design

RE: NewBie: Iterations for a constant no. of times

2003-08-03 Thread Erez Efrati
%@ taglib uri=http://java.sun.com/jstl/core; prefix=c % c:forEach begin=1 end=5 ... what ever you want here /c:forEach Hope this helps, Erez -Original Message- From: Jitesh Sinha [mailto:[EMAIL PROTECTED] Sent: Sunday, August 03, 2003 5:09 PM To: Struts Users Mailing List

RE: Sessions and ActionForm

2003-08-05 Thread Erez Efrati
Thanks a lot, Erez -Original Message- From: Jones, Marty B. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 3:03 PM To: Struts Users Mailing List Subject: RE: Sessions and ActionForm See answers below: -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent

RE: Using Struts Validator on Map-backed ActionForms

2003-08-06 Thread Erez Efrati
Hi Panchasheel, I am working with map backed action forms and the way to work with validation in this case is as follows (a piece of my validation.xml): (on my ActionForm there are getProperty and setProperty interfacing the actual map - as in your case I guess it is 'getVolume() and

validating a html:select box

2003-08-06 Thread Erez Efrati
I have a selection box with options where the first is valued 0 (=not selected) with some label saying: month. How can I use the Struts validator to validate the user has actually chosen a value other than 0? Do I have to write one of my own? I wish the validwhen was around... By the way the

RE: RE: validating a html:select box

2003-08-06 Thread Erez Efrati
as arg0 in your validations xml configuration file. Regards, David ---Original Message--- From: Erez Efrati [EMAIL PROTECTED] Sent: 08/06/03 03:06 PM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: validating a html:select box I guess I'd have to change the msg key

RE: current year in JSP

2003-08-07 Thread Erez Efrati
)% /bean:define This is untested code but it should work (or a variation). -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2:54 PM To: 'Struts Users Mailing List' Subject: current year in JSP I have a scriptlet in my JSP which I wish

RE: RE: validating a html:select box

2003-08-07 Thread Erez Efrati
box Pushing the limit, eh:). How hard is it to write your own two line JavaScript. Besides, since it's a select box(not a combo), all the options are assumed to be valid from the beginning, why there is an invalid option there:). -Original Message- From: Erez Efrati [mailto:[EMAIL

RE: RE: Actions Best Practice

2003-08-07 Thread Erez Efrati
Yes David, it would work but it was not what Struts had in mind. I regard your solution as trick, a way around but not something I want to follow as development guidelines. Erez -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 11:54

current year in JSP

2003-08-07 Thread Erez Efrati
I have a scriptlet in my JSP which I wish to rewrite using JSTL and tags and to get rid of the java code. How can I perform this? % for (int i = 30; i 90; i++) { % html:option

RE: simple JSTL question

2003-08-10 Thread Erez Efrati
Thanks Yan, Erez -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Yann Cbron Sent: Sunday, August 10, 2003 2:26 PM To: [EMAIL PROTECTED] Subject: Re: simple JSTL question 1) How do I subscribe to the JSTL mailing list? (I rather ask simple dumb questions than stay

RE: Actions Best Practice

2003-08-10 Thread Erez Efrati
parameter with parameter=init or parameter=send. Erez Efrati wrote: Taking your advice, it means that I would have two different action mappings, one for the init step and the second for the actual action (send). But then I will have to write something like html:link page

Validator real time expression vars

2003-08-10 Thread Erez Efrati
Is there a way to use vars in validation.xml field ... that are not constants in a way that the javascript will use these values? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Actions Best Practice

2003-08-10 Thread Erez Efrati
PROTECTED] Sent: Wednesday, August 06, 2003 3:00 PM To: Struts Users Mailing List Subject: Re: Actions Best Practice That's not necessary. In the action mapping, you can specify the action parameter with parameter=init or parameter=send. Erez Efrati wrote: Taking your advice, it means that I would have

Validator

2003-08-10 Thread Erez Efrati
I am trying to figure out the code in struts.validator.FieldsCheck.java in order to write one of my own. Can someone explain what the purpose of the following lines of code in all of the validateXXX() in Struts: validateIntRange (...) { if (isString(bean)) {

simple JSTL question

2003-08-11 Thread Erez Efrati
Some simple questions: 1) How do I subscribe to the JSTL mailing list? (I rather ask simple dumb questions than stay with dumb answers :) 2) What is the latest version of JSTL that I should use? Currently I am using the JSTL and Struts-el in combination. Thanks, Erez

Actions Best Practice

2003-08-11 Thread Erez Efrati
I am looking for the best practice for writing Actions in my application. For example: I have a forgot password action where the users are taken to a page where they can enter their username and click 'sumbit' and another page is shown saying that their password was sent to their registered

RE: Remove a key from collection.

2003-08-11 Thread Erez Efrati
I don't really have the entire picture here but I would suggest: In you PropertiesBean split between the known, and dynamic containers of properties and then in the page pull them using different property on the PropertiesBean. This way it would be much more clear which is expected and which is

RE: message localization

2003-08-12 Thread Erez Efrati
- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:07 AM To: Struts Users Mailing List Subject: Re: message localization On Mon, 11 Aug 2003, Erez Efrati wrote: Date: Mon, 11 Aug 2003 01:24:58 +0200 From: Erez Efrati [EMAIL PROTECTED] Reply-To: Struts Users

RE: Relay Actions

2003-08-14 Thread Erez Efrati
PM To: Struts Users Mailing List Subject: Re: Relay Actions I don't believe that's true. When a form is needed, a check is made to see if it already exists in the given scope and then the bean is reused. K.C. Erez Efrati wrote: Is this true that when you relay actions, meaning have one

Validator

2003-08-14 Thread Erez Efrati
I am trying to figure out the code in struts.validator.FieldsCheck.java in order to write one of my own. Can someone explain what the purpose of the following lines of code in all of the validateXXX() in Struts: validateIntRange (...) { if (isString(bean)) {

getting the current year

2003-08-14 Thread Erez Efrati
How can I get the current year in a JSP using JSTL or Struts, and no java code? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Validator Javascript

2003-08-14 Thread Erez Efrati
Working with the validator I found that the client-side javascript code automatically generated by the validator tag does not handle correctly or at all fields that are radio group , checkbox group or any other type of group that exist. I have posted few times on that but no response. After that I

RE: Actions Best Practice

2003-08-14 Thread Erez Efrati
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 3:32 PM To: Struts Users Mailing List Subject: Re: Actions Best Practice I thought that was exactly what you were doing! Erez Efrati wrote: The only thing you cannot do is having a mixture of this solution

RE: Actions Best Practice

2003-08-14 Thread Erez Efrati
Erez Efrati wrote: One of the problem I found with 'action=init' method, is that the validation is activated automatically for both cases (both init send), and fails of course on the 'init' cause no field is yet in the form. So I was forced to configure 'validate=false' and call it manually

RE: Custom Validator

2003-08-14 Thread Erez Efrati
Keith, I have done the same and to do that I would suggest taking as a starting point the code from the Struts source code. more specifically have a look at FieldChecks.java (Struts src code) under shared/.../struts/validator/FieldChecks.java. It will much clearer once you do that. It worked for

RE: Help please - indexed field in ActionForm

2003-08-14 Thread Erez Efrati
You could also try the following: logic:iterate id=text indexId=index name=myForm property=text label:html-el:text property=text[${indexId}] / /logic:iterate You could also make use of the nested:iterate and get rid of the name=myForm, but this a bit more advanced. Don't forget to put

RE: Using Struts Validator on Map-backed ActionForms

2003-08-14 Thread Erez Efrati
Just forgot to explain that I do the following: field property=property(user-username)... because user-username is the name of one of my properties (fields) on the form. In your case it would be something like: field property=volume(fieldname)... Erez -Original Message- From: Erez

RE: Validator

2003-08-14 Thread Erez Efrati
don't see it in my validation-rules.xml. Which version are you using? -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: August 6, 2003 3:33 PM To: 'Struts Users Mailing List' Subject: Validator I am trying to figure out the code in struts.validator.FieldsCheck.java

RE: message localization

2003-08-14 Thread Erez Efrati
, 11 Aug 2003, Erez Efrati wrote: Date: Mon, 11 Aug 2003 03:09:56 +0200 From: Erez Efrati [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: message localization In Struts bean:message key= the default

Signup Wizard and Edit mode

2003-08-14 Thread Erez Efrati
I have a user signup wizard running through several pages. After the signed up process is done I let the users update their registration information. I have an action named 'SignupAction'. Since I already wrote those pages I want to reuse them in the Edit actions. How can I do it? One way I

Sessions and ActionForm

2003-08-14 Thread Erez Efrati
I have a registration wizard where I have a RegForm bean on the session scope. Now if on the second page I decide to quite and I close the browser (MS IE), and I open a new IE browser, and I go to registration, the same form is there containing all the information that I entered in the previous

RE: Struts Problem

2003-08-14 Thread Erez Efrati
' javax.servlet.ServletException: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager at org.apache.jasper.runtime.PageContextImpl.handlePageException Thanks! Sridhar -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:26 PM To: 'Struts Users

Required vaidator javascript

2003-08-14 Thread Erez Efrati
I am sure that this is a simple question to you all HTML gurus... I Hope :) I am using the 'required' validator and I have fields of type 'select-one' and 'radio' for both of them the required doesn't bring up the pop. The required works very simply by looking if there is a value or not. But for

RE: validating a html:select box

2003-08-14 Thread Erez Efrati
/field ---Original Message--- From: Erez Efrati [EMAIL PROTECTED] Sent: 08/06/03 02:41 PM To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: validating a html:select box I have a selection box with options where the first is valued 0 (=not selected) with some label saying

Relay Actions

2003-08-14 Thread Erez Efrati
Is this true that when you relay actions, meaning have one action forward to another action, the form gets populated twice, and moreover needs to be specified in both action mappings, (both the RelayAction and the RealAction )? Erez

message localization

2003-08-14 Thread Erez Efrati
All this talking on JSP 2.0, JSTL and Struts-el brought me to ask if I should avoid using the following: bean-el:message key='${UserSexKey[select]}'/ Could someone tell me what is the equivalent in JSTL? Erez - To

Signup Wizard and Edit mode (repost)

2003-08-14 Thread Erez Efrati
I have a user signup wizard running through several pages. After the signed up process is done I let the users update their registration information. I have an action named 'SignupAction'. Since I already wrote those pages I want to reuse them in the Edit actions. How can I do it? One way I

One form multiple Action mapping

2003-08-14 Thread Erez Efrati
I have a registration form (RegForm) which based on the method/mode I want to direct it to a different action mapping in order to assign different roles or security restrictions. I have a single RegAction extending the DispatchAction class, with parameter 'method' as the dispatch parameter. I

Not getting javascript Popup on html:radio buttons

2003-08-14 Thread Erez Efrati
I have a field containing two a group of two html:radio items with the values 1 and 2. The page starts when none of them is selected. The property is depends on required but still I don't get the javascript popup, only the Action error coming from the server side. Any ideas why? Erez

RE: Struts Problem!!!!Urgent

2003-08-14 Thread Erez Efrati
The reason this is not working for you is that Element bean name is not around there when the request is populated back to your form. It is there only when the JSP is populated from the action inside the iteration. To do what you want to do: html-el:text property=ips(${Element.key}) /

RE: Struts with JBuilder

2003-08-14 Thread Erez Efrati
Hi Jack, I am too working with JB8 EE and all I did is put the resource property file in the my src/resources directory under the name 'application.properties'. And it took it. By the way, if you use other languages you need to run native2ascii on your own, JB8 will not do it. HTH, Erez

Registration and action mappings

2003-08-14 Thread Erez Efrati
I have a registration wizard. In each JSP member of this wizard I have a html:form action=/Signup.do. action name=signupForm type=web.SignupAction validate=false parameter=method scope=session path=/Signup forward name=page1 path=.page1 / forward name=page2 path=.page2 /

RE: forEach html-el:text - it's not working

2003-08-14 Thread Erez Efrati
In order to make it work you should try something like html:text property=items[${status.count}].qty / Hope this helps, Erez -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 11:03 PM To: Struts-Users Subject: c:forEach html-el:text - it's

RE: One form multiple Action mapping

2003-08-14 Thread Erez Efrati
-Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:04 AM To: 'Struts Users Mailing List' Subject: One form multiple Action mapping I have a registration form (RegForm) which based on the method/mode I want to direct it to a different action mapping

RE: forEach html-el:text - it's not working

2003-08-14 Thread Erez Efrati
David, As far as I can tell you, this cannot work. The population from the request to a new fresh form will fail due to the fact that the form doesn't have a setQty() setter method. Erez -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003

Signup Wizard and Edit mode

2003-08-14 Thread Erez Efrati
I have a user signup wizard running through several pages. After the signed up process is done I let the users update their registration information. I have an action named 'SignupAction'. Since I already wrote those pages I want to reuse them in the Edit actions. How can I do it? One way I

validator bCancel=false;

2003-08-14 Thread Erez Efrati
I saw that javascript generated contains a { var bCancel = false; ... } So does it mean that we are free of doing bCancel=false in html:submit onclick=bCancel=false; } ? Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Struts Validator Javascript

2003-08-14 Thread Erez Efrati
Didn't know about the bug list, but excuse me for not knowing that, can you drop me the link for the bug-list please. Just for those of you who don't have faith in it, it does work, but needs a little or more fixing and improvement. Overall, I'd say it's a good pretty good infrastructure still

c:choose and html:form

2003-08-14 Thread Erez Efrati
Is this legal? c:choose c:when test=${param.method == 'create'} html:form action=/signup/Signup onsubmit=return validateSignupForm(this); /c:when c:when test=${param.method == 'edit'} html:form action=/user/EditSignup onsubmit=return

RE: c:choose and html:form

2003-08-14 Thread Erez Efrati
I did that and it works, thanks, Erez -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 4:09 AM To: Struts Users Mailing List Subject: Re: c:choose and html:form Erez Efrati wrote: Is this legal? c:choose c:when test=${param.method

Action mapping 'inputForward'

2003-08-15 Thread Erez Efrati
Hi all, Is it recommended to use the 'inputForward'=true in the controller configuration? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: No getter method -- Please HELP!

2003-08-15 Thread Erez Efrati
Yep, it is case sensivite.. in your JSP it's orgid.. not orgId as should be. Erez -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 6:06 PM To: Struts Users Mailing List Subject: Re: No getter method -- Please HELP! You need to use the

How to work with DispatchAction ?

2003-08-15 Thread Erez Efrati
I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save. I use html:link page=/reg.do?method='edit' / to go into edit. My question is: 1) Should I

How to use DispatchAction ? (cont.)

2003-08-15 Thread Erez Efrati
To make it clearer, if I have the following methods: create - just displays the form with empty fields. edit - reads registration data from db and displays the form save - save registration data to/back to the db The RegAction (a DispatchAction) implements all three methods. In the JSP I

RE: How to work with DispatchAction ? (please help)

2003-08-16 Thread Erez Efrati
To: Struts Users Mailing List Subject: Re: How to work with DispatchAction ? Erez Efrati wrote: I am trying to work with the DispatchAction that everybody is saying is such a good type of action. Say I have a 'RegAction' sub-classing DispatchAction with the following methods: edit, create, and save

  1   2   >