Re: Displaying

2003-02-19 Thread Nicolas De Loof
bean:write name=person property=personinfo.lastName/ this assumes you have getter and setters in your beans see more in http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/taglib/bean /package-summary.html#package_description Nico. how to i display my bean using the tags

logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread Steffen . Uhlig
Hi, I found some behaviour of the logic:notEmpty tag which I think is inconsistent. Reading the documentation, I think it should call a collection's isEmpty() method. It works as expected with a bean of type List, but it doesn't work with a Map. Testcase: If emptyList was built with List

RE: Pointing to resources within the struts app client side.

2003-02-19 Thread du Plessis, Corneil C
The browser should not be able to load any resource from /WEB-INF/ the servlet engine will protect this directory. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED]] Sent: 18 February, 2003 16:18 To: Struts Users Mailing List Subject: Pointing to resources within the struts

RE: [OT] RE: microsoft .doc struts

2003-02-19 Thread Andy Richards
Thanks hue, This shall be the route we will take i think, i had a play around with rtf, and cutting and pasting the images sections into different documents, and eveything worked fine. As you suggest though i need some kind of way to do this on the fly? will have to look into this one. Regular

RE: how can I unprotect my registration page?

2003-02-19 Thread Mike Mattox
That was it! See I was protected *.do so when I tried to unprotect register.do I got the error. Oddly enough if I unprotect /register.do it works. Very strange. I guess you either need a slash or a star (/something.do or *.do). Thanks for the help, Michael It sounds like it is saying that

Re: Struts with M$ Word Docs

2003-02-19 Thread Andy Richards
Thanks david, however poi dosnt from what i can see, or has very little support for manipulating .doc documents. Also i wish to put this into a production enviroment which i am not sure that POI is ready to do. The excel support looks good though for anyone who needs to do so. regards Andy

Multiple resource files with multiple modules

2003-02-19 Thread A Stephen
Greetings, To Access bean:message key=errors.database.foreign.key bundle=GLOBAL/order-tools/ struts config message resource for module /order-tools message-resources parameter=application null=false / message-resources parameter=global null=false key=GLOBAL / My question is

Re: Displaying

2003-02-19 Thread shashi
Hi I have a doubt regarding test the bean variable with in the array i give u the example For example i have array with name matchValue and a string name surveyMatchType in a bean file and i want ot compare and the value in the surveyMatchType give as the default value in the http page. Plz

RE: [OT] RE: microsoft .doc struts

2003-02-19 Thread Hue Holleran
Hi Andy, Found this link that I had a little while back - not sure if in itself it's particularly useful but explains neatly how RTF formats images and has some potentially useful links, particularly irfanView that allows conversion to WMF - which seems to be the format used in RTF:

RE: Custom tags with Struts

2003-02-19 Thread Rajesh P
Hi Tom, Thanks for the tip. I used the tag as follows: bean:define id=pricevar name=fbname property=price/ formatChecker:check value='%=pricevar%'/ Rajesh -Original Message- From: Tom Ziemer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:58 PM To: Struts Users Mailing

Struts extras for xslt - html

2003-02-19 Thread Simon Kelly
Hi all, I'm having a bit of a problem accessing anything in directories on the same level as WEB-INF/. I am using xslt instead of the jsp to give the html to the client side, with my own XSLServlet to amalgamate the xslt with the xml. I have been looking through the jsp tutorials, and I have a

Scroll

2003-02-19 Thread Richard Raquepo
hello anybody? Can anyone show me how to implement a Scroll in my page. Assuming i have 20 or more result returned from my bean i want to display the first 5 only and let the user scroll either forward or backward. Can someone show me or give me a working sample. thanks a lot everyone!

Mutliform validation using a DynaValidatorForm

2003-02-19 Thread Brian Blignaut
Hi, Has anyone attempted to use the 'page' property of a field, with a DynaValidatorForm? It seems to me that there is a bug around doing this? Thanks Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Displaying

2003-02-19 Thread Richard Raquepo
I have this error: 'No getter method for property personalInfo.name of bean person' help anyone? i have my PersonalInfo class and it has a get and set method for name. public void setName(String name){ this.name = name; } public String getName(){ return name; } - Original Message -

Re: One ActionForm for multiple JSPs

2003-02-19 Thread Affan Qureshi
BlankI don't know of an example but its pretty easy to do. Just define one ActionForm bean and create all the properties in the wizard in it. Make it sessions scoped. And assign/retrieve the properties as you would do with a normal form-bean. In struts-config.xml refer to the same actionForm bean

Re: Displaying

2003-02-19 Thread Richard Raquepo
here's part of the code: . Person person = new Person(); PersonalInfo personalInfo = new PersonalInfo(); if ( taskId != null ) { System.err.println(--- Writing personc class : + taskId); personalInfo.setName(Richard); person.personalInfo = personalInfo;

Re: Displaying

2003-02-19 Thread Nicolas De Loof
Does your Person class have a getter for personalInfo property ? PersonalInfo getPersonalInfo() { return this.personalInfo; } Nico. I have this error: 'No getter method for property personalInfo.name of bean person' help anyone? i have my PersonalInfo class and it has a get and set

Re: Use of Bean Default Value in Struts

2003-02-19 Thread Affan Qureshi
Use the value attribute of the html:select and assign it the required value. But value attribute does not take the property of the form bean. It takes the value explicitly specified. e.g hml:select value=A If you specify hml:select value=val then it will search for the string val in the

Displaying a collection as comma separated values

2003-02-19 Thread ROSSEL Olivier
I want to display in my HTML page a collection of Strings, and I want to display a comma between each word and a final dot. I use nested:iterate: nested:iterate property=bar nested:write property=label, /nested:iterate It works fine except for the final dot. My question is: in a

Re: Scroll

2003-02-19 Thread Affan Qureshi
Look at the Pager tag at Struts Layout: http://struts.applications-servers.com or the same in Ed Hill's Dispaly tag library (http://edhill.its.uiowa.edu/display-0.8/). Both places have running examples I think. Affan - Original Message - From: Richard Raquepo [EMAIL PROTECTED] To: Struts

Re: Displaying

2003-02-19 Thread Richard Raquepo
ok. thanks. i seem to forgot that... sorry... thanks a lot again... - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 6:29 PM Subject: Re: Displaying Does your Person class have a getter for

Re: business logic question

2003-02-19 Thread Dan McGowan
Ted, Thanks for the explanation, worked like a champ...I am on my way to exorcising the business logic demons out of my DispatchAction classes! Dan McGowan Excellent question! The Scaffold solution is to use a ProcessResult object that encapsulates the typical things that the Model might

Re: Tiles - multiple tiles submit

2003-02-19 Thread Cedric Dumoulin
Hi, For this kind of design you can have one tile declaring the form and inserting two sub- tiles populating it. There is an example in tiles-documentation.war, under tutorial/invoice. Hope this help, Cedric Jack Zakarian wrote: Hi, I have a tiles layout that has a header and

Using javascript with html:link

2003-02-19 Thread Carl-Jakob Rundberg
Hi I want to generate a popupwindow when a user clicks on a html:link I tried the onclick property. The problem is to get mapping to the action in the javascript or the other way around Link html:link page=/setReceiverAction.do onclick=” paramName=adds paramId=id

Re: Problems with Tiles and ControllerUrl

2003-02-19 Thread Cedric Dumoulin
Hi, I don't see what is wrong in your code. Maybe you can try to use execute(...) instead of perform(...) which is deprecated. You can also check if your method is properly called, and so if attribute are really set (add a println in your method). If you still have problems, you can send

Re: Using javascript with html:link

2003-02-19 Thread Gemes Tibor
2003. február 19. 12:47 dátummal Carl-Jakob Rundberg ezt írtad: Hi I want to generate a popupwindow when a user clicks on a html:link I tried the onclick property. The problem is to get mapping to the action in the javascript or the other way around If you just want to open a new window, try

Re: Tile definition with a role attribute.

2003-02-19 Thread Cedric Dumoulin
Hi, When you declare a new definition with a name that already exist, the old definition is replaced by the new one. So, you always got the latest definition. To do what you want, you should use different names, and insert each definition (all declared with different roles) in the page.

passing html:select selected value to html:link

2003-02-19 Thread Anirudh Chonalal
Hi, I have a following listbox in one of my jsps: html:select property=system size=5 html:options collection=systems property=name labelProperty=name/ /html:select Following this I have two html:links one to edit a system and another one to delete. I would like to pass the selected value from

Re: Tiles, Modules, and Multiple Definition Files

2003-02-19 Thread Cedric Dumoulin
Hi, All your explanations are absolutly right. Can I use them for a future faq ;-) ? The extends mechanism across modules will be improve in the next release. It has not been done in the current release due to the lack of time. Cedric Derek Richardson wrote: Since I heard nothing

Re: tiles insert question...

2003-02-19 Thread Cedric Dumoulin
Hi, In the early jsp specs, it is explicitly said that it is not possible to perform a flush inside a tag implementing BodyTag. Tiles perfrom a flush, and iterate is implemented as BodyTag. So this wasn't work. This should work in latest jsp spec, but I think that iterate should implement

question about logging

2003-02-19 Thread Vladislav Kamensky
Hi, how can I configure struts in oder to print log messages into file but not on console ? Vlad. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts extras for xslt - html

2003-02-19 Thread Alex McLintock
At 09:25 19/02/03, Simon Kelly [EMAIL PROTECTED] wrote: I'm having a bit of a problem accessing anything in directories on the same level as WEB-INF/. I believe this is banned by the servlet engine (Tomcat?) - otherwise you might have website users downloading your jar files, and config

How stable is struts 1.1 beta 3

2003-02-19 Thread Jagannayakam
Hi , We already developed a J2EE product . Now we think of implementing the struts framework for better navigation , exception framework . Any sugesstions on - how stable is this release of struts 1.1 beta 3 . Are there any major known issues in this ? Regards, Jagan.

Re: Fw: TilesAction and Controller

2003-02-19 Thread Cedric Dumoulin
If you use a class directly, you should better implement the controller interface. Cedric BaTien Duong wrote: Question: Just check to make sure that the controllerClass (NOT controllerURL) used in tiles:insert tag can extends TilesAction (and NOT implements Controller)? - Original

Re: TilesAction and Controller

2003-02-19 Thread Cedric Dumoulin
BaTien Duong wrote: I found the following in tilesAdvancedFeatures: If you use a class name as controller, it should extend one of the following base classes or interfaces: org.apache.struts.action.Action (wrapper org.apache.struts.action.StrutsActionControllerWrapper is used) If you provide

Re: Struts extras for xslt - html

