Module and pages Behind WEB-INF don't work...???

2004-07-28 Thread puneet . a
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

(job) Java - San Francisco - contract to hire

2004-07-28 Thread Dave Lloyd
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.

Re: [OT] JBoss/Tomcat & default context

2004-07-28 Thread Erik Weber
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

Re: OT jstl/el question

2004-07-28 Thread Nathan Maves
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 -

[OT]RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Shyam Anand
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

Re: OT jstl/el question

2004-07-28 Thread Craig McClanahan
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

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

RE: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Why does work differently than ?

2004-07-28 Thread Wendy Smoak
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

RE: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
> 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

RE: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

RE: Struts from XSLT

2004-07-28 Thread Matthew Van Horn
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

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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,

RE: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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.

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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 .

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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(

OT jstl/el question

2004-07-28 Thread Nathan Maves
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

Re: [OT] JBoss/Tomcat & default context

2004-07-28 Thread Erik Weber
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

HTTP Status 503 - Struts 1.1 - Tomcat 4.1.30 deployment problem

2004-07-28 Thread Bobby K.
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

RE: Struts handling for a spreadsheet look-and-feel form

2004-07-28 Thread Richard Mixon (qwest)
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

release of struts-faces library

2004-07-28 Thread sirhck
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread McClung, Brian
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -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

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread McClung, Brian
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -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

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
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,

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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

RE: Not Logged in with the same loggin-password if it isalready registered.

2004-07-28 Thread Jim Barrows
> -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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Brett Connor
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

RE: Not Logged in with the same loggin-password if it isalready registered.

2004-07-28 Thread Geeta Ramani
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Robert Miller
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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

Re: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Bill Siggelkow
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread David Friedman
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).

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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-

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread David Friedman
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Ivan Vasquez
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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Jim Barrows
> -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

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Geeta Ramani
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:[

Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Ricardo Andres Quintero
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

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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]

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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:

Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Wendy Smoak
>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

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Paul McCulloch
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)?

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Why does work differently than ?

2004-07-28 Thread Wendy Smoak
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

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Paul McCulloch
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

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Paul McCulloch
> 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]

RE: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

RE: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: How to add new events to HTML tag library objects

2004-07-28 Thread Mazen, Tamer S
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

Re: Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Re: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Re: Why does work differently than ?

2004-07-28 Thread Wendy Smoak
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

Re: FW: error in new bea

2004-07-28 Thread Erik Weber
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: How to add new events to HTML tag library objects

2004-07-28 Thread Jim Barrows
> -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

How to add new events to HTML tag library objects

2004-07-28 Thread Mazen, Tamer S
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

RE: Using within other nested tags

2004-07-28 Thread Maurice Nicholson
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Geeta Ramani
+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,

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

Re: Re: Re: Why does work differently than ?

2004-07-28 Thread Andrew Close
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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 -

Re: Re: Why does work differently than ?

2004-07-28 Thread Matt Bathje
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();

Re: Re: Why does work differently than ?

2004-07-28 Thread Michael McGrady
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

[ANNOUNCE] StrutsDoc 0.5 Released

2004-07-28 Thread Nick Heudecker
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

RE: Re: Why does work differently than ?

2004-07-28 Thread Jim Barrows
> -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

Re: Re: Why does work differently than ?

2004-07-28 Thread Wendy Smoak
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

Re: Re: Why does work differently than ?

2004-07-28 Thread Robert Miller
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   2   >