Redirecting back to the original page after filter - how to do?

2008-01-25 Thread Antoni
Hi, here is the same message as in the thread http://www.liferay.com/web/guest/community/forums/message_boards/message/413646 Nobody seems answer there so I ask again from this forum. I use Struts as a part of Liferay. Struts seems to be a version 1.3. Liferay is version 4.3.5 I have the next c

Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
> even the latest version of > eclipse support only Struts 1.3. Yes, that is. Alvaro. -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect & Instructor [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
Alexandru, thanks for the reply. I've changed my form-bean config to match the suggestion below, however I'm still getting the following error: SEVERE: Servlet /Struts Taster threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path jndi:/localhost/Struts

Re: Pretty urls without .action

2008-01-25 Thread neha bhatt
Thanks for the help! Would u please give some brief idea, about setting the rule in urlrewrite.xml? How can I remove .action suffix from each? Thanks, Neha Bhatt Sparecreative wrote: > > We have adopted using the URL Rewrite Filter > (http://tuckey.org/urlrewrite/) > which like Apache lets you

Re: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread Alexandru BARBAT
It seems to be a problem of xml syntax in 'struts-config.xml'. You could post the content of struts-config.xml. You could refactoring a little(for now) your file structure and move all *.java into /src/com/pdata. (but it has nothing with your error) - Original Message - From: "James Cock

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
The contents of my struts-config are... . http://struts.apache.org/dtds/struts-config_1_3.dtd";>

RE: Noddy struts problem: java.lang.NullPointerException: Module 'null' not found

2008-01-25 Thread James Cockrill
Apologies, reading my filestructure back, it looked a bit like src/com/pdata lived within the ant folder, which it does not. I've tried to make this a bit clearer below. Apologies for the spam. -jamie /ant /build.xml (main build xml that I use to clean the project from tomcat and copy f

Re: Struts2+MyEclipse

2008-01-25 Thread aum strut
Hi My question is if i want to use MyEclipse as an ID how can i develop Struts2 applcations. is there any way to do this that is the point of my confusion :( On 1/25/08, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote: > > > even the latest version of > > eclipse support only Struts 1.3.

Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
> My question is if i want to use MyEclipse as an ID how can i develop Struts2 > applcations. > > is there any way to do this that is the point of my confusion The same way as you would do with "raw Eclipse": by hand. There is no S2 plugin for neither Eclipse nor MyEclipse. Alvaro. -- Alvar

Actions executing mulitple times.

2008-01-25 Thread Paula McDowell
Has anyone seen actions executing multiple times thus undoing and resetting fields and increasing performance overhead? We are currently using Struts 1.1. _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestlose

Re: actions help

2008-01-25 Thread Dave Newton
--- Lalchandra Rampersaud <[EMAIL PROTECTED]> wrote: > Is it possible execute an action which just puts data into the request > object without returning an ActionFoward? > > I tried to return null but the page just becomes blank. I'm not sure what you'd expect; knowing what comes next is somewhat

actions help

2008-01-25 Thread Lalchandra Rampersaud
Hi Is it possible execute an action which just puts data into the request object without returning an ActionFoward? I tried to return null but the page just becomes blank. Ravi __ Participe en Universidad 2008. 11 al 15 de febrero del 2008. Palacio d

RE: actions help

2008-01-25 Thread Lalchandra Rampersaud
Yes, something like that except that it returns a list or an object. -Original Message- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 12:28 PM To: Struts Users Mailing List Subject: Re: actions help Do you mean something like this? you can use actions to g

Re: [ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Nuwan Chandrasoma
Hi, Congratulations guys. you guys rock. Thanks, Nuwan (http://code.google.com/p/struts2-ssl-plugin/) Ted Husted wrote: "Hibernate and Struts topped the list with more than 71 % of customers using each. JasperReports is the only newcomer to the list this year ..." * http://press-releases.te

how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-25 Thread Wei, Mei
Hi, I would like to make a page has ajax validation and also display as tabbedPanel. I am using struts 2.0.11, and learned from http://java-x.blogspot.com/2006/11/struts-2-validation.html that to use ajax validation, in the jsp file, I can not have . But to display tabbedPanel, I need t

Re: actions help

2008-01-25 Thread Ingo Villnow
so i would suggest you to use the action class as a controller to handle the data from the business logic and provide them to the user interface (jsp documents) by putting them as beans into the scope (e.g. request or session). Why do you want to use the action without a action forward? Maybe th

Re: [ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Wendy Smoak
On Jan 25, 2008 2:29 PM, Ted Husted <[EMAIL PROTECTED]> wrote: > * http://press-releases.techwhack.com/15764/openlogic-5/ > > More marketing than statistical science, but it's nice to hear that > Struts is still on top. :) That reminds me (especially since it's Friday) of... http://memeagora.blo

RE: actions help

2008-01-25 Thread Lalchandra Rampersaud
Yes, I can use my action to put data into the request or session scope. -Original Message- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 1:08 PM To: Struts Users Mailing List Subject: Re: actions help where in your jsp do you want to use your action? can y

[ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share

2008-01-25 Thread Ted Husted
"Hibernate and Struts topped the list with more than 71 % of customers using each. JasperReports is the only newcomer to the list this year ..." * http://press-releases.techwhack.com/15764/openlogic-5/ More marketing than statistical science, but it's nice to hear that Struts is still on top. :)

Re: actions help

2008-01-25 Thread Ingo Villnow
where in your jsp do you want to use your action? can you use your action to put your returning object into the request or session scope? so you can forward to the input page like "return mapping.getInputForward()" and in your jsp you have access to that object with the bean- or logic-tags i

Re: actions help

2008-01-25 Thread Ingo Villnow
Do you mean something like this? you can use actions to get data as a stream, for example to use it with the img-tag /action/ public class DiagramGanttAction extends DownloadAction { protected StreamInfo getStreamInfo(ActionMapping mapping, ActionForm form, HttpServletR

RE: actions help

2008-01-25 Thread Lalchandra Rampersaud
I am trying to use AjaxAnywhere, but I have to create a separate servlet to process whatever function I want to call. I would like to do that without the special servlet and just call upon an action class that I already have created. ravi -Original Message- From: Dave Newton [mailto:[EMAI

RE: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Dave Newton
--- "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote: > I am intested in knowing how to turn automatic validation off? How? Automagic validation is controlled by the "validate" attribute in the struts-config files. > Also all my submission is also get (for some reasons in our project) That'll make

RE: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Zhang, Larry (L.)
I am intested in knowing how to turn automatic validation off? How? Using javascript to set the flag is not accepted by us. Also all my submission is also get (for some reasons in our project) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict

Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Zhang, Larry (L.)
I was noticing an issue if I use one action for both displaying and submission purposes: Say MyAction.java is for displaying page and also for submission. If on the page there is text field needing the struts validator validation, then if failing validation, I forward to MyAction.java and comes

Re: Type converters: please help!!! :(

2008-01-25 Thread Martin Gainty
Hi Ravi- Could you display your code for your StrutsTypeConverter class please M- - Original Message - From: "ravi_eze" <[EMAIL PROTECTED]> To: Sent: Friday, January 25, 2008 12:58 AM Subject: RE: Type converters: please help!!! :( > > Thank you Jeff for the reply. > > did u mean the *

Re: is it possible to pass a parameter to an interceptor from the xml file?

2008-01-25 Thread xianwinwin
THANK YOU nuwan !!! this is exactly what i was looking for -- View this message in context: http://www.nabble.com/is-it-possible-to-pass-a-parameter--to-an-interceptor-from-the-xml-file--tp15074977p15090339.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Struts2+MyEclipse

2008-01-25 Thread Giovanni Azua
Hi Aum, I am using MyEclipse 6.0.x to develop a large Struts 2 application and I am very happy with it. The speed you get in the develop-deploy-test cycle with its integrated "MyEclipse Tomcat" already pays off buying it. Anyway, I found couple of posts from MyEclipse staff that mention they ar

Re: Struts2+MyEclipse

2008-01-25 Thread Ted Husted
On Jan 24, 2008 11:15 PM, aum strut <[EMAIL PROTECTED]> wrote: > Hi All, > > Please tell me is it possible to develop Struts2 applications using latest > version of MyEclipse as i came to know that even the latest version of > eclipse support only Struts 1.3. > > Any Guidance in this regard is muc

Re: Struts2+MyEclipse

2008-01-25 Thread Alvaro Sanchez-Mariscal
Ted, Those steps are the same as the ones required for Eclipse. Simply, there's no specific support for S2, like the support of S1, Hibernate, Spring... You will have autocompletion of struts.xml if you have the namespace declared (like any other XML file) and autocompletion of jsp tags (like an

RE: actions help

2008-01-25 Thread Dave Newton
--- Lalchandra Rampersaud <[EMAIL PROTECTED]> wrote: > I am trying to use AjaxAnywhere, but I have to create a separate servlet to > process whatever function I want to call. > I would like to do that without the special servlet and just call upon an > action class that I already have created. Tha

Re: tag writers resources?

2008-01-25 Thread Dave Newton
Without knowing exactly what you mean it's hard to know where to point you. Have you looked at existing tag sources? Have you looked at any of the normal JSP custom tag documentation and tutorials in the wild? d. --- Darren James <[EMAIL PROTECTED]> wrote: > Hi All, > > Does anyone (know of/ha

Re: Can I use one action for displaying and submission (with struts validation)

2008-01-25 Thread Paul Benedict
You can use this pattern: * Turn automatic validation off. * If your action was executed as a GET, branch to viewing logic. * If your action was executed as a POST, branch to validation logic and submission logic. Paul