Re: Tiles 2 configuration

2006-11-16 Thread Sébastien LABEY
Thank you for your answer Wendy. I have looked for a Tiles jar in the Struts2.0.0 jar, but I can't find it (I've downloaded the Struts2.0.0-SNAPSHOT-all.jar). Do you know if it is packed in this version of Struts2.0.0 or if I may find it in the newer versions? If it is not, could you tell me where

Re: [s2] 404 - /struts2-mailreader/Tour.do

2006-11-16 Thread wolverine my
Hmmm... the same tutorial is dead again... :-) On 11/13/06, Ted Husted <[EMAIL PROTECTED]> wrote: It's up now. We're just trying to run too many example applications through this hosted account. -Ted. On 11/12/06, wolverine my <[EMAIL PROTECTED]> wrote: > Hi Wendy > > I did not deploy the ap

Re: A Filter Action !

2006-11-16 Thread Venkata Phani Kumar
Hi youssef, You can override RequestProcessor instead. The required steps are 1) in struts-config.xml 2) Create a Class wich extends RequestProcessor If you are using Tile Framework you have extend from TilesRequestProcessor 3) Then override method processPreprocess()

RE: struts 1.3.5 tiles question

2006-11-16 Thread Steve Duran
This worked. Thanks much. Steve -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:58 AM To: Steve Duran Subject: Re: struts 1.3.5 tiles question Steve Duran ha scritto: > "bar.jsp" contains only the string "testing" - no

Re: [s2] Interceptor.init ()

2006-11-16 Thread Mark Menard
On 11/16/06 12:51 PM, "Mark Menard" <[EMAIL PROTECTED]> wrote: > Is this method supposed to be called once per lifecycle of the Interceptor? > Or do I have to accommodate it being called multiple times? I updated to the latest svn of S2 and this seems to be fixed. Mark -

Re: [s2] mvn archetype

2006-11-16 Thread Wendy Smoak
On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial -DarchetypeGroupId=net.vitarara.dan -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.2-SNAPSHOT You also need -DremoteRepositories=http://people.apache.org

Re: [s2] mvn archetype

2006-11-16 Thread Mark Menard
On 11/16/06 11:03 PM, "Wendy Smoak" <[EMAIL PROTECTED]> wrote: > On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: > >> I've tried to set up a new project using the struts2 mvn archetype, but to >> no avail. > > What did you type? mvn archetype:create -DgroupId=tutorial -DartifactId=tutorial

Re: [s2] mvn archetype

2006-11-16 Thread Wendy Smoak
On 11/16/06, Mark Menard <[EMAIL PROTECTED]> wrote: I've tried to set up a new project using the struts2 mvn archetype, but to no avail. What did you type? Where can I get the archetype file? I've downloaded and built the latest snapshot using svn and mvn. If you've built the archetype loc

[s2] mvn archetype

2006-11-16 Thread Mark Menard
I've tried to set up a new project using the struts2 mvn archetype, but to no avail. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifa

[s2] Ajax template tutorial?

2006-11-16 Thread wolverine my
Hi! Any idea if there is any good Struts 2's Ajax tutorial that is similar to the Bootstrap step-by-step tutorial? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: can not reach the jsp file

