ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
I have a web page (the parent) that opens a child window using javascript. The parent window sets a field on the child window. The child window needs to use that data, as it is opening, to perform a DB query and display information on itself. The problem is that, even though the parent

RE: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
://jakarta.apache.org/struts/ People demand freedom of speech to make up for the freedom of thought which they avoid. - Soren Aabye Kierkegaard (1813-1855) -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 11:59 AM To: Struts Mailing

RE: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
not pass the value as a querystring parameter? -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 11:59 AM To: Struts Mailing List Subject: ActionForm Does Not Contain Dynamically Set Data I have a web page (the parent) that opens

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
I think you've misunderstood... The child is not an action, it is a page. A page that is opened using Javascript. In this case, the parent window is never submitted. From what I can tell about Struts (I'm pretty new to it) is that the only way to get data onto a form is via the submission of a

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
Ray, I am doing that part. The problem is that I want that value to be available to the child's Action class ** as the child window is opening **. I am expecting it to be on the form, but the value in the form is null even though the value is successfully set on the child. How can I get Struts

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
of thought which they avoid. - Soren Aabye Kierkegaard (1813-1855) -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:06 PM To: Struts Users Mailing List Subject: RE: ActionForm Does Not Contain Dynamically Set Data

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
Oliver, Thanks. As mentioned, I am new to Struts but have used other Java MVC frameworks that allow me to do what I am trying to do with Struts (e.g. Barracuda). If Struts does not permit it, then I'll find another way to do it (query parameter being the best approach I guess) --- ROSSEL Olivier

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
Sorry for the late reply... I got called into a meeting. Yes, it does. --- Ray Madigan [EMAIL PROTECTED] wrote: Does the child window create the correct html:form action=xxx -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 9:23 AM

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
From what I've been told in messages sent to me directly (bypassing the list), this is typical James behavior. --- Chappell, Simon P [EMAIL PROTECTED] wrote: James, are you being mean again? ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Tuesday, March

RE: [OT] JavaScript: ActionForm Does Not Contain Dynamically Set Data

2003-03-04 Thread Art Vandalay
I couldn't care less if I piss him off. He is certainly not the only person on this list who can provide help. He's just a fish in a very large pond (i.e. insignificant in the long run). So far he has shown me that is just an a**hole. He didn't read my original posting thoroughly, thought it was

More Than Form On A JSP

2003-02-26 Thread Art Vandalay
I am developing an architecture for the rest of my development staff to use on a new J2EE project starting next month. I have the following situation: A JSP contains a form which allows the user to lookup a list of information. For example, if you enter an SSN the JSP will display some

Which Archive

2003-02-25 Thread Art Vandalay
Which search engine should I be using to search the Struts archive for previous answers to my questions? I have 2 searching URLs: http://www.mail-archive.com/[EMAIL PROTECTED]/ This one is from the main Jakarta web page. Searching this archive is very quick, but the results are almost usually

LookupDispatchAction w/ Buttons Images

2003-02-24 Thread Art Vandalay
I have a page that has 7 text buttons, an HTML table with repeating rows of data, and 2 images. The images, Previous and Next, allow a user to scroll through the data that is displayed in the HTML table. I chose to implement this as a LookupDispatchAction originally because each of the 7 buttons

html:image value=???/

2003-02-24 Thread Art Vandalay
According to the User Guide the 'value' attribute on html:image is The value that will be submitted if this image button is pressed. What does that mean? Can that 'value' be retrieved in an Action to determine what button was clicked? __ Do you

Re: LookupDispatchAction w/ Buttons Images

2003-02-24 Thread Art Vandalay
: By searching the mail archive for you for other times this question was asked: http://www.mail-archive.com/[EMAIL PROTECTED]/msg48962.html Vic, a nice guy. Art Vandalay wrote: I have a page that has 7 text buttons, an HTML table with repeating rows of data, and 2 images. The images

404 (Not Found) When Errors Occur

