html:select element's data in session

2002-10-15 Thread atta ur-rehman
Dear all, To show a drop down list I'm using html:select tag and storing a collection object in the session to fill this list up. Everything works fine. My only question is that when would this list would be removed from the session? Would Struts framework remove it or it would be there

When ActionFrom object is cleared from the session

2002-10-16 Thread atta ur-rehman
Dear all, When does STRUTS framework removes ActionForm object from the session, if at all? Any help or pointers to help on this topic is appreciated. Regards, ATTA

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
common collections in the ServletContext. David From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: struts users mailing list [EMAIL PROTECTED] Subject: Session Cleanup Date: Thu, 17 Oct 2002 10:20:24 -0700 When does struts framework remove

Multiple parameter to html:link

2002-10-18 Thread atta ur-rehman
Hi, How do I include multiple parameters in the html:link tag? currently I got it working for one parameter like: html:link href=logout paramId=companyId paramName=company paramProperty=valuebean:write name=company property=label//html:link now, what if I want to add another parameter to this

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
, 2002 3:37 PM To: Struts Users Mailing List Subject: Re: Session Cleanup On Thu, 17 Oct 2002, atta ur-rehman wrote: Date: Thu, 17 Oct 2002 13:36:41 -0700 From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 17, 2002 1:36 PM Subject: Re: Session Cleanup On Thu, 17 Oct 2002, atta ur-rehman wrote: Date: Thu, 17 Oct 2002 13:36:41 -0700 From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
the myCollection object by saying: in JSTL: ${requestScope.someName} in jsp expression %= request.getAttribute(someName) % Does that help? Dave From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED

Re: Session Cleanup

2002-10-18 Thread atta ur-rehman
at HttpServletRequest and HttpSession David From: atta ur-rehman [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Session Cleanup Date: Thu, 17 Oct 2002 13:55:55 -0700 Thanks Craig. That explains. I

Session Cleanup

2002-10-18 Thread atta ur-rehman
When does struts framework remove ActionFrom objects from the session, if at all. I'm worried if I'd be making my session object too large. Moreover, what are the best practices for storing html:select collections in the session? How and when to remove these collections from the session?

IllegalStateException while using jsp:forward

2002-10-22 Thread atta ur-rehman
Dear all, While conditionally forwarding to another jsp page my Struts/Tiles page throws this exception: java.lang.IllegalStateException: reset() failed - data has already been sent to client I don't understand what's going on. Any help would be greatly appreciated. Regards, ATTA

Error Page and Struts+Tiles

2002-11-13 Thread atta ur-rehman
Dear all, It seems that errorPage page directive doesn't work if we have struts and tiles. Is it so? If yes, how do a get equivalent functionality. I always get an InvlaidStateException that says that server can't take me to error page 'cas some data has already been sent to client. TIA,

Re: Error Page and Struts+Tiles

2002-11-14 Thread atta ur-rehman
14. 03:12 dátummal atta ur-rehman ezt írtad: Dear all, It seems that errorPage page directive doesn't work if we have struts and tiles. Is it so? If yes, how do a get equivalent functionality. I always get an InvlaidStateException that says that server can't take me to error page 'cas

Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
Dear all, Here is my layout.jsp file: %@ page errorPage=ErrorPage.jsp % tiles:insert attribute=menu/ tiles:insert attribute=body/ tiles:insert attribute=footer/ The menu tile is a JSP page that could throw an exception. Now whenever an exception is thrown on the menu tile I

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
-module, that can be manage easily and consistent Through out the entire application. Plus, exception handler can be reused in different Web application with the entire enterprise. Hope this would help, -danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
this would help, --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 10:57 AM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Thanks, Danny, for the detailed response. We're running Struts 1.0

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
that You extended from your abstract action class. This action would do all the necessary Stuff with your Exception if there is one or create a new exception and throw it. --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 11:42

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
Users Mailing List' [EMAIL PROTECTED] Sent: Monday, November 18, 2002 1:05 PM Subject: RE: Howto handle this behavior in Struts+Tiles I thinks so ... Good luck...:) --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 1:05 PM

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
and exception within web application. -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 1:22 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Hi Danny, I'm confused already!!! here

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
, 2002 2:37 PM Subject: RE: Howto handle this behavior in Struts+Tiles No problem... I've learn from others the same way... --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:37 PM To: Struts Users Mailing List Subject: Re

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
it anywhere, the container will handle it and this is Where your web.xml took place. So you can declare additional mapping in your web.xml To take care of these JspException just as you did for other in your Struts apps. --danny -Original Message- From: atta ur-rehman [mailto

Re: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread atta ur-rehman
Create this page and have it Forward to the right action mapping that handle error...:) Sorry all these are coming out of my head as I can remember it correctly or not...:) danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 4:27