2003-02-19 Thread Simon Kelly
Alex, I have the structure set up as; katrin/ (Main project dir in webapps) then katrin/graphics katrin/WEB-INF Did you mean that I need the graphics in the WEB-INF dir or where it currently is? Cheers and thanks for the answer, Simon - Original Message - From: Alex McLintock [EMAIL

Re: [Tiles] Dynamic values for put tag?

2003-02-19 Thread Cedric Dumoulin
Duane Morin wrote: Hi all, I'm new to the list, so apologies if I say something silly. Last night I found myself needing to take a bunch of query parameters from an incoming request and map them to tiles:put parameters, like this: % Enumeration e = request.getParameterNames(); for

Re: Problems with Tiles and ControllerUrl

2003-02-19 Thread Zaraza
Cedric Dumoulin wrote: Hi, I don't see what is wrong in your code. Maybe you can try to use execute(...) instead of perform(...) which is deprecated. You can also check if your method is properly called, and so if attribute are really set (add a println in your method). If you still have

Re: about tiles context

2003-02-19 Thread Ferran Parra
Hello David. You are absolutely correct, I have as the application base Artimus from the Struts in Action book by Ted Husted which was made with Struts 1.1b2. I grabbed the application struts-blank from struts 1.1b3 and substituted the directory WEB-INF/lib, and now it works! But I had another

Re: Problems with Tiles and ControllerUrl

2003-02-19 Thread Cedric Dumoulin
Zaraza wrote: Cedric Dumoulin wrote: Hi, I don't see what is wrong in your code. Maybe you can try to use execute(...) instead of perform(...) which is deprecated. You can also check if your method is properly called, and so if attribute are really set (add a println in your method).

I need access to the configuration as Struts sees it.

2003-02-19 Thread Thorbjørn Ravn Andersen
I have a problem which arose when I merged several webapplications into a single ROOT.war, namely that I get the dreaded javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection when I deploy the EAR file containing the above WAR to JBoss 3.0.6. My problem is

RE: question about logging

2003-02-19 Thread Sri Sankaran
Struts itself uses commons logging. So you can simply include the necessary jars from commons logging and say, log4j/jdk1.4 in conjunction with the respective properties files in your classpath to control how the messages are output. You can learn a lot more about it at

RE: How stable is struts 1.1 beta 3

2003-02-19 Thread Stillwell, Chris
We would like to know the answer to this question as well. We are just in the design phase of a new project and are trying to decide between 1.0.2 and 1.1-b3. I would prefer to go with 1.1-b3 since it appears from the project plan on the Struts web site that it is intended to be the release

Use of Struts DataSource

2003-02-19 Thread shashi
Hi Please give me guidlines regarding use of struts datasource. Regards Shashi

RE: How stable is struts 1.1 beta 3

2003-02-19 Thread Pani, Gourav
i have been working with 1.1.3 since its release and haven't had any critical issues with it. personally, it is a definite improvement over 1.0.2 and i would go ahead and work with it. -Original Message- From: Stillwell, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003

RE: How stable is struts 1.1 beta 3

2003-02-19 Thread Jerome Jacobsen
I'm using it in production. Also JDeveloper 9i ships with Struts 1.1b2. From reviewing the struts-dev list it appears that 1.1-b3 will be the release candidate. -Original Message- From: Stillwell, Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 9:30 AM To: 'Struts

RE: Proper place/tier for retrieving DDLB Values

2003-02-19 Thread Robert Taylor
Joshua, There are many ways to accomplish your goal. To answer your question, the DAO is typically the object that encapsulates the persistance and query logic and therefore would perform the query using the key passed in from the domain object. As far as returning results, you have a couple

TilesAction

2003-02-19 Thread Ferran Parra
Hello David Graham. You are absolutely correct, I have as the application base Artimus from the Struts in Action book by Ted Husted which was made with Struts 1.1b2. I grabbed the application struts-blank from struts 1.1b3 and substituted the directory WEB-INF/lib, and now it works! But I had

RE: question about logging

2003-02-19 Thread Stillwell, Chris
I have been trying to configure my Struts 1.1 application to use a custom logger that wraps log4j. I implemented a Logger class that implements the commons Log interface. I created a commons-logging.properties file and placed it in the WEB-INF/classes directory. It contains the properties:

Re: Sell me on tiles

2003-02-19 Thread David Geary
The major selling point of tiles is that you can encapsulate, and reuse, page layouts, much as you can reuse layout managers in classic UI frameworks such as Struts. Beyond that, tiles have many other features that will save you a great deal of time and effort, such as extending an existing

Re: about tiles context

2003-02-19 Thread David Graham
I don't use TilesAction so I can't really help you there. Why are you using that instead of subclassing the normal Struts Action? Have you looked into using Tiles Controllers to setup data for the tile? http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200 David From:

RE: Displaying a collection as comma separated values

2003-02-19 Thread Sri Sankaran
nested:iterate property=someCollection indexId=index logic:notEqual property=index value=0,/logic:notEqual /nested:iterate . This should allow you to display commas between each word and then a dot. Sri -Original Message- From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]

RE: Application Flow with Transaction Tokens?

