Re: Portability & extension vs path mapping

2004-07-23 Thread Niall Pemberton
The "action" attribute has only been available in Struts since version 1.2.0 - so if you want it either switch to Struts 1.2.1 beta version or wait for the next Struts release - hopefully that isn't too far away - talk on the dev list is for a vote on Monday. I did update the docs in CVS recently

RE: Submitting form does nothing

2004-07-23 Thread Jim Barrows
> -Original Message- > From: Claire Suttle [mailto:[EMAIL PROTECTED] > Sent: Friday, July 23, 2004 4:48 PM > To: Struts Users Mailing List > Subject: Re: Submitting form does nothing > > > Thanks for your help, Hubert > > > > Where all the ExtendedActionServlet class does is check

Re: Submitting form does nothing

2004-07-23 Thread Claire Suttle
Thanks for your help, Hubert > Maybe you can provide a more detailed picture of what's happening. I'll certainly try! > -> What's your context path? I'm not sure...is this my listing in the Tomcat server.xml file? If so, it is: > -> What URL does your browser show when you're on the form tha

Re: 1.21

2004-07-23 Thread Niall Pemberton
Good point, think that was this thread: http://www.mail-archive.com/user%40struts.apache.org/msg07353.html Niall - Original Message - From: "Erik Weber" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 12:31 AM Subject: Re: 1.21 >

Re: 1.21

2004-07-23 Thread Erik Weber
A week or two ago there was a short discussion of some possibly erroneous DTD references in the latest release, but don't quote me on that. This could possibly have something to do with the validator or might cause problems elsewhere, but you'll have to search the archives for specifics, I can'

Re: Problem setting intial value of checkbox to check

2004-07-23 Thread Erik Weber
I tried my advice and it worked. In my reset method, I normally set my checkbox form bean attributes to "false". I changed one to "true" and the checkbox now comes up checked by default. Hope that helps, Erik Erik Weber wrote: I think setting the value to "true" just means that "true" is what

Re: Problem setting intial value of checkbox to check

2004-07-23 Thread Erik Weber
I think setting the value to "true" just means that "true" is what will be sent to the server if the checkbox is checked when the form submits. I *think* you would "turn on" the checkbox in the reset method of your form bean, if I am not mistaken . . . Not 100% sure, Erik Joe Argiro wrote: Hi

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Obviously in the example below, since we are talking about extension mapping here, the "controllerPath" variable is set to the empty string. Just wanted to avoid any confusion. Erik Erik Weber wrote: Craig, this is exactly what I was looking for, except, I need html:rewrite instead of html:link

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Craig, this is exactly what I was looking for, except, I need html:rewrite instead of html:link, because many hyperlinks are unfortunately embedded in JavaScript functions. Any suggestions? I can't quite figure out html:rewrite. The docs (1.1) seem to explain that it works exactly like html:lin

Re: Submitting form does nothing

2004-07-23 Thread Hubert Rabago
Maybe you can provide a more detailed picture of what's happening. -> What's your context path? -> What URL does your browser show when you're on the form that doesn't submit, just before you submit it? -> What URL is shown right after you submit? -> How is your ActionServlet declared and mapped

Re: Submitting form does nothing

2004-07-23 Thread Claire Suttle
Yeah, I've actually already tried adding the slash into the html:form tag. It doesn't actually make any difference. I've tried it on both the tomcat3/Java1.3 version and the Java1.4/Tomcat5 system. Either way, on tomcat3/java1.3: and expands to and on tomcat5/java1.4 and expands to Clair

Re: 1.21

2004-07-23 Thread Matthew Van Horn
I'm trying but I cannot seem to get the validwhen validation to work with other validators - especially mask. I'm not sure if it is me doing something wrong, or it is unsupported. Here's what I am trying: test (submit == 'delete') or (*this* != null

Problem setting intial value of checkbox to check

2004-07-23 Thread Joe Argiro
Hi we're migrating our code to 1.1 I've got a problem with the html:checkbox. (which used to work in 1.02 ) I need to set the initial value to "checked" but it no longer seems to work in 1.1 what is the correct way to do this now thanks! --joe --

Re: Submitting form does nothing

2004-07-23 Thread Hubert Rabago
I'm surprised it's working for some of them. Probably just coincidence. AFAIK, when you specify an action, you should include the "/" that comes before the action name. > > should be > > Hubert --- Claire Suttle <[EMAIL PROTECTED]> wrote: > I've been looking into my problem some more, an

Re: Submitting form does nothing

2004-07-23 Thread Claire Suttle
I've been looking into my problem some more, and I seem to have found a more specific error now. I am fairly certain that all my paths are in place correctly - I haven't changed any of my directory structures, all I've done is change the compiler from Java1.3 to Java 1.4 and change Tomcat 3 to

1.21

2004-07-23 Thread Vic Cekvenich
Is anyone using 1.21 in production? Any issues... ? Any issues w/ validator? tia, .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Portability & extension vs path mapping

2004-07-23 Thread Craig McClanahan
On Fri, 23 Jul 2004 15:36:34 -0400, Erik Weber <[EMAIL PROTECTED]> wrote: > Ah, you're probably right, the path mappings might not need to change > very often, but on the other hand, I thought, if the html:form tag > appends the (.do) extension for you, it isn't far-fetched to think that > another

RE: Intermediate loading page

2004-07-23 Thread Rizwan Merchant
Can be anywhere from a few seconds to 4-5 minutes, depending on the size of the report. -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 10:40 AM To: Struts Users Mailing List Subject: Re: Intermediate loading page Ah. What is a typical lengt

RE: Intermediate loading page

2004-07-23 Thread Rizwan Merchant
Can be anywhere from a few seconds to 4-5 minutes, depending on the size of the report. -Original Message- From: Brett Connor [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 10:40 AM To: Struts Users Mailing List Subject: Re: Intermediate loading page Ah. What is a typical lengt

Re: Portability & extension vs path mapping

2004-07-23 Thread Erik Weber
Ah, you're probably right, the path mappings might not need to change very often, but on the other hand, I thought, if the html:form tag appends the (.do) extension for you, it isn't far-fetched to think that another tag would do the equivalent for hyperlinks. Erik Rick Reumann wrote: Erik Web

deploy artimus on Sun J2ee using pointbase

2004-07-23 Thread Jen
Hi, I am trying to deploy artimus from Struts in Action book to Sun J2EE using pointbase database. I changed the in struts-config.xml and poolman.xml to use pointbase nad created a database artimus. but when I got the very first page, select one of the radio button, click Go, I got nullpointer exc

Re: Intermediate loading page

2004-07-23 Thread Brett Connor
Ah. What is a typical length of time for a report generation? I'm inferring this is a serious resource constraint for your system. Rizwan Merchant wrote: I want the variable to be reset if the browser is closed. The browser could be closed while the report generation is in process (which is a sep

[OT] Struts Networking in London (BOF #2)

2004-07-23 Thread Pilgrim, Peter
Hello Before I forget again, are there Struts / J2EE developers / users interested in another informal together in London? This would be birds-of-feather number two. Please reply off-list if you are interested. The last meeting took place at Monday 9th June 2004 19:15 GMT @ Waxy O'Connor (Iris

RE: Intermediate loading page

2004-07-23 Thread Jim Barrows
> -Original Message- > From: Rizwan Merchant [mailto:[EMAIL PROTECTED] > Sent: Friday, July 23, 2004 10:18 AM > To: 'Struts Users Mailing List' > Subject: RE: Intermediate loading page > > > > I want the variable to be reset if the browser is closed. The > browser could > be closed wh

Re: Accessing index properties in javascript validator

2004-07-23 Thread atta-ur rehman
Thanks Mark. I can see this is definitely better way of doing it! ATTA On Fri, 23 Jul 2004 11:40:18 +0200, Mark Lowe <[EMAIL PROTECTED]> wrote: > Similarly but more compatible with older browsers. > > total = ${fn:length(theForm.properties)}; > form = document.forms["theForm"]; > for(i = 0;i < t

RE: Intermediate loading page

2004-07-23 Thread Rizwan Merchant
I want the variable to be reset if the browser is closed. The browser could be closed while the report generation is in process (which is a separate thread). There seems to be no way for the server to know that the browser was closed. If I do not reset the session variable then I cannot start gene

RE: Intermediate loading page

2004-07-23 Thread Rizwan Merchant
I want the variable to be reset if the browser is closed. The browser could be closed while the report generation is in process (which is a separate thread). There seems to be no way for the server to know that the browser was closed. If I do not reset the session variable then I cannot start gene

Re: Intermediate loading page

2004-07-23 Thread Brett Connor
Surely the session variable will be reset by the report generation process, independent of any browser windows open, therefore no problem, you never need to know if the browser has been closed or not. Or have I misunderstood? Brett Rizwan Merchant wrote: Thanks for the previous input. I moved t

Re: OT: Re: Velocity vs tags (was JSF vs Struts)

2004-07-23 Thread Craig McClanahan
On Thu, 22 Jul 2004 14:38:55 -0400, David Evans <[EMAIL PROTECTED]> wrote: > > Thanks, i didn't know that. Velocitys other big sellling point to me is > that i can use it during an action's execution, for instance, to create > files on disc. theres no way to do that with jsp is there? cause having

RE: DBCP Connection full

2004-07-23 Thread Jim Barrows
> -Original Message- > From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 11:12 PM > To: Struts Users Mailing List; Ding Lei > Subject: Re: DBCP Connection full > > > You are getting that problem possibly due to the fact that maybe you > are not freeing them

Re: Popups with Struts.

2004-07-23 Thread Wendy Smoak
From: "Angharad Stapleton" <[EMAIL PROTECTED]> > The only way I can think of at the moment is to store > information in session, and pass control back to form page with a parameter > that would tell it to open a pop-up window and get the information from the > session. I'm thinking there is probabl

Re: About Struts + JBoss preference issue

2004-07-23 Thread Martin Gainty
Henrik et al The jasper compiler task is at http://ant.apache.org/manual/OptionalTasks/jspc.html Martin Gainty (cell) 617-852-7822 From: "HG" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: About Struts

Popups with Struts.

2004-07-23 Thread Angharad Stapleton
Hi I have a form which I am using javascript to get information from the form and open up a new popup window with information. This is causing limitations on the information I am passing through. I want to pass the information through a Struts action and have Struts then pass the information back

RE: Tag question (JSP organization)

2004-07-23 Thread Raghuram Kanadam
Thanks a zillion. Will take time to think it through though. The weekend must be a good time for this! :) Hail Erik :O -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 12:13 AM To: Struts Users Mailing List Subject: Re: Tag question (JSP organiz

Re: Reloading Application.resources (Again)

2004-07-23 Thread Doug
Anyone? Doug wrote: Yes, I know this has been asked before, and I know it's not a base capability. However, someone posted this solution several months ago, which seems reasonable to me. Can anyone comment on whether there's any reason not to use this approach?

Form Population

2004-07-23 Thread Isaias Barroso
Hi all, I've a ActionForm that have 3 fields. Integer code; String description; Integer status; I would like that when this fields wasn't filled on the ActionForm wasn't populated with default values, to Wrapper classes, I put convertNull=true on action properties on web.xml, exist a equivalen

RE: Accessing index properties in javascript validator

2004-07-23 Thread tiwari.rajeev
Hi, Solution suggested by Mark is appropriate and JS has no such limitation. - regards Raj (+91-11-31261821) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 3:10 PM To: Struts Users Mailing List Subject: Re: Accessing index properties in javascr

Re: Accessing index properties in javascript validator

2004-07-23 Thread Mark Lowe
Similarly but more compatible with older browsers. total = ${fn:length(theForm.properties)}; form = document.forms["theForm"]; for(i = 0;i < total;i++) { target = "property["+ i +"]"; element = form.elements[target]; alert(element.name +"="+ element.value); } Mark On 23 Jul

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Raj. Wonderful. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 10:01 AM Subject: RE: About Struts + JBoss preference issue Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc task is also vaiable

RE: About Struts + JBoss preference issue

2004-07-23 Thread tiwari.rajeev
Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc task is also vaiable. - regards Raj (+91-11-31261821) -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 1:18 PM To: Struts Users Mailing List Subject: Re: About Struts + J

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Peng I will check it out.. - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 9:32 AM Subject: Re: About Struts + JBoss preference issue > I think there should be an Ant task for this.

Re: About Struts + JBoss preference issue

2004-07-23 Thread Peng Tuck Kwok
I think there should be an Ant task for this. As for actually compiling this, didn't really have to do that since the speed was acceptable. I think pre-compiling jsp was also a way to avoid javac memory leakage if memory serves. Jboss does support clustering, there should be some document somewher