MappingDispatchAction and LookupDispatchAction Submission Requests

2004-10-02 Thread Michael McGrady
I have a fancy, dancy page ( button ) on Buttons with the source code and demonstrations. However, I have not yet put in either LookupDispatchAction, MappingDispatchAction, or DispatchAction (with JavaScript). If anyone would like to donate what they consider to be a good application of those

RE: How change the mainlayout of tiles on the fly

2004-10-02 Thread David G. Friedman
Gabriel, I didn't see anyone respond to you so I'll point you to making an action tiles controller so you can change it in an Action method. I believe you can also set a controller spec in a tag allowing a Java class to make changes at your discretion. See the PDF Tiles Advanced Features by Cedr

RE: Probs with ActionError -> generate a blank page after request

2004-10-02 Thread David G. Friedman
Daniel, What version of struts are you using? I see the input="input" refers to a local ActionForward but how is struts configured? In the 1.2.4 docs, this controller snippet sounds like it would be VERY useful to you: inputForward - Set to true if you want the input attribute of elements to b

RE: Anchor tag

2004-10-02 Thread David G. Friedman
Kiran, Why would you want to set an anchor tag in a forward? If you are talking tag, that should be handled by the browser to 'jump' down the page to the appropriate portion of the page marked by the anchor. Can you give more clear details and examples if this is another problem? Regards, David

Q: Switching Modules

2004-10-02 Thread jean kon-sun-tack
In my "companyList" screen I have a cancel button (/companyList/cancel.do). In moduleA-struts.xml, why can't I have something like : I want my page flow configured in my xml config files, not in my JSPs by doing : Is there another way to do that ? Thanks. Jean.

RE: Why Struts use "forward" instead of "redirect" to "jump" from one JSP to another?

2004-10-02 Thread David G. Friedman
Chris, A struts forward is an internal handoff, unless redirect="true", allowing the next page, JSP, etc. to have full knowledge of anything submitted with the HTTP GET or POST page request. This allows the JSP/page to have full use of the form (which is usually in request scope) and any objects

RE: Problem with PostgreSQL data source

2004-10-02 Thread David G. Friedman
Kyle, I'm glad to hear the problem is resolved. To your question on Struts v1.2.X and DataSources, the release notes http://struts.apache.org/userGuide/release-notes.html describe the changes as: - GenericDataSource / GenericConnection implementations removed - The datasources manager is still s

Why Struts use "forward" instead of "redirect" to "jump" from one JSP to another?

2004-10-02 Thread Chris
Hi , all I am wondering why Struts use "forward" instead of "redirect" to "jump" from one JSP to another. Could anybody give me some hint? Regards Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Indexed Properties and Lazy List behaviour

2004-10-02 Thread Hubert Rabago
Cool. I get it. Wow. Now that I get it, I really like it. It's like the dyna form bean finally caught up with the nested tags! Thanks, Niall. On Sat, 2 Oct 2004 00:50:14 +0100, Niall Pemberton <[EMAIL PROTECTED]> wrote: > OK I think I must be spreading confusion - thats what you get, arrays o

RE: Problem with PostgreSQL data source

2004-10-02 Thread Kyle Korndoerfer
David, Thanks for the quick response... > On Tuesday you wrote that you were going to download the latest > drivers from http://jdbc.postgresql.org/download.html. Did that help > or create any new error messages? I ask because Paul wrote that your > driver name, pg73b1jdbc3.jar, has 'b1' in the

RE: Problem with PostgreSQL data source

2004-10-02 Thread David G. Friedman
Kyle, Some questions are recaps I didn't see your posted answers for so bear with me, I'm trying to help: On Tuesday you wrote that you were going to download the latest drivers from http://jdbc.postgresql.org/download.html. Did that help or create any new error messages? I ask because Paul wro

RE: Search engine friendly URLs

2004-10-02 Thread David G. Friedman
You should be able to do with in 1.2.4 with WildCard mapping, see section 4.10 - Using Wildcards in Action Mappings. http://struts.apache.org/userGuide/building_controller.html Regards, David -Original Message- From: Ben [mailto:[EMAIL PROTECTED] Sent: Saturday, October 02, 2004 11:53 AM

Search engine friendly URLs

2004-10-02 Thread Ben
Hi Is it possible to make the URLs on my site search engine friendly? I am using Tomcat and Struts. I would like to turn: http://localhost/site.do?section=books&subsection=architecture into this: http://localhost/do/site/books/architecture Regards, Ben ---

Re: Problem with PostgreSQL data source

2004-10-02 Thread Kyle Korndoerfer
> 1. You should use the Container (Tomat and not Struts) data source > and not use connection pool, rather the DataSourcePool that comes with > JDBC drivers. Connections are more for clients and PooledDataSource > is for servers, so use that part of any JDBC driver. OK, can you show me what the c

Re: Inicialiazing a LookupDispachAction

2004-10-02 Thread Mark Lowe
You can also use the parameter attribute in the validate method (assuming you're using an actionform and decide whether to validate there. public ActionErrors validate(..) { String method = mapping.getParameter(); String target = request.getParameter(method); if(target.eq

Re: Inicialiazing a LookupDispachAction

2004-10-02 Thread Richard Tuquet Laburre
may be you can put "validate=false" in your struts-config.xml and execute form.validate in the methods which have to validate your form PS : excuse me ; my english is bad ; i am french ;-) Gabriel França Campolina a écrit : Hi Folks, I have a action-mapping that mapping a Action named ProdutoActi

tiles related issue - Urgent

2004-10-02 Thread Ashutosh Satyam
Hi, Below is my tiles-defintion. >From the action class, I make a forward to definition 'SubsSrch'. The call does get forwarded to this definition. Apart from the 'mainBody' which points to the definition 'docs.csr.body' all other contents are sho