Re: Tiles errors in Struts versions > 6.3.0.2

2024-10-01 Thread Lukasz Lenart
It is probably related to this issue https://issues.apache.org/jira/browse/WW-5451 wt., 1 paź 2024 o 12:39 Heikki Hyyrö napisał(a): > > Our web application based on Struts 2 + Tiles framework starts to give > errors on some jsp pages if I try to use a newer Struts version than > 6.3.0.2. > > Exac

Re: Tiles errors in Struts versions > 6.3.0.2

2024-10-01 Thread 哈哈哈哈
There is a bug cause the error you get at 6.4.0 https://issues.apache.org/jira/plugins/servlet/mobile#issue/WW-5419 You can set init param at web.xml or change where you store tiles.xml to fix issue if you want to use 6.4.0 But Im not sure what cause you get error at 6.6.0 You might need turn

Re: Tiles in Struts 6.2.0

2023-08-17 Thread Lukasz Lenart
śr., 16 sie 2023 o 12:44 Yew Hwa Ho napisał(a): > > Hi Lukasz, > > Can I check if there is a timeline for the release of Struts 6.2 version > which contains the integrated Tiles package? Tiles will be integrated into Struts 6.3.0 - 6.2.0 has been already released [1]. And all the important issues

Re: Tiles in Struts 6.2.0

2023-08-16 Thread Yew Hwa Ho
Hi Lukasz, Can I check if there is a timeline for the release of Struts 6.2 version which contains the integrated Tiles package? Thank you. Regards, Yew Hwa On Fri, Jul 14, 2023 at 1:58 PM Lukasz Lenart wrote: > czw., 13 lip 2023 o 04:06 Yew Hwa Ho napisał(a): > > With the release of Strut

Re: Tiles in Struts 6.2.0

2023-07-13 Thread Lukasz Lenart
czw., 13 lip 2023 o 04:06 Yew Hwa Ho napisał(a): > With the release of Struts 6.2.0, can I check if Tiles has been directly > ported to Struts Tiles plugin and is no longer using the Tiles project? No, we are going to release a new version soon which will contain the integrated Tiles package. I w

Re: Tiles upgrade Path

2020-03-30 Thread Lukasz Lenart
pon., 30 mar 2020 o 16:16 amit vijayvargee napisał(a): > Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting > apache tiles 3.0.8 version jars. As you aware of apache tiles project is out > of support now. Is there any future plan to remove these dependency from > struts?

Re: Tiles upgrade Path

2020-03-30 Thread amit vijayvargee
Thanks Lukasz for your quick response. Whilst building the struts 2.5.20 with struts tiles plug-in, I'm getting apache tiles 3.0.8 version jars. As you aware of apache tiles project is out of support now. Is there any future plan to remove these dependency from struts? Due to this apache tiles

Re: Tiles upgrade Path

2020-03-25 Thread Ken McWilliams
Tiles and sitemesh are for traditional (non - single page applications) development. Tiles has performance advantages over sitemesh. I don't think the OP should experience any blockers with respect to tiles migration and will gain version 3 benefits as well. On Wed., Mar. 25, 2020, 10:40 a.m. M Hu

Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii Got the differencea in here http://tiles.apache.org/framework/tutorial/pattern.html I have to try using tiles. When i need a Single Page Application approach, currently i use one single jsp page that have iframe in it. So the page literally have header, footer, sidebar, and iframe for body co

Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii I am not use tiles before, it seems like site mesh. Currently we use sitemesh to decorate page based on url. I checked the tiles its retired. I suggest you to use sitemesh. I dont know what is plus using tiles. With sitemesh you don't even use plugin in struts. Thank you... On Mon, Mar 2

Re: Tiles upgrade Path

