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
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
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
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
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=
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
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
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
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
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
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
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
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.
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
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
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.
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:
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:
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
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
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
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
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
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
Hi,
I need to translate:
if ( a == 'option1' || a == 'option2' )
to struts code
I don't know how put || or in logic:equal ?¿?¿?¿?
Thanks
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
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
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
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
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
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
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
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
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
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
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
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
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
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
39 matches
Mail list logo