I want to do both "hide my JSPs
behind WEB-INF" and use "Struts modules".
and this does not work, I looked into
the struts code. it does the following
If the path of ActionForward starts
with "/", it obtains the module prefix and prefixes this to the
path so...
If my path was say "/WEB-INF/pag
Please send resumes to [EMAIL PROTECTED]
Contract to hire (or long-term consulting) so work authorization is a
criteria.
3 different roles, with a financial institution in San Francisco.
J2EE Developers
to work on high-transaction online application for customer service agents.
OK, just to complete the post, I'll tell you about the problem I
encountered. Now, I have decided that I don't think there's anything
wrong with the jboss-web.xml example I originally posted.
When you deploy web apps in JBoss/Tomcat, jboss uses a couple of
"working" directories inside server/MY
Worked perfect and I love the new SimpleTagSupport!
Not sure why I did not send this email out this morning!
At first I thought JSP 2.0 was more of a hindrance but I now see the
light :)
Thanks for the help Craig.
On Jul 28, 2004, at 4:31 PM, Craig McClanahan wrote:
On Wed, 28 Jul 2004 15:36:08 -
Hi,
Could you please tag these messages as OT so that they
can be directed to the appropriate place! For some
reason, I'm receiving these messages twice.Is anybody
else having the same problems?
Thanks,
Shyam
--- Geeta Ramani <[EMAIL PROTECTED]> wrote:
> Absolutely.. and yes, i did note your us
On Wed, 28 Jul 2004 15:36:08 -0600, Nathan Maves <[EMAIL PROTECTED]> wrote:
> I am using the EcpressionEvaluationManager class of jstl in my own
> custom tag.
>
> This used to work but now things are a bit weird.
>
> What I need it to be able to pass an Object (i.e. Date) to my custom
> tag. I t
yeah, i was attempting to use a DispatchAction class instead of just
single action classes for each event. so that parameter was the
appropriate method in the DispatchAction class.
i'm refactoring all that right now. using separate actions is easier
for a noob to keep track of. ;) and simpler to
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 3:24 PM
> To: Struts Users Mailing List
> Subject: Re: Why does work differently than action="">?
>
>
> From: "Andrew Close" <[EMAIL PROTECTED]>
> > the one thing i'm still fuzzy with i
From: "Andrew Close" <[EMAIL PROTECTED]>
> the one thing i'm still fuzzy with is why would the actionform only
> populate with one of the three hidden field values?
That whole thing where you were adding parameters to the action attribute of
the form, then submitting it with JavaScript called from
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 3:14 PM
> To: Struts Users Mailing List
> Subject: Re: Why does work differently than action="">?
>
>
> > The form is being submitted to wherever the regardless of method used to subm
> The form is being submitted to wherever the submit. So, action and forward are entirely inappropriate to use for the link in
> this case. They have nothing to do with the what you want to do, which is submit
> the form using javascript. What was happening, in your case, was the onclick was
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 2:58 PM
> To: Struts Users Mailing List
> Subject: Re: Why does work differently than action="">?
>
>
> ok, my bad. :)
>
> i tried and but not
>
>
> next time i'll try 'all' the a
Are you sure you are in the right context when you call 'name()' ?
Here is some working XML / XSLT - you can try it at:
http://www.cherrypy.org/demo/xmlXslOnline
XML Doc:
baz
XSLT Doc:
http://www.w3.org/1999/XSL/Transform";
xmlns:bean="http://struts-namespace-here";>
ht
ok, my bad. :)
i tried and but not
next time i'll try 'all' the attributes before posting. ;)
thanks Jim
andy
On Wed, 28 Jul 2004 14:50:26 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Andrew Close [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday,
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 2:37 PM
> To: Struts Users Mailing List
> Subject: Re: Why does work differently than action="">?
>
>
> Submit the form with a link
Submit the form with a link
does the same thing.
At 02:44 PM 7/28/2004, you wrote:
At 02:36 PM 7/28/2004, you wrote:
not to fuel the fire from the previous discussion, but this situation
works fine if is used instead of
example:
now use an anchor tag instead of the Struts anchor tag: Submit the form
with a link Submit with a different value .
At 02:36 PM 7/28/2004, you wrote:
not to fuel the fire from the previous discussion, but this situation
works fine if is used instead of
example:
now use an anchor tag instead of the Struts anchor tag: Submit the form
with a link Submit with a different value . . .
hopefully that will help any
not to fuel the fire from the previous discussion, but this situation
works fine if is used instead of
example:
function submitOne() {
forms[0].myHiddenField.value = "ValueOne";
forms[0].submit();
}
function submitTwo() {
forms[0].myHiddenField.value = "ValueTwo";
forms[0}.submit(
I am using the EcpressionEvaluationManager class of jstl in my own
custom tag.
This used to work but now things are a bit weird.
What I need it to be able to pass an Object (i.e. Date) to my custom
tag. I think since I have enabled JSP 2.0 is now evals the var into a
String before it is sent t
James, sorry, but this file ended up causing problems. Obviously there
is more to configuring a virtual host than this, but I haven't had time
to research it yet.
I'll repost as I tackle that.
Erik
Erik Weber wrote:
No, but I was overlooking something simple (virtual host setup) to do
the equi
hello!
I keep getting a "HTTP Status 503 - Servlet action is currently
unavailable" when I hit an action path. This struts application works
fine when deployed in JBoss but Tomcat repeatedly throws a 503, any
ideas what is going wrong? is there a problem with the digester
version used to parse
Raghuram,
I guess there's not much other way around having a separate bean per
cell - not sure what I was thinking. It's just rewrite time, its a
heavily used page and I would like to do this "right" - i.e. it needs to
perform well (currently does not) and be readily extensible. I know
that's all j
Hi All,
I am starting new project and I plan to use Struts with JSF support. I
have two related questions :
1. What is the estimated date of struts-faces library release ?
2. Is struts-faces library already rather steable ? I need such
features as tiles, modules and external (not Struts) JSF ta
> -Original Message-
> From: McClung, Brian [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 2:05 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Not Logged in with the same loggin-password if it is
> already registered.
>
>
> So are you saying that you have tomcat handlin
So are you saying that you have tomcat handling both html and jsp's?
Unfortunately I don't have that luxury in our environment. Apache serves
html, Resin serves jsps.
Brian
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 4:00 PM
To: Struts
Absolutely.. and yes, i did note your use of that appropriate adjective..:)
Something happens to me though when I see the word javascript and I can't help
myself..;)
> -Original Message-
> From: Brett Connor [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 4:59 PM
> To: Strut
> -Original Message-
> From: McClung, Brian [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 1:57 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Not Logged in with the same loggin-password if it is
> already registered.
>
>
> This topic brings up a question that I have of
Agreed, you did spot the phrase "wacky" in there, yes? Javascript can be
very useful, in moderation. I've rarely used it, not proficient in it
(yet), and have to have a darn good reason before I go there, kind of a
last resort.
Geeta Ramani wrote:
ps. But if you know what's good for you you wil
This topic brings up a question that I have oftened wondered about. How
does everyone handle sign on and static content where there is no jsp page?
Include a jsp in the html? Set up a cookie? The problem to the cookie is
that they can be blocked or the html code to verify the cookie has to be
ja
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 1:40 PM
> To: Struts Users Mailing List; Struts Users Mailing List
> Subject: RE: Not Logged in with the same loggin-password if it is
> already registered.
>
>
> Yes but wont the contai
HTTP is a connectionless protocol, effectively a stateless protocol.
Although 1.1 added some fancy bits like "keepalive" I believe these are
more for performance than connection / lifecycle support, although I
expect others here may well know more about this than I do. If you close
the browser,
ps. But if you know what's good for you you will stay right away from javascript..
> -Original Message-
> From: Brett Connor [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 4:47 PM
> To: Struts Users Mailing List
> Subject: Re: Not Logged in with the same loggin-password if it i
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 1:40 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Not Logged in with the same loggin-password if
> it isalready
> registered.
>
>
> How do you handle the situation where the user closes t
Yes but wont the container "know" when a user closes his/her window? Are you saying
this isn't something that a container will be notified about..?/ ..hmm... maybe not...
ok, Robert scratch my earlier note..(like I said i ought to go home..)
> -Original Message-
> From: Brett Connor [mai
AFAIK session timeout is the only notification you can get here. There
are undoubtedly some wacky things we can do with javascript - reduce the
session timeout to a small value and include some javascript polling in
every page or something along those lines, but at the end of the day it
comes d
The HttpSessionlistener interface is your friend ..;)
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html
All you do is write a class which implements it and overwrite the
sessionDestroyed(HttpSessionEvent) method and bob's your uncle.. (Note that
HttpSessi
How do you handle the situation where the user closes the browser without logging out
(the windows "X" is not always our friend ;) ). I am not familiar with the
SessionListener. Would it help in some way?
Robert
>>> [EMAIL PROTECTED] 7/28/2004 3:25:16 PM >>>
Exactly! Or use HttpSessionlistene
> -Original Message-
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 1:25 PM
> To: Struts Users Mailing List
> Subject: RE: Not Logged in with the same loggin-password if it is
> already registered.
>
>
> Exactly! Or use HttpSessionlistener and database s
Exactly! Or use HttpSessionlistener and database solution (that jim outlined)
simultaneously..
(We are doing almost this except as a solution to a kind of "opposite" problem - when
a user logs off we need to do soem work so.. this seems to work nicely)
> -Original Message-
> From: news
yes you are right and I just realised that in fact.. ok never mind. i really need to
go home
> -Original Message-
> From: David Friedman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 4:28 PM
> To: Struts Users Mailing List
> Subject: RE: Not Logged in with the same loggin-pas
Maybe you could have a hashtable in the ServletContext that maps loginId
to HttpSession -- then use a HttpSessionListener to listen for session
creation -- when the session is created look for a value in the hashmap
in the servlet context -- if it is there then invalidate the mapped
session. Th
Ricardo,
I can't think of any easy way to do that strictly within JAAS, but you
didn't write if you were using JAAS.
If you are using an Account object (of some sort) in the Session context,
here is an idea for you:
Have an application-scope object containing a map of usernames (or id
numbers).
You are quite right and I realised this after reading jim's response.. As a matter of
fact we are using sort of the method taht jim suggested in his note (with a
database).. so i am not sure why i was being stupid.. So never mind me: am going back
to smoking crack..
> -Original Message-
Geeta,
I read Ricardo's message differently in that the new login would come from
another machine, so the session wouldn't be shared and invalidated as you
wrote below. ough, technically, it (the session) could be shared across
computers if cookies were turned off and they had the same jsessionid
It may not be as easy as the current session (for the new login) and the session that
you want to invalidate are different objects.
The main issue would be how to get a reference to all active sessions via some session
id. Apache Axis, for example, keeps track of them with a list of ActiveSessio
> -Original Message-
> From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: Not Logged in with the same loggin-password if it is already
> registered.
>
>
> Hello Guys
> I need not to let users to login in m
Ricardo:
Not sure where you are having problems..? Why wouldn't something like this
(pseudocode) work?
if (isLoggedIn(user)) {
session.invalidate();
}
//now proceed normally with login with un/pw...
Regards,
Geeta
> -Original Message-
> From: Ricardo Andres Quintero [mailto:[
Hello Guys
I need not to let users to login in my app simultaneosly.
I mean if a login-password is actually logged in, i need to
invalidatye that session and then let the new login-password
to work in, after invalidating the old session.
Any ideas? and of course any examples?
--
Ricardo Andrés
At 11:40 AM 7/28/2004, you wrote:
(i may email you off list with
questions if you don't mind).
That's fine.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
At 11:40 AM 7/28/2004, you wrote:
wow, i didn't mean to start such a heated debate. :)
but thanks to everyone for their suggestions.
Hopefully more light than heat, Andy. I know I learned a lot. Michael
-
To unsubscribe, e-mail:
wow, i didn't mean to start such a heated debate. :)
but thanks to everyone for their suggestions.
Wendy, i was actually doing something similar to your suggestion but i
was appending the parameters to the action using javascript. i don't
know why i didn't think of just putting them in the origin
At 10:55 AM 7/28/2004, you wrote:
the first issue that comes to mind is that the tabbed
menus are in a separate Tile from the one that contains the
tags. For submit buttons to work, they'd have to be *within* the form tags,
and AFAIK you can't split the form across multiple Tiles.
You can split t
At 10:56 AM 7/28/2004, you wrote:
Is it possible to use
CSS to make a button look like a hyperlink (I have very limited CSS myself)?
Heck, Paul, you can use the struts tag to make the button "look like a
hyperlink". There is nothing special about this. Check out the Struts
HTML image tag which
At 10:55 AM 7/28/2004, you wrote:
I'm going to bow out of this now-- you have your solution, I have mine, both
of them work, and the OP can choose one of the many ideas that have been
thrown out there and be on his way.
Okay dokay, and agreed. I always like discussing these things with you
Wendy
At 10:37 AM 7/28/2004, you wrote:
Personally I'd still do it with a form, three hidden fields, and JavaScript
to set one of the form elements & submit the form. Mostly so I could POST
the form and keep the user from bookmarking something they shouldn't.
Actually, if you use the multiple button ap
At 10:40 AM 7/28/2004, you wrote:
Michael, I use this approach fairly often.
A typical scenario would be an order confirmation screen where the user can
enter delivery details and remove items from their shopping basket (by
clicking on a hyperlink). It is important that any details the user enters
>Wendy wrote:
> >The text on each tab is a
> >hyperlink, and I *have* to make the form submit when the user clicks to
> >switch to another tab, or I lose whatever they've typed on the form. I
do
> >it with JavaScript:
>
>Michael wrote:
> This is the problem, Wendy. Don't make the text on the tag
Michael,
The approach you outline is fine when buttons are an option.
But what about when a hyperlink is neccessary (for whatever reason - be it
to conserve screen space or customer requirements). Is it possible to use
CSS to make a button look like a hyperlink (I have very limited CSS myself)?
At 10:36 AM 7/28/2004, you wrote:
We're geeks who expects tact? :) I understood what you said.
And you're probalby right..
Good point! ///8-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
At 10:42 AM 7/28/2004, you wrote:
if([ActionForm].getButton().getFirstChoice().pressed()) {
// do whatever
} else if ([ActionForm].getButton().getSecondChoice().pressed()) {
// do whatever
} else if([ActionForm].getButton().getSecondChoice().pressed()) {
// do whatever
} else {
// throw exc
At 10:37 AM 7/28/2004, you wrote:
In your case, YES, I think this can be done without JavaScript (although
that's still my preferred solution).
The reason is that it does not sound like the user gets to make any changes
to the data on this page with the three links. In this case, you already
know
From: "Andrew Close" <[EMAIL PROTECTED]>
> so in the Struts world, is there a way to submit a form using a
> hyperlink without using javascript?
In your case, YES, I think this can be done without JavaScript (although
that's still my preferred solution).
The reason is that it does not sound like
At 10:16 AM 7/28/2004, you wrote:
i'm a Struts newbie. and while playing around with this situation i
wasn't seeing my values getting populated in my actionform. i figured
it had to do with the way i set up my Struts tags, , and
their parameters.
so in the Struts world, is there a way to submit a
Michael, I use this approach fairly often.
A typical scenario would be an order confirmation screen where the user can
enter delivery details and remove items from their shopping basket (by
clicking on a hyperlink). It is important that any details the user enters
into the form are not lost when
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 10:31 AM
> To: Struts Users Mailing List
> Subject: RE: Re: Re: Re: Why does work differently than
> ?
>
>
> At 10:25 AM 7/28/2004, you wrote:
> >Nope. It's not a struts issue at al
At 10:12 AM 7/28/2004, you wrote:
The text on each tab is a
hyperlink, and I *have* to make the form submit when the user clicks to
switch to another tab, or I lose whatever they've typed on the form. I do
it with JavaScript:
This is the problem, Wendy. Don't make the text on the tag a hyperlink
At 10:25 AM 7/28/2004, you wrote:
Nope. It's not a struts issue at all... it's an HTML issue.
My response was not really too tactful, Jim. Sorry! I am not a very
tactful person.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
At 10:25 AM 7/28/2004, you wrote:
Nope. It's not a struts issue at all... it's an HTML issue. Struts tags
just generate html (well, except the validation tag.). What you want
would be difficult to genreate in any kind of sensical way.
This is not true. The tags may just generate HTML, but t
At 10:16 AM 7/28/2004, you wrote:
Sorry Michael, i wasn't ignoring you. you must've responded to each
of my responses to the others. :)
the original problem was that i have to add a product to the database.
when the user clicks the initial add button they are taken to a page
that has three links o
> document.form[0].myHiddenField.value = "myValue";
> document.form[0}.submit;
There are two or three typos there. I'd write this as:
document.forms[0].myHiddenField.value = "myValue";
document.forms[0].submit();
Paul
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 10:17 AM
> To: Struts Users Mailing List
> Subject: Re: Re: Re: Re: Why does work differently than
> ?
>
>
> Sorry Michael, i wasn't ignoring you. you must've responded to each
> of my
At 10:13 AM 7/28/2004, you wrote:
I'm guessing the problem is client/boss/marketroids. Given what he said
to me about not liking js either and he mentioned he was asked to use
links for the form submission Something this hoaky is probably
client/marketroids. My money is on marketroids.
If
Im sorry I was using nested:text and apply my changes on struts-html.tld :(
After I applying changes on struts-nested.tld I had the follwing error 'Unable to find
setter method for attribute: onpaste'
-Original Message-
From: Mazen, Tamer S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ju
Sorry Michael, i wasn't ignoring you. you must've responded to each
of my responses to the others. :)
the original problem was that i have to add a product to the database.
when the user clicks the initial add button they are taken to a page
that has three links on it.
Add Member Product
Add No
At 09:58 AM 7/28/2004, you wrote:
if i was 'allowed' to use separate submit buttons i would do that. or
even radio buttons and a single submit button. but i was asked to use
hyperlinks...
Is this just a school problem where the instructor wants to see if you can
do something goofy? If so, pleas
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 10:10 AM
> To: Struts Users Mailing List
> Subject: Re: Re: Re: Why does work differently than
> ?
>
>
> At 09:58 AM 7/28/2004, you wrote:
> >if i was 'allowed' to use separate submi
From: "Michael McGrady" <[EMAIL PROTECTED]>
> Why in Heaven's name would you want to submit a form with a link?
This is not as odd as you seem to think. Case in point... I have a tabbed
menu, and each tab has a [Struts] form on it. The text on each tab is a
hyperlink, and I *have* to make the
My team is experiencing a redeploy problem with JBoss/Tomcat 3.2.5/5.0
on Windows 2000. I'm not seeing the problem on Red Hat.
On the Windows boxes we are having to restart the server for every
redeploy. A huge pain. At this point I'm not ready to say we don't have
something naively set up in t
At 09:58 AM 7/28/2004, you wrote:
if i was 'allowed' to use separate submit buttons i would do that.
YOU ARE ALLOWED TO USE SEPARATE SUBMIT BUTTONS. PLEASE TELL US WHAT THE
DARN PROBLEM IS.
-
To unsubscribe, e-mail: [EMAIL PR
At 09:58 AM 7/28/2004, you wrote:
i agree, what i'm attempting is kindof goofy.
Hi, Andy,
You are stuck in a bad solution and all the discussion is about the goofy
solution. However, if you would, once again, just tell us what the problem
is, we can give you solutions, I would bet, that are not
> -Original Message-
> From: Mazen, Tamer S [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 10:04 AM
> To: '[EMAIL PROTECTED]'
> Subject: How to add new events to HTML tag library objects
>
>
> Dears,
> I want struts HTML objects to support extra events like
> onpaste for t
Dears,
I want struts HTML objects to support extra events like onpaste for text
object, I tried to add that event in struts-html.tld and add it in my JSP,
but when I run that JSP I had that error 'Attribute onpaste invalid
according to the specified TLD' , I think there are other files must be
c
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 9:52 AM
> To: Struts Users Mailing List
> Subject: Re: Re: Why does work differently than
> action="">?
>
>
> Jim,
>
> heh, i would prefer not to use javascript, but i couldn't think
Hi Michael,
i agree, what i'm attempting is kindof goofy.
i'm trying to submit a form using a hyper-link instead of a submit
button. i have three links on the page that perform similar but
different actions. each link sets a value in a hidden field that
should be picked up by the actionform upon
Hi Paul,
yes, it looks like it may have been fixed in 1.2 already:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg22036.html
Thanks,
Maurice
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: 27 July 2004 11:35
To: 'Struts Users Mailing List'
Subject: RE: Using
At 09:52 AM 7/28/2004, you wrote:
heh, i would prefer not to use javascript, but i couldn't think of
another way to submit the form with links.
Why in Heaven's name would you want to submit a form with a link? Please
step back one step further and tell us why you want to use a link to do
what i
Jim,
heh, i would prefer not to use javascript, but i couldn't think of
another way to submit the form with links. the form is a
and all of the html components inside the form are Struts html
components. the link just has an onclick parameter in it that calls
the javascript. the javascript is
At 09:46 AM 7/28/2004, you wrote:
yes my submit button is named submit. but when i tested using it i
wasn't using javascript. ;)
only the links are using javascript to set one hidden field on the
form. i hard coded that value with the submit button. in all cases
the hardcoded value or the value
+1 on this.. Actually make that a +100..:)
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 12:44 PM
> To: Struts Users Mailing List
> Subject: Re: Re: Why does work differently than
> action="">?
>
>
> At 09:39 AM 7/28/2004,
At 09:41 AM 7/28/2004, you wrote:
Robert,
:i'm seeing the data,
but when i set breakpoints in my actionform set methods, two of them
aren't being called...
andy
The question, Andy, whatever your problem is, that Robert is posing is
whether "form.field.value" shows the data. Whether you are just s
Hi Wendy,
yes my submit button is named submit. but when i tested using it i
wasn't using javascript. ;)
only the links are using javascript to set one hidden field on the
form. i hard coded that value with the submit button. in all cases
the hardcoded value or the value set via javascript is p
At 09:39 AM 7/28/2004, you wrote:
Andy -
Based on your email it is hard to tell, but I think you are attempting to do
a form.submit(); call in the link action to submit the form.
Andy,
I would be willing to bet against pretty heavy odds that your attempted
solution here, Andy, is not necessary or
Robert,
:) i'm a step ahead of you. my values do show up in the client side
html before submitting the form. and they show up in alert statements
upon submission. that is what is so puzzling. i'm seeing the data,
but when i set breakpoints in my actionform set methods, two of them
aren't bein
Andrew, could you restate what you are trying to do? Why are you using
JavaScript? My guess is there is a safer and sounder way to solve whatever
your problem is, if you merely are trying to submit a form with some issues
which are unknown to me around that.
Michael
-
Andy -
Based on your email it is hard to tell, but I think you are attempting to do
a form.submit(); call in the link action to submit the form.
Assuming this is the case, I have the following advice - if you MUST submit
using javascript instead of a submit button, avoid the use of form.submit();
Hi, Andrew:
If you are going to show HTML try the tag and change the HTML tags
with "<" and ">" instead of < and >.
What you are doing, Andrew, is not clear to me. You have talked about
using instead of to submit a form. I have no
idea why you would ever think these two would work the sam
StrutsDoc 0.5 has been released. This is primarily a bugfix release.
It may be downloaded from:
http://sourceforge.net/project/showfiles.php?group_id=49385
What is StrutsDoc?
StrutsDoc is an Ant task that generates JavaDoc-like documentation from
a Struts configuration file. You may see an ex
> -Original Message-
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 28, 2004 9:10 AM
> To: Struts Users Mailing List
> Subject: Re: Re: Why does work differently than
> action="">?
>
>
> hi Robert,
>
> yes i've tried using javascript, but i must be doing some
From: "Andrew Close" <[EMAIL PROTECTED]>
> 2) Wendy gave me a
> slightly different approach to try by calling the function and setting
> the values of the hidden fields and then submitting. however, two of
> the hidden fields are set upon arrival to the page by my action form.
> but they are not b
Andy,
I don't have an answer but what I would try first is examining those
values on the client.
First do a view source on your generated HTML and make sure your values
are there.
Next in your Javascript after you've set any values but before you
submit your form (which should be last anyway) use a
1 - 100 of 136 matches
Mail list logo