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