2020-03-23 Thread Lukasz Lenart
pon., 23 mar 2020 o 10:41 amit vijayvargee napisał(a): > We are currently looking to migrate struts 2.3 and tiles 2 to newer version. > As per the security scan, existing tiles (2.0) version is deprecated and > reported some vulnerability in it. > Could you please help to answer following querie

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread Lukasz Lenart
Thanks :) 2017-04-17 14:53 GMT+02:00 : > I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786 > and attached the Logs with level on Trace for org.apache.struts2.tiles. > > Thank you for your help and please let me know if I can support you with > further testing > > > > > > Am

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread programmierer
I registered a bug in jira https://issues.apache.org/jira/browse/WW-4786 and attached the Logs with level on Trace for org.apache.struts2.tiles. Thank you for your help and please let me know if I can support you with further testing Am 2017-04-14 09:38, schrieb Lukasz Lenart: > Cool, thanks a

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-14 Thread Lukasz Lenart
Cool, thanks a lot :) Looks like we have an issue with resolving wildcarded tiles definitions as by default Struts will try to find tiles*.xml [1], whereas defining them by hand [2] fallbacks to the old behaviour. Could you setup a log level to TRACE for the org.apache.struts2.tiles package and s

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-12 Thread programmierer
I tried 3 different Tomcat versions on Windows 10. Version 6.0.47, 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is thrown). But: It is working fine when I define the config by hand! :) Running on Windows

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread Lukasz Lenart
2017-04-11 16:24 GMT+02:00 : > On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works > fine => same source (same war-file) and same Tomcat-Version Did you try to use a different Tomcat version? Did you try to define configs by hand? org.apache.tiles.definition.DefinitionsFact

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Adam Brin
Hi Christoph & Łukasz, Thanks. This is useful. We’ll stay with Sitemesh2 and Freemarker for now. thanks, adam -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Jun 29, 2016, at 1:19 AM, Christoph Nenning >

Re: tiles, sitemesh, velocity and other template engines

2016-06-29 Thread Christoph Nenning
> From: Adam Brin > To: Struts Users Mailing List , > Date: 29.06.2016 07:39 > Subject: tiles, sitemesh, velocity and other template engines > > Hi All, > I've been reviewing our templating implementation (currently sitemesh2) > and noticed that it seems like the three main template engines

Re: tiles, sitemesh, velocity and other template engines

2016-06-28 Thread Lukasz Lenart
2016-06-29 1:37 GMT+02:00 Adam Brin : > Hi All, > I've been reviewing our templating implementation (currently sitemesh2) > and noticed that it seems like the three main template engines that > Struts2 supports are all effectively unsupported, and implementation of > sitemesh 3 (which has been b

Re: Tiles Struts2 Annotations

2014-06-22 Thread Amine BADID
Hi Lukasz. Thank you a lot. The problem is resolved. Le Dimanche 22 juin 2014 16h27, Lukasz Lenart a écrit : When using the Convention plugin you must set struts.convention.default.parent.package = tiles-default to use tiles result 2014-06-22 16:24 GMT+02:00 Amine BADID : > Hi Dave. >

Re: Tiles Struts2 Annotations

2014-06-22 Thread Lukasz Lenart
When using the Convention plugin you must set struts.convention.default.parent.package = tiles-default to use tiles result 2014-06-22 16:24 GMT+02:00 Amine BADID : > Hi Dave. > I tried to use theses syntaxe: > > and > > > The both are "false" and did not resolve my problem > > Here a

Re: Tiles Struts2 Annotations

2014-06-22 Thread Amine BADID
Hi Dave. I tried to use theses syntaxe: and The both are "false" and did not resolve my problem Here are a scan image of libraries and thank you a lot : Le Dimanche 22 juin 2014 16h14, Dave Newton a écrit : What libraries/jars are you deploying? Are you using a parent package

Re: Tiles Struts2 Annotations

2014-06-22 Thread Dave Newton
What libraries/jars are you deploying? Are you using a parent package that extends tiles-default? On Jun 22, 2014 10:07 AM, "Amine BADID" wrote: > Hi All. > I'm workgin on JEE web application, using Struts2 with annotations and > tiles too. > I've an error: > - 2014-06-22 15:53:51,187 ERROR [org.

Re: Tiles with Annotations

2014-01-03 Thread Christoph Nenning
> > And soon it will be integrated with S2 as well :-) > > https://issues.apache.org/jira/browse/WW-4161 > > Interesting that there is something happening in that direction. I commented in JIRA an posting it here again: convention-plugin provides a set of own annotations like @Action or @Re