Re: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread atta ur-rehman
PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 5:54 PM Subject: RE: Howto handle this behavior in Struts+Tiles Let me know the result :) -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002

validate() method is ActionForm

2003-02-13 Thread atta ur rehman
Dear all, Struts 1.0.2. Are form properties updated before the validate() method is called? Regards, ATTA

html:file tag and exception in validate method

2003-02-21 Thread atta ur rehman
Dear all, One of our JSP has html:file tag in it. Whenever validate method of the associated ActionFrom returns any errors, the JSP container throws ClassCastException. java.lang.ClassCastException at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:171)

Re: html:file tag and exception in validate method

2003-02-21 Thread atta ur rehman
Any comments, anybody? - Original Message - From: atta ur rehman [EMAIL PROTECTED] To: struts users mailing list [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:33 AM Subject: html:file tag and exception in validate method Dear all, One of our JSP has html:file tag in it. Whenever

[REPOST] html:file tag and exception in validate method

2003-02-24 Thread atta ur rehman
- Original Message - From: atta ur rehman [EMAIL PROTECTED] To: struts users mailing list [EMAIL PROTECTED] Sent: Friday, February 21, 2003 9:33 AM Subject: html:file tag and exception in validate method Dear all, One of our JSP has html:file tag in it. Whenever validate method

Re: [Q] any ways to know which control was changed in Action class?

2003-02-27 Thread atta ur rehman
A hidden field, maybe as a form proerty, that your javascript would set to appropriate value before the submit() call. ATTA - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:11 PM Subject: [Q] any ways to know which control was

Where does the servlet.log(String) output go?

2002-12-16 Thread atta ur-rehman
Dear all, This may seems a stupid question but I've been banging my head for last two hours to no avail! My Action class has a servlet.log() method call to write out a log message. Everything runs fine but I can't see the log message anywhere. As a matter of fact, I don't know which file it

Re: Question about ActionErrors html:errors

2003-01-31 Thread atta ur rehman
Well, I think your resource file is missing header and footer properties. try to add errors.header= errors.footer= at the top of your resource file. hope it helps. ATTA - Original Message - From: Ali Khan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 31, 2003 2:18 PM

Re: [OT] aliases [SQL SELECT column aliases]

2003-02-10 Thread atta ur rehman
hello Antoine, what it is that you want to 'detect'? Regards, ATTA - Original Message - From: Gilbert, Antoine [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 10:39 AM Subject: aliases Hiya I have a little database question about

Re: [OT] aliases [SQL SELECT column aliases]

2003-02-10 Thread atta ur rehman
sometime i have to use AS keyword in SQL and sometime not.. -Message d'origine- De : atta ur rehman [mailto:[EMAIL PROTECTED]] Envoyé : 10 février, 2003 14:05 À : Struts Users Mailing List Objet : Re: [OT] aliases [SQL SELECT column aliases] hello Antoine, what it is that you want

Re: [OT] aliases [SQL SELECT column aliases]

2003-02-10 Thread atta ur rehman
-Original Message- From: atta ur rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 1:12 PM To: Struts Users Mailing List Subject: Re: [OT] aliases [SQL SELECT column aliases] The only way to know wehter or not you could use AS for column aliases would be to refer

Re: [OT] aliases [SQL SELECT column aliases]

2003-02-10 Thread atta ur rehman
properly... I would like to dynamicly detect it.. Event with DatabaseMetadata its not possible ? -Message d'origine- De : atta ur rehman [mailto:[EMAIL PROTECTED]] Envoyé : 10 février, 2003 14:18 À : Struts Users Mailing List Objet : Re: [OT] aliases [SQL SELECT column aliases

Re: posting an updated collection back to Action

2003-02-10 Thread atta ur rehman
For your orderDetail textbox you could have setOrderDetail(String[]) and String[] getOrderDetail() getter/setter in your ActionForm class. Hope this helps. ATTA - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 3:45 PM Subject: posting

A column consisting of html:select widgets

2003-07-21 Thread atta-ur rehman
Dear All, I'm using struts 1.0.2. I have a requirement where i need to show a column consisting of dropdown lists. Every row of the table for the column shows a dropdown with the same list of options. I've used String[] getCategory() and setCategory(String[]) getter/setter in thr ActionForm. On

Re: A column consisting of html:select widgets

2003-07-21 Thread atta-ur rehman
Where the collection myOptions is a List of beans. Those beans have two fields value and label Hope that helps! -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 12:46 PM To: Struts Users Mailing List Subject: A column consisting

Re: A column consisting of html:select widgets

2003-07-21 Thread atta-ur rehman
in the right direction? Thanks, Amit -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 1:27 PM To: Struts Users Mailing List Subject: Re: A column consisting of html:select widgets Thanks Amit. And that's exactly what i'm doing! Still i

Re: A column consisting of html:select widgets

2003-07-21 Thread atta-ur rehman
the DB and set multiple selected values depending on the values in the DB. Vijay -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 11:27 AM To: Struts Users Mailing List Subject: Re: A column consisting of html:select widgets Thanks

Re: A column consisting of html:select widgets

2003-07-21 Thread atta-ur rehman
this in the Action: aRequest.setAttribute(anActionMapping.getName(), myActionForm) then forward it to the JSP page. Do not do any funky javascript stuff (onLoad etc etc) It should work without it!! --Amit -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July

A column consisting of html:select widgets

2003-07-22 Thread atta-ur rehman
or the values after submission of the form. I'd really appericiate any clues on this one! Regards, ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 21, 2003 12:28 PM Subject: Re: A column consisting

Re: [OT]Java equivalent to ASP function

2003-07-22 Thread atta-ur rehman
hello charlene, for ascii code of character you could simple use java cast operation: char c = 'A' byte b = (byte) c; now b should be set to 65. the ascii value of capital 'a'. for converting a number to hex you can use Integer.toHexString(int) static method. at the same time you can use

Anyone, Please! A table with column of dropdowns

2003-07-24 Thread atta-ur rehman
Dear All, I've been trying to for last three days to do this. Basically I've an HTML table one of its column gives user to select Block Type. Block Type is a list of reference values that are shown in an html:select element. Now to handle this situation I've created String[] getter/setter for

Re: Anyone, Please! A table with column of dropdowns

2003-07-24 Thread atta-ur rehman
Sure, I can. And thanks for replying! I've attached the JSP and Form class. And yes, i thought that i might need indexed properties and did add the index property getter/setter to the Form. but i cannot seem to submit the form with indexed property getter/setter. and by the way, we're using

Re: Anyone, Please! A table with column of dropdowns

2003-07-24 Thread atta-ur rehman
yes, that's a good question. i guess the same way struts passes all the correct selections to the Form object on submission ;) while we are on the subject, could you please refer me some further readings on Indexed Properties and how it could help me in this case? Thanks for your time. ATTA

Re: Anyone, Please! A table with column of dropdowns

2003-07-24 Thread atta-ur rehman
so far i've found these two link related: http://www.husted.com/struts/tips/006.html http://jakarta.apache.org/struts/faqs/indexedprops.html and i'm still lost! i'm kind of confused on this. i would see this as a very frequent occuring 'problem' in data-driven web apps and by the response of my

Reasons to move to Struts 1.1

2003-07-28 Thread atta-ur rehman
Dear all, We have using Struts 1.0.2 for about last couple of years. Now that Struts 1.1 is out. Are there any reasons for us to start thinking moving to 1.1? Any help or pointer to help will be greatly appreicated. Regards, ATTA

Re: Reasons to move to Struts 1.1

2003-07-28 Thread atta-ur rehman
has tons of new features including validator, tiles, dynabeans, and map backed forms. David --- atta-ur rehman [EMAIL PROTECTED] wrote: Dear all, We have using Struts 1.0.2 for about last couple of years. Now that Struts 1.1 is out. Are there any reasons for us to start thinking

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
Thanks. It was helpful. But it still leaves me thinking if Indexed Properties are meant ONLY for DynaActionForm type of forms? I'm still unable to use them by using an array in my conventional ActionForm. ATTA - Original Message - From: Paananen, Tero [EMAIL PROTECTED] To: 'Struts

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
Thanks very much Nick! It was indeed helpful. I was missing getter/setter for individual list items! now my form has following methods: private String[] fruit = {Apple, Orange, Banana}; public List getFruits() { return Arrays.asList(this.fruit); } public void setFruits(List l) { this.fruit =

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
on your goal, you need to do something different. What are you trying to do? I'm off work in a minute, but I'll check messages at home later this evening and see if I can help at all. Nick atta-ur rehman [EMAIL PROTECTED]To: Struts

Re: Indexed Properties

2003-07-28 Thread atta-ur rehman
Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 3:37 PM To: Struts Users Mailing List Subject: Re: Indexed Properties Thanks, for the reply. Okay, here is the background. I'm trying to learn the user of Indexed Properties. Why I'm doing that? Well, I

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
, 2003 2:57 AM Subject: Re: Indexed Properties Atta, It sounds to me like you have it. As long as your names match up, it should work fine. Ajay has given a full code example that looks good. Nick atta-ur rehman [EMAIL PROTECTED

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
Thanks. you see my problem is i don't know how to get the updated values when the form is submitted? my beans collection is updated, my indexed getter/setter are not called? so where are the new values or even the same values when i submit without changing anything at all on the form? this is my

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
so you are saying that ideally the the beans collection in my ActionForm should be updated on form submission? - Original Message - From: Paananen, Tero [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:30 AM Subject: RE: Indexed

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
Okay. my form-bean definition looks like: form-bean name=testForm type=test.TestForm/ while the action is: action path=/test type=test.TestAction name=testForm scope=session validate=false input=/test.jsp forward name=failure path=/mainMenu.jsp/ forward name=success

Re: Indexed Properties

2003-07-29 Thread atta-ur rehman
at the source and confirm that your indexed properties are named correctly. You should see block[0].id, block[0].name, block[0].category. If none of this helps, I'm not sure where else to look. It sounds like everything else is lining up... Nick atta-ur rehman

Re: Displaying is easy, capturing is not..

2003-07-30 Thread atta-ur rehman
Hello Mona, is ABC is bean that has six properties that you need to show? and then you have a collection of ABC objects in a List or Vector? if so, you can use the indexed properties to capture all the changes done on the page. and yes, usually one submit button is enough for six hundred

Re: Concept clear for Indexed properties

2003-08-14 Thread atta-ur rehman
hello sridhar, if you've been able to display the page with all your IpAddress bean in the collection, you're quite colse. Now on your form add a IpAddress getIpAddress(int index) this method should retun the appropraite IpAddress object at the given index of the your collection. that's it! now

[OT] Tree Stucture in STRUTS

2003-08-19 Thread atta-ur rehman
hi all, excuse me if this sounds off topic! can somebody please point to some references on how to incorporate a dynamically built tree-like structure in a struts app? can struts-menu be used for this purpose? any other suggestions? thanks. ATTA

Re: [OT] Tree Stucture in STRUTS

2003-08-19 Thread atta-ur rehman
a wonderful site which explains how to build a nice tree using nested tags. Thanks a lot Aaron. you have saved my life more than once. regards Ashok --- atta-ur rehman [EMAIL PROTECTED] wrote: hi all, excuse me if this sounds off topic! can somebody please point to some references on how

Re: [Poll] action mappings

2003-09-23 Thread atta-ur rehman
hi james, could you please explain, for a struts newbie, what do you mean by quote I'm using DispatchAction with 2 abstract base actions between my actions and the dispatch action. The first one has helper methods for functionality not requiring authentication, and the second one (which extends

Re: [Poll] action mappings

2003-09-24 Thread atta-ur rehman
? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 12:59 PM Subject: Re: [Poll

Re: URGENT... HELP NEEDED...

2003-10-02 Thread atta-ur rehman
Okay. its not a struts questions and probably should be sent to a JavaScript forum. but i spirit of Struts; here is what i would call a very crude method of doing it. i hope it would give you a starting point. javascript function doIt() { var today = new Date(); var fridays = new Array();

Re: [ANNOUNCE] Struts Message Resource Doc

2003-10-20 Thread atta-ur rehman
Nick, It is a consice article on message resource usage. Thanks. In our scenario, for the sake of maintainablity given the number of entries in the resource files, we have separate resource files for Labels and Messages. Sometimes you have to show a message like: First Name is required. where

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread atta-ur rehman
hi, what do you mean by when i try to dispay it? are you using html:errors tag or some other mechanism? in your JSP page have you tried: html:errors bundle=approval / ATTA - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 31, 2003

Re: 2 message resource files andmessages in Action class problem

2003-10-31 Thread atta-ur rehman
in Action class problem Hi yes if i do that it works fine, but my problem is the following some error messages come from maps.properties file, which is default and some come from approval.properties file, so is there a way to make a single tag work for both Ashish --- atta-ur rehman [EMAIL

Re: struts and filters

2003-11-04 Thread atta-ur rehman
sure, it will! - Original Message - From: jeff [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 1:37 PM Subject: struts and filters will struts work with filters ? i am using filters now, and want to start using struts. thanks,

Re: How to Turn off Struts logging?

2003-11-12 Thread atta-ur rehman
http://www.mail-archive.com/[EMAIL PROTECTED]/ - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 1:59 PM Subject: RE: How to Turn off Struts logging? Can someone point me to the archives? Thanks Yee,

Re: checkbox value from getter in collection of value object

2003-12-26 Thread atta-ur rehman
Hello Shahfazal, As i understand from the 'applicantId' getter, you want to use these checkboxes as a selecting indicator. If so, create a String[] getter/setter in your ActionForm, let say: setSelectedApplicants(String[] ids) String[] getSelectedApplicants() now in your jsp you can write:

Re: [OT] RE: Memory usage

2004-02-26 Thread atta-ur rehman
+1 ATTA - Original Message - From: Christian Bollmeyer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:53 AM Subject: Re: [OT] RE: Memory usage On Thursday 26 February 2004 20:12, Dhaliwal, Pritpal (HQP) wrote: Now. Still

Re: Life, the Universe and Everything (was: RE: [OT] RE: Memory usage)

2004-03-01 Thread atta-ur rehman
+1 ATTA On Mar 1, 2004, at 8:19 PM, Vic Cekvenich wrote: -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] 4. I had the same frustrations that you have. I made the decision that the best way to restore the balance of good in the universe, was to try to become the

Re: sent specific html:hidden field depending which html:link was used

2004-03-12 Thread atta-ur rehman
Hello Jan, One way I see it could be done is to move the hidden element out of both of the links and in parameterize your JavaScript:sendFormNeuanlage() method for 'bestaetigen' and 'aktualisieren' and let this javascript method set the value of the hidden field. function

Re: bean:define Compile time exception on Orion

2004-03-12 Thread atta-ur rehman
Hello Kazim, A quick test on my JSP page with Strtus 1.1 in place just works fine: % String[] names = {joe, cindy}; session.setAttribute(names, names); % bean:define id=n name=names scope=session type=java.lang.String[] / logic:iterate name=n id=name bean:write name=name/ /logic:iterate

Re: Users logs off

2004-03-12 Thread atta-ur rehman
Well, Kazim, with this description you can hardly expect to get any help at all! What's logoff process? What's it doing? What's the exception? Is the underlying code for logoff process a state secret? ATTA - Original Message - From: Syed Kazim Hussain [EMAIL PROTECTED] To: [EMAIL

Re: Users logs off

2004-03-12 Thread atta-ur rehman
invalidation being done anywhere. -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 3:33 AM To: Struts Users Mailing List Subject: Re: Users logs off Well, Kazim, with this description you can hardly expect to get any help at all! What's

Re: Testing a GLOBAL_ERROR

2004-03-17 Thread atta-ur rehman
You might want to try logic:messagesPresent tag instead. ATTA - Original Message - From: Joao Batistella [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:59 PM Subject: Testing a GLOBAL_ERROR I'm trying to test if I got an Global

Re: Way tho highlight error form field

2004-03-18 Thread atta-ur rehman
hi there, only way i know for achieving this is to extend struts' tags and either override the getStyleClass() method or add a new property getErrorStyleClass(). if you search archives on this list, http://www.mail-archive.com/[EMAIL PROTECTED]/msg96068.html Niall suggested a few days back about

Re: Documentation Struts-config

2004-03-23 Thread atta-ur rehman
How about: jakarta.apache.org/struts/dtds/struts-config_1_1.dtd - Original Message - From: Bill Siggelkow [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 10:13 AM Subject: Re: Documentation Struts-config I think you will find that the struts-config_1_1.dtd file

redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
Dear all, I've been struggling with this problem for about two days now; I hope somebody here would be able to help me. In one of my actions I've implemented Struts token functionality to keep user from using browser Refresh button. Every thing works as promised except for when invalid token

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
Any takers? ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 10:17 AM Subject: redirect=true and Tiles; does it work? Dear all, I've been struggling with this problem for about two days

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
and Tiles; does it work? --- atta-ur rehman [EMAIL PROTECTED] wrote: Any takers? I'll give it a shot. ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] global-forwards forward name=invalidToken path=showInvalidTokenMessage.do redirect=true

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
, 2004 3:07 PM Subject: Re: redirect=true and Tiles; does it work? --- atta-ur rehman [EMAIL PROTECTED] wrote: TestProcessAction just forwards to success forward. But before it does that it check for the valid token and in the case of an invalid token it just forwards (redirects

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
and on IE 6.0.2800 the action is not called neither do I see the confrimation message of posting again! Boils down to Browser? --- atta-ur rehman [EMAIL PROTECTED] wrote: http://localhost:8080/test/processTest.do and if and press Refresh here the url changes to: http://localhost:8080/test

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
! - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:11 PM Subject: Re: redirect=true and Tiles; does it work? See inline, please. - Original Message - From: Hubert Rabago [EMAIL PROTECTED

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
I can confirm the stated behavior for both Mozilla FireFox 0.8 and Netscape 7.1 too. - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:15 PM Subject: Re: redirect=true and Tiles; does it work

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
time to upgrade to Firefox 0.8. confused/, Hubert --- atta-ur rehman [EMAIL PROTECTED] wrote: See inline, please. - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 3:56 PM Subject: Re