Re: [ANNOUNCE] Display Tag 1.0 beta 1 Released!

2003-09-24 Thread Jason Meredith
Wahoo Of all the tags ever written this HAS to be one of the best, and most useful, I recommend every developer use it for table creation. Keep up the good work chaps. Regards Jason |+ || Matt Raible | || [EMAIL

Session expired

2003-09-24 Thread Tarun Dewan
Hi, I'm new to Struts and want to understand how user can be redirected to login page in case of session timeout. Will following code works for this handling: *** public class LOSSessionLogOutHandler extends

Wrong Forwarding

2003-09-24 Thread Manuel Lenz
Hi to all, I do have a silly problem: I call an ActionClass over a link BanfAction.do, but I get always forwarded to the jsp-Site which should be called after succes in the ActionClass. How is it possible to get to an jsp-Site, even though I called an ActionClass. My struts-config.xml shall be

RE: problem with String[]

2003-09-24 Thread Mohd Amin Mohd Din
I'm using a DynaActionForm.. The code tip is for action form. ( or so I think ) -Original Message- From: Nicholson, Robb [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 9:20 PM To: 'Struts Users Mailing List' Subject: RE: problem with String[] I think this is what you are

Re: SSLExt and Struts Workflow?

2003-09-24 Thread Matthias Bauer
If you still want to use the sslext RequestProcessor you should be easily able to do that: It is fairly trivial to build an SSLExtWorkflowRequestProcessor in just the same way as the TilesWorkflowRequestProcesser is built, which is included in the Struts Workflow Extension. This is because all

SwitchAction not working - Help please

2003-09-24 Thread Puneet Agarwal
We have a large application wnd the size of struts-config.xml has grown big. I am trying to divide it into modules. It did not work. Then I downloaded simple-modules-example.tar.gz from http://sourceforge.net/projects/struts But even that is not working for me...what could be the reason ?

RE: .do as welcome-file

2003-09-24 Thread shishir.katdare
Can some one tell me if the action main.do as defined as jsp:forward page=/main.do / be achieved without using the action form or its actually a forward thats an action class without use of form bean ? as i need to use the same for checking if the user is already logged in and if not then

RE: problem with String[] [SOLVED]

2003-09-24 Thread Mohd Amin Mohd Din
Its solved, thank god but its very confusing.. I didn't change anything.. but today it ran.. :) Seems like theres some caching going on at the server since the updated dynaactionform are not updated with the latest. I'm using tomcat 4.1.1.27. Is anyone out there having this same problem? If I'm

Ensuring a clean Form

2003-09-24 Thread Linus Nikander
How do I ensure that each invocation of a particular action receives a clean form. I.e a form where no values from any previous invocation are present. I remember reading somewhere that under certain conditions old values from one invocation could, because struts reuses form instances, be present

Re: Adding supported types to DynaForms

2003-09-24 Thread Adam Hardy
Hi Nick, I'm successfully using dynaforms to nest javabeans. I just stipulated the class of my bean in the struts-config form declaration and it worked. I am not sure whether the key/value pair thing you talk of adheres to the javabean spec. If it does you should have no problem. If not, you'll

Re: .do as welcome-file

2003-09-24 Thread Adam Hardy
You can configure action mappings without form beans - just leave out the name attribute. However you would probably be better off using a filter to check for login status. Adam On 09/24/2003 10:19 AM [EMAIL PROTECTED] wrote: Can some one tell me if the action main.do as defined as

Re: Ensuring a clean Form

2003-09-24 Thread Adam Hardy
Hi Linus, declare your forms in request scope for your mappings, then they will only ever be populated by your request parameters. In session scope, a form bean is reused but before initialisation, reset() is called at which point you can clean down the member variables. Adam On 09/24/2003

RE: Ensuring a clean Form

2003-09-24 Thread Mohd Amin Mohd Din
Yes. -Original Message- From: Linus Nikander [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:42 PM To: [EMAIL PROTECTED] Subject: Ensuring a clean Form How do I ensure that each invocation of a particular action receives a clean form. I.e a form where no values from any

Re: Ensuring a clean Form

2003-09-24 Thread Linus Nikander
Ok, that clears a few things up. As far as session-scope is concerned. Do I understand it correctly that two separate user-sessions will NEVER share a populated form-instance ? I.e the only time this problem may occur is when a single user, within the same session where form persistence is defined

Validation and errormessage?

2003-09-24 Thread Terje Hopsø
Hello, In my validation.xml I have the folowing: form name=nySkytterForm field property=epost depends=required,email arg0 key=nySkytterForm.epost/ /field /form This works fine and the value from the nySkytterForm.epost is found in the resources file. But I would

Struts 1.0 - Problem with i18:formatNumber

2003-09-24 Thread Nicolas Deroussent
Hello, I am a french struts's developper (sorry for my english !!!) I'm trying to display somewhat with the code below : i18n:formatNumber pattern=3D## ## ## ## ## value=3D'0322770506'/ but nothing is displayed. For information I use Struts 1.0 and it is impossible for us to use = another

Re: Ensuring a clean Form

2003-09-24 Thread Adam Hardy
Exactly. On 09/24/2003 11:23 AM Linus Nikander wrote: Ok, that clears a few things up. As far as session-scope is concerned. Do I understand it correctly that two separate user-sessions will NEVER share a populated form-instance ? I.e the only time this problem may occur is when a single user,

Menu based on Tiles

2003-09-24 Thread Sudip Kumar Bhattacharya
Hi I need to create a menu using tiles. The menu is a vertical menu, where the categories list comes as bold, and the currently selected menu should be expanded to show the submenus. The currently selected submenu's hyperlink should be disabled, rest have to be enabled. What is the best way to

HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Juan Pedro
Hello everybody, I ask your help if anyone of you have been able of use Struts1.1 with iplanet 4.1 I've been using Struts for some time, and know as a request for a proyect, I have to use iplanet 4.1 sp7. I asked my self, well, Struts just needs Java Servlet API 2.2 or upper and JSP API 1.1 and

Forms with the same name in different modules ???

2003-09-24 Thread delphine
Has somebody already used this successfully : I use some modules and there is a bean with the same name in each module. But Struts use always the first instantiated bean !!! It is normal or a bug ?? Or it's not possible to use form with the same name across modules ?? Thanks Delphine

RE: Validation and errormessage?

2003-09-24 Thread Jean-Michel Garnier
This point has been raised many times in the struts users mailing list (you can search in the list with http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org) I forward you my reply to Daniel who had the same problem as us one week ago. I was suggesting to collaborate in order to find an

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Adolfo Miguelez
Hi Juan Pedro, --- cant remove Attributes from request scope (uri=/logon.jsp): javax.servlet.ServletException: cant remove Attributes from request scope, stack: javax.servlet.ServletException: cant remove Attributes from request scope at

Error in RequestProcessor

2003-09-24 Thread Manuel Lenz
Hi, my forwarding-Problem does still exist and I have an idea whats going on... Instead of doing a GET for the path=FooAction.do my web-application tries to do a POST from the beforegoing ActionClass. How can I solve this problem? Why is my application doing a POST instead of a GET? Manuel

Class not found exception.............

2003-09-24 Thread Monajit Choudhury
Hi I am trying to use struts along with weblogic8.0. While trying to access a page I get this following exception. java.lang.NoClassDefFoundError: org/apache/struts/action/Action at java.lang.ClassLoader.defineClass0(Native Method) at

Re: Forms with the same name in different modules ???

2003-09-24 Thread Puneet Agarwal
Even I have been struggling too hard with it...looks like if we choose to implement application modules in struts.everything stops working... Regards, Puneet Agarwal Tata Consultancy Services, C-56, Phase - II, NOIDA 201305 (India) Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)

RE: Error in RequestProcessor

2003-09-24 Thread Andrew Hill
Is this for an ActionForward that you return from an action? If so make sure that redirecting=false for the forward. -Original Message- From: Manuel Lenz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 18:59 To: Struts Users Mailing List Subject: Error in RequestProcessor

RE: Class not found exception.............

2003-09-24 Thread Andrew Hill
struts.jar must go in the WEB-INF/lib folder in your war file, and there must not be any other copy of struts.jar on the class path (for example in any of the app servers shared library folders) or these sort of wierd classloading issues can occur. -Original Message- From: Monajit

html:button to Action Bean mapping transfer of information

2003-09-24 Thread Rajesh M Vasudevan
Hello, I have a tabular listing of records (rows and column). Each row is identified by a rowID. In each row, there are three buttons (modify/delete/someother). Button is created as follows: html:button property=rowID styleClass=buttonMarkLeft_85bean:message

Antwort: RE: Error in RequestProcessor

2003-09-24 Thread Manuel Lenz
Where do I have to set redirecting=false? I did this in my beforgoing actionClass before setting the forward-variable: forward.setRedirect(false); forward = mapping.findForward(vorschlagAction); But I only get Error 500. Manuel |-+ | |

Re: Class not found exception.............

2003-09-24 Thread Monajit Choudhury
Hi Thanks for ur response.I have moved the struts.jar file to web-inf lib and removed it from the ear file.Still I am getting the same exception. - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread James Mitchell
Any chance you can upgrade to 6.1? iPlanet now uses Tomcat. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: Adolfo Miguelez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September

Re: SwitchAction not working - Help please

2003-09-24 Thread James Mitchell
It works fine for me, what container are you using? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: Puneet Agarwal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003

Strange/invisible characters appearing before the html:html tag...

2003-09-24 Thread Davide Bruzzone
Greetings all... I'm using Struts 1.1 RC2, and am having the following problem: The following characters are being rendered before the first HTML tag on the page (They're invisible until I paste them into vi): [End of strange/invisible characters] If I paste