Re: Tiles with Annotations

2014-01-03 Thread Lukasz Lenart
And soon it will be integrated with S2 as well :-) https://issues.apache.org/jira/browse/WW-4161 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2014/1/2 Ken McWilliams : > I arrived at the same conclusion when trying to remove my tiles > configuration. I upgraded to tiles 3 in th

Re: Tiles with Annotations

2014-01-02 Thread Ken McWilliams
I arrived at the same conclusion when trying to remove my tiles configuration. I upgraded to tiles 3 in the process and wrote a custom result handler (sorry a custom "unknown result handler"). It is invoked when conventions isn't able to find an appropriate result. Here is a stack overflow Q & A

Re: Tiles with Annotations

2014-01-02 Thread Paul Benedict
Annotations usually help augment the class being annotated. I don't think annotating a Struts action with Tile definitions is very appropriate for this purpose. The purposes are just very different. XML seems more appropriate than annotations here. On Thu, Jan 2, 2014 at 10:02 AM, Christoph Nen

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
Hi Mitch, Unfortunately, this would be a "last option" due to dependencies with other project/components deployed. Nevertheless, I will give it a try on an isolated environment, just to check it. Regards, Alex -- View this message in context: http://struts.1045723.n5.nabble.com/TILES-2-1-2-I18

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread mmckenzie
Have you tried tiles 2.2.2? Mitch From: alexcocia To: user@struts.apache.org Date: 07/19/2011 08:14 AM Subject:[TILES 2.1.2] I18n problem Hi all, I have an application using Struts2 + Tiles 2.1.2. The application has some i18n features in two ways: First for text content de

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-18 Thread arin_12
I am working on this tiles now... I can post some sample... But it will be late :) -- View this message in context: http://struts.1045723.n5.nabble.com/Tiles-problem-Error-executing-tag-Attribute-title-not-found-tp4274988p4310525.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-08 Thread abhishek jain
hi yes, the first three lines of my file seo.jsp reads <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags"%> <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %> though my IDE myeclipse show

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-08 Thread Chris Pratt
Did you remember to import the tiles taglib? (*Chris*) On Fri, Apr 8, 2011 at 7:48 AM, abhishek jain wrote: > hi, > Someone help please > works in the document where > layoutstore.jsp but not in seo.jsp which is a file called in > layoutstore.jsp. > > thanks > abhishek > > On Tue, Apr 5, 2011

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-08 Thread abhishek jain
hi, Someone help please works in the document where layoutstore.jsp but not in seo.jsp which is a file called in layoutstore.jsp. thanks abhishek On Tue, Apr 5, 2011 at 2:50 PM, abhishek jain wrote: > hi, > It didnt solved my problem, i am still confused. > > works in the document where > layo

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-05 Thread abhishek jain
hi, It didnt solved my problem, i am still confused. works in the document where layoutstore.jsp but not in seo.jsp which is a file called in layoutstore.jsp. pl advice, thanks abhishek On Mon, Apr 4, 2011 at 1:50 PM, Mohamed SIDI wrote: > you can see here, > > http://tiles.apache.org/fram

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-04 Thread Mohamed SIDI
you can see here, http://tiles.apache.org/framework/tutorial/advanced/nesting-extending.html 2011/4/4 abhishek jain > Hi, > I had already posted the relevant portion of hte tiles.xml file which is: > > > > > "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" >"htt

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-04 Thread abhishek jain
Hi, I had already posted the relevant portion of hte tiles.xml file which is: http://tiles.apache.org/dtds/tiles-config_2_0.dtd";> now if i add as in hte above xml cascade="true" , the error will appear. thanks abhishek On Mon, Apr 4, 2011 at 1:15 P

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-04 Thread Mohamed SIDI
Hi, It seems to be a parsing problem, can you put out your file xml definig the tiles defintions , this will help us 2011/4/4 abhishek jain > hi, > It didnt worked , > first the cascade="true" was not recognized by my IDE (Myeclipse). > Second on running, i got the following error: > > Caused b

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-04 Thread abhishek jain
hi, It didnt worked , first the cascade="true" was not recognized by my IDE (Myeclipse). Second on running, i got the following error: Caused by: org.xml.sax.SAXParseException: Attribute "cascade" must be declared for element type "put-attribute". Also this tiles definition is not extending anyt

