Formatted output within a nested iterate loop

2003-01-12 Thread Norman Klein
I currently have a nested iterate loop which looks like the following: nested:iterate id=liabilities name=OverviewForm indexId=liabilityIndex property=liabilities tr id=lib_%=liabilityIndex%_Header class=appSubHeader td valign=MIDDLE nested:text

How is property field used in errors.add

2002-12-06 Thread Norman Klein
We are using just standard validation using a validate method within the ActionForm There are a series of validations, which look like the following: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new

Can format strings be used with html:text input fields

2002-10-29 Thread Norman Klein
Currently we use format strings to control the display output of our financial fields for bean:write output statements. bean:write name=overviewForm property=LHO_AppraisedPrice format=$###,###,###.00 / This format string ensures that thousands and hundred thousands values automatically

What is Struts form field naming constraints

2002-10-18 Thread Norman Klein
Struts appears to have some pretty rigid naming constraints concerning for its form field names. We are building a large form with hundreds of form variables (textboxes, selects , checkboxes). Many of these sections repeat so it is convenient to have a numeric suffix based on the index (ie

How to use jsp:include with Struts??

2002-10-16 Thread Norman Klein
I have a large webpage (~150 KBytes) which needs to be broken up so that it doesn't exceed Java's 64 KByte limit per method. So the main.jsp looks like the following: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % !DOCTYPE HTML PUBLIC

Using a default entry with LookupDispatchAction ???

2002-10-03 Thread Norman Klein
I am currently using LookupDispatchAction to handle all of the various submit buttons on my form. But when this particular webpage is first invoked, I would like to first pre-populate it with values. So I want to use the same Action (Form bean) to handle pre-populating the webpage and then

Using a default action with LookupDispatchAcdtion???

2002-10-02 Thread Norman Klein
I am currently using LookupDispatchAction to handle all of the various submit buttons on my form. But when this particular webpage is first invoked, I would like to first pre-populate it with values. So how do I set up an HTML link to invoke it without having to create a new separate Action and

Inserting a default date in a text field

2002-09-19 Thread Norman Klein
Is there a way using standard Struts 1.1 to have the current date be set in a text field. I know how to do this with a scriptlet but I am trying to stay completely away from scriptlets. html:text name=summaryForm property=dateFrom size=10 format=?? / -- To unsubscribe, e-mail:

Integrating Jakarta Taglibs with Struts

2002-09-18 Thread Norman Klein
I am still a relative new Struts user, so please excuse any obvious misconceptions on my part. I need to display dollar figures like such: ex. $9,456.45 It seems to me that I want to store everything in my form beans as a String, so within my action I make the following SQL call:

Formatting output with Struts 1.02

2002-09-18 Thread Norman Klein
How do you control the formatting of output in Struts 1.02 (going to Struts 1.1 isn't an option here). We want to carry data around in our form beans and leave all of the formatting issues to the JSP file. Suppose our form bean contains the value 12345.67788, we want this to be displayed as

How to break up a Page (64K problem)

2002-08-16 Thread Norman Klein
It is my understanding that Java still has a limit of only 64K for each method. This doesn't allow some of our JSP files to be compiled into servlets, because the service method would go over the limit. Our JSP pages are large government forms, which typically scroll through several