Re: file upload exception

2007-09-15 Thread Dave Newton
--- Session A Mwamufiya wrote: > Eureka!!! > > That's it, it works finally. Thanks so much!!! Just for the record, that's why I asked yesterday (Friday) if you copied it and if the file info was correct. d. - To unsubscribe,

Windows Vista and strust 2

2007-09-15 Thread Leena Borle
Hi all, I still have no luck with my problem that I described before in previous emails, has anybody installed tomcat-struts2 on windows vista and been successful doing it ? Especially calling actions from Submit button fails on my application. Leena Problem is I have this strange pro

Sitegraph Plugin

2007-09-15 Thread Thomas Ramapuram
Is sitegraph plugin inactive? I see absolutely no activity with regard to sitegraph. Does it have a separate mailing list? Thanks in advance, Thomas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: file upload exception

2007-09-15 Thread Session A Mwamufiya
Eureka!!! That's it, it works finally. Thanks so much!!! > You copy the file to a new location in the action. It removes the file > after the action method is executed. > > Session A Mwamufiya wrote: >> How do I stop the FileUploadInterceptor from firing and deleting the >> files? Is there

Re: file upload exception

2007-09-15 Thread Adam Ruggles
You copy the file to a new location in the action. It removes the file after the action method is executed. Session A Mwamufiya wrote: How do I stop the FileUploadInterceptor from firing and deleting the files? Is there a setting to put in struts.xml or web.xml? I copied verbatim what there

Re: namespace question

2007-09-15 Thread Laurie Harper
Leonidas Papadakis wrote: Hi there, i've came across a very strange issue : i have developed an application locally on my pc (running only tomcat 5.5.23) and then i deployed the application to an apache + tomcat under a domain i.e. www.test.com I have set up a backoffice package at namespac

RE: file upload exception

2007-09-15 Thread Session A Mwamufiya
How do I stop the FileUploadInterceptor from firing and deleting the files? Is there a setting to put in struts.xml or web.xml? I copied verbatim what there is in the showcase, and it's still not working. > --- Session A Mwamufiya wrote: >> Yes the file is the right size; I tried it with differ

RE: file upload exception

2007-09-15 Thread Dave Newton
--- Session A Mwamufiya wrote: > Yes the file is the right size; I tried it with > different files to upload, and the size seems > correct. *sigh* Posting the only line of code that matters for your situation now. This is from FileUploadInterceptor, after the action invocation, and is prefaced by

RE: file upload exception