2003-02-20 Thread Art Vandalay
I am new to struts and am having trouble with handling invalid input. I have the following action mappings in struts-config: action path=/BadgeLookup name=BadgeLookupForm scope=request type=org.apache.struts.actions.ForwardAction parameter=TA/BadgeLookup.jsp/ action path=/BadgeLookupSubmit

Re: 404 (Not Found) When Errors Occur

2003-02-20 Thread Art Vandalay
PROTECTED] wrote: Art: I am no expert at Sruts, but I think you may want to try: input=/TA/BadgeLookup.jsp (I am assuming your directory TA is at the root of your web application.) Regards, Geeta Art Vandalay wrote: I am new to struts and am having trouble with handling invalid

Is This A Bug?

2003-02-20 Thread Art Vandalay
The logic:present tag checks to see if a field in a form is null. However, when a form is created after an HTML form is submitted, Struts will pass an empty String into the setter method if the corresponding value on the page is empty. This seems inconsistent. It seems (to me, anyway) that

Re: Universally Accessable Object

2003-02-20 Thread Art Vandalay
I'm not sure what app server you are using, but some (including WebLogic) allow for startup classes. These are classes that will be instantiated when the server is started. You could identify your class as a startup class and then store it in the proper scope. Then call RequestUtils.lookup(...) to

Re: Universally Accessable Object

2003-02-20 Thread Art Vandalay
No, but I always wanted to pretend to be one :) I'm currently a marine biologist but I used to work for the Yankees. --- David Graham [EMAIL PROTECTED] wrote: Art, You don't happen to be an architect do you? David From: Art Vandalay [EMAIL PROTECTED] Reply-To: Struts Users Mailing

RE: Universally Accessable Object

2003-02-20 Thread Art Vandalay
Message- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 12:50 PM To: Struts Users Mailing List Subject: Re: Universally Accessable Object No, but I always wanted to pretend to be one :) I'm currently a marine biologist but I used to work

Cannot Find Bean In Scope

2003-02-13 Thread Art Vandalay
I am working a very simple JSP page using Struts. The page has some field labels and 1 input field. It is this input field that is causing me problems. Whenever I put html:text into my JSP page and rebuild/run my application I get the following runtime error: Cannot find bean

Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay
Hello everyone, I am trying to write a very simple Struts application that simply displays a JSP using bean:message to retrieve values for my field labels and buttons from a ResourceBundle. Pretty straight forward, but I am getting the following error: [exec]

Is html:message Valid?

2003-02-12 Thread Art Vandalay
In the Struts user guide located here: http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_view.html#i18n in Section 3.3.1 Building Forms With Struts, the example uses the following notation: th align=right html:message key=prompt.password/ /th Is this a typo or does

RE: Is html:message Valid?

2003-02-12 Thread Art Vandalay
to any taglib, so technically it could be valid. -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 12:46 PM To: Struts Mailing List Subject: Is html:message Valid? In the Struts user guide located here: http://jakarta.apache.org

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay
problem, but do you have the tld directive in your jsp? -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 1:43 PM To: Struts Mailing List Subject: Cannot retrieve definition for form bean null Hello everyone, I am trying to write

Re: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay
())); pageContext.setAttribute(Globals.EXCEPTION_KEY, e, PageContext.REQUEST_SCOPE); throw e; } My original message is below with the struts-config.xml and JSP page itself. Thanks for any help you can provide. Art Vandalay [EMAIL PROTECTED] wrote: Hello everyone

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay
- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 3:19 PM To: Struts Users Mailing List Subject: Re: Cannot retrieve definition for form bean null I'm sorry to bug everyone again with this, but I cannot figure out what this error message is telling me

RE: Cannot retrieve definition for form bean null

2003-02-12 Thread Art Vandalay
into the simplePage.jsp (just sys-outs would work)? You should put a few in so that you can see exactly where/when the exception is occuring...it may even be thrown before the JSP is actually executed. peace, Joe -Original Message- From: Art Vandalay [mailto:[EMAIL PROTECTED]] Sent