Re: Jakarta Struts Book Review Project

2002-04-18 Thread Micael Padraig Og mac Grene
Many thanks. At 10:35 AM 4/19/02 +1000, you wrote: >** > >Note: This e-mail is subject to the disclaimer contained at the bottom >of this message. > >**

Re: Displaying ArrayList of ArrayLists using

2002-04-18 Thread Arron Bates
This is a user mailing list kind of issue, but anyways... What happens when you return the Object[] ("myArrayList.toArray()") instead of the ArrayList itself?... Because if you're using Struts 1.0/1.0.1 the ArrayList won't work, but the Object[] will. Struts 1.1 can run the ArrayList directly.

bug in ConfigRuleSet?

2002-04-18 Thread Colin Sharples
Hi, I've finally got round to testing 1.1b1 in WebSphere, and I'm having problems getting started. I've found a problem with ConfigRuleSet, but I'm not sure if it's a bug or if I've just got the wrong version of something. I've been updating all of my Jakarta stuff, and I've lost the plot a bit w

Displaying ArrayList of ArrayLists using

2002-04-18 Thread Srinivas Vemula
Hi, I would like to use tag to print out an ArrayList of ArrayLists, Each ArrayList is a ROW from a ResultSet. My code snippet looks something like this... * ) catalogInfo is a java.util.ArrayList which has java.util.ArrayList instances as elements

Jakarta Struts Book Review Project

2002-04-18 Thread Kelvin_Ho
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : Hi there, FYI. http://www.theserverside.com/resources

Re: multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread Adam P. Jenkins
Well, in your example scenario, you said that ActionOne first saves the multipart data to a file, and then forwards to ActionTwo, so there's no problem. When happens when a redirect forward is returned from an Action is as follows: - Struts sees that the redirect property of the ActionForward

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread Jing Zhou
- Original Message - From: "David Winterfeldt" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 3:33 PM Subject: Re: Struts Validator: The Role of Page No. > > --- Jing Zhou <[EMAIL PROTECTED]> wrote: > > I am trying to normalize hundre

DO NOT REPLY [Bug 8279] New: - Resource addition

2002-04-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread David Winterfeldt
The page attriubte for a field element is optional. David --- Jing Zhou <[EMAIL PROTECTED]> wrote: > When looking into the validator codes, the page no. > of a wizard > like application is needed for validator to work. It > looks to me > that the validator will validate the current page > plus a

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread David Winterfeldt
--- Jing Zhou <[EMAIL PROTECTED]> wrote: > I am trying to normalize hundreds of screen objects > in > a struts related tool, so when the validator page > number > came into the picture, I feel I am not fully > understand its > implications from the perspective of business > scenarios. > > Basi

Re: Struts Validator: The Role of Page No.

2002-04-18 Thread Jing Zhou
I am trying to normalize hundreds of screen objects in a struts related tool, so when the validator page number came into the picture, I feel I am not fully understand its implications from the perspective of business scenarios. Basically I think the validator just validate the current page is

ActionServlet re-populates form upon Actoin => Action call

2002-04-18 Thread Terrence Xavier
Dear Struts Developers, We have noticed some unexpected behavior with Struts. Basically, if the HTTPRequest specifies attributes to modify in a struts form, they get modified on EVERY call to the ActionServlet. An example of this is as follows. Say that we have a JSP that sets a form attr

DO NOT REPLY [Bug 8271] New: - multiple servlet-mappings to action servlet don't work as expected

2002-04-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread rob
Thats a pretty dirty workaround if your multipart request contained a 5MB file being uploaded. Or what occurs in that case (when the browser makes the new request)? Rob Adam P. Jenkins wrote: > I believe another workaround is to set the redirect attribute on the forward > to true. E.g. the ac

RE: File Upload button label

2002-04-18 Thread Matt Raible
Try searching the archives for the Users list in the future, but since it's easy: You might be thinking for the "Browse" label on the but that's not possible in the current HTML spec. > -Original Message- > From: Juan de Castro Paredes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, A

File Upload button label

2002-04-18 Thread Juan de Castro Paredes
Hi, Hi, does anybody know how to change the "Submit" label on the Submit button? I have tried with: but does not change the label at all... Thanx in advance, Juan -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread Adam P. Jenkins
I believe another workaround is to set the redirect attribute on the forward to true. E.g. the action config for ActionOne would have a local forward like this: Then in ActionOne, when you return mapping.findForward("nextaction"), this will cause the struts to send a redirect header to the

Re: TILES : Dealing with Channel and contentType

2002-04-18 Thread Cedric Dumoulin
Hello, Look like your contentType directive is not taken into account ! Playing a little bit with the directive, it appear that it is taken into account only if set in the first jsp page encountered. In your example, you have put it in the layout.jsp, which I suppose is inserted from anothe

TILES : Dealing with Channel and contentType

2002-04-18 Thread Manuel Vilar
Hello all of you ! I am new user with struts & tiles ! My question is quite basic : I want to use tiles channels mechanism to handle two clients medias. "html" and "vdxml" ( "vdxml" is a french specific media language, but in this example we could have spoke about "wml" instead ) My fisrt web

RE: Multi-Lingual support

2002-04-18 Thread Greg.Reddin
We did this a long time ago, so I don't remember exactly how it was done. But I think we had some code in the action class that would reset the session locale based on what the user selected. Greg > -Original Message- > From: Yibing Li [mailto:[EMAIL PROTECTED]] > Sent: Thur

RE: Multi-Lingual support

2002-04-18 Thread Yibing Li
Actually without solving this problem, I am thinking the next question: Usually in the first page, the application can provide a drop-down list for many different language selection, once it is selected, all the pages will be shown in that language. How will this feature be included using struts?

html:errors - behavior (the exceptions I forgot to attach) - gah

2002-04-18 Thread rob
Notice! The exceptions that are posted under the html:errors - behavior thread were meant to be posted under the multipart/form-data (bug?) or intended behavior thread? My apologies. Rob -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: html:errors - behavior (the exceptions I forgot to attach)

2002-04-18 Thread rob
rob wrote: > I've done some limited testing but haven't confirmed this entirely. I > also can't find any documentation that says this behavior is intended. > > If you save errors in one action, then forward to another action prior > to forwarding to a destination .jsp page the tag has > nothing

RE: multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread Matt Raible
Rob, this is how it works pre-1.1. 1.1b1 has a bug in it and is not even usable (for me). In < 1.1 you have to add redirect="true" to your action forward to forward to another action. This is only when using the multi-part request. Search the archives for more information. Matt > -Origin

Re: multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread Jens Viebig
I posted a Patch to this Mailing List a few days ago, but nobody seems to be interested in it. I got an Error in 1.1b even when i just forwarded a Multipart-Request to a JSP-Page.It's a bug in the RequestProcessor doForward() Method. There the MultipartRequestWrapper must be unwrapped to a normal

html:errors - behavior

2002-04-18 Thread rob
I've done some limited testing but haven't confirmed this entirely. I also can't find any documentation that says this behavior is intended. If you save errors in one action, then forward to another action prior to forwarding to a destination .jsp page the tag has nothing to display. The errors

multipart/form-data (bug?) or intended behavior?

2002-04-18 Thread rob
It's been this way since struts 1.0 (and likely prior to) but http requests carrying multipart/form-data posts result in an exception being thrown if forwarded through more than one action. (e.g request flow) 1 - submit multipart/form-data request (with at least one file input) request is

DO NOT REPLY [Bug 8240] New: - Data-Source configuration in examples is outdated

2002-04-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu