Re: Dynamic forward in tiles

2004-03-26 Thread Pedro Salgado
On 25/03/2004 13:22, Mariano García [EMAIL PROTECTED] wrote: El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: Below is a reply sent to this mailing list about something very similar to what you are looking for. but there is any way to use dynamic content only using tiles tags

Re: Dynamic forward in tiles

2004-03-25 Thread Mariano García
El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: Below is a reply sent to this mailing list about something very similar to what you are looking for. but there is any way to use dynamic content only using tiles tags? In my case, I have a 'setAttribute(serverLocation, Location

Tiles exception handling problem using controllerUrl

2004-03-25 Thread Paul Watson
Hi All, I may have found a bug in Tiles and exception handling when using the controllerUrl attribute within the tiles definition (fyi:xml format). In my case the controllerUrl points to a TilesAction subclass that collects some business data. The problem is thus; if it encounters an error

tiles question

2004-03-25 Thread Mariano García
Hi all, I have an html page (external.html) and in another my struts application is running, could I use a title:put pointing to his web page? That page is a dynamic perl page... I don't know if tiles:get tag gets directly a file, o maybe it can do a http request to another machine, in order to

redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
and browser's confirmation message? I thought setting rediect=true to forward should to the trick; but it doesn't! Last night while going thru the archives, I figured that this does work when you forward to /someAction.do or /somePage.jsp but doesn't work for Tiles definitions!!! Any help would be greatly

Dynamic forward in tiles

2004-03-24 Thread Mariano García González
Hi all, I am newbie using tiles, so maybe this question is too easy for you. I want to use a tile definition in which, one of the attribute values is dynamic. It is something like this: definition name=tracebox.def.encoderconfig extends=tracebox.def.menu put name=title value=encoderconfig

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
Below is a reply sent to this mailing list about something very similar to what you are looking for. Hope it helps, Pedro Salgado Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
Any takers? ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 10:17 AM Subject: redirect=true and Tiles; does it work? Dear all, I've been struggling with this problem for about two days

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread Hubert Rabago
--- atta-ur rehman [EMAIL PROTECTED] wrote: Any takers? I'll give it a shot. ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] global-forwards forward name=invalidToken path=showInvalidTokenMessage.do redirect=true / /global-forwards I believe the

Re: Dynamic forward in tiles

2004-03-24 Thread Mike Foody
: Below is a reply sent to this mailing list about something very similar to what you are looking for. Hope it helps, Pedro Salgado Hi Robert.. I guess you could achieve the same using the controllerClass attribute and building your class.. For instance, I have this definition in the tiles-defs.xml

Re: Dynamic forward in tiles

2004-03-24 Thread Mike Foody
I apologize if I didn't mention it but I'm using the Velocity tiles tool. Maybe that would be a better place for this question. Mike Mike Foody wrote: I have a similar question. I would like to insert at runtime multiple instances of the same layout and set a property at that time. I

RE: redirect=true and Tiles; does it work?

2004-03-24 Thread David Friedman
://jakarta.apache.org/struts/tags-tiles; prefix=tiles % tiles:insert beanName=someDefinition flush=true / I might be off with one or two parameters of the tiles:insert because I haven't needed to do that in a long time. I just read your note about velocity tiles but since I haven't used them, I can't answer

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
and Tiles; does it work? --- atta-ur rehman [EMAIL PROTECTED] wrote: Any takers? I'll give it a shot. ATTA - Original Message - From: atta-ur rehman [EMAIL PROTECTED] global-forwards forward name=invalidToken path=showInvalidTokenMessage.do redirect=true

Re: Dynamic forward in tiles