2007-09-15 Thread Session A Mwamufiya
Yes the file is the right size; I tried it with different files to upload, and the size seems correct. > Please look at the code from FileUploadInterceptor that I posted. > Answering my question ("Is it the correct size?") is a good adjunct to the > snippet as well. > > --- Session Mwamufiya <[

Re: [FRIDAY] JPA War Stories?

2007-09-15 Thread Alvaro Sanchez-Mariscal
We're also using Toplink JPA in Tomcat. Appart from the problems we had configuring class weaving, it's quite simple for us. On 9/14/07, Ted Husted <[EMAIL PROTECTED]> wrote: > Since we've had the Struts2 Spring-JPA tutorial up for a while, I was > wondering if many Struts developers were using a

Re: form method

2007-09-15 Thread Dave Newton
--- stanlick wrote: > I wanted to steer away from writing yet another > interceptor to handle something that should be > built-in. Submit a patch, but check to see if the new stuff already handles RESTfulness properly to avoid duplication of effort. > I think the struts-default.xml interceptor

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > my jsp just have struts property="studentname"> and value="john"/> and only. HTML input element tags are only valid inside an tag. Your fragment does not have a containing tag; since you are returning it with an Ajax call that won't work. That's wh

Re: form method

2007-09-15 Thread stanlick
Thank Dave. I wanted to steer away from writing yet another interceptor to handle something that should be built-in. BTW, I think the struts-default.xml interceptor stack for executeAndWaitStack needs to be fixed in 2.0.9. It specifies the execAndWait ref twice! Scott newton.dave wrote: >

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread john lee
Dave, tks for ur help, I not quite understand your input. my problem is: if output just generate plain html tag, the output result with dropdown list is fine, but if try to generate struts tag, then output display without dropdown list, data still there. my jsp just have strut

Re: html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread Dave Newton
--- john lee <[EMAIL PROTECTED]> wrote: > after calling document.getElementById(why).innerHTML, > the output of "html:select" why can not be recognized > by struts? IIRC the S1 form tags rely on there being an and will break w/o it (I could definitely be wrong on this point). If this is the cas

Re: struts capabilities with myEclipse

2007-09-15 Thread Dave Newton
--- prem_gadgetquest wrote: > [MyEclipse] doesnt show me validator -rules.xml and > validation.xml.. Ask the MyEclipse folks. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts capabilities with myEclipse

2007-09-15 Thread prem_gadgetquest
I am using MyEclipse 3.8.4... when I create new project and add struts capabilities (struts 1.2) to it..it doesnt show me validator -rules.xml and validation.xml..I want to use these files for form validations..Similarly if I add struts capabilties 1.1 those files are added properly..please tell

html:select / DIV / document.getElementById(why).innerHTML

2007-09-15 Thread john lee
i have 2 html:select, second html:select display corrspondent result after first html:select element is selected, the selection will trigger customried ajax on fly. second html:select can generate and displayed results, but cannot generate selection box(dropdown list), why? or limition of

Re: [FRIDAY] JPA War Stories?

2007-09-15 Thread nicolas de loof
> > Venturing slightly (more) off-topic, I recently switched from having > my DAOs extend from Spring's HibernateDaoSupport, and using > HibernateTemplate, to just going directly to the Hibernate API. Or, > now, to the JPA API. I don't benefit from Spring's exception > translation that way, but you

Re: struts 1,x

2007-09-15 Thread prem_gadgetquest
its onchange, try this john lee-15 wrote: > > Does Struts 1.x support ? > > if so, why the execution/logs report the following: > > Attribute onChange invalid for tag selection according to TLD > > any input? > > tks in advance > > john > > > > >

Extended conversation/Wizards

2007-09-15 Thread Martin Gilday
Hi, I am currently maintaining a WebWork 2 based web application. A change in requirements has come about which requires a fairly long wizard to be added. This will take in a fair amount of data entry, at least 6 screens long, with some ajax form population based on selections. The final databas

Re: form method

2007-09-15 Thread Dave Newton
--- stanlick <[EMAIL PROTECTED]> wrote: > Is there a way in S2 to specify that say > /order/checkOut.action should only be > processed if it was submitted as a METHOD="POST"? > I'm trying to close the door on an accidental > request through the address bar! Nothing built-in that I'm aware of, al

form method

2007-09-15 Thread stanlick
I am knee deep in the token processing support and have a basic question. Is there a way in S2 to specify that say /order/checkOut.action should only be processed if it was submitted as a METHOD="POST"? I'm trying to close the door on an accidental request through the address bar! Scott -- Vie

namespace question

2007-09-15 Thread Leonidas Papadakis
Hi there, i've came across a very strange issue : i have developed an application locally on my pc (running only tomcat 5.5.23) and then i deployed the application to an apache + tomcat under a domain i.e. www.test.com I have set up a backoffice package at namespace "/backoffice". The probl

Re: Ajax response

2007-09-15 Thread Dave Newton
--- Pablo Vazquez Blazquez wrote: > href="${refreshPageUrl}" > indicator="indicator" > loadingText=" " > targets="divId"> Add "executeScripts" attribute. http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-anchorTag d. --

Ajax response

2007-09-15 Thread Pablo Vazquez Blazquez
Hi all, I have a jspx page where I have a tag whose content is being refreshed by ajax response. The page.jspf is like this: some script code... Well, when I first load the jspx page, the javascript sentences are successfully executed, but when I clic Refresh link, div

Re: Upgrade issue with getting the Http Request from an action

2007-09-15 Thread stanlick
I'm curious about why you want to handle the request directly. I find when I am writing this sort of code, it is just a bad habit from years gone by. Scott On 9/14/07, Session A Mwamufiya <[EMAIL PROTECTED]> wrote: > > Hi, > > I recently upgraded from struts 2.0.6 to 2.0.9. I'm now getting a nu

struts 1.X html:select/DIV /document.getElementById.innerHTML=response

2007-09-15 Thread john lee
i have 2 html:select, second html:select display corrspondent result based upon first html:select selection by calling customized ajax. However, second html:select generate results and displayed results, but cannot generate selection box, but why? or limition of struts for the html:select?

RE: file upload exception

2007-09-15 Thread Dave Newton
Please look at the code from FileUploadInterceptor that I posted. Answering my question ("Is it the correct size?") is a good adjunct to the snippet as well. --- Session Mwamufiya <[EMAIL PROTECTED]> wrote: > Hi Dave, > > I don't copy the file at all. The > FileUploadInterceptor gets called bef

Re: 'root' is not allowed as status in s:iterator?

2007-09-15 Thread Alex Funk
Dave Newton wrote: --- Alex Funk <[EMAIL PROTECTED]> wrote: Is this a bug or a feature? "root" may refer to the root of the OGNL stack, but I can't verify that at the moment. You could probably test that theory, though. Thanks for the reply, Dave. Yes, returns the value stack. But I wonder

RE: file upload exception

2007-09-15 Thread Session Mwamufiya
Hi Dave, I don't copy the file at all. The FileUploadInterceptor gets called before I can do anything with the file. Session A. Mwamufiya Carnegie Mellon University MBA | Tepper School of Business MSE (software eng.) | School of Computer Science T: (412) 508-5455 | [EMAIL PROTECTED] -Origin