Re: relative path in forward?

2002-11-15 Thread Gemes Tibor
2002. november 15. 04:24 d¨¢tummal Doug Dates ezt ¨ªrtad: Hi: I have a small question. It seems that there is no related discussion on the web. My questions: can I use relative path(without /) in forward in struts-config.xml? For example: can I use forward name=logon path=logon.do/

[FRIDAY] shakespearean insults

2002-11-15 Thread Gemes Tibor
http://www.pangloss.com/seidel/Shaker/index.html Tib -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

[FRIDAY] airplane homes

2002-11-15 Thread Gemes Tibor
I am looking for a new job because I cannot afford (yet) the new home I've choosen. :) http://www.airplanehomes.com/ Tib -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: October 2002 Download Counts

2002-11-15 Thread Gemes Tibor
2002. november 15. 08:15 dátummal Craig R. McClanahan ezt írtad: Thank you all for your support, and use, of Struts!!! You can thank it to yourselves, Great Code-Wizards. Or Code-Sorcerers? Or code-SOURCE-rers? :) -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org

Re: Visually Developing Struts Pages

2002-11-15 Thread Vilya Harvey
Wow, thanks Craig! I'll check this out. http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html Vil. -- Vilya Harvey, Consultant [EMAIL PROTECTED] / digital steps / (W) +44 (0)1483 469 480 (M) +44 (0)7816 678 457

How to access ActionErrors from within FormAction

2002-11-15 Thread Markus Pedratscher \(WebBS\)
Hi, I'm fairly new to struts and I'm having the following problem. I want to display an error message in an js alert box. My understanding is that I can't do that with /errors because if wraps the error.header and .error.footer around each message and does not have an attribute to disable this

Tiles referencing actions.

2002-11-15 Thread ROSSEL Olivier
I have made an action LoginState that redirects either to IsLogged.jsp if a user has logged in my application, or to IsNotLogged.jsp if the user is a guest. Now I would like to use tiles for my applciation and provide in the upper right part of my pages, the output of this LoginState. I have

Re: Client-side Caching???

2002-11-15 Thread Jon Ferguson
I think I agree with you Andrew. Especially since web-applications often are targeted at a sub-group of users and may carry a stipulation of using a limited range of browsers and setup... Having said that.. the solid MVC architecture in struts can sometimes make me forget I'm programming on the

Re: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread Zsolt Koppany
Hi, what is struts-menu? Where can I find more info about it? Zsolt On Thursday 14 November 2002 23:30, Karr, David wrote: I noticed the same problem when I tried this casually a couple of days ago. I haven't had the chance to get any more detailed information, or debug it. I'm using

[FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer

2002-11-15 Thread Andrew Hill
10. Specifications are for the weak and timid! 9. You question the worthiness of my code? I should kill you where you stand! 8. Indentation?! - I will show you how to indent when I indent your skull! 7. What is this talk of 'release'? Klingons do not make software 'releases'. Our software

enter disable

2002-11-15 Thread Gus Delgado
How can I disable the htm:text tag so that nothing will happen when the use hits the enter key. The way it works right now everytime you hit the enter key in a text field it tries to submit the request. any flags that need to be turn off? thanks gus -- To unsubscribe, e-mail:

RE: enter disable

2002-11-15 Thread Miguel Angel Mulero Martinez
This is JavaScript code. I don't know how, but search information about it. Regards, Miguel -Mensaje original- De: Gus Delgado [mailto:gdelgado;oceanobjects.com] Enviado el: viernes, 15 de noviembre de 2002 13:06 Para: Struts Users Mailing List Asunto: enter disable How can I disable

Building the view

2002-11-15 Thread Krishnakumar N
Hi, A newbie question on struts. The way a view is built using struts is as follows (I think!). After the action class processes the input and makes business logic method invocations on the model layer (say session beans or business delegates), it needs to fetch the data required

Re: enter disable

2002-11-15 Thread Gemes Tibor
2002. november 15. 13:06 dátummal Gus Delgado ezt írtad: How can I disable the htm:text tag so that nothing will happen when the use hits the enter key. The way it works right now everytime you hit the enter key in a text field it tries to submit the request. any flags that need to be turn

RE: nested:iterate in an included page

2002-11-15 Thread Arron Bates
I did not have any nested tags in the top page so I added one and now my code looks like this: (Your example referenced nested:property and I assume you meant nested:nest) That'd be the one... :) I am still getting the null reference on the first nested tag in the included jsp. I

RE: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Jim Krygowski
Hi Christoph, Your problem sounds similar to an issue I'm having with an ActionForm and an indexed property. I only encountered the problem after upgrading a working application to JDK 1.4.1. Which JDK are you using? -Original Message- From: Christoph Kulla

enter enable [WAS: RE: enter disable]

2002-11-15 Thread Andrew Hill
Funnily enough I have the opposite problem. I have a form that now uses a button or sometimes a link instead of a submitButton to submit the form as it needs to do some stuff in javascript prior to submission (including playing silly buggers with the forms action property!). This works fine except

Re: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread Reinhard Spisser
struts-menu.sourceforge.net The Description says: Web menuing framework for JSP and Struts based applications. Menus can be defined in an XML file and displayed through the use of JSP tags. Support for dynamic javascript menus is included. Reinhard Il ven, 2002-11-15 alle 12:07, Zsolt Koppany

RE: Struts 1.1 and StrutsTestCase

2002-11-15 Thread Jorge Martins
Just tested with the nightly build of struts (20021114) and the CVS HEAD version of StrutsTestCase... Got the behaviour I had experienced with Struts 1.1-b2 (but the dynamic validators are now working!) In the test method at some point I make a call to 'verifyForward(Sucesso)' which is mapped as

Re: enter enable [WAS: RE: enter disable]

2002-11-15 Thread Gemes Tibor
2002. november 15. 13:40 dátummal Andrew Hill ezt írtad: Funnily enough I have the opposite problem. I have a form that now uses a button or sometimes a link instead of a submitButton to submit the form as it needs to do some stuff in javascript prior to submission (including playing silly

RE: enter enable [WAS: RE: enter disable]

2002-11-15 Thread Andrew Hill
Ah - so I switch it back to a submit button and register an onSubmit handler. Thanks. :-) -Original Message- From: Arron Bates [mailto:struts-user;keyboardmonkey.com] Sent: Friday, November 15, 2002 20:44 To: [EMAIL PROTECTED] Subject: Re: enter enable [WAS: RE: enter disable] err...

RE: stylesheets with jsp's under WEB-INF?

2002-11-15 Thread Jarnot Voytek Contr AU HQ/SC
why not use link rel=stylesheet href=html:rewrite page=/style.css/ type=text/css That works for me regardless of where the jsp is located (mine happen to be under WEB-INF as well) -Original Message- From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu] Sent: Thursday, November 14, 2002 8:27 PM

Who knows the name of my FormBean?

2002-11-15 Thread Andreas Langmann
Hello, the FormBean Name is accessed via tiles:getAsString name=formName/ in the layout_content.jsp. But it is not available in the tiles is there a way to do this? I need it for a logic:iterate tag: logic:iterate id=bg type=Gen_bg_Fb name=%= formName % property=bgListe

RE: How to access ActionErrors from within FormAction

2002-11-15 Thread edgar
Why is this an issue? Just to put any error.header or error.footer in the properties file. If you must, the following will get you the list of errors: ActionErrors ae = (ActionErrors) request.getAttribute(Action.ERROR_KEY); Edgar -Original Message- From: Markus Pedratscher

RE: nested:iterate in an included page

2002-11-15 Thread Drew Zimber
hey arron and chris, Good stuff on this nested tag issue. When you say you need struts 1.1 instead of 1.1 b2, are you referring to just grabbing one of the nightly builds or something else. Hook me up brother!!! dz -Original Message- From: Arron Bates

Re: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Khalid Aslan
--- Peter A. J. Pilgrim [EMAIL PROTECTED] wrote: Davide Bruzzone wrote: Khalid, It's real pity that the banks have had to let go a lot of good people. In the UK at least they had the money and sometimes the innovation to persue the latest technologies. Last year I got my last employer

Fw: Problem deploying war with Struts: org.apache.struts.util.PropertyMessageResources

2002-11-15 Thread Roser Gestfil
I'm trying to run a web application using struts. when I deploy the .war in JBoss deploy directory, the next error messages appear: org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-15 Thread Jörgen Lundberg
You can make the onChange call a JS-function. Maybe this is what David suggested in 3) below... Anyway, attached is an example. / Jörgen -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent: den 14 november 2002 17:30 To: Struts Users Mailing List Subject: RE:

RE: How to access ActionErrors from within FormAction