Re: Tiles problem : Error executing tag: Attribute 'title' not found.

2011-04-01 Thread jlmagc
Try setting cascade='true' in the definition of the attribute title. Sent via BlackBerry from T-Mobile -Original Message- From: abhishek jain Date: Fri, 1 Apr 2011 14:39:27 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Tiles problem : Error executing tag:

RE: Tiles with Struts2 & Tomcat

2009-11-16 Thread CRANFORD, CHRIS
Done, sorry. > -Original Message- > From: Antonio Petrelli [mailto:antonio.petre...@gmail.com] > Sent: Monday, November 16, 2009 9:16 AM > To: Struts Users Mailing List > Subject: Re: Tiles with Struts2 & Tomcat > > 2009/11/16 Antonio Petrelli : >

RE: Tiles with Struts2 & Tomcat

2009-11-16 Thread CRANFORD, CHRIS
Here is the version history: Tomcat6.0.20 Struts2.1.6 Tiles 2.1.4 Hibernate 3.3.2 Spring2.5.3 > -Original Message- > From: Antonio Petrelli [mailto:antonio.petre...@gmail.com] > Sent: Monday, November 16, 2009 9:15 AM > To: Struts Users Mailing List > Sub

Re: Tiles with Struts2 & Tomcat

2009-11-16 Thread Antonio Petrelli
2009/11/16 Antonio Petrelli : > 2009/11/16 CRANFORD, CHRIS : >> >> Whenever Tomcat starts up it appears that the validation of the Tiles2 >> XML document is trying to be verified against the DTDs.  The 2.1 DTD is >> in the tiles JAR file.  I have tried to specify the path locally in the >> XML DOCT

Re: Tiles with Struts2 & Tomcat

2009-11-16 Thread Antonio Petrelli
2009/11/16 CRANFORD, CHRIS : > > Whenever Tomcat starts up it appears that the validation of the Tiles2 > XML document is trying to be verified against the DTDs.  The 2.1 DTD is > in the tiles JAR file.  I have tried to specify the path locally in the > XML DOCTYPE tag, but it continues to want to

Re: Tiles 2 define many pages using same template

2009-06-03 Thread kate_cl
Thanks pawel,this does reduce my work on defining each pages. :clap: Paweł Wielgus wrote: > > Hi Kate, > i'm doing it like this, in action i'm forwarding to a simple jsp (not > Tiles) and inside a jsp i have: > > jsp start > < % @page contentType="text/html;charset=utf-8" lang

Re: Tiles 2 define many pages using same template

2009-05-28 Thread stanlick
Yes there is! I am using Tiles 2.1.1 which provides support for wildcards and substitutions. This one definition is handling all my pages! Struts displayTile-{1} Tiles

Re: Tiles 2 define many pages using same template

