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" Sent: Wednesday, April 26, 2006 5:26 PM Subject: RE: Combo Selection This might help. The option for databas

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
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 PRO

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

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 prev

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 trouble

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 logon..

[OT] Re: email validation

2006-04-26 Thread Dave Newton
Marisol Opreni wrote: > This doesn't work... Any ideas? THANKS! > [EMAIL PROTECTED] > 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 regexes; is . a sp

RE: email validation

2006-04-26 Thread Marisol Opreni
This doesn't work... Any ideas? THANKS! mask [EMAIL PROTECTED] -Mensaje original- De: Dave Newton [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 26 de Abril de 2006 01:38 p.m. Para: Struts Users Mailing List Asunto: Re:

[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

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

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: 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' ) > Use JSTL: ... "and" is also available in EL similarly. -Rahul > to struts code > I don't know how put || or && in > 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

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

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

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 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 o

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
It is working for validator_1_0.dtd 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 Experts please suggest to move further ! -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Wednesday, Apr

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.

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 org.apache.struts.action.ActionServlet.initModu

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 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: vali

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. P

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 b

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 addres

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. -Origina

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

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{ - http://jakarta.apache.or

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 feature - more details on the upgrade notes page (see Bug 38374 - Validation always skipped with Globals.CANCEL_KEY): http://wiki.apache.org/struts/StrutsUpgradeNotes128to129 Niall On 4

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

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 tag within a tag inside a javascript function For example: The following loads the JSP page: name="<%="benefits["+index.intValue()+"].value"%>" value="" size="20" onblur="javascript:calculate(<%=

writing struts tags within other struts tags

2006-04-26 Thread Shoukat, Faisal
Hi, I am wanting to know how to include the tag within a tag inside a javascript function For example: The following loads the JSP page: " value="" size="20" onblur="javascript:calculate(<%="benefits["+index.intValue()+"].value"%>, , , , )"/> However the following when

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 http://jakarta.apa

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= ArrayListN

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 an

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: ... ... may not work on all browsers though... regards Leon On 4/26/06, Bryce Nesbitt <[EMAIL PROTECTED]> wrote: > All; > > I've Goggled, and searched this list, but can't get a > w

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