Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Amit Rana
I suppose that it is a Tiles issue. I must admit that the code inside the TilesDecorationFilter does not convince me... Amit, can you repost this question to the Tiles Users Mailing list? I think that it is a Tiles bug. http://tiles.apache.org/mail.html Thanks Antonio Hi, Thanks, I have posted

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Raghuveer Rawat
Amit, looks like problem is with your struts.xml. You have set Tiles Result but your result is jsp page. I think you need to change it to tile definition. Try below... struts.xml struts package name=default extends=struts-default result-types

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Amit Rana
-- Raghuveer Rawat wrote -- Amit, looks like problem is with your struts.xml. You have set Tiles Result but your result is jsp page. I think you need to change it to tile definition. Hi, Thanks for the response. Thats not my problem. I do not need TilesDecorationFilter for that.

Re: Problem with Tiles decoration and struts2

2007-11-06 Thread Antonio Petrelli
2007/11/6, Amit Rana [EMAIL PROTECTED]: I am trying to get TilesDecorationFilter (http://tiles.apache.org/tutorial/advanced/utils.html) to work with struts2.0.9 without any success. Can anyone please help me figure out where am I going wrong? I am not sure if this is a tiles list question or

Re: Problem with Tiles decoration and struts2

2007-11-06 Thread Ghislain VANDERPOTTE
Hi, by quickly looking at your struts.xml, it seems that the result type misses: action name=home class=com.tj.actions.HomeAction result type=tilesjsp/home.jsp/result ^ /action I think it should

Re: Problem with Tiles decoration and struts2

2007-11-06 Thread Ghislain VANDERPOTTE
Oups, and I forgot the fact that the result has to be defined in the tiles.xml file, it will not work by just adding the result type. -- Ghislain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Problem with Tiles an ActionForms

2007-01-02 Thread Laurie Harper
I don't know why setting validate=true would change how Tiles constructs the page, but a couple of observations which might help: - your action mapping doesn't have an 'input' attribute defined to tell Struts what to display if validation fails - your form bean extends ActionForm, not

Re: Problem with Tiles an ActionForms

2006-12-29 Thread Laurie Harper
You can certainly use automatic validation together with Tiles, so that's not the problem. You'll need to post your relevant struts-config.xml excerpts and tiles-defs, and possibly relevant bits of JSP so we can see what you're doing wrong. L. Sebastian Marten wrote: After several hours of

Re: Problem with Tiles an ActionForms

2006-12-29 Thread Sebastian Marten
Thanks for your answer. If i set validate=true the layout is not applied. I see only the page createuser.jsp If i set validate=false it works fine... Why? Ok here my config files: If you nee more informations, just say it. struts-config.xml action input=/createuser.jsp

Re: Problem with Tiles an ActionForms

2006-12-28 Thread Sebastian Marten
After several hours of searching i found the problem. All pages work, if I set validate=false in the struts config. So I can't use the validate method of the bean? Is there an alternative for this method? Best regards, Sebastian Marten Sebastian Marten schrieb: Hello List, I have a problem

Re: problem in tiles

2006-04-14 Thread Antonio Petrelli
Ahmed Hashim ha scritto: I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim

Re: problem in tiles

2006-04-14 Thread Ahmed Hashim
Thanks Antonio, Actually in my application I didn't allow the user to expose any jsp using the action. I used this techniques for a certain type of pages using a specific pattern in the generic action. So, I think it is more secure. Thanks. Ahmed Hashim On 4/14/06, Antonio Petrelli [EMAIL

Re: problem in tiles

2006-04-13 Thread Ahmed Hashim
I solved the problem I think you are right, I can not call any tiles definition directly without calling an action I made a generic action definition to view my pages check the solution in my blog http://www.egjug.org/struts_action_foward_to_Tiles Ahmed Hashim On 4/10/06, Dave Newton [EMAIL

Re: problem in tiles

2006-04-10 Thread Antonio Petrelli
Ahmed Hashim ha scritto: ... but i remember that I can request the page directly... You remember wrong! You cannot request a Tiles definition directly. You have at least to write a simple JSP page with tiles:insert tag. You can invoke a Tiles definition directly only through a forward, if

Re: problem in tiles

2006-04-10 Thread Dave Newton
Ahmed Hashim wrote: I tried to forward to loginPage.page from the action and it is working fine, but i remember that I can request the page directly... any suggestion? You can use tile definitions as input or forward attribute values in your Struts config file; is that what you mean? Dave

Re: problem in tiles

2006-04-09 Thread Yang Sun
I think you should add an action in the action-mappings section for loginPage action. You request have not been processed by tiles yet. // Yang On 4/9/06, Ahmed Hashim [EMAIL PROTECTED] wrote: what is wrong with this configuration? ?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config

Re: problem in tiles

2006-04-09 Thread Ahmed Hashim
I tried to forward to loginPage.page from the action and it is working fine, but i remember that I can request the page directly... any suggestion? On 4/9/06, Yang Sun [EMAIL PROTECTED] wrote: I think you should add an action in the action-mappings section for loginPage action. You request

Re: problem struts+tiles+eclipse+tomcat5+j2sdk-sun

2006-01-31 Thread digant . k . joshi
copy tools.jar from jdk directory to {TomcatBaseDir}/common/lib to make it work. vinicius [EMAIL PROTECTED] 01/31/2006 02:13 PM Please respond to Struts Users Mailing List To: user@struts.apache.org cc: Subject:problem

Re: problem struts+tiles+eclipse+tomcat5+j2sdk-sun

2006-01-31 Thread vinicius
i know that is something basic, but i'm working in this problem for days, i'm new in struts an i'm dont have success in just change one line in the MessageResources.properties file! i don't know if i'm exporting correctly the application to the tomcat webapp directory or if i have to do

Re: Problem with Tiles and URLRewrite Filter

2005-12-15 Thread Greg Reddin
On Dec 15, 2005, at 5:14 PM, Randy Shepherd wrote: So I am trying to get outbound url rewriting working using the Tuckey URLRewrite Filter (http://tuckey.org/urlrewrite/) with Struts 1.2.7 with Tiles 1.1. It appears that my outbound rules are not even being evaluated when the Struts

Re: Problem with Tiles and URLRewrite Filter

2005-12-15 Thread Randy Shepherd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I should clarify one thing. The target JSP when made a tile, is included in the body of the tile definition tag that extends a template., If I make the target JSP the path, and do not have the definition inherit from a template, then the outbound

RE: problem with Tiles Struts 1.3 / Found exception stack Trace /apologies

2005-04-28 Thread Marco Mistroni
.. Again, apologies, everything is working just fine.. Regards marco -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 15:34 To: Marco Mistroni; 'Struts Users Mailing List' Subject: RE: problem with Tiles Struts 1.3 / Found exception stack Trace At 2

Re: problem with Tiles Struts 1.3

2005-04-27 Thread ziggler
where is struts1.3? On 4/27/05, Marco Mistroni [EMAIL PROTECTED] wrote: Hello all, I have moved my application from Struts 1.1 to Struts 1.3, and I am currently experiencing problems With Tiles. Attached are all the files that I was using with Struts 1.1. and the

RE: problem with Tiles Struts 1.3 / Found exception stack Trace

2005-04-27 Thread Marco Mistroni
Hello all, I found exception stack trace for problem mentioned.. Will it 'enlighten' my problem? I have moved my application from Struts 1.1 to Struts 1.3, and I am currently experiencing problems With Tiles. Attached are all the files that I was using with Struts 1.1. and the

RE: problem with Tiles Struts 1.3

2005-04-27 Thread Marco Mistroni
http://svn.apache.org/builds/struts/maven/nightly/ -Original Message- From: ziggler [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 09:09 To: Struts Users Mailing List Subject: Re: problem with Tiles Struts 1.3 where is struts1.3? On 4/27/05, Marco Mistroni [EMAIL PROTECTED] wrote

RE: problem with Tiles Struts 1.3 / Found exception stack Trace

2005-04-27 Thread Joe Germuska
Just to make sure, if you put the contents of this tile directly in line in the page, you don't get this exception? I'm using tiles generally with Struts 1.3 with no problems, including inlining elements of a form where the form is in one page and the fields are in other tiles. I did run

RE: problem with Tiles Struts 1.3 / Found exception stack Trace

2005-04-27 Thread Marco Mistroni
1.1. does not work with Tiles 1.3 Thanx and regards marco -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 14:10 To: Marco Mistroni; user@struts.apache.org Subject: RE: problem with Tiles Struts 1.3 / Found exception stack Trace Just

RE: problem with Tiles Struts 1.3 / Found exception stack Trace

2005-04-27 Thread Joe Germuska
At 2:58 PM +0100 4/27/05, Marco Mistroni wrote: I am not blaming Struts 1.3 :-) I am actually more concerned with Tiles by itself, since I was not Able to use the same .tld file that I was able to use with Struts 1.1 Yes, we should make sure to note that on the migrating to Struts 1.3

RE: problem with tiles

2004-11-05 Thread David G. Friedman
Amit, What do you mean by main page? Your web.xml's welcome-file-list such as index.jsp? If so, I posted about it within the last 24 hours. Try something like this in your index.jsp file: %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % tiles:insert definition=someDefinition/ Regards, David

RE: Problem with Tiles DTD

2004-06-25 Thread Wendy Smoak
From: Ashwin D [mailto:[EMAIL PROTECTED] Our application resides on a machine which does not have a direct connection to the internet. So, I have changed all the references to dtds to be on the local machine. If you leave the dtds alone, and leave them inside the .jar files, and refer to