Re: What's an ActionForm? - best practice?

2003-09-22 Thread John C Cartwright
Hello All, I just want to confirm what seems to be alluded to in some of the documentation regarding ActionForms. Is it appropriate or recommended to have properties in an ActionForm that are not to be taken from the request? For instance, I'm using my ActionForm to carry data from the Action

Accessing the dynaform bean with RT expression

2003-03-03 Thread John C Cartwright
Hello All, I have a DynaActionForm bean defined and I'm trying unsuccessfully to access the properties using a RT Expression such as: %= mapserviceDetailForm.siteName % Here's the fragment from the struts-config: form-bean name=mapserviceSummaryForm dynamic=true

html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Hello All, I'm having some trouble getting the html:select tag to recognize the value attribute in order to set the appropriate enclosed option to selected. It works fine with a simple string, but doesn't seem to recognize a RT expression. Here's the code sample: html:select

Re: html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Thanks for the prompt reply, David. I didn't realize that there was a Struts-EL library, where would I find such a beast? I don't see mention of it in the 1.1b3 distribution nor in the on-line docs. Thanks again! -- john David M. Karr wrote: John == John C Cartwright John writes

Re: html:select tag and the value attribute

2003-02-17 Thread John C Cartwright
Very cool! -- thanks very much for your help and for contributing Struts-EL! -- john David M. Karr wrote: John == John C Cartwright John writes: John Thanks for the prompt reply, David. I didn't realize that there was a John Struts-EL library, where would I find

JSTL and DynaActionForm

2003-02-13 Thread John C Cartwright
Hello All, I'm trying to understand why I cannot access the properties in a DynaActionForm bean via JSTL (e.g. c:out). For example, given a DynaForm configured thusly: form-bean name=mapserviceSummaryForm dynamic=true

DynaActionForm and from-property

2003-02-10 Thread John C Cartwright
Hello All, I'm working through Chuck Cavaness' Programming Jakarta Struts book (and enjoying it, by the way!). I ran across the statement in reference to form-properties and DynaActionForms ...you should try to use only String properties, even with a DynaActionForm. The examples in the book

Re: DynaActionForm and from-property

2003-02-10 Thread John C Cartwright
? or is it limited to properties corresponding to the HTML form elements? -- john Robert S. Sfeir wrote: On Monday, Feb 10, 2003, at 13:15 US/Eastern, John C Cartwright wrote: Hello All, I'm working through Chuck Cavaness' Programming Jakarta Struts book (and enjoying it, by the way!). I ran across