2009-05-27 Thread Paweł Wielgus
Hi Kate, i'm doing it like this, in action i'm forwarding to a simple jsp (not Tiles) and inside a jsp i have: jsp start < % @page contentType="text/html;charset=utf-8" language="java" % > < % @ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" % > < % @ taglib pref

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Wendy Smoak
On Wed, Jan 7, 2009 at 8:38 AM, Ercan Kayaonu wrote: > I'm using Struts 2.1.5 with convention plugin. I'm in the learning process > and trying several things (action, rule annotations, hibernate etc). Since we're on the user list, be aware that Struts 2.1.5 is not an official release. It was a

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Musachy Barroso
btw this is not related to tiles, it all applies to any plugin that defines results. musachy On Wed, Jan 7, 2009 at 12:23 PM, Musachy Barroso wrote: > The "value" attribute needs to match the name of a package that is > defined somewhere, if you do this: > > > > make sure that your package is l

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Musachy Barroso
The "value" attribute needs to match the name of a package that is defined somewhere, if you do this: make sure that your package is like ... musachy On Wed, Jan 7, 2009 at 12:17 PM, Ercan Kayaonu wrote: > Hi, > Sorry for disturbing you guys this much. Be sure that i first google to > solve

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Antonio
2009/1/7 Ercan Kayaonu : > Can someone advice a tutorial > on tiles and struts2 (step by step). Heh, Tiles and Struts 2 seem to be two isolated worlds. The strangest thing is that a lot of people are using this pair, but no one is contributing. If you *really* want them to work well together, stop

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Ercan Kayaonu
Hi, Sorry for disturbing you guys this much. Be sure that i first google to solve the problem and read related parts of the documentation. But unfortunately some of them are very concise. Anyways. I tried both and but I got this error: Unable to locate parent package [actions] - [unknown

RE: Tiles with Struts 2.1.5

2009-01-07 Thread Biesbrock, Kevin
Sent: Wednesday, January 07, 2009 11:30 AM To: Struts Users Mailing List Subject: Re: Tiles with Struts 2.1.5 There's commons-digester-1.8.jar under struts 2.1.5 lib files. you also need commons-beanutils-1.7.0.jar. The location for 2.1.5 is http://people.apache.org/builds/struts/2.1.5/ On Wed, J

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Musachy Barroso
To use a result, the action needs to be in the package that defines the result, or in a package that extends the package where the result is defined. There are several ways to fix this, in this case you can just set the parent package of the action, to your package: @ParentPackage("admin") or ch

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Ercan Kayaonu
[mailto:musa...@gmail.com] > Sent: Wednesday, January 07, 2009 10:43 AM > To: Struts Users Mailing List > Subject: Re: Tiles with Struts 2.1.5 > > You are missing dependencies, in this case Commons Digester > (http://commons.apache.org/digester/) > > musachy > > On Wed, Ja

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Ercan Kayaonu
Thank you Musachy, That solved my problem, but I got this error, which might be very familiar for most of you: The Result type [tiles] which is defined in the Result annotation on the class [class actions.admin.LoginAction] or determined by the file extension or is the default result type for the

RE: Tiles with Struts 2.1.5

2009-01-07 Thread Biesbrock, Kevin
so [mailto:musa...@gmail.com] Sent: Wednesday, January 07, 2009 10:43 AM To: Struts Users Mailing List Subject: Re: Tiles with Struts 2.1.5 You are missing dependencies, in this case Commons Digester (http://commons.apache.org/digester/) musachy On Wed, Jan 7, 2009 at 10:38 AM, Ercan Kayaonu wro

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Musachy Barroso
You are missing dependencies, in this case Commons Digester (http://commons.apache.org/digester/) musachy On Wed, Jan 7, 2009 at 10:38 AM, Ercan Kayaonu wrote: > Hi, > I'm using Struts 2.1.5 with convention plugin. I'm in the learning process > and trying several things (action, rule annotations

Re: Tiles and Validate

2008-11-28 Thread stanlick
Tiles and validations work fine together. Can you post some code? On Wed, Nov 26, 2008 at 5:39 AM, mthalis <[EMAIL PROTECTED]> wrote: > > It is possible to use tiles and validation(validation forms data) in same > project. if it is possible please give me reference or sample project. > please h

Re: Tiles and Validate

2008-11-26 Thread Antonio
2008/11/26 mthalis <[EMAIL PROTECTED]>: > > It is possible to use tiles and validation(validation forms data) in same > project. if it is possible please give me reference or sample project. > please help me.. I don't see why not validator and Tiles can be used together, they are used in two diff

Re: Tiles questions

2008-07-14 Thread Alberto A. Flores
That's because the tiles inheritance you are trying to use doesn't make sense. The managerPage1 tile does NOT have a "middle" element in the parent tile (which is defined in the managerBody tile). You probably need to use a different strategy, perhaps check the role and forward to the proper ti

Re: tiles catch-22

2008-04-27 Thread Antonio Petrelli
2008/4/25 Chris Pat <[EMAIL PROTECTED]>: > Hello > Is it possible to parameterize the from an "inner tile"? > I have a template that specifies the pagewrapper,banner, menubar, left > column. I want to change the right column content with a jsp fragment and on > that fragment create a bean nam

Re: tiles problem

2008-04-16 Thread Antonio Petrelli
2008/4/16, Chris Pat <[EMAIL PROTECTED]>: > > In 5.0.28 it says the action is not available and the only difference is > that it is not loading that Factory. It must something subtle but > deterministic. Any ideas what could be different? I have looked and they > seem identical in server.xml and

Re: tiles problem

2008-04-16 Thread Chris Pat
Hi Antonio Thanks, however it is very consistent. In 5.0.28 it says the action is not available and the only difference is that it is not loading that Factory. It must something subtle but deterministic. Any ideas what could be different? I have looked and they seem identical in server.x

Re: tiles problem

2008-04-16 Thread Antonio Petrelli
2008/4/16, Chris Pat <[EMAIL PROTECTED]>: > > I two different deployment of Tomcat with an app that work fine in 5.0.27 > but fails in 5.0.28. Looking at the startup the only difference I can see > this time is that the 5.0.27 loads this: > org.apache.struts.tiles.TilesPlugin initDefinitionsFactor

Re: Tiles in 1.3.9

2008-04-04 Thread Antonio Petrelli
2008/4/4, Mihai Scripca <[EMAIL PROTECTED]>: > > dont you think it would be better practice naming tiles like this: > tile.def (*.def are like .jsp but virtual pages) > > and only class tiles should be named with dot first like this .class-name? Well, there is no guideline/best practice defined

Re: Tiles in 1.3.9

2008-04-04 Thread Mihai Scripca
dont you think it would be better practice naming tiles like this: tile.def (*.def are like .jsp but virtual pages) and only class tiles should be named with dot first like this .class-name? i point the issue by myself. the main issue is i have not given the in struts-config.xml. after i giv

Re: Tiles in 1.3.9

2008-04-04 Thread balaji.m.cs
i point the issue by myself. the main issue is i have not given the in struts-config.xml. after i give its working... thanks for giving me the best pratices on tiles... if u still find any issues in my code pls say so that i can have a correction Lukasz Lenart wrote: > > Hi, > >> >>

Re: Tiles in 1.3.9

2008-04-04 Thread Antonio Petrelli
2008/4/4, Lukasz Lenart <[EMAIL PROTECTED]>: > > Hi, > > > > > > > > forward=".tiles-defs"/> > > > > > > tiles-defs.xml > > Good catch Lukasz! Now I remember that: *Struts-Tiles does not support forward actions, only forwards inside normal actions* Antonio

Re: Tiles in 1.3.9

2008-04-04 Thread Lukasz Lenart
Hi, > > > > > tiles-defs.xml There is good practice to start Tiles definitions with dot -> .tiles-defs I don't see ant forwards in your struts-config.xml, could you past them here? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

Re: Tiles in 1.3.9

2008-04-03 Thread Antonio Petrelli
2008/4/4, balaji.m.cs <[EMAIL PROTECTED]>: > > java.lang.IllegalArgumentException: path must begin with a "/" What's the path that you are calling? Antonio

Re: Tiles 2.0.5 Error : java.lang.NoSuchMethodError: org.apache.tiles.TilesContainer.render

2008-01-24 Thread Jayakrishnan KR
thanks for ur update antanio. On 1/24/08, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2008/1/24, Jayakrishnan KR <[EMAIL PROTECTED]>: > > > > I am using Tiles 2.0.5 with Struts 2.0.6 > > > Struts 2.0.6 is not compatible with Tiles 2.0.5. > Please upgrade to Struts 2.0.11. > > Antonio >

Re: Tiles 2.0.5 Error : java.lang.NoSuchMethodError: org.apache.tiles.TilesContainer.render

2008-01-24 Thread Antonio Petrelli
2008/1/24, Jayakrishnan KR <[EMAIL PROTECTED]>: > > I am using Tiles 2.0.5 with Struts 2.0.6 Struts 2.0.6 is not compatible with Tiles 2.0.5. Please upgrade to Struts 2.0.11. Antonio

Re: tiles and waitAndExec working together?

2007-12-12 Thread Christopher Cheng
JIRA Issue created: https://issues.apache.org/struts/browse/WW-2375 "Antonio Petrelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: >> >> I have a problem of having tiles and waitAndExec working together. >> WaitAndExec and the t

Re: tiles and waitAndExec working together?

2007-12-12 Thread Antonio Petrelli
2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: > > I have a problem of having tiles and waitAndExec working together. > WaitAndExec and the tag cannot generate the action request correctly > on the wait page. > > On the wait page "wait.jsp" uses the tiles template file > "http://localhost:808

Re: tiles and waitAndExec working together?

2007-12-12 Thread Christopher Cheng
My success tiles is like this: "Antonio Petrelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: >> >> success >> ... >> >> >> >> >> >> >> >>

Re: tiles and waitAndExec working together?

2007-12-12 Thread Antonio Petrelli
2007/12/12, Christopher Cheng <[EMAIL PROTECTED]>: > > success > ... > > > > > > > > > Where is the "success" Tiles definition? Ciao Antonio

Re: Tiles (Struts 1.3) standalone not working

2007-11-30 Thread Antonio Petrelli
2007/12/1, Todd Prickett <[EMAIL PROTECTED]>: >Ciao>AntonioThanks for the reply. Unfortunately, our company is using Struts/Tiles 1.3, not Tiles 2.0, so that is not an option. You said that you did not need Struts 1, so why don't you think about using Tiles 2? If you are worried about stability,

RE: Tiles-def.xml

2007-11-12 Thread Zhang, Larry (L.)
That approach works except in your following note it should be c:out value="${item}" /> Thanks a lot. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Monday, November 12, 2007 11:07 AM To: Struts Users Mailing Lis

Re: Tiles-def.xml

2007-11-12 Thread Antonio Petrelli
2007/11/12, Zhang, Larry (L.) <[EMAIL PROTECTED]>: > > > > > > > > > > > I think that you could use the list attribute:

RE: Tiles-def.xml

2007-11-12 Thread Zhang, Larry (L.)
es-def.xml too massy. So the original issue is how to put the dynamic css files in the template between . I would think this is a common issue for tiles community. Do you have any better way to resolve this issue? -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED]

Re: Tiles-def.xml

2007-11-12 Thread Antonio Petrelli
2007/11/12, Zhang, Larry (L.) <[EMAIL PROTECTED]>: > > Can I define a constant in tiles-def.xml so that I can used it in all > places inside this file? No, but probably you can do it in another way. What do you want to do exactly? Antonio P.S.: If you are using Tiles 2, please ask this questio

Re: tiles usage

2007-11-10 Thread Chris Pratt
On Nov 10, 2007 6:35 AM, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: > Consider that each page can have different .css and .js files and these files > will be put between and in the layout, then the question is > that how to pass the specific .css and .js to the tiles layout? I definitely > do

Re: Tiles 2 setup with Struts2

2007-10-04 Thread Roberto Nunnari
Yes, tiles-default extends struts-default. Here's the content of struts-plugin.xml from the library struts2-tiles-plugin-2.0.9.jar http://struts.apache.org/dtds/struts-2.0.dtd";> class="org.apache.struts2.views.tiles.TilesResult"/> Best regards. -- R

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Emi Lu
here's the example: ... see? it's enough that your packages extend tiles-default. It works as well! That's nice! Thank you Robi. I did: === [1] deleted from struts.xml [2] updated struts.xml: from to I hope "tiles-defa

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Roberto Nunnari
Hi Emi. here's the example: ... see? it's enough that your packages extend tiles-default. Best regards. -- Robi Emi Lu wrote: Thank you very much ! It works! Following Your comments, I did: = org.apache.struts struts2-tiles-plugin ${version.tiles}

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Emi Lu
At least for now I have loaded Tiles 2 successfully without BeanUtils and Digester jars :) It's impossible, digester is needed to read XML files. I forgot the tiles jars that I downloaded few days ago :( Sorry! The full jar lists I had: commons-beanutils-1.7.0.j

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Antonio Petrelli
2007/10/3, Emi Lu <[EMAIL PROTECTED]>: > At least for now I have loaded Tiles 2 successfully without BeanUtils > and Digester jars :) It's impossible, digester is needed to read XML files. Antonio - To unsubscribe, e-mail: [EMAI

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Emi Lu
You also need to add the jars that tiles requires: copy the Tiles dependencies JARs: * Jakarta Commons BeanUtils 1.7.0 or above; * Jakarta Commons Digester 1.8 or above; * Jakarta Commons Logging (at least API) 1.1 or above http://tiles.apache.org/getting_started.html I be

Re: Tiles 2 setup with Struts2

2007-10-03 Thread Emi Lu
Thank you very much ! It works! Following Your comments, I did: = org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml the above looks like maven stuff.. shouldn't be in web.xml Deleted from web.xml [2] class="org.apache.struts2.views.

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Roberto Nunnari
Hello Emi. see below my comments. Emi Lu wrote: Hello, I looked at this page: http://struts.apache.org/2.x/docs/tiles-plugin.html Done: = [1] Added org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml the above looks like maven stuff.. shou

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Jason Deffenbaugh
You also need to add the jars that tiles requires: copy the Tiles dependencies JARs: * Jakarta Commons BeanUtils 1.7.0 or above; * Jakarta Commons Digester 1.8 or above; * Jakarta Commons Logging (at least API) 1.1 or above http://tiles.apache.org/getting_started.html -Jason O

Re: Tiles 2 setup with Struts2

2007-10-02 Thread Roberto Nunnari
Hello Emi. see below my comments. Emi Lu wrote: Hello, I looked at this page: http://struts.apache.org/2.x/docs/tiles-plugin.html Done: = [1] Added org.apache.struts struts2-tiles-plugin ${version.tiles} compile to web.xml the above looks like maven stuff.. shou

Re: Tiles and struts tags

2007-08-27 Thread Antonio Petrelli
2007/8/11, Jim Reynolds <[EMAIL PROTECTED]>: > > Struts 1.29 app that uses tiles definitions. Question is: I am finding > myself having to call the taglib in the layout, and also in each > tile. If I take the taglib out of any of the jsp pages that is a tile, > then the page fails to display becau

RE: Tiles: definition without path

2007-08-22 Thread Jose Luis Martinez Avial
for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: Wednesday, August 22, 2007 02:43 AM To: Struts Users Mailing List Subject: Re: Tiles: definition without path Please see: https://issues.apache.org/struts/browse/STR-1981 Paul On 8

Re: Tiles: definition without path

2007-08-21 Thread Paul Benedict
te the controller even if the uri is null, and after that if > the uri is null, it will put the ForwardConfig to null and return, > because is the end of the processing. It works for me, but I don't know > all the implications of this change. > > > -Original Message----- &g

RE: Tiles: definition without path

2007-08-21 Thread Jose Luis Martinez Avial
ailto:[EMAIL PROTECTED] On Behalf Of Paul Benedict Sent: Tuesday, August 21, 2007 18:32 PM To: Struts Users Mailing List Subject: Re: Tiles: definition without path I'll have to investigate this. On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED]> wrote: > > The question i

Re: Tiles: definition without path

2007-08-21 Thread Paul Benedict
t; using a JSP? > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Paul Benedict > Sent: Tuesday, August 21, 2007 18:18 PM > To: Struts Users Mailing List > Subject: Re: Tiles: definition without path > > I don't understand w

RE: Tiles: definition without path

2007-08-21 Thread Jose Luis Martinez Avial
PM To: Struts Users Mailing List Subject: Re: Tiles: definition without path I don't understand why you haven't provided a path attribute on the definition. Definitions need to resolve to a resource. I don't see a JSP listed. On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED

Re: Tiles: definition without path

2007-08-21 Thread Paul Benedict
I don't understand why you haven't provided a path attribute on the definition. Definitions need to resolve to a resource. I don't see a JSP listed. On 8/21/07, Jose Luis Martinez Avial <[EMAIL PROTECTED]> wrote: > > I'm using Struts 1.3.9, with Tiles. I've one action that calls to a > definition

Re: tiles DTD

2007-08-15 Thread Laurie Harper
It's more likely that you are using the wrong public identifier in your document type declaration. With the wrong public identifier, the resource (DTD file) won't be resolved locally and the parser will try to use the system identifier to locate the resource, as a fall back. Check that the doc

  1   2   3   4   5   6   7   8   >