JSP IDEs

2003-09-24 Thread Stankard, David
Hello there, I'm working on a JSP application in WSAD 5.0. Does anyone know a way to have the WYSIWYG JSP previewer evaluate jsp:include statements in a JSP? I'm working with JSPs that have jsp:include statements that include header/footer files that hold stuff like javascript, html tags and

RE: JSP IDEs

2003-09-24 Thread Mark Galbreath
DreamweaverMX will do this. -Original Message- From: Stankard, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:16 AM To: Struts Users Mailing List Subject: JSP IDEs Hello there, I'm working on a JSP application in WSAD 5.0. Does anyone know a way to have the

log4j setup

2003-09-24 Thread Viral_Thakkar
Please let me know what are the steps one need to do to configure the log4j. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: problem with String[] [SOLVED]

2003-09-24 Thread Mathew, Manoj
I had this issue with catching with Visual Age couple of times. I even restarted Visual age and tried but nothing worked and i got confused about my code. But when i restarted the machine, things started working.I moved to WSAD now and here things are in a pretty good shape. thanks manoj

RE: Is there a nice ExceptionHandler mechanism in struts for Throwable?

2003-09-24 Thread Mathew, Manoj
Hi I am handling it myself in my project..All my action throws exception and i have this in my struts config. !-- == Exception Processing Configuration == -- global-exceptions exception key=systemError type=java.lang.Exception

