Andrey Rogov wrote:
there is another way to work with parameter form:action. If you use
Tiles in your applications create one reusable tiles lay with elements of
design, control buttons and page control. In this case you can use the page
with many forms. Then solution
can be replaced with .
Wh
Hi Rick,
there is another way to work with parameter form:action. If you use
Tiles in your applications create one reusable tiles lay with elements of
design, control buttons and page control. In this case you can use the page
with many forms. Then solution
can be replaced with .
What do you
Erik Weber wrote:
if you have a single JSP
that houses a form that is used for different commands (add, update),
you are still going to need two separate form elements in
validation.xml, causing redundancy (until "field inheritance" is
implemented at least), correct?
That is correct, although i
Rick, thank you for your thoughtfulness and generosity.
You made me realize that I can set the form action URI as a form bean
attribute in my setup Action class, and then, instead of implementing a
c:choose switch on a "command" request attribute in my JSP to set the
form action URI, I can just
Erik Weber wrote:
I found the answer. It is to use the struts-el html tag library instead
of the standard html tag library, and then to refer to the variable
using the expression language syntx:
. . .
Erik are you uisng one of the DispatchActions (regular DispatchAction,
LookUpDipsatcchAction
I found the answer. It is to use the struts-el html tag library instead
of the standard html tag library, and then to refer to the variable
using the expression language syntx:
. . .
Erik Weber wrote:
I want to use c:choose to decide how to set the value of the action
parameter in an html:for
I want to use c:choose to decide how to set the value of the action
parameter in an html:form tag (add or update).
How exactly do I refer to the variable that is set in the c:when and
c:otherwise conditionals from within my html:action tag?
The only thing I can think of that works is something
7 matches
Mail list logo