Upload using FormFile fails in Safari

2004-02-13 Thread John Greenhill
Hi, I have an app providing file upload capability using the FormFile. It works great in various browsers on PC and Mac, but it's been brought to my attention that it fails with Safari. I tried it out and found that while there are no errors recorded, it seems that the file data simply doesn't m

RE: Can I use tiles with JSF?

2003-10-23 Thread John Greenhill
These guys give the modifications required to get tiles to work with it, but I haven't tried it... http://www-106.ibm.com/developerworks/library/j-integrate/ -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 8:23 AM To: '[EMAIL PROTEC

RE: What is the default scope of an ActionForm.

2003-07-10 Thread John Greenhill
Oops, I meant to say it's SESSION scope in 1.1. -Original Message- From: Ravi Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:05 AM To: Struts Users Mailing List Subject: RE: What is the default scope of an ActionForm. I've tried this with my and used the same for at more

RE: What is the default scope of an ActionForm.

2003-07-10 Thread John Greenhill
I believe it used to be request, but at least with the final release of 1.1 it's scope. I don't know when it changed. -Original Message- From: Ravi Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:05 AM To: Struts Users Mailing List Subject: RE: What is the default scope of a

RE: what setters do i implementinan indexedtag--NewBiequestion

2003-06-13 Thread John Greenhill
Setting the hidden without scriptlets is simply You should get familiar with this page: http://jakarta.apache.org/struts/userGuide/struts-html.html which will show you all the struts tags to generate the html elements like inputs etc. I don't think this is the proplem regarding the mis

RE: what setters do i implementinan indexedtag--NewBiequestion

2003-06-12 Thread John Greenhill
Sashi, You may indeed be able to get it to work with what you are doing, but what I had in mind was WAY cleaner and more straight-forward. >From your code it appears you've got scriptlets and javascript all going on in there. What I was proposing kept all java code in the actions, used only tags

RE: what setters do i implementinan indexedtag--NewBiequestion

2003-06-12 Thread John Greenhill
Are you still sticking things in the request manually or did you switch to the form? Only info you post in the form submission will come back to you when validation returns. I don't know if your existing data is editable in text boxes (in which case it would post and come back) or if you are displ

RE: what setters do i implement inan indexedtag--NewBiequestion

2003-06-12 Thread John Greenhill
It's not the ArrayList that's the problem. The problem is getting blank PersonBeans into the ArrayList such that when the form is populated they are ready and waiting and you don't get the 'index out of bounds' bomb. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent

RE: what setters do i implement in anindexedtag--NewBiequestion

2003-06-12 Thread John Greenhill
rgot to mention, I believe for the case of indexing using logic:iterate your id must match your property. So in your example set id="personList" Now if you switch over to nested:iterate, the whole id thing goes away and the property and type attributes are sufficient. -john

RE: what setters do i implement in an indexed tag --NewBie question

2003-06-12 Thread John Greenhill
I believe indexed attributes were first, then Arron contributed nested and life got easier. Stick with it and don't go backwards. -john -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:52 PM To: Struts Users Mailing List Subject: Re: what set

RE: what setters do i implement in an indexedtag--NewBiequestion

2003-06-12 Thread John Greenhill
rate your id must match your property. So in your example set id="personList" Now if you switch over to nested:iterate, the whole id thing goes away and the property and type attributes are sufficient. -john -Original Message- From: John Greenhill [mailto:[EMAIL PROTECTED] Sen

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-11 Thread John Greenhill
--Original Message----- From: John Greenhill [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:37 PM To: Struts Users Mailing List Subject: RE: what setters do i implement in an indexed tag --NewBiequestion Assuming you're NOT using the lazy initialization, you could do it like thi

RE: what setters do i implement in an indexed tag --NewBiequestion

2003-06-11 Thread John Greenhill
Assuming you're NOT using the lazy initialization, you could do it like this... 1) your iterate will need to specify the type of the nested class: mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 1:19 PM To: [EMAIL PROTECTED] Subject: what setters do i implement in an indexed tag --NewBi

RE: and

2003-06-10 Thread John Greenhill
Hi, While normally the id can be anything you want, in the case of indexing you are correct that it must be the same as the property. The 'index out of bounds' is one of those classic problems with indexed properties since the list that holds the objects must be pre-initialized to hold them. If y