Can you please specify in more broad terms, what are you trying to do
(especially with the referrer code)? Are you trying to restrict user to access
pages only after login or something like that?
Thanks and Regards,
Thomas Joseph
Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin
Hi Niall,
Thank you for the suggestion and explanation.
It worked.
Thanks,
Niniva
Niall Pemberton <[EMAIL PROTECTED]> wrote:
The reason this is happening is because (normally) your ActionMessage
contains the key - and then the tag looks up the
actual message (i.e. "resolves the m
This comes up regularly on the list - if you feel like documenting the
steps on the wiki I'm sure it would be a great help to others :-)
http://wiki.apache.org/struts/StrutsDocComments
Niall
On 8/4/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Thank you,
I have found the solution, I created
The reason this is happening is because (normally) your ActionMessage
contains the key - and then the tag looks up the
actual message (i.e. "resolves the message") - but you're actually
resolving the message yourself in the Action.
Try just creating the ActionMessage with the key:
ActionMessage
Just curios - that's the only createStudentGroupForm instance in your
struts config?
Since DynaValidatorForm extends DynaActionForm it inherits' the
DynaActionForm toString - which always just starts off with
"DynaActionForm[..." - in the action, can you log the actual class
(form.getClass().getN
On 8/5/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
Hi Niall,
I don't seem to be able to get log output form the validator. Maybe I'm
doing something wrong?
This is my commons-logging.properties file:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
org.apache.commons.
Hi,
I am working on a web application where I am using struts 1.2.9.
The problem I am encountering is whenever I want to show any messages on the
browser, suppose if I want to show the message "Error saving configuration",
it is displaying ???en_US.Error saving configuration???
Hi Niall,
I don't seem to be able to get log output form the validator. Maybe I'm
doing something wrong?
This is my commons-logging.properties file:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
org.apache.commons.logging.simplelog.defaultlog=debug
org.apache.common
Try turning on logging in debug mode, should give you more info about
what its doing.
Niall
On 8/3/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
I'm either missing something stupid (which is always possible) or I've
managed to break the validator. I have an app that uses validator all
over the
Hi all,
I'm a struts user and wolud like to know if it's possible to integrate struts
with forrest (or at least with cocooon...)
Has anybody tried this work?
Thank you in advance for any reply and or suggestion.
-
To unsubscr
I had posted quite some posts and they did not go through so i am just
testing...
--
View this message in context:
http://www.nabble.com/testing-tf2051957.html#a5652963
Sent from the Struts - User forum at Nabble.com.
-
To uns
Sure you can, just follow Eric's example and subclass DynaValidatorForm.
Then change your form-bean declaration to
...
Adam
-Original Message-
From: Bart Busschots [mailto:[EMAIL PROTECTED]
Sent: Friday, August 04, 2006 10:41 AM
To: Struts Users Mailing List
Subject: Re: Valida
It *appears* you are redirecting the user in which case you are losing all
of the users session Data
You may want to define the ActionMapping to forward the request and ensure
redirect=false
Here is an explanation of the use of redirect vs forward
http://www.mail-archive.com/struts-user@jakarta
Hi Eric,
Thanks for the reply but I'm using a DynaValidatorForm so I don't have a
class to override things in. I would assume that DynaValidatorForm
validates correctly because I use it all over the place. It's just this
one action that's not validating and I just can't see what's different he
Hi,
I'am using validator to validate data on client side and server side.
It works fine, but when I validate on server side when there are errors
detected I go back to the html but without user data (the form is reseted).
Have you got any idea ?
Thanks in advance,
Jean-Marie.
-Message d'
Thank you,
I have found the solution, I created a custom database-backed ressource bundle
with cache and it works well.
Regards
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Laurie Harper
Envoyé : mercredi 2 août 2006 23:59
À : user@struts.apache.org
Objet : Re:
How about Adding nocache="true" to struts-config.xml file.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 03, 2006 8:16 PM
To: user@struts.apache.org; [EMAIL PROTECTED]
Subject: RE: Browser History by HTTP-REFERER
Do you realize that browse
I've updated the wiki.
Please review it as my english is so bad...
Wendy Smoak a écrit :
On 8/3/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Action java source as parameter.
Lot's of my
Thanks, Eric.
From: "Givler, Eric" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: RE: validate integer with a comma thousands seperator using
Validator
Date: Thu, 3 Aug 2006 11:45:28 -0400
You could create another validator, and inside th
Per Jørgen Walstrøm ha scritto:
Hello again,
Antonio's solution seemed to work fine to start with, but whenever my collection region1Papers contains more than one outageElement, it seems like only one of the outageElements is imported into nextPage.jsp.
Ok it seems like a bug, I someway exp
Can you override the validate() method inside your form and just call
super.validate(), then see what the error collection has?
At least then you know it was called, but may not have done what you thought it
should:
package view.struts.forms;
import javax.servlet.http.HttpServletRequest;
impor
Hello again,
Antonio's solution seemed to work fine to start with, but whenever my
collection region1Papers contains more than one outageElement, it seems like
only one of the outageElements is imported into nextPage.jsp.
The number of iterations are correct, but nextPage.jsp just keeps using th
chamal desilva ha scritto:
Now I need to copy properties from CustomerForm object
to Customer object.
My customers classes accounts vector contains Account
objects. CustomerForm classes accounts vector contains
AccountForms.
So when BeanUtils copy accounts vector from
CustomerForm to Customer c
23 matches
Mail list logo