2006-11-16 Thread Ken Hu
well ... sorry for that , this is a wrong typing when I post this question. In my struts-config.xml , the slash is not missing. I add log4J in my app to trace my code : public class ShowDocsAct extends org.apache.struts.action.Action{ private Category _cat = Category.getInstance(this.getClass

Re: bean:write not displaying the intended values

2006-11-16 Thread robin bajaj
Good Stuff, it worked, I was missing a quote in my taglib declaration. Instead of <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> it was <%@ taglib uri=/WEB-INF/struts-bean.tld" prefix="bean" %> Missing " before /WEB-INF Thanks a ton, - R Chris Loschen wrote: Did you include the ta

RE: bean:write not displaying the intended values

2006-11-16 Thread Chris Loschen
Did you include the taglib reference in your JSP page? Something like this: <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> Without it, the JSP can't find the custom tag and you get the behavior you're describing. Hope that helps. Chris Loschen -Original Message- From: rob

Logging in Struts

2006-11-16 Thread Mon Cab
Good day I am having a hard time understanding how to use logging in Struts. The struts.apache.org suggest the following usage (presumably for business objects) (taken from: http://struts.apache.org/1.x/userGuide/building_controller.html ) package com.foo;

RE: bean:write not displaying the intended values

2006-11-16 Thread Richard Allwood
Are you including the taglib declaration in your JSP? It should be something like: <%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"; %> -Original Message- From: robin bajaj [mailto:[EMAIL PROTECTED] Sent: Friday, 17 November 2006 9:38 a.m. To: Struts Users Mailing Lis

bean:write not displaying the intended values

2006-11-16 Thread robin bajaj
Hi Folks, At Struts 1.x level, I am writing the value of bean's property on a jsp page using tag , but nothing gets displayed on the web page. Infact the generated HTML (view source in the browser), shows the tag's code as-is. scope="request"/> However, I can display the value of bean's p

Re: ATTN: How to Contact the Owner of the Struts Forum?

2006-11-16 Thread James Mitchell
send to [EMAIL PROTECTED] -- James Mitchell 678.910.8017 On Nov 16, 2006, at 2:21 PM, Caroline Jen wrote: It so happened that I have to do something for some of my postings that have been archived. Can somebody show me to way to proceed? I may have to contact the owner of the forum to ta

ATTN: How to Contact the Owner of the Struts Forum?

2006-11-16 Thread Caroline Jen
It so happened that I have to do something for some of my postings that have been archived. Can somebody show me to way to proceed? I may have to contact the owner of the forum to take care of the matter. Thanks in advance. -Caroline _

RE: A Filter Action !

2006-11-16 Thread Youssef A. Mohammed
Thank you so much for you reply. I am actually using 1.3.x and I thought about your (b) solution yet this will required some manual effort (copy and paste the excecute code into the realExcecute ones!) I highly appreciate if you shed some light on creating a Command and having it fired in the

RE: A Filter Action !

2006-11-16 Thread Frank W. Zammetti
If your using S2, interceptors would be the way to go. I assume your using S1 though... If your using 1.3.x, you can create a Command and have it fire in the chain before your Action. If your using < 1.3.x, either (a) extend RequestProcessor and put your filter code in there, or (b) subclass Act

MS Word & IE , struts and session management

2006-11-16 Thread Andy Foster
Hi all, This has totally baffled me and I desperately need help but I have a link as follows that I have put in a Microsoft word document that calls my struts action to display the specified resource. This was tested to be the same with IE6 or IE7 so its not the browser version causing the issue

[s2] Interceptor.init ()

2006-11-16 Thread Mark Menard
Is this method supposed to be called once per lifecycle of the Interceptor? Or do I have to accommodate it being called multiple times? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: A Filter Action !

2006-11-16 Thread Youssef A. Mohammed
Thank you for your reply ... but I don't want to do this in a servlet filter, I just want some action filter to work similar to a servlet filter and make use of struts framework. Regards, > -Original Message- > From: Mahmoud Saeed(RSW) [mailto:[EMAIL PROTECTED] > Sent: Thursday, November

RE: A Filter Action !

2006-11-16 Thread Mahmoud Saeed\(RSW\)
Create a class that implements the Filter Interface and check in the doFilter method on the attribute , is it exist [user logged-in before] just call the doFilter(…) of the FilterChain object otherwise [user not logged-in before] make a request dispatcher to the login page or what ever. But, re

A Filter Action !

2006-11-16 Thread Youssef A. Mohammed
Folks; I want to set of action classes that should operate only when user object in the session. How can I add some filter action to forward to some page (action forward) and bypass the main action classes. Regards, Youssef A. Mohammed Ali Senior System Analyst

Re: Token double form submission

2006-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-Marie, Jean-Marie Pitre wrote: > I am able to detect a double submission but for the moment I display an > error page instead of the result page. > Is there any way to ensure the display of a response that represents the > original request's outc

Fw: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Martin Gainty
Hello again- Sorry for bothering you on this but I cant seem to get a clean build from this distro I re-downloaded and decompressed struts-2.0.11-showcase-2.0.1.war struts-2.0.1\apps\struts2-showcase-2.0.1\META-INF\maven\org.apache.struts\struts2-showcase\pom.xml attempted to run pom.xml w

Token double form submission

2006-11-16 Thread Jean-Marie Pitre
Hello, I am trying to solve double form submission problem with saveToken and isTokenValid. I am able to detect a double submission but for the moment I display an error page instead of the result page. Is there any way to ensure the display of a response that represents the original request's ou

RE: can not reach the jsp file

2006-11-16 Thread Lance Semmens
I think you're missing a '/' To keep your webapp a bit cleaner, perhaps consider -Original Message- From: Ken Hu [mailto:[EMAIL PROTECTED] Sent: 16 November 2006 09:03 To: user@struts.apache.org Subject: can not reach the jsp file Dear All: I'm doing a simple strus test, but all I ca

Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Wendy Smoak
On 11/16/06, Martin Gainty <[EMAIL PROTECTED]> wrote: here is the my distributionManagement to include in the xwork-2.0-SNAPSHOT.jar apache-site scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts file://C:/Stru

Re: [s2] Requirements(O/T as relates to build environment for Struts2)

2006-11-16 Thread Martin Gainty
I unzipped to struts-2.0.0-SNAPSHOT\src and modified the pom.xml distributionManagement task as follows from to-- scp://people.apache.org/repo/m2-snapshot-repository/org/apache/struts here is the my distributionManagement to include in the xwork-2.0-SNAPSHOT.jar

RE: Validation + multiple Submit buttons

2006-11-16 Thread Andrew Martin
This works perfectly, a simple action to check which submit button is clicked forwards the three pages without validation to appropriate location. Actual Save button calls a commit action where validation is required. Thanks for the help Andrew -Oorspronkelijk bericht- Van: Christopher

Question about Setup/Submit Pattern.

2006-11-16 Thread Mathieu Decaffmeyer
Hi, I have read about the Setup/Submit pattern, and I found out it was interesting. I understand how to apply it for one JSP page. But I made a layout, so I have a set of jsp pages for one webpage : header.jsp, footer.jsp, menu_left.jsp, menu_top.jsp, content_index.jsp, ... So for example to dis

can not reach the jsp file

2006-11-16 Thread Ken Hu
Dear All: I'm doing a simple strus test, but all I can see after I try to visit "ShowDocs.do" is a blank page. struts-config.xml: My Action class: public ActionForward execute(ActionMapping mapping, ActionForm form, ServletReq