2002-11-15 Thread Markus Pedratscher \(WebBS\)
The problem is that if I want to display the error in a Javascript 'alert' box I don't want the html header and footer, I just want the message. The problem with this is to get the error text *only*. The only way I've found is to use String error = RequestUtils.message(pageContext,

RE: Using Javascript submit(), how can I tell what did the submit in an action?

2002-11-15 Thread Jörgen Lundberg
Hmm, something happened to my attachment... I'll just post the code here then / Jörgen pre for emailclients that read html -8-8--- html head script language=JavaScript function whichDropDown(dropDown) { alert(changed: + dropDown);

RE: [FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer

2002-11-15 Thread Sri Sankaran
LOL! EEGAD! I am part Klingon -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Friday, November 15, 2002 6:33 AM To: Struts Subject: [FRIDAY] Top 10 things likely to be overheard from a Klingon Programmer 10. Specifications are for

RE: Struts 1.1 and StrutsTestCase

2002-11-15 Thread Kevin . Bedell
While I am do not know the exact problem, I have seen similar problems recently. They generally have been related to recent changes in the core Struts ActionServlet for detection and tracking of modules. It may be that recent changes in how Struts detects and tracks modules have not been

RE: ArrayList disappeared in ActionForm

2002-11-15 Thread Sri Sankaran
Intermixed... -Original Message- From: Míguel Ángel Mulero Martínez [mailto:miguel-angel.mulero;mad.tecsidel.es] Sent: Friday, November 15, 2002 2:03 AM To: Lista Struts Subject: ArrayList disappeared in ActionForm Hi all! I've got a little problem with Struts 1.0.2. I've

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Davide Bruzzone
I have seen a lot of newspaper adverts with improve your CV guaranteed for £100. I would go to a graduate recruitment fair if indeed you are recent graduate (2nd jobber). Obviously that precludes me, but going to proper professional consultant can work wonders. Fortunately most financial city

RE: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread Jeff Born
In the example it is configured as a Plugin. It just doesn't work right off the shelve. Given enough time I should be able to figure it out, but time is something I don't have a lot of, so I'm looking for some pointers in getting rid of the exception The menu repository could not be found.

Re: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread V. Cekvenich
Can I send you a sample of a working config tmrw? I have many things to do today. .V Jeff Born wrote: In the example it is configured as a Plugin. It just doesn't work right off the shelve. Given enough time I should be able to figure it out, but time is something I don't have a lot of, so

RE: ArrayList disappeared in ActionForm

2002-11-15 Thread shirishchandra . sakhare
Hi, I didnt understand your problem very well.But some points U should know. I use the log4j, and the constructor of the ActionForm isn't called. The set for the ArrayList isn't called too. Struts uuses Class.forName() .newInstance() to instantiate new form objects. So the default

Dynamically Created Forms

2002-11-15 Thread Abu Daniel
Hi, I have a page where forms are created dynamically with values from the database. Each of the forms have similar components, but that page itself has multiple forms. Is there any way to create such a page using Struts? Thanks, Abu Daniel

Adobe GoLive 6 and struts HTML tag

2002-11-15 Thread david chan
Hi, I have a project which use Struts HTML tag a lot in JSP pages (I use Websphere studio for JSP development) and the web team is using Adobe GoLive to make these JSP pages looks nice. But how can I configure the adobe GoLive to work with Struts HTML tag? I don't want the web team to spend

RE: Tiles referencing actions.

2002-11-15 Thread ROSSEL Olivier
But when I want to tiles:put the output of the LoginState action into the loginBox : tiles:insert page=/pages/MainLayout.jsp flush=true tiles:put name=title value=/pages/Title.jsp/ tiles:put name=loginBox value=/LoginState.do/ /tiles:insert , nothing appears. My question: is it

Latest thoughts on role based authentication and authorization

2002-11-15 Thread John Bigboote
I've done some searching in the Struts mailing list archive and on the usual suspect sites regarding role based security. But, I wanted to get an in the trenches view of how others accomplish this. Any comments, concerns, suggestions, etc. from Struts users about how they implement this? I

struts workflow

2002-11-15 Thread Diego Campodonico
Hi, Anyone has implementing an workflow engine or workflow application with struts? I want to do a web application with a workflow engine? thanks DIego -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

[Declarative Exceptions] Advice needed.

2002-11-15 Thread Jeff_Mychasiw
Greetings: I am using 1.1b2 I am just starting the process of dealing the exception handling in our project. I am plowing through Ted's and Chuck books and have several questions. We have come up with these requirements: 1 - All exceptions must be logged. ( we are using log4j directly, not

Dynamic Forward

2002-11-15 Thread David Bolsover
Hi all I have a problem with a dynamic forward - can anyone assist? The url of the forward is generated by: StringBuffer sb = new StringBuffer(); sb.append(http://www.someurl/actionpath?;); sb.append(customer= + customer.getName()); sb.append(address= + customer.getAddress()); etc..

RE: logic not picking session

2002-11-15 Thread Sri Sankaran
From your original message, it is not clear *what* is not working. Assuming it is the bean:write, based on your last message, what is the value of WebConstants.REPORT_ID. To be consistent, try coding your bean:write as bean:write name=%=WebConstants.REPORT_ID% property=reportID/ Sri

RE: Disabling jsessionid parameter in Struts forms

2002-11-15 Thread Tom Wadzinski
This is so easy to implement yourself it barely even bears discussing. Create an abstract Action super-class, check to see if cookies are enabled, and if they aren't, block access and give the user an error message to that effect. You could have written it in the time you composed this

RE: Disabling jsessionid parameter in Struts forms

2002-11-15 Thread edgar
Your first issue is less of a concern since if you are kicking the user, just invalidate() the session and who cares if they get the session id. Your second issue is a little more important, INMHO, yes, the first screen after the session is established shows the jsessionid NMW in the address.

RE: Disabling jsessionid parameter in Struts forms

2002-11-15 Thread David Graham
I don't understand what the problem is here. Someone has suggested that you detect if the user has cookies and if not, don't allow them in and invalidate their session. This seems reasonable to me. I don't believe Struts should bend over backwards to support this when it's so trivial to

Re: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-15 Thread Robert Leland
Jim Krygowski wrote: That leads me to believe that something funny is happening to my ActionForm somewhere in the Struts code. Has anyone else seen this?? I have three developers who came across this error independently so I have to imagine that some of you out there bumped into it too when you

struts 1.1 : setInput ?

2002-11-15 Thread aduprat . struts
Hi all. We were using struts 1.0 and doing something like this : //If error occurs : go on tabbed pane where it is raised. if (errors.size() != 0) { mapping.setInput(INPUT_INFORMATIONS); return errors; } It was working well in struts 1.0. My problem is that uin struts 1.1 when i'm

[OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
I'm being stymied by a classpath issue that occurs both on Tomcat 4.1.12 and JRun 3.1. I get a ClassNotFoundException while the classpath clearly displays the jar file that contains the missing class. I've even tried -- in desperation -- putting the jar file in Tomcat's bin common/lib and

Putting request parameter into page context

2002-11-15 Thread Michael Lee
This seems like it would be so simple yet I can't get it to work I've tried all kinds of combinations of bean:define... bean:define id=startRow name=startRow type=java.lang.Integer/ I want to take the request parameter startRow and put it in a page object startRow startRow is in the request

Re: [OT]Need magic incantation

2002-11-15 Thread Kevin . Bedell
Can you re-phrase your question in terms of the classloader diagram at this page? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html That is, identify which classloaders your jar file should be visible to (system, shared, webapp, etc.) based on the directories

Re: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1

2002-11-15 Thread Kevin . Bedell
I've seen some Index out of bounds errors recently that have had to do with parsing of URI's to determine which module is being accessed. Can you try making your app the 'default web application' for your container (i.e., not in a module) and see if this solves the problem? Also, since this

RE: Struts 1.1 and StrutsTestCase

2002-11-15 Thread Jorge Martins
Thanks for the prompt info!... Unfortunately I don't have a lot of time to sift through the ActionServlet's code :P As far as I've gone through StrutsTestCase doesn't seem to bother appending the module prefix to the expected path, but I might be wrong, not having an in dept knowledge of Struts

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
Alright. What I have tried is to place the jar so that it is available to any of the common, shared or the webapp-specific classloaders. In other words, I've placed it in CATALINA_HOME/common/lib re-start test then placed it in CATALINA_HOME/shared/lib re-start test Sri -Original

RE: [OT]Need magic incantation

2002-11-15 Thread David Graham
Do you have struts.jar on the tomcat classpath? That may be causing the problem. You should always put struts.jar in /WEB-INF/lib of each app that uses it. Your business logic jars should go in /WEB-INF/lib as well. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users

ActionForm manipulation within an Action

2002-11-15 Thread Jorge Martins
Hi, Is there a way to set an attribute in an ActionForm received by an Action and having that change propagated when I 'findForward()' to another Action? Thanks Jorge inesc-id Jorge Martins | [EMAIL

RE: stylesheets with jsp's under WEB-INF?

2002-11-15 Thread Wendy Smoak
Craig wrote: You're perfectly free to leave your stylesheet where it is (in the css subdirectory under your webapp), as long as you use an appropriate relative URL: LINK REL=stylesheet TYPE=text/css HREF=../../css/style.css TITLE=style / This doesn't work. My version included here in case I

Re: Putting request parameter into page context

2002-11-15 Thread hotmail
I've used scriptlets - but probably not what you're looking for ! % String eventId = (String)request.getParameter(id); % a href=../viewEvent.do?id=%= eventId %View Event/a - Original Message - From: Michael Lee [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
Of course, this happens all the time in add/edit forms. Any change to the form in the first action will be seen by the action it forwards to as long as both actions are setup to use the same form bean in struts-config.xml. David From: Jorge Martins [EMAIL PROTECTED] Reply-To: Struts

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
Typically, during development, I have all jars my application needs (application specific, struts, jdbc drivers etc) in WEB-INF/lib. I am only resorting to the skulduggery described below in desperation. Everything my application needs *is* in WEB-INF/lib. I am moving only this one jar that

RE: [OT]Need magic incantation

2002-11-15 Thread Kevin . Bedell
Gee - According to the Tomcat site, a webapp looks in all of these places in the order listed: /WEB-INF/classes of your web application /WEB-INF/lib/*.jar of your web application Bootstrap classes of your JVM System class loader classses (described above) $CATALINA_HOME/common/classes

RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
...and the form bean is of session scope. Sri -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 15, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: Re: ActionForm manipulation within an Action Of course, this happens all the time in add/edit

bean:page ... into a String variable

2002-11-15 Thread Zsolt Koppany
Hi, how can I specify that bean:page... restores the value into a String variable? Zsolt -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: Putting request parameter into page context

2002-11-15 Thread Kris Schneider
bean:parameter id=startRow name=startRow/ Quoting Michael Lee [EMAIL PROTECTED]: This seems like it would be so simple yet I can't get it to work I've tried all kinds of combinations of bean:define... bean:define id=startRow name=startRow type=java.lang.Integer/ I want to take the request

RE: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
The form bean can be in the request scope as long as you're forwarding to the next resource and NOT redirecting. David From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: ActionForm

Re: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Christoph Kulla
Hi Jim, I'm using 1.3.02 and 1.4.1. Both show the same error. Is my code supposed to work? Do I use the indexed property the right way? Regards Christoph Jim Krygowski schrieb: Hi Christoph, Your problem sounds similar to an issue I'm having with an ActionForm and an indexed property. I

RE: [OT]Need magic incantation

2002-11-15 Thread Sri Sankaran
Checked out everything you suggested. Everything's on the up-and-up. The case is right. The package is right. I have even go to the extent of unzipping the jar file in the appropriate classes directory to no avail. Thanks for the help. The search continueswhat a way to end the week :(

RE: ActionForm manipulation within an Action

2002-11-15 Thread Sri Sankaran
Right you areshould have read your message a little better. Sri -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Friday, November 15, 2002 1:16 PM To: [EMAIL PROTECTED] Subject: RE: ActionForm manipulation within an Action The form bean can be in the

RE: [OT]Need magic incantation

2002-11-15 Thread shakeel . mahate
Hi Sri, Is your class public? -Shakeel |- |(Embedded| |image moved | |to file: | |pic05836.pcx)| | | |- | |Sri Sankaran [EMAIL PROTECTED] |

How can I set a value into the Form class assigned to the current form?

2002-11-15 Thread Zsolt Koppany
Hi, how can I set the values of Form class assigned to current form from JSP? Zsolt -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Kevin . Bedell
Here's the solution: - Look around the case to your PC. You should find a power switch. - Turn the switch to the off position (sometimes shown as a 0). - Put your coat on. - Get your keys and wallet. Walk to your car. - Drive to nearest pub. The bartender there will provide you with

Re: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Peter A. J. Pilgrim
Khalid Aslan wrote: Peter You are absolutely right. The big financial institution in the city do have the money and the where-with-it-all to invest in a new technologies. I dont necessarily want another banking job at all. I am happy to look for another vertical sector. Are you saying that only

RE: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Daniel Haynes
There is a bug relating to indexed properties in 1.1 b2, which I believe was either fixed or posted about August 22, 2002. Try using a later build of struts. Dan -Original Message- From: Christoph Kulla [mailto:chriskul;gmx.net] Sent: 15 November 2002 18:17 To: Struts Users Mailing List

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Sri Sankaran
D'oh! Why didn't I think of that -Original Message- From: [EMAIL PROTECTED] [mailto:Kevin.Bedell;sunlife.com] Sent: Friday, November 15, 2002 1:42 PM To: Struts Users Mailing List Subject: RE: [OT]Need magic incantation [Friday alert!] Here's the solution: - Look around the

RE: ActionForm manipulation within an Action

2002-11-15 Thread Jorge Martins
Well, I had tried it before just like you are saying... Two actions use the same ActionForm (a DynaValidatorForm defined with request scope). The first Action sets a property in the ActionForm and forwards to another Action (using a local forward name=... path=.../ -- with no redirect=true this

RE: [OT]Need magic incantation

2002-11-15 Thread Xavier Combelle
Maybe you should check if the class you are look for is really in the jar by using an unzip tool. -Message d'origine- De : Sri Sankaran [mailto:Sri.Sankaran;sas.com] Envoye : vendredi 15 novembre 2002 17:42 A : Struts-User Objet : [OT]Need magic incantation I'm being stymied

Re: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Peter A. J. Pilgrim
Khalid Aslan wrote: Hey! May be we can swap leads off-line. What do you think? /Khalid/ 1) Khalid Have you ever try to contact any of the Java User Groups? ``http://servlet.java.sun.com/jugs/europe/gbr'' 2) All Jobbers Worth trying out JUGs on the Sun site for networking contact me

Re: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Christoph Kulla
Hi, I already tried this with yesterdays build. Same result. I'll check struts bugzilla archive. Christoph Daniel Haynes schrieb: There is a bug relating to indexed properties in 1.1 b2, which I believe was either fixed or posted about August 22, 2002. Try using a later build of struts. Dan

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Drew Zimber
one of the most brilliant solutions I've ever come across, you're a true software engineer! ;) dz Here's the solution: - Look around the case to your PC. You should find a power switch. - Turn the switch to the off position (sometimes shown as a 0). - Put your coat on. - Get your

RE: Trouble with DynaActionForm and indexed properties

2002-11-15 Thread Daniel Haynes
The bug I was talking about was 11866. Maybe its not related to your problem. Dan -Original Message- From: Christoph Kulla [mailto:chriskul;gmx.net] Sent: 15 November 2002 19:14 To: Struts Users Mailing List Subject: Re: Trouble with DynaActionForm and indexed properties Hi, I already

RE: Visually Developing Struts Pages

2002-11-15 Thread Jim Alemany
I've downloaded and am going to see if it works with DreamweaverMX. I'm not 100% but will post if it does. Is anyone currently working on the Dreamweaver CTLX extension/servlet pair? MX already supports the insertion of custom tags, I expect a revised version would include just the servlet and

RE: [OT]Need magic incantation [Friday alert!]

2002-11-15 Thread Craig R. McClanahan
On Fri, 15 Nov 2002, Drew Zimber wrote: Date: Fri, 15 Nov 2002 14:16:15 -0500 From: Drew Zimber [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: [OT]Need magic incantation [Friday

[OT] Tomcat Class loader (Was RE: [OT]Need magic incantation)

2002-11-15 Thread Sri Sankaran
Fixed! But I have a following question. But first the fix... In displaying the classpath used by Tomcat 4.1.12, I noticed that it was loading jre/lib/ext/beaucoup.jar.files. Since I didn't need any of those jar files, I wiped the directory clean. Everything worked...! While I am pleased

Small log4j PlugIn-Contribution

2002-11-15 Thread Thomas Nagel
Hi, I guess more people than I had the problem to use log4j inside a non log4j enviroment e.g. Caucho Resin. I wrote a small Struts log4j PlugIn which might be useful to those who do not want to reinvent the wheel ;-) The Plug-In is also able to reload configuration after a given sleep time,

[OT] Tomcat class loading

2002-11-15 Thread Sri Sankaran
It seems as if the class-loader that loaded a particular class maintains some kind of reference to the class. Any dependent class can be loaded only by this loader or any one up the Tomcat hierarchy Bootstrap | System |

RE: ActionForm manipulation within an Action

2002-11-15 Thread David Graham
I don't use dyna beans so I can't help you there. Leaving the redirect attribute off a forward does mean that you're forwarding unless you've changed it globally to do redirects. David From: Jorge Martins [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts

RE: giving biz classes access to MessageResources?

2002-11-15 Thread edgar
You can get the app.properties as long as you have the request MessageResources mr = (MessageResources) pageContext.findAttribute( Action.MESSAGES_KEY ); The MESSAGES_KEY is static so you don't need the action. -Original Message- From: Andy Kriger

Stack overflow error

2002-11-15 Thread Tim Reilly
I'm new to struts, and have just tried getting the error handling / form validation stuff to work. I have a form (DocumentForm) submitting to an Action successfully. I just tried to flesh out the validate method in the form object, but am now having an error. The form submission's working ok,

RE: giving biz classes access to MessageResources?

2002-11-15 Thread Andy Kriger
I'm talking about a generic class outside of the struts architecture that knows nothing about where the strings are coming from (except that they come from a properties file). So I don't have knowledge of Action or MessageResources or pageContext. -Original Message- From: edgar

Re: [OT] Tomcat class loading

2002-11-15 Thread Craig R. McClanahan
On Fri, 15 Nov 2002, Sri Sankaran wrote: Date: Fri, 15 Nov 2002 14:38:40 -0500 From: Sri Sankaran [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Subject: [OT] Tomcat class loading It seems as if the class-loader that loaded a

RE: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread Jeff Born
I found the problem. I just replaced all the jar file in the lib directory of the struts-menu.war with the same jar files from the 1.1b2 struts download and then the example app starts working. This took me a while and in the end the answer was staring me in the face. My hope with

RE: [OT] Tomcat class loading

2002-11-15 Thread Sri Sankaran
Intermixed... -Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Friday, November 15, 2002 2:58 PM To: Struts Users Mailing List Subject: Re: [OT] Tomcat class loading On Fri, 15 Nov 2002, Sri Sankaran wrote: Date: Fri, 15 Nov 2002 14:38:40

PropertyUtils.copyProperties() usage in 1.1-b2

2002-11-15 Thread Brian Topping
Hi all, happy friday (again... :) I'm trying to figure out what I am doing wrong with PropertyUtils.copyProperties(). From within my Action, I have: User user = bean; DynaActionForm regForm = (DynaActionForm) form; PropertyUtils.copyProperties(regForm, user); When I look at what

RE: ActionForm manipulation within an Action

2002-11-15 Thread Brian Topping
... and you aren't using DynaActionForms, which erase your form every time the controller is called. -b -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Friday, November 15, 2002 12:48 PM To: Struts Users Mailing List Subject: RE: ActionForm manipulation

Re: struts 1.1 : setInput ?

2002-11-15 Thread Emmanuel Boudrant
Hi, For some security and integrity reasons, you can't change the struts configuration after it was loaded at startup by ActionServlet. You need to find another solution without changing on-the-fly the configuration. For more information you can check the Struts 1.1 sources ;) -emmanuel

RE: [OT] Where can I find a Struts / J2EE Jobs?

2002-11-15 Thread Davide Bruzzone
You certainly need to be flexible these days too. Agreed... While I was unemployed, I met a guy who told me he only wanted to do Linux-based C++ programming. He then wondered aloud why he'd been unemployed for a year... Domino apps dev. I hadnt done Java before (though I had been playing with

RE: Dynamic select menu in JSP - Struts-Menu1.1

2002-11-15 Thread jzakarian
Jeff, I just say your message. I am working with WebSphere 40 Application Server and had to replace xalan and xerces in the WEB-INB\lib directory for Struts-Menu1.1 to get Struts-Menu1.1 to work. All the other jar files were fine. Jack -Original Message- From: Jeff Born

RE: giving biz classes access to MessageResources?

2002-11-15 Thread Andy Kriger
to answer my own question - yes, using PropertyResourceBundle.getBundle(appResFile) and i'm guessing if i look further MessageResources has a static utility method that does this -Original Message- From: Andy Kriger [mailto:akriger;greaterthanone.com] Sent: Friday, November 15, 2002 14:57

  1   2   >