How to Use Tiles and Frameset?

2003-09-24 Thread Ashutosh Satyam
Hi, My layout page is as mentioned below. html head titleMy Title/title /head frameset rows=85,*,20 frameborder=0 border=0 bordercolor=#ff frame name=frHead src=msHeader.jsp frameborder=0 bordercolor=#ff scrolling=no frame name=frBody src=content.jsp frameborder=0

RE: log4j setup

2003-09-24 Thread Davide Bruzzone
Here are the steps: - Make sure that the appropriate Log4J JAR file is in your /WEB-INF/lib directory - Put your log4j.properties file in /WEB-INF/classes - Wherever you want to log, add the following code: import org.apache.log4j.Logger; ... // This is a private static attribute within the

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-24 Thread David Thielen
ok - thanks - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 10:56 PM Subject: RE: Can I have 1 struts jar file for multiple servers/applications

Re: log4j setup

2003-09-24 Thread David Thielen
I put log4j.jar in the application server lib file - so all web apps are using the same logger. It has worked fine for me in that configuration. - Original Message - From: Davide Bruzzone [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24,

RE: log4j setup

2003-09-24 Thread Mathew, Manoj
Hi there are three ways( known to me) to load the log4j at the server startup 1.Create ur own servlet put the code in Init()and load it at the begining of your application 2.Extend Action Servlet 3. through the following way. I find the 3rd one better because it sound like struts way of

Re: JSP IDEs

2003-09-24 Thread Mark Lowe
A text editor and a browser refresh button i suppose just wouldn't do then? On Wednesday, September 24, 2003, at 02:16 PM, Stankard, David wrote: Hello there, I'm working on a JSP application in WSAD 5.0. Does anyone know a way to have the WYSIWYG JSP previewer evaluate jsp:include

RE: Menu based on Tiles

2003-09-24 Thread Edgar P Dollin
Look at struts menu on sourceforge. Edgar -Original Message- From: Sudip Kumar Bhattacharya [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:45 AM To: [EMAIL PROTECTED] Subject: Menu based on Tiles Hi I need to create a menu using tiles. The menu is a

validating multi-select

2003-09-24 Thread Mick Knutson
How can I validate a multi-select box to have at least 1 option selected? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: JSP IDEs

2003-09-24 Thread James Childers
My incredibly successful Design Pattern of the Gods for previewing JSPs dynamically and synergistically while maintaining OOP principles and expediting solutions for improved programmer performance and productivity: 1) Edit, edit, edit. 2) :w 3) Alt-Tab 4) Ctrl-R 5) Goto 1) until :) The End.

