I can't imagine why you would need to use validation when there's no user
input involved, but...
- you can put all the values of your bean in html:hidden so they get
resubmitted
or
- you can put the bean in the session
daniel
- Original Message -
From: Darius Ghanipour [EMAIL
I don't believe you can... What I end up doing is make the form submit to a
common dispatch action that then forwards to either action1 or action2...
daniel
- Original Message -
From: Mick Knutson [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 7:22 PM
I don't believe you can.
html:errors or html:messages can only accept a single message bundle.
daniel
manglu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thomas,
You didn't get the question.
I understand that multiple bundles can be used in bean:write or other
tags that
Looks like you printed something to the response before you try to do the
redirect()
daniel
- Original Message -
From: Adam Fisk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 9:02 PM
Subject: getting redirect to work -- easy one?
Hopefully this is an easy
They are the same tablib, i.e. html:errors or html:messages and you can
only specify one optional bundle with each of these tags.
If you really want to implement this, you can subclass or modify
ActionMessage to allow you to specify a message bundle, and subclass
ErrorsTag to use the specified
You could be running out of file descriptors? run ulimit before you start
resin.
- Original Message -
From: Casey Forbes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:21 AM
Subject: [OT] OutOfMemoryError when I have plenty of heap
Hi everyone,
There
fmt:setBundle fmt:bundle
- Original Message -
From: Carlos Sánchez [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 6:53 AM
Subject: RE: How to pull messages from multiple Bundles?
Another question which I've already asked but
use href as opposed to page
i.e. html:link href=Show.do
- Original Message -
From: Anders [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 7:07 AM
Subject: Reuse of JSP's and relative links
Hi,
How can i get html:link to use relative links?
I'm trying
?
Thanks,
Anders,
On Wed, 17 Sep 2003, Daniel Wang wrote:
use href as opposed to page
i.e. html:link href=Show.do
- Original Message -
From: Anders [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 7:07 AM
Subject: Reuse of JSP's and relative
Mailing List
Subject: RE: Reuse of JSP's and relative links
You might be able to do this with an onsubmit handler
ie.. html:form onsubmit=this.location.href='/Show.do'
-Original Message-
From: Daniel Wang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 10:29 AM
You can probably write an aspect (using AspectJ) to do this fairly
automatically -- i.e. create a pointcut for all *Form.set* methods, and then
do your comparisons there.
i.e.
public aspect DiffAspect {
pointcut setter() : call(public void *Form.set*(..));
before() : setter() {
//...
I don't know how to solve your problem -- but does your cluster support
failover during file uploads? If so, can you describe how it is configured?
we are trying to provide this functionality...
thanks,
daniel
- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: [EMAIL
A *lot* of javascript.
You can basically iterate through the entire table, i.e. with something like
document.getElementsByTag(TR); use RegEx to find the data you want; and
then hide the other rows by turning CSS style display to 'none'
Imho, the client is not the right place to do this...
Err... you don't work for free... why should they? btw, M7 is on the
board of eclipse.
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 12:42 PM
Subject: RE: [OT] M7 Development tool
ouch!
I don't believe html:link is adding the whitespace (or at least, it's not
doing it for me) but it will write out whatever you put in between it.
i.e. html:linkfoo/html:link should print to afoo/a (no whitespace)
but if you do
html:link
foo
/html:link it'll add the whitespaces in between.
daniel
should be obvious continues to elude me =).
-adam
On Wed, 17 Sep 2003 02:21:53 -0700, Daniel Wang [EMAIL PROTECTED]
said:
Looks like you printed something to the response before you try to do
the
redirect()
daniel
- Original Message -
From: Adam Fisk
I have a dumb question re: struts validator:
How do I show the value of the offending field in the error message as
opposed to the field name?
i.e. if the field I want to validate is email, and the user types in foo,
how do I show
'foo' is not a valid email address
as opposed to the more
and concatenate
the error message defined in applicationresources.properties file
errors.email={0} is not a valid email address.
-Original Message-
From: Daniel Wang [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 3:13 PM
To: Struts Users Mailing List
Subject: newbie validator
I asked this earlier and did not receive any response, so i'll post it one
more time with more supporting info...
In validation.xml, how do I show the value of the offending field in the
error message as
opposed to the field name?
i.e. if the field I want to validate is email, and the user types
I asked this earlier and did not receive any response, so i'll post it one
more time with more supporting info...
In validation.xml, how do I show the value of the offending field in the
error message as
opposed to the field name?
i.e. if the field I want to validate is email, and the user types
If you simply do a
return mapping.findForward( new ActionForward(foo.do) );
your request will be forwarded to the new action with the existing
ServletRequest object in tact. i.e. everything will just work.
daniel
- Original Message -
From: Morten Andersen [EMAIL PROTECTED]
To: [EMAIL
21 matches
Mail list logo