When you create a MessageResources object is it getting the resources
from what was stored in memory on startup or directly from the file?
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email and any attachments are confidential to the intended
recipient. They may n
Go to this address and download the sample application code.
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764544373,descCd-download_code.html
In the chapter 12 directory is a lot of examples of how to use the struts
validator correctly.
Regards
Dave.
-Original Message-
From: Fra
Subject: RE: tag
I did that, created ArrayList containing LabelValueBean
and this ArrayList is still in a bean as a request attribute.
now what to do with ?
--RahulJoshi
> -Original Message-
> From: Harland, David [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 20, 200
EMAIL PROTECTED]
> Sent: Monday, September 19, 2005 8:43 PM
> To: Struts Users Mailing List
> Subject: RE: Radio Button in ActionForm
>
>
> thank you very much
> It worked!
>
> > -Original Message-
> > From: Harland, David [mailto:[EMAIL PROTECTED]
> > S
Initialise your Action Form set sec equal to 'M' or 'F'.
Add the following to your jsp
-Original Message-
From: rahul [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 13:34
To: Struts Users Mailing List
Subject: Radio Button in ActionForm
hi all,
I am looking at some simplified
;charset=UTF-8").
This seems to work. My browsers (Firefox and IE6) decode the pages as UTF-8.
BUT: when I enter text using a form (this is configured using the
charSet-attribute to html:form to accept
ISO-8859-1) IE6 garbles it while Firefox seems to work OK.
Any hints?
Martin
> -U
Change you encoding to UTF-8.
What database are you using?
Dave.
-Original Message-
From: lk [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 09:23
To: user@struts.apache.org
Subject: Problem with characters
Hi,
I have a problem with some characters.
My application reads some forms
Hi,
Try the following:
Use saveMessages(request, messages) instead of saveErrors(request,
errors)
And use something like
In your web page.
Regards
David.
-Original Message-
From: [EMAIL PROTECTED]
[
I have three checkboxes that can all either be unchecked or only one can
be checked.
How do I create a Validator rule for this. I don't think it is possible
to do this neatly as I think you will always get more than one of the
same error message. Can someone please tell me if I am right.
Thanks
Many thanks..
-Original Message-
From: Thai Dang Vu [mailto:[EMAIL PROTECTED]
Sent: 12 July 2005 17:17
To: user@struts.apache.org
Subject: Re: How do you iterate within an iterate
I think it can be
>>> [EMAIL PROTECTED] 7/12/2005 11:49:13 AM >>>
How would I repl
How would I replace the following with the iterate tag
<%
ArrayList bookings =
(ArrayList)request.getAttribute(BOOKINGS);
Iterator bookingsiterator = bookings.iterator();
while(bookingsiterator.hasNext()) {
Bookings bo
How do you have two images that submit a form but they do two different
operations.
Thanks
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email and any attachments are confidential to the intended
recipient. They may not be disclosed to or used by or copied
Hi,
I have written an ExceptionHandler below and error.jsp page below but
the error page is not displaying the error. Can anyone see why please?
Thanks
Dave.
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo
Hi,
How do you make the form remember the form values even if it fails the
validation. At the moment I am having to store them in a request
attribute before calling validate. Is there an easier way.
Thanks
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email
I am using the following code in an Action
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE,new
ActionMessage("errors.maxbookingsreached"));
saveMessages(request,messages);
And the following in the page this is forwarding to, but t
This is all you need
You can store your Collections in either the application/session/request/page
scope. Be careful which one you store it in and what names you use as the key
as the bean will check them all!!
property is the name you give to the select.
collection is any type
Sorry I deleted replies by accident
I have created an array several namevalue objects and put them in the
request object for the html:options to use.
How do I flag one of those options to be selected.
Many thanks
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents o
I have created an array several namevalue objects and put them in the
request object for the html:options to use.
How do I flag one of those options to be selected.
Many thanks
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email and any attachments are conf
How do you write a regular expression for allowing single quotes in a
word eg.
O'reilly
Many thanks
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email and any attachments are confidential to the intended
recipient. They may not be disclosed to or used by
How do you dynamically create a select with options for example from a
DB and flag one of the options to be selected.
The only way I can think of is to write my own tag.
Regards
Dave.
This e mail is from DLA Piper Rudnick Gray Cary UK LLP.
The contents of this email and any attachments are con
20 matches
Mail list logo