RE: JSP IDEs

2003-09-24 Thread Stankard, David
WSAD does manage changes to JSPs nicely. You can change files in your source tree and it will automagically move changes to the app server and open a browser to view the page. The whole point of previewing a page is to see it without actually running it on a server, and to be able to edit it in

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Juan Pedro
No, It is a requirement of the client, and doesn't want to change :( , (They'll have to, for sure , but not know ). Juan Pedro de Andrés Telco Project Manager Fixed number: +34915672252 Mobile number: +34649837641 Email address: [EMAIL PROTECTED]

RE: problem with String[] [SOLVED]

2003-09-24 Thread Mohd Amin Mohd Din
I'm using eclipse and tomcat.. Previously have delivered another project which was ok. Confused -Original Message- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 9:33 PM To: Struts Users Mailing List Subject: RE: problem with String[] [SOLVED] I had

Re: JSP IDEs

2003-09-24 Thread Mark Lowe
Okay... You'll have to be running tomcat or similar somewhere to get dreamweaver to render the pages. By the time you down that DW only offers the preview (as does homesite) and dropdown attribute lists which is okay, i'll give it that much. However by the time you finished messing around with

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Juan Pedro
Thanks for your answer Adolfo. So what you said is that I should all the struts taglibs to make those changes. I Thought about it and maybe it is the only solution for this problem. Thanks pageContext.removeAttribute(org.apache.struts.taglib.html.BEAN, .);

Struts errors and frames

2003-09-24 Thread Ritchie, Patrick
I have a JSP consisting of two frames: Frame 1 allows the entry of query/filter criteria Frame 2 displays the results using the criteria entered. The following line is from the JSP of Frame1: html:form action=ftpMonitor.do target =frame2 This all works fine if there are no form validation errors

Anyone know how to init() a servlet (Struts) in iplanet 4.1

2003-09-24 Thread Juan Pedro
Im trying to use Struts with iplanet4.1. I dont know how to call the Struts ActionServlet function init() from the start of the server. Any solution? Thanks Juan Pedro. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

? Synchronization between different browser windows...

2003-09-24 Thread Todor Sergueev Petkov
Hello everybody, I have two web browser pages opened. I would like to display ( or update ) the contents of one of the pages when a method in Struts LookupDispatchAction class has completed ( the LookupDispatchAction is triggered in the other page ). Is there some simple and elegant way to do

RE: validating multi-select

2003-09-24 Thread Yuan, Saul (TOR-ML)
Set it up as a required field like you do for the other form fields. And get the validation-rules.xml file from the nightly built of struts (under /conf/share). This was just fixed. Saul -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24,

Question regarding Tags and the release() method

2003-09-24 Thread David Gagnon
Hi all, It's probably not a bug, but I can't figure it out. I wrote a Tag that inherit from BaseHandlerTag. The onclick (per example) property of the BaseHandlerTag is only reseted in the BaseHandlerTag release() method. The problem is that the release method is called only when the

Re: HELP using struts1.1 and iplanet4.1 sp7

