Re: troubles using java 5

2006-04-26 Thread mouna SAHIB
Thank you for your answers all! To answer most of your questions: - I use neither Eclipse/ RAD nor WSAD/Eclipse! As I said other persons developped the GUI module and it doesn't seem they have used these tools! -I think that I've included all required files inthe classpath unless there is some

InvalidCancelException in v1.2.9

2006-04-26 Thread Rivka Shisman
Hello friends, I moved from 1.2.4 to 1.2.9 and now when ever I press the html:cancel link I get the InvalidCancelException. What am I doing wrong? Thanks Rivka

Re: With resin, getting rid of /home.do at the root ( www.foo.org/home.do ).

2006-04-26 Thread Leon Rosenberg
does resin support url rewriting? btw, another, dirty solution, is to place an index.jsp with something like this: ... iframe width=100% height=100% src=home.do/ ... may not work on all browsers though... regards Leon On 4/26/06, Bryce Nesbitt [EMAIL PROTECTED] wrote: All; I've Goggled, and

RE: InvalidCancelException in v1.2.9 - please ignore this message

2006-04-26 Thread Rivka Shisman
I found the problem Please ignore this message Thanks Rivka -Original Message- From: Rivka Shisman [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 11:19 AM To: Struts Users Mailing List Subject: InvalidCancelException in v1.2.9 Hello friends, I moved from 1.2.4 to 1.2.9

RE: RV: Combo Selection Missed

2006-04-26 Thread Patel, Dharmesh S
Hi Folks, Let me provide perfect information about it. Say, your formBean contains ArrayList (int empno,String empname) (having getter/setter) with 5 objects 1001 - emp001 1002 - emp002 1O03 - emp003 1004 - emp004 1005 - emp005 So combo list contains collections=

validatewhen --- what's wrong?

2006-04-26 Thread Zheng Wen Zhe
Hey all, I wanna it say yes when a user type 'password' into this password field. But, it doesn't work that way. Validation always passes no matter what the user has given into the password field. Pls, someone tell what wrong with it!!! Validation.xml ?xml version=1.0

writing struts tags within other struts tags

2006-04-26 Thread Shoukat, Faisal
Hi, I am wanting to know how to include the bean:write tag within a html:text tag inside a javascript function For example: The following loads the JSP page: input type=text name=%=benefits[+index.intValue()+].value% value= size=20

Re: writing struts tags within other struts tags

2006-04-26 Thread MiSt
Shoukat, Faisal napisał(a): Hi, I am wanting to know how to include the bean:write tag within a html:text tag inside a javascript function For example: The following loads the JSP page: input type=text name=%=benefits[+index.intValue()+].value% value= size=20

Re: Struts Equiv to RoR's controller, action, id

2006-04-26 Thread Wendy Smoak
On 4/25/06, ben.christenson [EMAIL PROTECTED] wrote: First, you mention that the ability to use wildcards in a set-property element is new to Struts 1.3, however I can't find any information or source for that version (outside of the version notes on the main struts sight). Can you let me

Re: InvalidCancelException in v1.2.9

2006-04-26 Thread Niall Pemberton
You now (since Struts 1.2.9) need to configure the cancellable property in the struts-config.xml to use the html:cancel feature - more details on the upgrade notes page (see Bug 38374 - Validation always skipped with Globals.CANCEL_KEY): http://wiki.apache.org/struts/StrutsUpgradeNotes128to129

validator error for struts1.2.8

2006-04-26 Thread Raghuveer
I am getting below error when started implementing validaor framework Servlet error: Cannot load a validator resource from '/WEB-INF/validator-rules.xml I'm running Struts Version 1.2.8. I am using ValidatorForm public class CLoginVO extends ValidatorForm{ - ?xml version=1.0

email validation

2006-04-26 Thread Marisol Opreni
Hi! I'm using validating email address with the Struts Valdator Framework. An email can only have . , - , _ , @ characters. But an = character isn't validated. I'm saying. a [EMAIL PROTECTED] is VALID mail. How can I validate this??? THANKS! Marisol

RE: validator error for struts1.2.8

2006-04-26 Thread Chaudhary, Harsh
My 2 cents. Your struts-config for the validator and validation xml looks good. Maybe your validator-rules.xml file is corrupted or does not have all the validation rules definitions. You could try copying the validator-rules.xml file from the struts sample app and using that. Harsh.

RE: email validation

2006-04-26 Thread Chaudhary, Harsh
The simplest way could be to use a mask in addition to the email validation. Harsh. -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 10:13 AM To: 'Struts Users Mailing List' Subject: email validation Hi! I'm using validating email

Re: email validation

2006-04-26 Thread Bart Busschots
Hi, As far as I'm aware, according to the RFCs, '=' is not valid in email addresses. If you do want to allow these technically illegal characters into your email addresses then your best bet would be to use the mask validation and specify your own regular expression for what you consider to

RE: email validation

2006-04-26 Thread Marisol Opreni
I know that... maybe I wasn't clear enough... What I said was that... with Struts Validator Framework [EMAIL PROTECTED] is a valid email. I don't want that. THANKS! M. -Mensaje original- De: Bart Busschots [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 26 de Abril de 2006 12:19 p.m.

RE: validator error for struts1.2.8

2006-04-26 Thread Zheng Wen Zhe
I notice that you use CLoginVO for formbean name, and use cLoginForm in validation.xml Should we use the same name for these two fields!!?? Regards, Jason -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: 26 April 2006 16:11 To: user@struts.apache.org Subject:

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
I have copied it from struts-1.2.8-bin.zip struts-1.2.8-bin\struts-1.2.8-bin\webapps\WEB-INF Still the error continues -Original Message- From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 8:49 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE:

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
find complete stacktrace javax.servlet.UnavailableException: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml' at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:172) at

Re: email validation

2006-04-26 Thread Brett Connor
My reading of the RFC (a while ago, I can't quote) is that the local part of the name (the bit before the @) is not to be validated by intermediate hosts and can contain more or less anything, although whitespace is not recommended. An email can only have . , - , _ , @ characters. This is

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
It is working for validator_1_0.dtd !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN http://jakarta.apache.org/commons/dtds/validator_1_0.dtd; But struts-1.2.8-bin.zip suggests to use validator_1_1_3.dtd

Re: email validation

2006-04-26 Thread Bart Busschots
OK, in that case the same advice applies, use the mask validation either on it's own or in conjunction with the email validation. If you go the first route you'll have to write a regular expression for an entire email address, if you go the second routs you'll just need a mask for any amount

Is validwhen rule only apply to server side only???

2006-04-26 Thread Zheng Wen Zhe
Hey, I try to use validwhen rule on client side validation, but it never works. Finally, find the answer -- it doesn't apply to client side. Could some one confirm this? Refer to: http://www.junlu.com/msg/236451.html Cheers, Jason

Re: email validation

2006-04-26 Thread Dave Newton
Bart Busschots wrote: If you go the first route you'll have to write a regular expression for an entire email address *shudder* |^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$ |is sort of right, except I'd be nervous about the {2,4} for domains since there's stuff like

How use AND,OR in logic struts tag lib

2006-04-26 Thread Angel Navarro
Hi, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how put || or in logic:equal ?¿?¿?¿? Thanks

[shale] any public binary release available?

2006-04-26 Thread Ryan Wynn
Just wondering if there is anywhere I can get a binary release of shale. I looked at the release plans on the wiki for 1.0 and 1.0.1 and didn't see any checkmarks under GA. Thanks, Ryan

Re: How use AND,OR in logic struts tag lib

2006-04-26 Thread Rahul Akolkar
On 4/26/06, Angel Navarro [EMAIL PROTECTED] wrote: Hi, I need to translate: if ( a == 'option1' || a == 'option2' ) snip/ Use JSTL: c:if test=${a eq 'option1' or a eq 'option2'} ... /c:if and is also available in EL similarly. -Rahul to struts code I don't know how put || or

Problem with message and Expired session

2006-04-26 Thread Angel Navarro
Hi, I have an Struts application. When user logon, I set the locale's user and all is ok. But, the expired session, the page that say Would you like another logon. have not the correct language. Have anybody any solution? Thanks

Re: [shale] any public binary release available?

2006-04-26 Thread Craig McClanahan
On 4/26/06, Ryan Wynn [EMAIL PROTECTED] wrote: Just wondering if there is anywhere I can get a binary release of shale. I looked at the release plans on the wiki for 1.0 and 1.0.1 and didn't see any checkmarks under GA. The current release was graded alpha because of a dependence on an

[struts-faces] compatibility problem with sun jsf 1.1_01 and myfaces greater 1.0.9

2006-04-26 Thread EvilPfeiffers
Hello, i have compatibility problems with struts-faces and myfaces greater 1.0.9 / sun jsf 1.1_01. The Problem: when i submit a s:form to a struts-action then the action-form is not populated with the new values from the form. This problem is only when i use myfaces version greater then 1.0.9

RE: email validation

2006-04-26 Thread Marisol Opreni
This doesn't work... Any ideas? THANKS! field property=email depends=required,email,mask arg0 key=userRegistration.email / msg name=mask key=userRegistration.emailMask / var var-namemask/var-name var-value[EMAIL PROTECTED]/var-value /var

[OT] Re: email validation

2006-04-26 Thread Dave Newton
Marisol Opreni wrote: This doesn't work... Any ideas? THANKS! var-value[EMAIL PROTECTED]/var-value Have you googled for email regex or used regexes before? Here you've validating for a single character (and possibly incorrectly at that, but I don't really remember the ORO

Re: Problem with message and Expired session

2006-04-26 Thread Juergen Kopper
Hi, Angel Navarro schrieb: When user logon, I set the locale's user and all is ok. But, the expired session, the page that say If you use the invalidate() of the HttpSession, it will also remove the locale. But it's only an assumption, that this is your problem. Would you like another

Re: troubles using java 5

2006-04-26 Thread John B. Walker
Mouna, This seems like an ANT compile problem. If I were you, I would subscribe to and post this to the Apache ANT user list at ( http://ant.apache.org/mail.html) and include your ANT build script (usually build.xml), and let the friendly folks know which ANT target is giving you all that

Combo Selection

2006-04-26 Thread Marisol Opreni
I have a textbox (empty) and a dropdown list (countries from a database). The user completes the textbox and selects a country from the dropdown list. When he submits, I validate the textbox (validator framework). If there's an invalid input in the textbox, the drop down list doesn't show the

Re: Combo Selection

2006-04-26 Thread Michael Jouravlev
Do you store selected country? Struts does not do it for you. This link may help: http://wiki.apache.org/struts/StrutsWidgets Michael. On 4/26/06, Marisol Opreni [EMAIL PROTECTED] wrote: I have a textbox (empty) and a dropdown list (countries from a database). The user completes the textbox

Re: Combo Selection

2006-04-26 Thread Fabio Luiz
Does anybody have an idea of how to implement dynamic menu based in a DataBase. The user have his own menu according to the database data. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Combo Selection

2006-04-26 Thread Chaudhary, Harsh
This might help. The option for database driven menus is also present. http://struts-menu.sourceforge.net/index.html Harsh. -Original Message- From: Fabio Luiz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 3:24 PM To: Struts Users Mailing List Subject: Re: Combo Selection

Re: Combo Selection

2006-04-26 Thread Fabio Luiz
Thanks Harsh, but i can´t use struts menu. I must use tiles, using definitions - Original Message - From: Chaudhary, Harsh [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 26, 2006 5:26 PM Subject: RE: Combo Selection This might help. The