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
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
-- 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.
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
..
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
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
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
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
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
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
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
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
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
30 matches
Mail list logo