Re: LookupDispatchAction and getParameter

2003-05-29 Thread Gregory F. March
On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote: |or try getParameter(action) in your execute method. The URL for the |request looks like http://...?action=doSave; internally. Hmm... I printed out request.getParameter(action), and the value is always the label of the submit button, i.e.

Re: AW: Container Managed Authentication

2003-05-29 Thread Erik Price
Hirschmann, Bernhard wrote: Thanks, Erik, but those I already know. I'm looking for some hints how you can access or handle the CMA stuff using Struts. I've seen that you can allow an action only for a speciffic role, configuring in struts-config.xml. So I thought there may be more support. Do

Possible Validator Bug

2003-05-29 Thread Brown, Melonie S. - Contractor
I created a custom validator and thought that I had everything configured properly, but couldn't get it to work. Since I was using an older version of Struts (December/January), I downloaded the latest nightly build. I then started getting the following error: ERROR Date = 2003-05-28

RE: Possible Validator Bug

2003-05-29 Thread Raible, Matt
Try changing methodparams to methodParams... -Original Message- From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:46 AM To: '[EMAIL PROTECTED]' Subject: Possible Validator Bug I created a custom validator and thought that I had everything

Re: DB Access using struts

2003-05-29 Thread Erik Price
Sinclair, Mark wrote: Hi All, Please help I am relatively new to java and even more recently to struts. I basically want to know what is the best way (best coding practice J2EE)to connect to and use a DB with struts framework? The approaches that I have considered (using my limited

Re: LookupDispatchAction and getParameter

2003-05-29 Thread Gregory F. March
On May 27, 2003, Gregory F. March [EMAIL PROTECTED] wrote: |I have a form with multiple submit buttons. I'm trying to set up a |LookupDispatchAction. It seems that | |request.getParameter(mapping.getParameter()) | |is always returning null so I can't get to my actions. Arg. I'm

RE: [OT] RE: [ANN] Barracuda 1.2.0 Released!

2003-05-29 Thread Mark Galbreath
Actually, this one was 2001 Mad Fish shiraz (US$15) from south-western Australia, but one the whole, Aussie wines are very good. I'll keep an eye out for the Kurtz, though! My favorite wines are the cabernets from the California Russian Valley, but I can't find any around Baltimore, so the

Conditional Form Action

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I'm trying to use the same JSP to update two similar but different types of data. The form is the same for both, but I want to use a different action mapping for each. I tried this: logic:equal value=format name=type html:form action=/UpdateFormat.do /logic:equal

Re: LookupDispatchAction and getParameter

2003-05-29 Thread Eric Miles
--- In [EMAIL PROTECTED], Gregory F. March [EMAIL PROTECTED] wrote: On May 28, 2003, Eric Miles [EMAIL PROTECTED] wrote: |or try getParameter(action) in your execute method. The URL for the |request looks like http://...?action=doSave; internally. Hmm... I printed out

Re: Issues with Struts and IE 6 SP 1 upgrades?

2003-05-29 Thread Xu Cheng
The first thing I would do is to find out where the problem lies - at server end or client end. There could be many possible causes. Personally I have been using IE 6.1 SP1 with Struts (Tomcat) for some time and I did not encounter problems. But I am using it in an intranet. On Tuesday 27 May

Weirdness...

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I have a logic:equal ... tag commented out in a JSP. However, when I go to that page, it says: [ServletException in:Edit.jsp] No such tag equal in the tag library imported with prefix logic' Shouldn't the tag be ignored? I also don't know why it can't find the equal tag, but

Re: Struts In A Distributed\Clustered Environment.

2003-05-29 Thread Arron Bates
Struts is the least of your teams performance concerns. It would do you good service to simply take Struts as heling you organise servlets jsp's and go chasing bigger problems like persistence and selection of architecture app server. Struts doesn't change the Servlet model. It doesn't change

Re: Weirdness...

2003-05-29 Thread Ian Hunter
What kind of comment are you using, !-- HTML -- or %-- JSP --% As far as why logic:equal isn't being found, post your JSP... - Original Message - From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:13 AM Subject: Weirdness...

RE: Weirdness...

2003-05-29 Thread Kandi Potter
I've been warned by another developer to not just comment the tags but to totally change them by removing spaces when I want to comment one out. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:13 AM To: '[EMAIL

iterate tag question

2003-05-29 Thread Per Lovdinger
Hi there, I'm Struts newie and have a question about the iterate tag. When I'm creating an ArrayList with 2 objects. For some reason only one show up. What am I doing wrong ? I've attached the jsp page. thanks in advance __ Do you Yahoo!? Yahoo! Calendar - Free

Re: Howto forward bean from one action to another in the request scope?

2003-05-29 Thread Iain Sanderson
One solution is to persist the data bean in the session scope. I've just done this by giving the bean a unique name by appending the sessionId and sending it back into the session scope, as well as sending a clone of the bean into the request scope to be used by View A. The follow-on action,

RE: Weirdness...

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Actually, I just fixed the issue. Stupid typo in my code, sorry... I'm sure you all know how that is. - Keith www.buffalo.edu/~kkamholz -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:20 AM To: Struts Users Mailing List Subject: Re:

How to change label on a html:file button

2003-05-29 Thread harm
Hi all, I would like to change the label: 'browse' on the button to some other text. Currently I'm using: html:file property=file styleClass=regel title=some other text/ As you can see, I would like a button which displays the label 'some other text'. But, unfortunatly this seems not to

RE: Weirdness...

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Really? I wonder why that is - Keith www.buffalo.edu/~kkamholz -Original Message- From: Kandi Potter [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:22 AM To: Struts Users Mailing List Subject: RE: Weirdness... I've been warned by another developer to not just comment

Re: Possible Validator Bug

2003-05-29 Thread Denis Avdic
Dontcha hate that? Raible, Matt wrote: Try changing methodparams to methodParams... -Original Message- From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:46 AM To: '[EMAIL PROTECTED]' Subject: Possible Validator Bug I created a custom

SwitchAction example

2003-05-29 Thread Vineet Bhatia
Hi Struts guru's!! Is there an example for SwitchAction somewhere? TIA, Vineet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

I dont understand whats wrong with this.

2003-05-29 Thread Abhinav (Cognizant)
For my form validation failure, I have specified another action as Input. When I submit to /result/view, the validation fails, I change one of my form-bean attribute in validate method itself. It then goes to /login and the validate method is again called. I find that the form-bean attribue has

RE: iterate tag question

2003-05-29 Thread Vinay Mhapankar
Is the / at the end there in real code? logic:iterate id=usersAttrib name=usersAttrib / If yes then remove it... and try. Thanks. -Vinay -Original Message- From: Per Lovdinger [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:00 PM To: [EMAIL PROTECTED] Subject: iterate

Re: SwitchAction example

2003-05-29 Thread James Mitchell
Yes: http://sourceforge.net/projects/struts Look for Module Switching Examples -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: Vineet Bhatia [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

RE: Weirdness...

2003-05-29 Thread Kandi Potter
He didn't say..but when I had some trouble with my code, he warned me about my method of commenting -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 10:43 AM To: 'Struts Users Mailing List' Subject: RE: Weirdness...

RE: How to change label on a html:file button

2003-05-29 Thread Kruse, Matt
I would like to change the label: 'browse' on the button to some other text. Unfortunately, you can't. This is a limitation of HTML, not Struts. There are some really, really funks tricks with DHTML and hidden form fields, etc, which can simulate this, but trust me, you don't want to use them.

Ordering of tags

2003-05-29 Thread Paul Curren
Hi there, I'm using the nightly build from 25th of this month. My problem relates to how a number of different tags are interacting. So first, my page has the tag tiles:useAttribute id=stepNumber name=pageNumber classname=java.lang.String / I can then later in my page do html:hidden

RE: Struts In A Distributed\Clustered Environment.

2003-05-29 Thread Paananen, Tero
Has anybody successfully managed to use Struts in a distributed\clustered environment? If so with what setup? And did you have any Struts related difficulties? I've worked on applications using Struts that get deployed in clustered environment. You don't need to do anything special for

Forwarding to another action

2003-05-29 Thread Abhinav (Cognizant)
For my form validation failure, I have specified another action as Input. When I submit to /result/view, the validation fails, I change one of my form-bean attribute in validate method itself. It then goes to /login and the validate method is again called. I find that the form-bean attribue has

ActionForm and missing fields in html:form

2003-05-29 Thread Benoit Voisin
I have general question on which I did not find an answer in the FAQ/Google. I seems quite a vital feature, so I believe I have missed something. If the JSP does NOT contain any html:text or html:hidden tag for a field that is referenced in the ActionForm, the ActionForm.field will be be left

Validation file never seems to be parsed...

2003-05-29 Thread Matthew Watson
Hi, I'm trying to use the struts validation framework. I've installed the example struts-validator WAR into tomcat and the examples seem to work fine. On startup various debug messages get spat out during the parsing of the validator-rules.xml and validation.xml files. Like so... INFO: Add

Repost: Global request parameter filtering

2003-05-29 Thread Mike Whittaker
Sorry to be a pain ~~ Say for instance you want to filter for all the ' \ characters in request parameters either removing them, or escaping them. Either way if you do it before the action form gets them, then on prepopulation of form fields the user will see these alterations

bean:define error

2003-05-29 Thread Anand M S
here is the code, I have FELLOW_HEADER in session, it gives the following error [ServletException in:/jsp/fellow/declare_tenure_plans_step_1_1_tile.jsp] Define tag can contain only one of name attribute, value attribute, or body content' I'm using JRun4.0 bean:define id=header

RE: URL missing .do

2003-05-29 Thread Craig R. McClanahan
On Wed, 28 May 2003, Marcel Overdijk wrote: Date: Wed, 28 May 2003 09:06:56 +0200 From: Marcel Overdijk [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: URL missing .do Steve, Could this also be the

No input attribute for mapping path - what does this mean?

2003-05-29 Thread Catherine Morgan
Sometimes when I hit a submit button to forward to another page I get an HTTP 500 error with the following error message: No input attribute for mapping path ... The path in the error message is configured in struts-config, and I'm sure the struts-config is OK because sometimes it does work.

Re: Ordering of tags

2003-05-29 Thread Paul Curren
I found a work around for this - I don't understand the problem though so anyone else does i'd love to be enlightened :-) The work around is prior to the html:javascript tag, insert some java like - % Integer temp = new Integer(stepNumber); int temp2 = temp.intValue(); % Then use temp2

Redirecionamento

2003-05-29 Thread Silverio Wagner Silva(Secorp)
People, Anyone can tell me how can I redirect from a jsp to another ? Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do you orgnize your project directory?

2003-05-29 Thread Lei Gao
Hello guys, I want to know when you start a Structs project, generally how do you orgnize your project directory? Which way you think is the most comfortable way for both developing and deploying? Thanks for share your idea with me. Lei

Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Quick question... I'm using 2 submit buttons in the same form, so that I can do 1 of 2 things, with the same input data. (You can do that, right?) I have the value attribute for one of them set to 'delete'. What I'm wondering is how to get the value of the submit button that was clicked from

Re: No input attribute for mapping path - what does this mean?

2003-05-29 Thread Jeff Kyser
among other things, it is the page to fall back on if validation fails. so if you enter your form data correctly, you will go to the appropriate page, but if you make a mistake, it looks at 'input' for where to go, hence you may have seen it sometimes and not others? In my case below, it is a

Calling forms from list box without action?

2003-05-29 Thread Barry Volpe
The following works but I was wondering if there is an easier way? html:form action=/GetCategory name=categoryForm type=com.CategoryForm scope=request html:select property=category size=1 html:option value=CategorySelect-A-Category/html:option html:option

RE: Submit Value

2003-05-29 Thread Phillip Qin
Don't bother trying it. Only Mozilla gives you the value, while IE doesn't. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:01 PM To: '[EMAIL PROTECTED]' Subject: Submit Value Quick question... I'm using 2 submit buttons in the

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Really? I thought that was a fairly common thing to do? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE

Re: Redirecionamento

2003-05-29 Thread James Mitchell
Hey that's a pretty good one!! Although it's not Friday yet. -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: Silverio Wagner Silva(Secorp) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent:

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Ok... Does anyone have a good alternative then? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE doesn't.

Re: How do you orgnize your project directory?

2003-05-29 Thread Erik Price
Lei Gao wrote: Hello guys, I want to know when you start a Structs project, generally how do you orgnize your project directory? Which way you think is the most comfortable way for both developing and deploying? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html Erik

[RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
**$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there) cannot use the feature? /rant /flame Gah. Now to figure out an elegant way of fixing this Phillip Qin wrote: Don't bother trying it.

Re: Submit Value

2003-05-29 Thread Josh McCulloch
A submit button is supposed to submit a parameter when selected. i.e. input type=submit name=submitButton value=Delete should send /xxx.do?submitButton=Delete This should correspond to a member of your ActionForm. You should also look into DispatchAction and LookupDispatchAction. They can call

How to handle key attribute of exception tag in struts-config.xml?

2003-05-29 Thread Caroline Holanda
Hi List! Can anybody help me to understand well the meaning of bundle and key atrributes of the exception tag nested in global-exceptions of struts-config.xml? Does these atrributes make sense to be defined if I have already set the path attribute to an error page jsp? If so, how will

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Alright, I think I basically understand how this works, but doesn't this interfere with internationalization? If we want to use a message from Application Resources for the button label, and if we check for that value in our action, won't the internationalization get completely messed up? - Keith

RE: Submit Value

2003-05-29 Thread Brandon Goodin
In that case use the LookupDispatchAction Brandon Goodin -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:39 AM To: 'Struts Users Mailing List' Subject: RE: Submit Value Alright, I think I basically understand how this

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Bradley M. Handy
No it doesn't interfere with internationalization, as long as you use the Struts HTML tags. html:submit property=submitButton bean:message key=button.name / /html:submit Brad Handy -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May

FW: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet; Router: Database disk quota exceeded

2003-05-29 Thread Brandon Goodin
Can we remove this guy from the Struts-User List? PLEZ Brandon Goodin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:49 AM To: Brandon Goodin Subject: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet;

Re: Submit Value

2003-05-29 Thread Josh McCulloch
That is the difference between DispatchAction and LookupDispatchAction. Refer to: http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatchAction.html Basically, in both cases you need to overload the getKeyMethodMap() method (Note: I think the documentation I posted is

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Kandi Potter
thanks. I hadn't figured out yet that you could just provide the button value without value= -Original Message- From: Bradley M. Handy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:48 PM To: 'Struts Users Mailing List' Subject: RE: [struts-user] RE: Submit Value No it

Re: How do you orgnize your project directory?

2003-05-29 Thread Erik Price
Lei Gao wrote: Thanks Erik, Very clear specified, then where generally you put your servlet/bean source code? Is that a good way for creating a sub directory called 'javasrc' or something? I have re-attached this to the list in case it be helpful to others. I have my current (real world)

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Erik Price
Denis Avdic wrote: **$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there) cannot use the feature? /rant /flame Gah. Now to figure out an elegant way of fixing this Maybe you could have

RE: Submit Value

2003-05-29 Thread Michael Ruppin
For what it's worth, you could alternatively do this: MessageResources resources = getResources(request); if(form.getButton().equals(resources.getMessage(your.ok.key))){ } if(form.getButton().equals(resources.getMessage(your.cancel.key))){ } However, there could later be unreachable code if

HTML 4.0 button/ Tag?

2003-05-29 Thread Josh McCulloch
(I should probably go read the HTML 4.0 spec BUT...) Is anyone familiar with the button/ tag in HTML 4.0? I just found it listed in Web Design In A Nutshell. To quote, Defines a 'button' that functions similar to buttons created with the input tag, but allows for richer rendering possibilities.

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
Actually, I just tried taking the value from request and it works. If I do request.getParameter(submit); it returns value, but if i go myForm.getSubmit(); it does not. Weird. Only IE I can test right now is whatever comes with XP. Anyone have any other experiences with this? Denis Erik

Re: [APOLOGY] Re: Submit Value

2003-05-29 Thread Denis Avdic
I apologize to the entire struts-dev-team. Many things were said in a moment of panic. Denis Erik Price wrote: Denis Avdic wrote: **$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there)

HTML 4.0 button/ Tag?

2003-05-29 Thread Josh McCulloch
(I should probably go read the HTML 4.0 spec BUT...) Is anyone familiar with the button/ tag in HTML 4.0? I just found it listed in Web Design In A Nutshell. To quote, Defines a 'button' that functions similar to buttons created with the input tag, but allows for richer rendering possibilities.

Redirecionamento

2003-05-29 Thread Silverio Wagner Silva(Secorp)
People, Anyone can tell me how can I redirect from a jsp to another one? Thanks in advance! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FW: DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet;Router: Database disk quota exceeded

2003-05-29 Thread Denis Avdic
Somebody spoof his email and just mail unsubscribe bot. Would that work? Brandon Goodin wrote: Can we remove this guy from the Struts-User List? PLEZ Brandon Goodin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:49

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Phillip Qin
Because there is no member variable to store the value of submit button. Plus you cannot guarantee request.getParameter(submit) returning value for some browsers. -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 2:23 PM To: Struts Users Mailing List

RE: Redirecionamento

2003-05-29 Thread Marcos Oliva
Silverio, You can use your action class to do the redirect, Marcos oliva -Original Message- From: Silverio Wagner Silva(Secorp) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:22 AM To: 'Struts Users Mailing List' Subject: Redirecionamento People, Anyone can tell me

Re: Redirecionamento

2003-05-29 Thread Josh McCulloch
The purpose of Struts is for this type of logic to not be in the presentation layer. With that said, try jsp:forward page=/ and % response.sendRedirect(); % [EMAIL PROTECTED] wrote: People, Anyone can tell me how can I redirect from a jsp to another one? Thanks in advance!

RE: HTML 4.0 button/ Tag?

2003-05-29 Thread Phillip Qin
This is the spec you should look for http://www.w3.org/TR/html4/interact/forms.html#h-17.5 -Original Message- From: Josh McCulloch [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 2:17 PM To: Struts Users Mailing List Subject: HTML 4.0 button/ Tag? (I should probably go read the HTML 4.0

Re: HTML 4.0 button/ Tag?

2003-05-29 Thread Joe Germuska
At 11:16 AM -0700 5/28/03, Josh McCulloch wrote: (I should probably go read the HTML 4.0 spec BUT...) Is anyone familiar with the button/ tag in HTML 4.0? I just found it listed in Web Design In A Nutshell. To quote, Defines a 'button' that functions similar to buttons created with the input

javascript nested:iterate property reference

2003-05-29 Thread Joseph . Sadove
I'm trying to use Matt Kruse's javascript calendar popup (http://www.mattkruse.com/javascript/calendarpopup/) inside a nested:iterate. This is likely a javascript question, but I would appreciate any help and it may help others save looking through the archives for the 8+ hours I've spent

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Bradley M. Handy
Why can't you depend on it? I've never had any problem getting the value of a submit button from a submitted form in IE or any other browser. The submit button is just another form parameter, so it gets passed like any other form field (ie. Textfield, password field, checkbox, etc.). I am

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
Why wouldn't there be a member variable? In the form? html:submit property=submitButtonName value=WhateverValueIWantInHere submit is there just because i put property=submit. I could have called it property=yellowdinosaurwithpurplepolkadots and it would still work (i think, never tried a name

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Phillip Qin
When you submit a form using struts framework. Every param+value pair is saved into your ActionForm. Param is the name of your ActionForm's member variable. If the widget is a button and you want to read the value, either use request.getAttribute(myButton) or use ActionForm.getMyButton.

using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
the powers that be within my organization have passed a decree that all form buttons have to use images because, supposedly, html text buttons are too ugly. be that as it may. i am extending the LookupDispatchAction for all my Action classes that have inserts/updates/searches etc in them.

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
Right. Obviously there is some kind of misunderstanding here (probably because of my naming) because that is what I was doing. Phillip Qin wrote: When you submit a form using struts framework. Every param+value pair is saved into your ActionForm. Param is the name of your ActionForm's member

Re: javascript nested:iterate property reference

2003-05-29 Thread Mark Lowe
Could be more javascript than tag-libs.. You've a few inconsistancies in approach at first glance.. targetDate looks like it should be a variable not a string literal.. Can you paste the code that arrives to the web browser (i.e. without the struts tags)? On Wednesday, May 28, 2003, at

RE: using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
Sorry for the incomplete email the powers that be within my organization have passed a decree that all form buttons have to use images because, supposedly, html text buttons are too ugly. be that as it may. i am extending the LookupDispatchAction for all my Action classes that have

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Mike Jasnowski
You could also not use submit buttons, but regular buttons, then use Javascript to submit the form with something like document.formName.submit(); -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:39 PM To: Struts Users Mailing List Subject:

RE: using images for form buttons with LookupDispatchAction

2003-05-29 Thread Pani, Gourav
Additionally, has anyone used the ImageButtonBeanManager available on SourceForge as a solution to my problem? -Original Message- From: Pani, Gourav Sent: Wednesday, May 28, 2003 1:53 PM To: '[EMAIL PROTECTED]' Subject: RE: using images for form buttons with LookupDispatchAction Sorry

Re: javascript nested:iterate property reference

2003-05-29 Thread Joseph . Sadove
Mark (et al), Here is the rendered html output from the jsp. I don't think there are any inconsistencies, but please give me more detail if you see something. This works fine when it's not in a nested:iterate loop. I just need to get a document object reference that includes the resolved index

Re: Redirecionamento

2003-05-29 Thread Mark Lowe
credo che sarrebbe meglio se il oggetto fosse scritto nella stessa lingua della email. comunque la questa nuova parola italiana hai inventato è molto interessante.. ;o) evidentamente devo studiare un po' di più.. saluti mark On Wednesday, May 28, 2003, at 19:26 Europe/London, Josh McCulloch

RE: javascript nested:iterate property reference

2003-05-29 Thread Kruse, Matt
I have to believe someone out there has done something similar and is as little expert in mixing javascript and struts as I am. As soon as I get extra time, I _will_ be putting this calendar into a struts taglib, so no one will need to fight this anymore :) I'll point out a couple of issues

RE: Redirecionamento

2003-05-29 Thread Steve Raeburn
This is definitely *not* a Struts question. But, just this one time ... http://www.google.ca/search?q=jsp+redirect http://www.google.ca/search?q=jsp+tutorial http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html You should also read http://jakarta.apache.org/struts/resources/1st.html and

RE: javascript nested:iterate property reference

2003-05-29 Thread Joseph . Sadove
Matt, the problem is getting the particular iterate element as expressed by the tmpIndex. What needs to be passed for every row is something like document.forms[0].['eventList[0].targetDate'] document.forms[1].['eventList[0].targetDate']

Is this question too easy??

2003-05-29 Thread Barry Volpe
The following works but I was wondering if there is an easier way? html:form action=/GetCategory name=categoryForm type=com.CategoryForm scope=request html:select property=category size=1 html:option value=CategorySelect-A-Category/html:option html:option

DynaActionForms and persistence (wizard-type behavior)

2003-05-29 Thread Gregory F. March
Hi all... Now that I've got me LookupDispatchAction problem worked out (it works really well!), I'm struggling with a DynaActionForm problem. I have an action who's scope is session. The associated form is a DynaActionForm. Since I'm just building the app, I have the next button on the form

Is this question too easy?

2003-05-29 Thread Barry Volpe
Using an action the following is the method I am using to call forms from a list box (instead of using links). Is there an easier way of doing this possibly without an action? html:form action=/GetCategory name=categoryForm type=com.CategoryForm scope=request html:select

RE: Is this question too easy?

2003-05-29 Thread Mark Galbreath
Well, you'd probably have better performance if you got rid of the /html:submit tag But this looks about as simple as it gets. Mark -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 3:59 PM To: Struts Users Mailing List Subject: Is this

Problems with Locale and MessageResources

2003-05-29 Thread Daniel H. F. e Silva
Hi all, I am needing help. I am getting in trouble with Locale and MessageResources stuff. When my JSP having a html:messages tag renders it is printing ???en_US.my_property_name???. I know this is because i configured message-resources null=false

RE: Is this question too easy?

2003-05-29 Thread Marcos Oliva
And perhaps you can use javascript to do the forwarding instead of sending this to the Action class, your struts-config will probably change a bit. My 2 cents Marcos Oliva -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:09 PM To:

RE: Is this question too easy??

2003-05-29 Thread Joe Barefoot
snipped Is there an easier way? Doesn't seem right to define multiple fowards in the struts-config. /snipped Not really sure why this wouldn't seem right to you...the entire purpose of struts actions is to determine control flow in the UI. Now, it would be bad if you were dynamically

Re: Problems with Locale and MessageResources

2003-05-29 Thread James Mitchell
Try deploying the struts-example. If that fails then you have a problem. -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: Daniel H. F. e Silva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 4:11 PM

alphabetic index links

2003-05-29 Thread Alawadhi, Mona
I would like to display the alphabets (A through Z) as links in my jsp. I'm storing them in a Vector (or ArrayList) in my Form Bean. What tag libraries should I use to iterate through the Vector/ArrayList, and caputre the alphabet selected? ( I'm running a query upon the alphabet selected) Thank

Re: Is this question too easy?

2003-05-29 Thread Barry Volpe
Thanks, Barry - Original Message - From: Mark Galbreath [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:08 PM Subject: RE: Is this question too easy? Well, you'd probably have better performance if you got rid of the /html:submit

RE: Repost: Global request parameter filtering

2003-05-29 Thread Mike Whittaker
Okay, no one seems to have any suggestions so having thought about this for about a week now here is what I propose to do. I'm just trying to implement very simple forms the struts way, prepopulation validation are not major concerns at the moment but I'd like to keep the option open. My main

Somehow change PropertyMessageResources to enhance testability?

2003-05-29 Thread Karr, David
It's easy to see that in normal operation, it's a good idea for PropertyMessageResources to be a read-only repository. There's no good reason to change message properties at runtime. However, it would be really nice to be able to write Cactus tests that are self-contained, so I can manually

Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Michael Ruppin
I'm reconsidering my approach to this problem, in favor of something more elegant/more compatible with out-of-the-box Struts. Anyone tackled this yet? For those not aware, MS IE allows users to launch a browser against the same session via File/New/Window (Ctrl-N). The issue is, if you have

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Pani, Gourav
have you considered creating a unique token to do session related updates? i don't think tokens can be transferred from one browser window to another though i could be wrong. -Original Message- From: Michael Ruppin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 3:47 PM To: Struts

RE: alphabetic index links

2003-05-29 Thread Mark Galbreath
logic:iterate and bean:write Mark -Original Message- From: Alawadhi, Mona [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 4:29 PM To: 'Struts Users Mailing List' Subject: alphabetic index links I would like to display the alphabets (A through Z) as links in my jsp. I'm storing

RE: Struts and the infamous IE multiple browser/same session problem

2003-05-29 Thread Mike Thompson
Everyone's favorite!!! ;) you can always disable control-N via JavaScript ;) in an onkeydown handler probably for a body tag. //check for control n if (window.event.ctrlKey window.event.keyCode == 78) { window.event.returnValue = false; return false; }

  1   2   3   >