-- 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 tha
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
>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 po
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: [EMAI
Hi,
by quickly looking at your struts.xml, it seems that the result type misses:
jsp/home.jsp
^
I think it should now work
Cheers
Ghislain
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 questi
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 Validat
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
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 s
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 p
-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 r
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 targ
There are 2 ways of doing it.
1) Get the "pageheading" in the layout.jsp and pass it on to the header.jsp
2) If you need the "pageheading" inside the heading.jsp, it's better to make
the "header" a separate definition and use the "pageheading" directly in the
header.jsp
problem..
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 exce
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" p
Its in the tiles 1.3 jar (i.e. struts-tiles-1.3.0-dev.jar)
Niall
- Original Message -
From: "Marco Mistroni" <[EMAIL PROTECTED]>
Sent: Wednesday, April 27, 2005 2:58 PM
> Hello Joe,
> I am not blaming Struts 1.3 :-)
> I am actually more concerned with Tiles by itself, since I was not
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
Jus
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 into
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]
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
app
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
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" %>
Regards,
David
-Original Message-
From: A
> 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 t
23 matches
Mail list logo