-bean
in struts-config.xml. I am using DynaValidatorForm
but will actually be doing validation for this group
of checkboxes in the Action.
Any ideas?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
I am using DynaValidatorAction and
it works just fine, when starting clean.
However, when I attempt to pre-populate
the object, the data never makes it to the
form. Anyone know why? What follows
is some snippets of files that should show
what I am doing.
=== struts-config.xml
?xml version=1.0
I am using struts 1.1, and I am directly instantiating a
DynaValidatorForm in
my Action class. I am hesitant to embrace struts 1.2 at this time,
especially if
the difference between 1.1 and 1.2 is as large as betwee 1.0 and 1.1. Is
there
some other way to accomplish it?
Dean Hoover
Hubert
How can I get the base URL of
the request (http://domainname)
inside my Action class???
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for logger
(org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
Is there a simple but *complete* example of using logging
in struts in a situation like this somewhere?
Thanks.
Dean Hoover
I am using:
td align=left
html:select property=contactInfoWidgetsSubFormCountryCode
html:options collection=countries
property=value labelProperty=label/
/html:select
Thanks in advance for help.
Dean Hoover
=creditCardExpirationYearOptions
property=value labelProperty=label/
/html:select
/td
/tr
Hope this helps. I know how frustrating this stuff can be...
Dean Hoover
ddd ddd wrote:
Hi Timo
I am new bie and learning to populate the drop box by all different ways . no body has replied for alomst a 4-5 days pl. help me
javascript validation.
The cancel button should look like this:
input type=submit name=org.apache.struts.taglib.html.CANCEL
value=Cancel onclick=bCancel=true; /
The JSP should look like this:
html:cancelCancel or whatever/html:cancel
Adam
On 03/14/2004 12:56 AM Dean A. Hoover wrote:
I have
cancel forward.
What do I need to do to my Action to accomplish that?
Dean Hoover
Adam Hardy wrote:
Server-side validation is skipped by struts when it sees the
org.apache.struts.taglib.html.CANCEL request param.
On 03/14/2004 12:20 PM Dean A. Hoover wrote:
What about the non-Javascript
think is probably frequently need
behavior. Any thoughts?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Geeta Ramani wrote:
Dean:
Oh, Ok, I think i see what your issue is now (shouldn't have hit that earlier
send so fast..!) Ok, in the action before you forward to the jsp, populate
your countries variable. Then set your session variable (in your Action
class), say,
HTML
and I see:
input type=submit name=method value=Next
input type=submit name=method value=Cancel onclick=bCancel=true;
The only difference I see is the onclick attribute.
How is that supposed to do anything, given that
that there isn't any javascript in the file. What am
I missing here?
Dean
. Also, maybe this example could be added
to the struts website as I have to believe I am not the
only one struggling with this.
Many thanks.
Dean Hoover
Here are the files:
=== struts-config.xml ===
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD
to MyWizardAction.java and struts-config.xml
to accomplish this?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, new ActionMessage(errors.y));
}
if (errors.isEmpty()) {
return mapping.findForward(success);
} else {
request.setAttribute(Globals.ERROR_KEY, errors);
return mapping.findForward(mapping.getInput());
}
}
Niall
- Original Message -
From: Dean A. Hoover [EMAIL
get the empty page. Do you know why it would do
that?
Dean A. Hoover wrote:
Thanks!!!
Niall Pemberton wrote:
You just added page as an attribute to your DynaValidatorActionForm
- so
you get it the same way as you would get any other property out of your
form.
public ActionForward execute
Matthias,
Sorry, I must be over tired... First off, how does one
decide between using DynaValidatorForm and
DynaValidatorActionForm? Second, I'm not
understanding what the path relates to. For
example, where is /umfrage1 defined outside
of what you included in your message. Maybe
if I saw that, I
Tim,
Yes, I included all relavent files, including struts-config.xml in my
original message sent this morning. I hesitate to keep appending to
that message as it was quite large.
Dean
Slattery, Tim - BLS wrote:
Whoops. Wait a minute. The statement in your code:
return
I am interested in using the workflow extension but do
not want to give up using DynaValidatorForm. Is it
possible?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This section of the book sounds interesting, but
it would be nice if there were an example somewhere.
Can someone point me to one?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In http://jakarta.apache.org/struts/faqs/newbie.html#wizard
the example references several jsp files. For example,
mywizard1.jsp. My question is, in the form in that jsp,
what is the action?
Dean Hoover
-
To unsubscribe, e-mail
In other words:
form method=post action=???
anyone know?
Dean A. Hoover wrote:
In http://jakarta.apache.org/struts/faqs/newbie.html#wizard
the example references several jsp files. For example,
mywizard1.jsp. My question is, in the form in that jsp,
what is the action?
Dean Hoover
, finish);
return keyMethodMap;
}
}
Any idea what I'm doing wrong? Is there a better way to do this?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
. Hopefully, there are some
new books coming out soon which are not historical.
Dean Hoover
Paul-J Woodward wrote:
Struts in Action - Manning
Excellent book.
Paul
Global Equity Derivatives Technology
Deutsche Bank
configuration files and include them
twice so that I don't have to cut and paste.
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've read the documentation (although
currently sleep deprived) and I cannot
understand the difference between using
name and attribute in the tiles:insert tag.
Can someone shed some light on this?
Thanks.
Dean Hoover
process? For example:
definition name=foo page=/myPage.jsp
put name=titleRef value=myPage.title/
/definitions
and then in the .jsp file:
titlebean:message key=myPage.title//title
Please let me know.
Dean Hoover
-
To unsubscribe, e
Where can I find an example of setting up
and using log4j under commons-logging
for struts 1.1? I have used log4j before and
want to continue using it.
Dean Hoove
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Where can I find an example of setting up
and using log4j under commons-logging
for struts 1.1? I have used log4j before and
want to continue using it.
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Newbie here trying to make sense out of usage of
these two tag libraries. I am using struts 1.1. Should
I just use struts-html instead of struts-form? I haven't
looked really close but there appears to be overlap.
Dean Hoover
am I doing wrong?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
What am I doing wrong?
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
From: Dean A. Hoover [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 11:59 AM
To: [EMAIL PROTECTED]
Subject: hiding jsp files under WEB-INF
I realized that the subject I filed this
under (getting started) may not get
attention. So I'm sending it out under
this subject. Did some google
I am interested in using log4j as a logger
for a struts 1.1 application. Is there an
example, cookbook, or other documentation
someone can point me to for this?
Thanks.
Dean Hoover
-
To unsubscribe, e-mail: [EMAIL PROTECTED
:
warning: getDebug() in org.apache.struts.action.ActionServlet has been
deprecated
[javac] if (servlet.getDebug() = Constants.DEBUG)
Is there some recommended replacement for
that construct?
Thanks.
Dean Hoover
) using html:html?
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
Dean Hoover
36 matches
Mail list logo