2003-09-24 Thread Adolfo Miguelez
Pertaining to the change below, is just a patch to apply in FormTag.doEndTag() ONLY. Have a look to these links: http://www.mail-archive.com/[EMAIL PROTECTED]/msg10110.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg01243.html With the patch applied we have run with no problems. However I

problem of Struts based app with Apache proxy

2003-09-24 Thread Warren Chen
Hi All, Our group developed a Struts based J2EE application and everything works fine in testing environment. The problem is that in Production environment, the app server (Oracle 9iAS) is behind the proxy server (Apache). User can access the application correctly through the proxy, however,

Re: Menu based on Tiles

2003-09-24 Thread Pratik Patel
I need to create a menu using tiles. The menu is a vertical menu, where the categories list comes as bold, and the currently selected menu should be expanded to show the submenus. The currently selected submenu's hyperlink should be disabled, rest have to be enabled. What is the best way to

Re: Anyone know how to init() a servlet (Struts) in iplanet 4.1

2003-09-24 Thread Adolfo Miguelez
AFAIK, as any servlet, the init() method will be called by the container in applpication startup (if load-on-startup) is on or in first invocation. Just place something as: servlet servlet-nameaction/servlet-name

Re: problem of Struts based app with Apache proxy

2003-09-24 Thread John M Flinchbaugh
On Wed, Sep 24, 2003 at 08:30:05AM -0700, Warren Chen wrote: It sounds like proxy config problem, but the admin told us that from about 15 applications he manages, all works fine with this proxy config, except 3 which are all based on Struts. - so he suspects it's something in Struts

Re: Anyone know how to init() a servlet (Struts) in iplanet 4.1

2003-09-24 Thread Joe Germuska
At 5:15 PM +0200 9/24/03, Juan Pedro wrote: I´m trying to use Struts with iplanet4.1. I don´t know how to call the Struts ActionServlet function init() from the start of the server. Any solution? I'm pretty sure you'll have problems doing this. iPlanet 4.1 predates the Servlet 2.2 specification.

Re: It works on Weblogic8.1Struts1.0.2 but not on Weblogic8.1Struts1.1

2003-09-24 Thread wxy3291
This is a bug in weblogic 8.1 sp1, they already have patch for it. Please see the following email from weblogic support person. As we discussed on the phone, I have found an existing Change Request that sounds like the issue you're experiencing. Here is the description: While using the struts

Re: [Poll] action mappings

2003-09-24 Thread James Mitchell
Did you look at the attached text file? -- 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

Re: log4j setup

2003-09-24 Thread jbisotti
Step 1. RTFM Viral_Thakkar [EMAIL PROTECTED] on 09/24/2003 09:23:22 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:log4j setup Please let me know what are the steps one need to do to configure the

validating two fields on two different pages

