dynamic widgets

2004-03-25 Thread Dean A. Hoover
-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

pre-populating DynaValidatorForm

2004-03-23 Thread Dean A. Hoover
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

Re: pre-populating DynaValidatorForm

2004-03-23 Thread Dean A. Hoover
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

base URL in Action

2004-03-20 Thread Dean A. Hoover
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]

how to log

2004-03-18 Thread Dean A. Hoover
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

non-ascii characters

2004-03-16 Thread Dean A. 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

Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread Dean A. 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

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
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

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
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

Proposal: modify LookupDispatchAction

2004-03-14 Thread Dean A. Hoover
think is probably frequently need behavior. Any thoughts? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to use bean:define for this

2004-03-13 Thread Dean A. Hoover
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:cancel doesn't perform as advertised

2004-03-13 Thread Dean A. Hoover
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

wizard best practices?

2004-03-12 Thread Dean A. Hoover
. 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

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
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]

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
, 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

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
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

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
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

Re: wizard best practices?

2004-03-12 Thread Dean A. Hoover
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

struts-workflow-extension and DynaValidatorForm

2004-03-11 Thread Dean A. Hoover
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]

Struts in Action: 12.10.1 Multipage validations

2004-03-11 Thread Dean A. Hoover
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

FAQ: How can I create a wizard workflow?

2004-03-11 Thread Dean A. Hoover
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

Re: FAQ: How can I create a wizard workflow?

2004-03-11 Thread Dean A. Hoover
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

using LookupDispatchAction

2004-03-10 Thread Dean A. 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]

Re: Suggestion needed on good Struts book

2004-03-08 Thread Dean A. Hoover
. 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

subform definition in struts-config.xml and validation.xml

2004-03-08 Thread Dean A. Hoover
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]

tiles:insert attribute vs. name

2004-03-06 Thread Dean A. Hoover
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

i18n in tiles-defs.xml?

2004-03-05 Thread Dean A. 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

log4j set up and usage?

2004-03-04 Thread Dean A. Hoover
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

log4j example?

2004-03-02 Thread Dean A. Hoover
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

struts-form vs struts html

2004-03-01 Thread Dean A. Hoover
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

getting started

2004-03-01 Thread Dean A. Hoover
am I doing wrong? Dean Hoover - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

hiding jsp files under WEB-INF

2004-03-01 Thread Dean A. Hoover
) 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]

Re: hiding jsp files under WEB-INF

2004-03-01 Thread Dean A. Hoover
- 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

example of using log4j in struts 1.1?

2004-02-29 Thread Dean A. Hoover
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

servlet.getDebug

2004-02-27 Thread Dean A. Hoover
: 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:xhtml/

2004-02-24 Thread Dean A. 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