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
://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
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
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
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
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
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
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
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
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
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 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
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
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
:
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
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
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
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
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
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
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
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
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]
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
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
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
()));
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
-
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
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
29 matches
Mail list logo