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
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
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
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
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
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
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
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:
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:
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
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
11 matches
Mail list logo