RE: using image as a submit button!

2002-03-14 Thread Ian Beaumont
Submit buttons as images has come up before on the list. Search through the list - I can't find the reference. I think someone was adding it in to the struts framework to better support it. Another solution was to use JavaScript. -Original Message- From: keithBacon [mailto:[EMAIL

Read-only form fields.

2002-02-28 Thread Ian Beaumont
I have a read-only field on a form - is it right that the value on my form bean for this field will not be be populated when the form is submitted? Anyway round this?

RE: Read-only form fields.

2002-02-28 Thread Ian Beaumont
To answer my own question - My field was disabled not readonly - which meant the value isn't posted back. Changing it to readonly fixed the problem. -Original Message- From: Ian Beaumont [mailto:[EMAIL PROTECTED]] Sent: 28 February 2002 10:00 To: Struts Users Mailing List Subject: Read

Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
in:/middle.jsp] Error - Tag Insert : No value found for attribute 'anotherBody'.' Thanks Ian Beaumont

RE: Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
? Remember that a definition name is a logical name. It can not be used as an url. You can use it in insert name=defName /, or as the path of a Struts forward. Ian Beaumont wrote: I have a page, which uses tiles:insert to insert another page that also has a tiles:insert. Is this possible? I just

RE: Nesting Tiles within each other problem

2002-02-22 Thread Ian Beaumont
is not defined for the page. You should either do : * Pass the attribute value when you insert the page * Insert a definition using the page as layout, and declaring the attribute Cedric Ian Beaumont wrote: I access it by going to /myPage.do. Here is an extract from the struts

RE: ActionForm and default values

2002-02-21 Thread Ian Beaumont
: ActionForm and default values Ian Beaumont [EMAIL PROTECTED] writes: This means that in the action for the select item I need to get hold of the form bean for the next page I'm going to so I can populate it. You'll need to pass the ID of the selected item to the action. So your selection view

RE: Development Environment

2002-02-21 Thread Ian Beaumont
Windows - Netbeans -Original Message- From: Dave Wellman [mailto:[EMAIL PROTECTED]] Sent: 21 February 2002 17:41 To: [EMAIL PROTECTED] Subject: Development Environment Hello, Quick question, what is the preferred development environment that you are all using, Linux - Emacs, VIM,

RE: How do I init a Form bean via business logic?

2002-02-20 Thread Ian Beaumont
I've been trying to get an answer to how to initialise a form bean from this list, but with no success. See Re: Can this be done at all using Form objects within struts fram ework The reason why I don't think you can pre-populate a form from the beam (other than possibly breaking MVC) is that if

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
This question seems to be going around and around this mailing list and no one has produced an answer. -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 15:46 To: 'Struts Users Mailing List' Cc: '[EMAIL PROTECTED]' Subject: RE: ActionForm and default

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
the value object (ReportData). 3) The action returns the appropriate ActionForm to render the view. 4) The view (ReportData.jsp) need look no more complicated than this: html:form action=/reportAction html:text property=reportName/ /html:form -- Jim Ian Beaumont [EMAIL PROTECTED] writes

RE: ActionForm and default values

2002-02-20 Thread Ian Beaumont
fields before the page was displayed. -Original Message- From: Jim Crossley [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 16:38 To: Struts Users Mailing List Subject: Re: ActionForm and default values Ian Beaumont [EMAIL PROTECTED] writes: Ok - I want to select an item on one page

RE: Can this be done at all using Form objects within struts framework

2002-02-19 Thread Ian Beaumont
Development with Struts. -- Tel +1 585 737-3463. -- Web http://www.husted.com/struts/ Ian Beaumont wrote: I still don't get it. I have been initialising my form bean values in the reset method - clearly not the way intended. A Simple example: I have a page that lists stock items. On selecting

RE: Taglib 'struts'

2002-02-15 Thread Ian Beaumont
I don't think 'struts.tld' exists anymore. -Original Message- From: Rubens Gama [mailto:[EMAIL PROTECTED]] Sent: 15 February 2002 12:23 To: Struts Users Mailing List Subject: RES: Taglib 'struts' OK, it's truth. Look: In struts.tld exists tags defined like this: tag namebutton/name

RE: Can this be done at all using Form objects within struts framework

2002-02-15 Thread Ian Beaumont
I still don't get it. I have been initialising my form bean values in the reset method - clearly not the way intended. A Simple example: I have a page that lists stock items. On selecting an item the user is taken to a different screen where they can edit the details for the selected stock

Confused over check boxes

2002-02-13 Thread Ian Beaumont
to correctly recognize unchecked checkboxes, the ActionForm bean associated with this form must include a statement setting the corresponding boolean property to false in the reset() method. How am I supposed to deal with this situation? Thanks Ian Beaumont