2003-09-24 Thread Natalie D Rassmann
Hi, I wrote a validation to compare two fields of the same form (I used the validateTwoFields example in the struts validation user's guide). My problem is the the form is displayed over multiple pages. I do store the form in the session so all properties of the form should be available. When I

Re: [Poll] action mappings

2003-09-24 Thread atta-ur rehman
Yes. I did. Frankly, I've failed to understand the role of both ManagedResourceBaseAction and AuthenticatedManagedResourceBaseAction actions! Are both these action extended from DispatchAction? and CreateUserAction extended from one of these managed resources action? or I'm completely lost? I'd

Re: log4j setup

2003-09-24 Thread James Mitchell
Step 2. http://www.catb.org/~esr/faqs/smart-questions.html#before -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 770.822.3359 AIM:jmitchtx - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: Servlet Path Path Info on Weblogic 8.1 vs. Struts

2003-09-24 Thread Craig R. McClanahan
Jing Zhou wrote: From Servlet 2.3, there is another thing not clear to me: Could a servlet container execute the filters in a chain in different threads for one incoming http request? No. All the processing for a single request has to be done in a single thread. Craig

Re: Can I have 1 struts jar file for multiple servers/applications

2003-09-24 Thread Craig R. McClanahan
David Thielen wrote: Hi; I thought I read something somewhere that said I need to have a seperate set of struts jar files for each application or server. But I can't find it now. I am using JRun and under a given server it has multiple applications with each application having it's own web.xml

Re: Adding supported types to DynaForms

2003-09-24 Thread Craig R. McClanahan
Nick Heudecker wrote: Hi, I've read in the docs that DynaForms only support the folloing types: # java.lang.BigDecimal # java.lang.BigInteger # boolean and java.lang.Boolean # byte and java.lang.Byte # char and java.lang.Character # java.lang.Class # double and java.lang.Double # float and

RE: log4j setup

2003-09-24 Thread Chen, Gin
Okay.. Done.. Now what's step 2? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 12:03 PM To: Struts Users Mailing List Subject: Re: log4j setup Step 1. RTFM Viral_Thakkar [EMAIL PROTECTED] on 09/24/2003 09:23:22 AM Please

RE: log4j setup

2003-09-24 Thread Chen, Gin
Doh.. Leave it to James to ruin a joke. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:19 PM To: Struts Users Mailing List Subject: Re: log4j setup Step 2. http://www.catb.org/~esr/faqs/smart-questions.html#before -- James

Re: Adding supported types to DynaForms

2003-09-24 Thread Nick
Craig: I'm clear on that now, thanks. The confusion was caused by the docs at... http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes ...when the list of *supported types* was given. This is actually the list of objects for which default Converters

RE: problem with String[] [SOLVED] ? was hibernate the issue

2003-09-24 Thread Mohd Amin Mohd Din
I'm guessing at the moment that hibernate is behind some of this. How? I don't know because in the log files, hibernate is saying that its storing data into the database but, when the table is checked, data has not been entered. Another thing, sometimes it stores the data into the table and

RE: problem with String[] [SOLVED] ? was hibernate the issue

2003-09-24 Thread David G Friedman
I'd like to know what your Hibernate problem was since I'm using hibernate and never had a problem with it saving data, unless I had the wrong information in the object, causing a Hibernate Exception, which I caught. Do you have show_sql=true in your hibernate.properties or hibernate.cfg.xml

ApplicationResources.properties

2003-09-24 Thread Martin Gainty
What mechanism does struts use to find the ApplicationResources.properties file? All attempts by Tomcat to locate the file result in failure The configuration in web.xml as: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN

RE: ApplicationResources.properties

2003-09-24 Thread Navjot Singh
it just should be in classpath. |-Original Message- |From: Martin Gainty [mailto:[EMAIL PROTECTED] |Sent: Thursday, September 25, 2003 12:52 AM |To: [EMAIL PROTECTED] |Subject: ApplicationResources.properties | | |What mechanism does struts use to find the

Quartz error and Struts plugin for struts

2003-09-24 Thread Mick Knutson
I am having an error with the quartz plugin and need some help. Below is the error I get. I have an EAR, with a common.jar, ejbs.jar and an app.war. Where is quartz.jar, jgs-struts-0.2-dev.jar, jgs-quartz-0.2-dev.jar and the quartz-config.xml suppose to go in the above hierarchy?

Inserting tiles dynamically based on a list from tiles-config.xml

2003-09-24 Thread Matt Raible
I have the following in tiles-config.xml: putList name=sections add value=/WEB-INF/pages/sideNav.jsp/ add value=/WEB-INF/pages/weather.jsp/ add value=/WEB-INF/pages/package.jsp/ add value=/WEB-INF/pages/deals.jsp/ /putList And I want to loop through these in my

Multi config files and global forward

2003-09-24 Thread Franck Lefebure
Hello, My web.xml looks like : servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param init-param

RE: problem with String[] [SOLVED] ? was hibernate the issue

2003-09-24 Thread Mohd Amin Mohd Din
Some of the updates were done using transactions.the show_sql=true, the command line shows insert sql being run but the data is just not in there. Commit also was performed. Maybe it's an Oracle specific issue or something. For my objects, I do use the reverse generator which does need a bit of

Re: Multi config files and global forward

2003-09-24 Thread Navneet Karnani
Do you intend to make these different modules ? If not, then this is the wrong way to split files. You must use the xml way of splitting the files, or give the config files in the same param-value tag seperated by comma. - Navneet Umber Business Solutions Pvt Ltd http://www.umber.biz Franck

RE: ApplicationResources.properties

2003-09-24 Thread Chen, Gin
Struts-config.xml: message-resources parameter=ApplicationResources/ http://jakarta.apache.org/struts/userGuide/configuration.html#resources_conf ig -Tim -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:22 PM To: [EMAIL PROTECTED]

Re: Multi config files and global forward

2003-09-24 Thread Navneet Karnani
Do you intend to make these different modules ? If not, then this is the wrong way to split files. You must use the xml way of splitting the files, or give the config files in the same param-value tag seperated by comma. - Navneet Umber Business Solutions Pvt Ltd http://www.umber.biz Franck

RE: Inserting tiles dynamically based on a list from tiles-config .xml [SOLVED]

2003-09-24 Thread Matt Raible
c:forEach var=section items=${sections} varStatus=status c:import url=${section}/ /c:forEach -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:33 PM To: '[EMAIL PROTECTED]' Subject: Inserting tiles dynamically based on a

LabelValueBean - 3 fields?

2003-09-24 Thread Julie . Huang
Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? thanx! = = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = = This transmittal and any attachments may contain confidential, privileged or sensitive information and is

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Varun Garg
I created a StringsClass with upto 10 variables. package com.xxx.valueobjects; import java.io.Serializable; import java.util.Comparator; public class StringsClass implements Serializable, Comparable { private String var1 = ; private String var2 = ; private String var3 = ;

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Syed, Nazeer
Yes, For that you need to extend the LabelValueBean and add one more variable know as description and write setter and getter method. Thanks Nazeer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:13 PM To: Struts Users

Re: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
--- [EMAIL PROTECTED] wrote: Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? You could subclass LabelValueBean and add the description field. David __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web

RE: LabelValueBean - 3 fields?

2003-09-24 Thread David Graham
If you need a class that stores 10 Strings, you should be using an array instead of 10 different variables. David --- Varun Garg [EMAIL PROTECTED] wrote: I created a StringsClass with upto 10 variables. package com.xxx.valueobjects; import java.io.Serializable; import

Re: LabelValueBean - 3 fields?

2003-09-24 Thread Joe Germuska
At 4:12 PM -0400 9/24/03, [EMAIL PROTECTED] wrote: Hi, is it possible to store 3 fields in LabelValueBean instead of 2? i.e. value, label description? You could subclass LabelValueBean... (or just write your own bean with whatever properties you like!) Actually, in Struts 1.1 LabelValueBean

Re: validating two fields on two different pages

2003-09-24 Thread Robert Leland
Take a look at the validator example that comes with struts, it uses a page attribute. for multi-page forms. -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Varun Garg
It is easier to use this class for Display purposes just like the LabelValueBean. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:23 PM To: Struts Users Mailing List Subject: RE: LabelValueBean - 3 fields? If you need a class that

RE: ApplicationResources.properties

2003-09-24 Thread Steve Raeburn
The exact location is configured in struts-config.xml e.g. message-resources parameter=resources.application/ looks for a file named 'application.properties' in the 'resources' package. - or - message-resources parameter=org.apache.struts.webapp.example.ApplicationResources/ looks for a

RE: ApplicationResources.properties

2003-09-24 Thread Wendy Smoak
Martin wrote: What mechanism does struts use to find the ApplicationResources.properties file? All attempts by Tomcat to locate the file result in failure init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param Where did you put the file?

Re: ApplicationResources.properties

2003-09-24 Thread Martin Gainty
Its in WEB-INF/classes Tomcat doesnt see it Thanks anyway, -Martin - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 3:27 PM Subject: RE: ApplicationResources.properties Martin wrote: What

RE: ApplicationResources.properties

2003-09-24 Thread Chen, Gin
Have u tried the Struts config style? I noticed that you are using the old style of init-param Look at my earlier response. -Tim -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:54 PM To: Struts Users Mailing List; [EMAIL PROTECTED]

RE: LabelValueBean - 3 fields?

2003-09-24 Thread Chen, Gin
Why not just add it to a Collection of Strings? -Tim -Original Message- From: Varun Garg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 4:19 PM To: [EMAIL PROTECTED] Subject: RE: LabelValueBean - 3 fields? I created a StringsClass with upto 10 variables. package

  1   2   >