2003-02-19 Thread Jerome Jacobsen
I just checked the book. His approach is to just throw a servlet exception when a sensitive form is resubmitted. I believe what Greg wants is a way to display the results just as if the second submition did not occur. -Original Message- From: DUBCHAK, JOHN (SBCSI) [mailto:[EMAIL

RE: Sell me on tiles

2003-02-19 Thread Hue Holleran
I appreciate you've had lots of replies already - but tiles was the killer feature for us in selecting struts. Please don't misunderstand that struts isn't great anyway - we love it - but the addition of tiles has made developing complex websites a breeze. There is a very outdated first-cut of

Re: TilesAction and Controller

2003-02-19 Thread BaTien Duong
Thanks Cedric and this great developer community. BaTien - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 6:25 AM Subject: Re: TilesAction and Controller

RE: TilesAction and Controller

2003-02-19 Thread Raible, Matt
For Struts 1.1b3 and the soon to be released Struts 1.1 RC1, do you recommend using TilesAction over the Controller interface (http://tinyurl.com/62px) for tiles-specific controllers? I just wrote about using the Controller interface for a Wrox Chapter last night, and I'd hate to be out of date

PropertyEditor

2003-02-19 Thread Sebastien Sauleau
Hi, I have used a html:textarea to get some informations and so I have a String with several lines. When I put that String in a bean:write the presentation is different. I have seen in the Struts help that if there is a PropertyEditor configured for the property value's class, the getAsText()

RE: Sell me on tiles

2003-02-19 Thread James Childers
I appreciate you've had lots of replies already - but tiles was the killer feature for us in selecting struts. Please don't misunderstand that struts isn't great anyway - we love it - but the addition of tiles has made developing complex websites a breeze. There is a very outdated

JOX Parser Conflicts with Struts Application

2003-02-19 Thread Alex Reznik
Hi, everybody, I was wondering if any1 has used the JOX parser from www.wutka.com/jox with a struts application, and if there were any conflicts. I am trying to call the JOX from a bean and in my browser getting an 500-exception, the debug shows that a Jasper Exception is thrown, which does not

RE: return (mapping.getInputForward()); - not working

2003-02-19 Thread Pani Ramasami
John, -- On Tue, 18 Feb 2003 19:56:43 John Espey wrote: Pani, Can you copy your action mapping configuration (if your input is an action can you copy that one too? Here it is: actionpath=/reportGen type=com.g1.interactive.webapp.ReportGenAction

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
That doesn't seem right. What version are you using? I recently finished cactus tests on the logic tags, and I test exactly what you've described without failures. In fact, I just tried this in a test.jsp: %@ page contentType=text/html;charset=UTF-8 language=java % %@ taglib

RE: JOX Parser Conflicts with Struts Application

2003-02-19 Thread Alex Reznik
Nevermind, problem solved :) But i still would like to hear about some xml techniques, please -Original Message- From: Alex Reznik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 10:51 AM To: 'Struts Users Mailing List' Subject: JOX Parser Conflicts with Struts Application

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
Oops, hold that thought. I didn't read my results correctly. You're right, my test.jsp showed both (which is wrong). I'll take a closer look at this. -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the

Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread Mike Mattox
Looking at the struts-config.xml from the struts-example app: !-- Save user registration -- actionpath=/saveRegistration type=org.apache.struts.webapp.example.SaveRegistrationAction name=registrationForm scope=request input=registration/

RE: Application Flow with Transaction Tokens?

2003-02-19 Thread Greg Hess
Hi All, I have implemented a solution that I like to handle a TimeConsumingRequest(TCR). I have build a Thread that performs the TCR. This thread also provides methods to retrieve the status of the process and the result bean of the process. //Returns true while the TCR is

RE: Mutliform validation using a DynaValidatorForm

2003-02-19 Thread Andy
DynaValidatorActionForm and DynaValidatorForm don't work for multipage forms. The page attr is not being set for dynamic forms. http://issues.apache.org/bugzilla/show_bug.cgi?id=16337 The patch is pretty easy, but this got marked for 1.2. The patch I use locally is: public class MyForm

RE: logic:empty and logicnotEmpty with a Collection (again)

2003-02-19 Thread James Mitchell
Ok. Scratch that, I was correct the first time. Here's my test.jsp: % java.util.Map emptyMap = new java.util.HashMap(); pageContext.setAttribute(emptyMap, emptyMap); % logic:empty name=emptyMapThe map is empty./logic:emptybr logic:notEmpty name=emptyMapThe map is not empty./logic:notEmptybr

Re: One ActionForm for multiple JSP

2003-02-19 Thread Steve Stair
There is a bug in multipage DynaValidatorForm usage http://www.mail-archive.com/struts-user@jakarta.apache.org/msg55576.html -- Steve Stair [EMAIL PROTECTED] (512) 463-7991 - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Mutliform validation using a DynaValidatorForm

2003-02-19 Thread Steve Stair
There is indeed a bug in multipage DynaValidatorForm usage http://www.mail-archive.com/struts-user@jakarta.apache.org/msg55576.html -- Steve Stair [EMAIL PROTECTED] (512) 463-7991 - To unsubscribe, e-mail: [EMAIL PROTECTED]

[OT] RE: Sell me on tiles

2003-02-19 Thread Hue Holleran
Choice of colours was the customer's - they picked colours they felt would be eye-catching (damaging) (!) You should all feel great as struts developers - although this will not be surprising to the initiated - to know you've completely usurped Microsoft ASP and the shiny new Microsoft ASP.NET as

RE: [OT] RE: Sell me on tiles

2003-02-19 Thread Chappell, Simon P
I can't get the site to display at all, and i've tried both IE and Mozilla. -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 10:20 AM To: 'Struts Users Mailing List' Subject: [OT] RE: Sell me on tiles Choice of colours was the

Re: How stable is struts 1.1 beta 3

2003-02-19 Thread Robert Leland
Jagannayakam wrote: Hi , We already developed a J2EE product . Now we think of implementing the struts framework for better navigation , exception framework . Any sugesstions on - how stable is this release of struts 1.1 beta 3 . Are there any major known issues in this ? 1) Search Buzilla

Re: Why do we need the input property of action in the struts-config.xmlfile

2003-02-19 Thread Bert Catsburg
Is that because your action is started by saveRegistration.do and the validation is done by registration.jsp? You don't have the '.jsp' in the input. What happens then? Does the action actually know which form triggered it? the (in your case) SaveRegistrationAction program is started after

Re: TilesAction and Controller

2003-02-19 Thread Cedric Dumoulin
Hi, If you don't need the struts properties, use a Controller class and controllerClass. If you need the struts preprocessing or the struts properties in your controller, use a TilesAction and controllerUrl. A TilesAction is a regular Struts action which can be called through the servlet

DB Connection pool (how)?

2003-02-19 Thread Swish
Hi, Please excuse my ignorance, but does struts have a libraries that implement a connection pool and if so, how does one configure and use this pool? Are there any examples? Any help will be greatly appreciated! Thanks in advance!

Re: indexed html-el and c:forEach

2003-02-19 Thread Brian Moseley
David M. Karr wrote: Brian == Brian Moseley [EMAIL PROTECTED] writes: Brian any chance that we can get support in struts-el for indexed html tags nested Brian within c:forEach, a much more flexible and useful iterator? Brian at the moment, BaseHandlerTag.prepareIndex is hardcoded

Re: Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread David Graham
You can reuse the Action by defining it with a different path attribute. The input is just for the Action on one path, not every path you use that action on. David From: Mike Mattox [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: DB Connection pool (how)?

2003-02-19 Thread David Graham
http://jakarta.apache.org/struts/userGuide/configuration.html#data-source_config David From: Swish [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: DB Connection pool (how)? Date: Wed, 19 Feb 2003 11:32:15 -0500

RE: DB Connection pool (how)?

2003-02-19 Thread James Mitchell
http://jakarta.apache.org/struts/faqs/database.html -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over the man who cannot read them. - Mark Twain (1835-1910) -Original Message-

RE: Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread Michael Mattox
Sounds like a good approach, but wouldn't it be easier if action's input was automatically set? Is this not possible? Thanks, Michael -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: mercredi 19 février 2003 17:37 To: [EMAIL PROTECTED] Subject: Re: Why do we

passing html:select selected value to html:link

2003-02-19 Thread Anirudh Chonalal
Hi, I emailed this question earlier in the morning, but had no response, it's very urgent does anybody know how to do the following: I have a following listbox in one of my jsps: html:select property=system size=5 html:options collection=systems property=name labelProperty=name/ /html:select

Re: TilesAction and Controller

2003-02-19 Thread BaTien Duong
Initially I thought we can use Controller interface to save an extra specification in config.xml and to be more flexible in our design of class structure. We use TilesAction as the main 1 controller 1 action and in nested pages where there is a need of 1 controller - multiple views. We change all

RE: Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread David Graham
How would it know what it's input resource is? Keep in mind that you can list a tiles definition in the input attribute so it's not as easy as checking a url. David From: Michael Mattox [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List

deprecated constant

2003-02-19 Thread Michael Cardon
In version 1.1b3 Action.DATA_SOURCE_KEY is deprecated. Can anyone tell me real quick what replaces this? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Why do we need the input property of action in the struts-config.xml file

2003-02-19 Thread Sri Sankaran
It's possible. However as the DTD says, the input is: Module-relative path of the action or other resource to which control should be returned if a validation error is encountered. And not (necessarily) where you came from. Sri -Original Message- From: Michael Mattox

RE: How stable is struts 1.1 beta 3

2003-02-19 Thread James Mitchell
To add to your last point. This is one aspect where Test Driven Development really champions. If you run your test suite against your product with any stable release, then validating stability should be as simple as re-running your tests after upgrading. The more I work with Cactus, the more I

RE: deprecated constant

2003-02-19 Thread Wendy Smoak
Michael wrote: In version 1.1b3 Action.DATA_SOURCE_KEY is deprecated. Can anyone tell me real quick what replaces this? http://jakarta.apache.org/struts/api/org/apache/struts/action/Action.html -- Wendy Smoak

RE: return (mapping.getInputForward()); - not working

2003-02-19 Thread John Espey
I prefer the getInput method when doing validation, although under most circumstances the RequestProcessor will do that for you. If you are doing input validation in the action class, then you should probably use the getInput method. If not, you need the input forward to work anyways if

Re: TilesAction and Controller

2003-02-19 Thread Vic Cekvenich
For others... nice write up on this in http://blogs.browsermedia.com/patrick/index.do?date=20030211 .V BaTien Duong wrote: Initially I thought we can use Controller interface to save an extra specification in config.xml and to be more flexible in our design of class structure. We use

Re: DB Connection pool (how)?

2003-02-19 Thread asatrasala
Hello, FYI, I use MSSQL server and opta2000.jar from http://www.inetsoftware.de/English/produkte/JDBC_Overview/default.htm Following are my parameters in struts-config.xml file data-sources data-source set-property property=description value=test sample

RE: passing html:select selected value to html:link

2003-02-19 Thread Wendy Smoak
I have a following listbox in one of my jsps: html:select property=system size=5 html:options collection=systems property=name labelProperty=name/ /html:select Following this I have two html:links one to edit a system and another one to delete. I would like to pass the selected value from

[Q] Iterating over a collections.Bag works, but..?

2003-02-19 Thread WILLIAMS,RAND (HP-USA,ex1)
Hello, hoping for some help on this: The nested:iteration on a Bag seems to work fine, and it iterates ok, but I am having trouble accessing the contents of the Bag (SortedBag or TreeBag etc) from the code, please help :) nested:form action=engtest.do logic:notEmpty name=_engineer

RE: DB Connection pool (how)?

2003-02-19 Thread Swish
Thanks!! Wow, struts is an awesome framework! --- James Mitchell [EMAIL PROTECTED] wrote: http://jakarta.apache.org/struts/faqs/database.html -- James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org/ The man who does not read good books has no advantage over

RE: TilesAction and Controller

2003-02-19 Thread Raible, Matt
Good to know - thanks! Matt -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 9:23 AM To: Struts Users Mailing List Subject: Re: TilesAction and Controller Hi, If you don't need the struts properties, use a

RE: return (mapping.getInputForward()); - not working

2003-02-19 Thread Pani Ramasami
John, Yes. I prefer to do one validation in ActionClass and if the validation fails, 'am constructing ActionErros. Then, 'am saving it and using the input forward. I even tried using the / as I do for failure forward. But it doesnt seem to work. Thats the reason, why I have to make a failure

Who can tell me how to get off this mailing list

2003-02-19 Thread Goldberg, Joel S
I have followed the instructions on the Apache site and I keep getting barraged with notes from this list serve. I have sent notes to [EMAIL PROTECTED] I have tried all variations I can think of but to no avail! My inbox is continually overrun with notes from [EMAIL PROTECTED] I am

RE: [OT] RE: Sell me on tiles

2003-02-19 Thread Hue Holleran
Sorry to all who can't access - I've had a few emails! The site is actually hosted on a high port number that some firewalls/corporate proxies will not connect to. Once in production it will be on good ol' port 80. Also the mods for Opera have not been done yet - so Opera may display a bit

handling form errors in Actions, returning to form, prepopulating them without re-POSTING

2003-02-19 Thread otisg
Hello, We are starting to use Struts and are wondering how Struts users handle scenarios such as this one: 1. /ShowForm action gets called, mapped to ShowFormAction. ShowFormAction pulls a list of countries from the DB (for ex.), stick that list in the HTTP request, and 'forwards' to 'ok',

[OT] RE: Who can tell me how to get off this mailing list

2003-02-19 Thread Jarnot Voytek Contr AU HQ/SC
reread the bottom of this message . . . have you tried [EMAIL PROTECTED]? -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Goldberg, Joel S [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 11:34 AM To: [EMAIL PROTECTED] Subject:

RE: Who can tell me how to get off this mailing list

2003-02-19 Thread Guptill, Josh
Read the footer a little more carefully: To unsubscribe, e-mail: [EMAIL PROTECTED] not [EMAIL PROTECTED] -Original Message- From: Goldberg, Joel S [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 12:34 PM To: [EMAIL PROTECTED] Subject: Who can tell me how to get off this

  1   2   >