2004-03-24 Thread Pedro Salgado
On 24/03/2004 22:45, Mike Foody [EMAIL PROTECTED] wrote: I apologize if I didn't mention it but I'm using the Velocity tiles tool. Maybe that would be a better place for this question. Well the solution for your problem is the one below. I don't if your using velocity to generate your

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread Hubert Rabago
--- atta-ur rehman [EMAIL PROTECTED] wrote: TestProcessAction just forwards to success forward. But before it does that it check for the valid token and in the case of an invalid token it just forwards (redirects) to the invalidToken global forward. On invalid token message press refresh

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
, 2004 3:07 PM Subject: Re: redirect=true and Tiles; does it work? --- atta-ur rehman [EMAIL PROTECTED] wrote: TestProcessAction just forwards to success forward. But before it does that it check for the valid token and in the case of an invalid token it just forwards (redirects

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread Hubert Rabago
- From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 3:07 PM Subject: Re: redirect=true and Tiles; does it work? --- atta-ur rehman [EMAIL PROTECTED] wrote: TestProcessAction just forwards to success forward. But before

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
See inline, please. - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 3:56 PM Subject: Re: redirect=true and Tiles; does it work? Is this correct? 1. User submits the form to /processTest.do

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
! - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:11 PM Subject: Re: redirect=true and Tiles; does it work? See inline, please. - Original Message - From: Hubert Rabago [EMAIL PROTECTED

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
I can confirm the stated behavior for both Mozilla FireFox 0.8 and Netscape 7.1 too. - Original Message - From: atta-ur rehman [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:15 PM Subject: Re: redirect=true and Tiles; does it work

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread Hubert Rabago
. - Original Message - From: Hubert Rabago [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 3:56 PM Subject: Re: redirect=true and Tiles; does it work? Is this correct? 1. User submits the form to /processTest.do TRUE

Re: redirect=true and Tiles; does it work?

2004-03-24 Thread atta-ur rehman
PROTECTED] Sent: Wednesday, March 24, 2004 4:13 PM Subject: Re: redirect=true and Tiles; does it work? And you're saying that with http://localhost:8080/test/showInvalidTokenMessage.do; on the address bar, the user clicks on refresh and causes TestProcessAction to execute again? TRUE

Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread Sreenivasa Chadalavada
All, I wrote a custom tag that generates JSP code that includes struts tags and tiles tags. They are not getting interpreted by the JSP Container. Can you please let me know if it is possible? If it is possible are there any examples that help me understand the life cycle? Thanks

RE: Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread shirishchandra.sakhare
be what you can do is to write a temporary jsp file and then redirect to that temporary jsp file. But why you have to go this way?It looks too contrived/complicated to me. Why not just spit out proper HTML from your tags? And the only purpose is to reuse the existing struts/Tiles tags,why not extend

RE: Generating Tiles tags and Struts tags from with in another Custom Tag

2004-03-23 Thread Sreenivasa Chadalavada
Shirish, Thanks for answering the e-mail. One reason I would like to generate Struts, Tiles tags is to implement composition. Take an example of generating a Table structure. I would like to use Struts and Tiles because of all the niceties. I hope this example makes sense? If what you

RE: [OT] 3/18 Struts Tiles Talk by Rick Hightower at VeriSign

2004-03-18 Thread Benz Lim
Will there meeting be video stream (stream cast) for other user? Best Regards, Benz Lim -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 4:29 AM To: '[EMAIL PROTECTED]' Subject: [OT] 3/18 Struts Tiles Talk by Rick Hightower at VeriSign

[REPOST] tiles - smth like addToList?

2004-03-18 Thread Axel Groß
. - Hi people! Concerning tiles definition and extension of those. First part-o-mail: concrete problem Second part-o-mail: a more general approach (beginning of it ;) First part: I see the need for extending

RE: [OT] 3/18 Struts Tiles Talk by Rick Hightower at VeriSign

2004-03-18 Thread Van Riper, Mike
-Original Message- From: Benz Lim [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:11 AM To: Struts Users Mailing List Subject: RE: [OT] 3/18 Struts Tiles Talk by Rick Hightower at VeriSign Will there meeting be video stream (stream cast) for other user? Benz, I wish

Re: Using tiles

2004-03-18 Thread Laurie Harper
. The definition needs to be more like so: definition name=tiles.view path=/tiles-test/template.jsp put name=title value=PAGE TITLE/ put name=content value=/tiles-test/index.jsp/ /definition Where /tiles-test/template.jsp could look like: %@ taglib uri=/tags/struts-tiles prefix=tiles % html

RE: Using tiles

2004-03-17 Thread Joao Batistella
You need to define the laytou of your pages? Did you define where Tiles should put title and content? If not, he can't compose your page. Take a look now in the path attribute. definition name=tiles.view path=myLayout.jsp put name=title value=PAGE TITLE/ put name=content

Problem with Tiles

2004-03-17 Thread steve . mullarkey
Hi I am having a problem with a simple Tiles based site using the classicLayout. The problem is that the menu only appears on the first page - if I select a link to another page the footer,body and copyright are rendered but the menu is missing. Here is the tiles-defs.xml ; ?xml version=1.0

Does Tiles has performance?

2004-03-16 Thread Joao Batistella
Anybody can tell me if using Tiles in an application make it slower? is there a way to make this better? Thanks, JP

Tiles and html:link onclick=submit()

2004-03-16 Thread Jaakko Rytinki
I've noticed an annoying feature using html:link page=# onclick=submit(); someText /html:link. It does one of the following: a) It tries to search the page /somePage.jsp# or b) submits the form and continues to the right page, where my action forward points. Because the only JSP-pages I have is

Re: Does Tiles has performance?

2004-03-16 Thread Jignesh Patel
When ever I am using method isDate of GenericValidator I am getting following error. Even for my date format 12-DEC-2004 I am getting same exception. I coudn't able to figure out what is the problem. -Jignesh ava.lang.IllegalArgumentException: Illegal pattern character 'O'

RE: Tiles and html:link onclick=submit()

2004-03-16 Thread Brendan Richards
- From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] Sent: 16 March 2004 15:31 To: Struts Users Mailing List Subject: Tiles and html:link onclick=submit() I've noticed an annoying feature using html:link page=# onclick=submit(); someText /html:link. It does one of the following: a) It tries to search

Re: Does Tiles has performance?

2004-03-16 Thread Michael McGrady
I find no trouble with Tiles performance. At 06:59 AM 3/16/2004, you wrote: Anybody can tell me if using Tiles in an application make it slower? is there a way to make this better? Thanks, JP - To unsubscribe, e-mail: [EMAIL

RE: Does Tiles has performance?

2004-03-16 Thread Matthias Wessendorf
: Tuesday, March 16, 2004 5:22 PM To: Struts Users Mailing List Subject: Re: Does Tiles has performance? I find no trouble with Tiles performance. At 06:59 AM 3/16/2004, you wrote: Anybody can tell me if using Tiles in an application make it slower? is there a way to make this better? Thanks, JP

Using tiles

2004-03-16 Thread Laurie Harper
This is a newbie question on using the Tiles with Struts (never tried it before). I followed the instructions in the first half of Tiles 101/201, linked from the Tiles documentation but am having no luck on the Struts/Tiles integration front. I suspect I've simply missed a step somewhere

RE: Using tiles

2004-03-16 Thread David Friedman
Dear Laurie, You forgot to set a page in your tile definition with the path attribute. The definition needs to be more like so: definition name=tiles.view path=/tiles-test/template.jsp put name=title value=PAGE TITLE/ put name=content value=/tiles-test/index.jsp/ /definition Where /tiles

Struts-EL tiles tld

2004-03-15 Thread Joshua Tuberville
We are using the Struts-EL tags in conjunction with jstl. We now have a need to use el expressions with the tiles tags. Where is the struts-el.tld? The file under contrib /contrib/struts-el/webapps/WEB-INF/struts-tiles.tld is exactly the same

Tiles tags in the Struts-EL subproject

2004-03-15 Thread Joshua Tuberville
Hello, In a Struts 1.1 project, I am trying to find the tiles tld file that uses the el classes in the struts-el subproject. I assumed that the naming scheme would be consistent so I looked for struts-tiles-el.tld under contrib/struts-el but I only found: contrib/struts-el/webapps/WEB-INF

RE: Tiles tags in the Struts-EL subproject

2004-03-15 Thread Wendy Smoak
From: Joshua Tuberville [mailto:[EMAIL PROTECTED] In a Struts 1.1 project, I am trying to find the tiles tld file that uses the el classes in the struts-el subproject. I assumed that the naming scheme would be consistent so I looked for struts-tiles-el.tld under contrib/struts-el but I only

RE: Tiles tags in the Struts-EL subproject

2004-03-15 Thread Joshua Tuberville
Wendy On Mon, 2004-03-15 at 14:49, Wendy Smoak wrote: Are you sure you're not looking at the release notes on the website, which would be for the nightly builds? There is a 1.2.0 release out now, although AFAIK it has not been promoted to an official/stable version. Yes you are correct this

[Q] tiles: defining jsp fragments in a jsp

2004-03-14 Thread Axel Gross
what i got here is very special layout code which I reuse inside of one jsp and i don't want to remove it from there, because no other jsp would need it. so it would be quite stupid to separate them. i'm trying to achieve this functionality with tiles (so in my case it's a .printMessages tile

sslext http/https switching taglib and tiles

2004-03-13 Thread Adam Hardy
Is anybody using Tiles and the sslext taglib form link tags? I am thinking of using them with Tiles. Has this been implemented yet? I was wondering because I think it must be a fairly complicated algorithm to check whether a link URL or a form submit action needs HTTPS or not. I was also

RE: sslext http/https switching taglib and tiles

2004-03-13 Thread Robert Taylor
Adam, I've been using SecurityFilter (sslext taglib form and link tags) with Tiles for a while without any issues. robert -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, March 13, 2004 11:25 AM To: Struts Users Mailing List Subject: sslext http/https

Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a value object userSessionVO with some authenication parameter in the session. A not-logged-on user could be identified by the missing session attribute

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
try request.getRequestDispatcher(/myACtion.do).forward(request, response); rather than redirect. On 12 Mar 2004, at 10:59, Christian Schlaefcke wrote: Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Niall Pemberton
, Tiles, javax.servlet.Filter: Redirect Problem Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a value object userSessionVO with some authenication parameter in the session. A not-logged-on user could

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
(request, response); rather than redirect. On 12 Mar 2004, at 10:59, Christian Schlaefcke wrote: Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a value object userSessionVO with some authenication

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
, Christian Schlaefcke wrote: Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a value object userSessionVO with some authenication parameter in the session. A not-logged-on user could be identified by the missing

[OT] 3/18 Struts Tiles Talk by Rick Hightower at VeriSign

2004-03-12 Thread Van Riper, Mike
. Rick Hightower is the CTO of ArcMind http://www.arc-mind.com and one of the co-authors of Professional Jakarta Struts. If you would like to learn about the Tiles framework in Struts 1.1, this would be an excellent talk to attend. The full meeting announcement can be found online here: http

Calling a tiles attribute from another attribute

2004-03-10 Thread Kunal H. Parikh
Hi All! I am attempting to call a tiles:getAsString from a JSP page which is an attribute in the tiles definition. Example: === definition name=au.com.carsales.csApp.layouts.default path=/WEB-INF/jsp/layouts/default.jsp put name=page_title

RE: Calling a tiles attribute from another attribute

2004-03-10 Thread David Friedman
-Original Message- From: Kunal H. Parikh [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 7:20 PM To: 'Struts Users Mailing List' Subject: Calling a tiles attribute from another attribute Hi All! I am attempting to call a tiles:getAsString from a JSP page which is an attribute

tiles tabbed layout

2004-03-09 Thread koen boutsen
hello I want to use tiles tabbed layout. I'm using tiles at the moment, but no tiles definitions. My question is : can I use this layout without definitions and how do I put the tabs in my jsp that fills my layout page, e.g. tiles:insert page = /layouts/isisLayoutExtraHeadMenu.jsp flush=true

Cookie not getting set from Tiles controller class

2004-03-08 Thread Michael Lacy
code that gets called from the struts action. Therefore the cookie seems to not be getting set on the response only when called from the tiles controller class. Any ideas? ** Mi8 Powered Applications - Brains for Business

Re: Tiles attributes problem

2004-03-06 Thread Adam Hardy
David, it's a bit difficult to know what's going on without seeing your action mapping which calls that .default definition. On 03/05/2004 10:08 PM David Erickson wrote: First the sample code: XML defintion: definition name=.default path=/tiles/layouts/base.jsp put name=header value=/tiles

tab layout without tiles definitions

2004-03-05 Thread koen boutsen
Hi I want to use the tab-layout from Dumoulin. I use tiles in my application, but no tiles-definitions. Can I use tabs without definitions ? Does someone have an example, because when using definitions, you put tabs via : item:value, but I don't know how I can in my jsp, because

i18n in tiles-defs.xml?

2004-03-05 Thread Dean A. Hoover
Suppose I have a string defined in a definition, such as: definition name=foo page=/myPage.jsp put name=title value=Hello/ /definitions How would I go about replacing Hello with a reference to a string instead of the string itself? Can this be done just using tiles-defs.xml, or is it a two step

Tiles attributes problem

2004-03-05 Thread David Erickson
First the sample code: XML defintion: definition name=.default path=/tiles/layouts/base.jsp put name=header value=/tiles/header.jsp/ put name=menu value=.menu.main/ put name=body value=${body}/ put name=footer value=/tiles/footer.jsp/ put name=logon value=/tiles/logon.jsp/ put name=title

Re: Tiles problem

2004-03-03 Thread Adam Hardy
Jim, sounds like you haven't realised that tiles attributes are not given global scope. You have to explicitly useAttribute each time. That includes when you nest a child tile - you must useAttribute on it first, and then have it put again in-between the inserts for the child. On 03/02/2004 10

RE: Tiles problem

2004-03-03 Thread kishor Patil
Hi, I was able to render the client side javascript (Dynamic as well static javascript) using the Struts Validator framework. The validations are done properly on the invalid data. [Errors are displayed]. But I can see from the server logs that form is submitted. Ideally it should not have

Can I do this with tiles?

2004-03-03 Thread Janice
' request parameter. So far, so good. Here's what I need to do: based on the orgType request parameter, make an orgType-specific call to one of my tiles. I have a tile for breadcrumbs that I pass in a path to, and then a tag on the breadcrumb tile spits out the breadcrumb trail. So far all I have

Re: Tiles problem

2004-03-02 Thread Mark Lowe
put name=foo value=${bar} type=string/definition/page / On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote: There's something I'm not understanding :-( I've got the following tiles definitions. definition name=.mainLayout path=/tiles/layouts/mainLayout1.jsp put name=header value

RE: Tiles problem

2004-03-02 Thread Anderson, James H [IT]
Maybe I didn't follow you, but I changed definition name=.activity.detail extends=.mainLayout put name=content value=.portfolioLayout/ put name=app-specific value=/tiles/activityinfo.jsp/ /definition to definition name=.activity.detail extends=.mainLayout put

Re: Tiles problem

2004-03-02 Thread Mark Lowe
put name=title value=Mellow World!!! type=string / put name=content value=portfolio.default type=definition / put name=app-specific value=/tiles/activityInfo.jsp type=page / /definition When did all this .somename business start then, i've seen this else where. Looks like dirty php

tiles - smth like addToList?

2004-03-01 Thread Axel Gross
Hi people! Concerning tiles definition and extension of those. First part-o-mail: concrete problem Second part-o-mail: a more general approach (beginning of it ;) First part: I see the need for extending the entries of a putList without overriding the entries in the super definition. Example

Re: tiles - smth like addToList?

2004-03-01 Thread Adam Hardy
/ item value=cache-control link=no-cache / item value=expires link=0 / /putList /definition definition name=.head.project extends=.head.common putList name=httpEquiv item value=expires link=1 / item value=description link=tiles

Re: tiles - smth like addToList?

2004-03-01 Thread Axel Groß
/ item value=description link=tiles definition extension example / /putList /definition so usually this would replace the list in .head.common with the one in .head.project desired behaviour would be to just add the new entries (description) and overwrite those

Re: tiles - smth like addToList?

2004-03-01 Thread Adam Hardy
=pragma link=no-cache / item value=cache-control link=no-cache / item value=expires link=0 / /putList /definition definition name=.head.project extends=.head.common putList name=httpEquiv item value=expires link=1 / item value=description link=tiles definition extension example / /putList

struts-faces doesn't update pages correctly when using tiles

2004-02-27 Thread Diego Louzán Martínez
/ .mainPage is a Tiles page defined like this: definition name=.base page=/faces/DefaultLayout.jsp put name=title value=/DefaultTitle.jsp/ put name=headerSpecific value=/Blank.jsp/ put name=content value=/Blank.jsp/ put name=footer value=/DefaultFooter.jsp/ /definition definition name=.mainPage

Phase in Tiles?

2004-02-23 Thread Marcella Turner
I'm interesting in converting an existing Struts application with traditional JSP's and Actions into a Tiles application. Can I take a phased in approach where some forwards point to the tiles-def.xml and some do not? Or is the tiles-def.xml approach all or nothing? Thanks, Marcella

RE: Phase in Tiles?

2004-02-23 Thread shirishchandra.sakhare
You can very much do so. We had a completed 50% of our application when we migrated to Tiles. That is what we did. Instead of changing the existing working functionality,We just started using tiles for new development.As a result , we have tiles definitions as well as normal jsps. BTW

RE: Phase in Tiles?

2004-02-23 Thread Mainguy, Mike
Sure, you can refer to both tiles definitions and .jsp files in the same application. -Original Message- From: Marcella Turner [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 9:34 AM To: [EMAIL PROTECTED] Subject: Phase in Tiles? I'm interesting in converting an existing

RE: Phase in Tiles?

2004-02-23 Thread Marcella Turner
Thanks! From: Mainguy, Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Phase in Tiles? Date: Mon, 23 Feb 2004 09:42:46 -0500 Sure, you can refer to both tiles definitions and .jsp files in the same

RE: Phase in Tiles?

2004-02-23 Thread Marcella Turner
Thanks for your prompt reply - I will look into naming conventions! From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Phase in Tiles? Date: Mon, 23 Feb 2004 15:41:21 +0100 You can very much do so. We had a completed 50% of our

Problem with tiles

2004-02-23 Thread Michiel Slot
processorClass=org.apache.struts.tiles.TilesRequestProcessor plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml / set-property property=definitions-parser-validate value=true / set-property property=moduleAware value=true

Nesting tiles and attributes

2004-02-23 Thread rick
In some pages my tiles are nested three deep. I would like to pass parameters to these tiles, but I don't want to have every level put attributes again for the tiles it contains. Is there any way to put an attribute in to tile scope once, and have deeply nested tiles see the attribute? Rick DeBay

How to get requested URL with tiles

2004-02-20 Thread Joseph Toth
to differentiate between the page? In the struts config I have... action path=/Rewards type=org.apache.struts.actions.ForwardAction parameter=RewardsView / In the tiles config I have... !-- Titles -- definition name=template_sidebar path=/template/template_sidebar.jsp put name=title value=/ put

Re: Error page problems with Tiles

2004-02-19 Thread Mark Lowe
global-forwards forward name=error path=/error.jsp / /global-forwards in your action you can forward to error in the event that something's gone pear-shaped. On 19 Feb 2004, at 01:58, Russ Baker wrote: I am having a real issue with the way Tiles handles an error page. I am setting up

RE: Error page problems with Tiles

2004-02-19 Thread Johnson, Gary
Hi Russ, I had the same problem and ended up including the error page in the body of the tiles layout. This way the user could continue in the app, but be informed that an error occurred. So, all of my body tiles have an error page directive. If the error occurs elsewhere (header, menu, footer

O'Reilly Struts book missing info (Tiles)

2004-02-19 Thread Thad Humphries
In case this helps some people, yesterday I stumbled on a missing bit of necessary information in the otherwise very good book, Programming with Jakarta Struts, by Chuck Cavaness (Nov 2002 printing): Chapter 14, 'Using Tiles', fails to explain the TilesRequestProcessor. I can find no mention

Tiles and message resources

2004-02-19 Thread Avinash Gangadharan
Group, I'm having a problem if I use the message-resources inside my tiles jsp. I'm doing something similar to the standard tiles sample for designing a layout for menus with the selected menu shown differently. I'm doing something like this : % String sel = ( String

RE: Tiles and message-resources

2004-02-19 Thread Avinash Gangadharan
That was a great trick Jayesh. It solved my problem too. Thx. Avinash -Original Message- From: Gopalakrishnan, Jayesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:39 AM To: Struts Users Mailing List Subject: RE: Tiles and message-resources You could pass in the key

RE: Tiles and website skinnability

2004-02-18 Thread Guillermo Meyer
You can use Xkins to add skins to the website while still using tiles (http://xkins.sourceforge.net). You can use XkinsForms tags or create your own taglibs and use xkins to generate HTML. You can use css with Xkins, and each skin can have it's own path for it's css: For example, if you have

[OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
Dear All, In my webapp, I have to store all dynamic page content within a database as it is not possible to write to the disks on which the server runs. These dynamic pages are generated by a servlet which takes the page id as a request parameter. At the moment this servlet sends the page to

RE: Validator / Tiles and modules - anybody done it?

2004-02-18 Thread Hibbs, David
. 2) Keep in mind that the paths in your tile definitions are ALWAYS relative to the context root, not the module root. If you have a tile def myTile with a jsp stored under MyWAR/module1/jsp/myTileJsp.jsp, the path in the tiles-defs.xml is /module1/jsp/myTileJsp.jsp -- you probably already knew

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
Compile the tiles into .java files, compile these files into .class files and jar them up. You'll need to add servlet mappings to every webapp's web.xml, though. Here's the test JSP I'm working with (called myjsp.jsp). %@ page session=false % %@ page import=java.util.Date % html body h1Hi

Re: can tiles be put in a jar?

2004-02-18 Thread Mark Lowe
* name=FooTile * display-name=FooTile * description=My tile * load-on-startup=3 * * @web.servlet-mapping * url-pattern=/tiles/FooTile */ % Something still doesn't smell right though, tiles-defs? and maybe struts config? Perhaps have the a tile attribute in your definition

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
whether you are using a JSP or a precompiled JSP (a servlet). So, the url-pattern would continue to read /tiles/FooTitle.jspf. This allows you to construct links and test in a manner that isn't locked to a particular deployment. In development, we work within the JSP directories so we want

Re: can tiles be put in a jar?

2004-02-18 Thread Mark Lowe
with forms contained inside tiles. I think put name=action value=/foo.do type=string / put name=body value=/tiles/mytile.jsp type=page / then in the tile naturally tiles:useAttribute name=action html-el:form action=${action} I'll have a play some more. But i certainly think that generating

Re: passing beans to tiles

2004-02-18 Thread Thad Humphries
try to put this is a template. We'll see what I break then. On Tuesday 17 February 2004 20:50, Niall Pemberton wrote: Doesn't look like a tiles issue to me. Something doesn't add up with the message you say you're getting and the source you're showing - you should only get the not found

Tiles and message-resources

2004-02-18 Thread Thad Humphries
Is there any way to for a tlles definition to take a value from the message-resources file? For example, if I wanted only one file to control my applications text, could tiles:put name=title value=Page Title / pull the value from the message-resources file like a JSP would do.

Re: Tiles and message-resources

2004-02-18 Thread Nadeem Bitar
You can internationalize your tiles definitions. In the localized version you only override the localized strings. Example tiles-defs.xml definition name=.home extends=.mainLayout put name=title value=Homepage/ put name=content value=somejsp.jsp/ put name=leftCol value

RE: Tiles and message-resources

2004-02-18 Thread Gopalakrishnan, Jayesh
, February 18, 2004 11:33 AM To: Struts Users Mailing List Subject: Tiles and message-resources Is there any way to for a tlles definition to take a value from the message-resources file? For example, if I wanted only one file to control my applications text, could tiles:put name=title value=Page

tiles memory/performance

2004-02-18 Thread Frank Maritato
Hi, I have searched through the mailing list archives but have not seen if there was any resolution to the question of: have the tiles execessive memory usage/performance issues been resolved for the struts 1.2 timeframe? If not, can anyone recommend an alternative to tiles besides using includes

Tiles and ActionMessage

2004-02-18 Thread Daniel
Someone know if there are some problem with tiles and messages(errors) I'm using at Action file (just code parts ) : ActionMessages messages = new ActionMessages(); ActionMessage message = new ActionMessage(e.getMessage()); //at the catch messages.add(ActionMessages.GLOBAL_MESSAGE

Error page problems with Tiles

2004-02-18 Thread Russ Baker
I am having a real issue with the way Tiles handles an error page. I am setting up the following jsp directive in the base layout: %@ page language=java errorPage=/error.jsp % But when I do this, the page shows the error, something like: [ServletException in:/somePage.jsp] / divide by zero

Re: [OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:[OT] making struts/tiles parse the output of a servlet Dear All, In my webapp, I have to store all dynamic page content within a database as it is not possible to write

Printer Friendly using Tiles

2004-02-17 Thread Eric Dahnke
What is the best way to do printer friendly pages using Tiles? We've got a portal type application. I'm looking at the Dynamic Look Feel capability of Tiles as a canidate for implementing print friendly pages. Does anyone have any suggestions or wish to share about how they did it? Many

  1   2   3   4   5   6   7   8   9   10   >