Re: Tiles question

2007-07-06 Thread Chris Pratt
It looks like he's using Tiles 1, but the concept is the same on any version of tiles. (*Chris*) On 7/6/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/7/6, James Carr <[EMAIL PROTECTED]>: > > How can I add head elements (script, style, etc) to the head of a > document created using tiles

Re: Tiles question

2007-07-06 Thread Antonio Petrelli
2007/7/6, James Carr <[EMAIL PROTECTED]>: How can I add head elements (script, style, etc) to the head of a document created using tiles? I can add them to the body, but this is WRONG and goes against standards. First of all, what version of Tiles are you using? Antonio

Re: Tiles question

2007-07-06 Thread Jorge Martín Cuervo
you can add a position header to use. Something like this: and in your tiles def:

Re: tiles question

2006-10-09 Thread Antonio Petrelli
Alex Shneyderman ha scritto: well, thanks for your help. I gues it has soemthing to do with the fact that i include a tile that refers to the page that is an action. Might it be that Struts does not handle this case? I don't think so, since your ActionForm is in session you should not have an

Re: tiles question

2006-10-09 Thread Alex Shneyderman
well, thanks for your help. I gues it has soemthing to do with the fact that i include a tile that refers to the page that is an action. Might it be that Struts does not handle this case? Alex. On 10/9/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Alex Shneyderman ha scritto: > and relevant

Re: tiles question

2006-10-09 Thread Antonio Petrelli
Alex Shneyderman ha scritto: and relevant JSP from /WEB-INF/jsp/SingExt.jsp (SingularExt.def): Person Typy: '' That's really strange, I don't see *really* anything wrong! What I can say is to check your log for exception (probably a NullPointerException) or check if the "reset" method o

Re: tiles question

2006-10-09 Thread Alex Shneyderman
public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { SimpleForm simpleForm = (SimpleForm) form; String forwardName = "success"; SearchS

Re: tiles question

2006-10-09 Thread Antonio Petrelli
Alex Shneyderman ha scritto: The SingularExt.do action gets called and I can confirm that my data is getting set correctly. But when inside the JSP /WEB-INF/jsp/SingExt.jsp I can not see my data. Ok now that I've seen that it seems that there is nothing wrong with your action mappings, I have

Re: [tiles] Re: tiles question

2006-10-09 Thread Alex Shneyderman
I do believe those are forwards. Are you sure that "forwards" and not "redirects" to the destination definition? Please post your action mapping. anyway here are the action defs: and the other action is : -- Thanks, Alex. --

[tiles] Re: tiles question

2006-10-09 Thread Antonio Petrelli
Alex Shneyderman ha scritto: The action that actually spawns the sequences is yet another action and on its success it forwards to commonext.def. Are you sure that "forwards" and not "redirects" to the destination definition? Please post your action mapping.

Re: Tiles Question

2006-05-08 Thread Greg Reddin
On May 8, 2006, at 7:49 AM, Troy Bull wrote: I have read through the documentation and haven't seen this example (I may be blind). The error I get is : [ServletException in:/header.jsp] Error - tag.getAsString : attribute 'title' not found in context. Check tag syntax' Ah, I'm sorry. I mi

Re: Tiles Question

2006-05-08 Thread Troy Bull
I have read through the documentation and haven't seen this example (I may be blind). The error I get is : [ServletException in:/header.jsp] Error - tag.getAsString : attribute 'title' not found in context. Check tag syntax' troy Greg Reddin said the following on 5/5/2006 3:01 PM: Have you

RE: Tiles Question

2006-05-05 Thread Manopriya Jagadeesan , Tidel Park - Chennai
Hi, http://www.roseindia.net/struts/struts_tiles.shtml will give you a good start for tiles. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 06, 2006 1:32 AM To: Struts Users Mailing List Subject: Re: Tiles Question Have you tried the instructions

Re: Tiles Question

2006-05-05 Thread Greg Reddin
Have you tried the instructions in the tiles documentation? http://struts.apache.org/struts-action/struts-tiles/ I think it describes your use case. Are you trying this and getting some kind of error you can send us? Thanks, Greg On May 5, 2006, at 1:33 PM, Troy Bull wrote: Greet

Re: Tiles question

2006-01-22 Thread Aladin Alaily
Thanks Paul. Aladin Paul Benedict wrote: Aladin, You cannot nest JSP tags inside JSP tag attributes. Split them up: JSP 1.2: JSP 2.0: Paul __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://m

Re: Tiles question

2006-01-22 Thread Paul Benedict
Aladin, You cannot nest JSP tags inside JSP tag attributes. Split them up: JSP 1.2: JSP 2.0: Paul __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -

Re: Tiles question

2005-03-16 Thread brenmcguire
>Correct me if I'm wrong, but Tiles is, in essence, just the JSP include >extended a bit. So, if I have a page with 3 tiles (or 3 JSP includes >alternatively), what gets returned to the browser is still a single HTML >document that is the result of inserting the 3 tiles in the main page. > Absolu

Re: Tiles question

2005-03-16 Thread Dakota Jack
The browser can cache anything it has. The only issue in this regard is what does it have? It NEVER has a Tile. A tile is, ultimately, a Servlet. Jack On Wed, 16 Mar 2005 10:06:10 -0500 (EST), Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You are saying exactly what I thought I always knew (

Re: Tiles question

2005-03-16 Thread Frank W. Zammetti
You are saying exactly what I thought I always knew (i.e., basic HTTP!!)... So, just to boil this down for the brains I have to argue with later... Tile contents CANNOT be cached by the browser (except if all tiles are static, in which case the FINAL document returned to the browser could of cours

Re: Tiles question

2005-03-16 Thread Dakota Jack
What is sent from the webserver is just what you see in source code on the browser. That "source code" is the code sent from the webserver to the browser. The browser also uses plugins to get code and resources as indicated from the source code via Flash, java script, image processing, etc. Any

RE: Tiles Question

2005-02-17 Thread David G. Friedman
Matthew, I don't think that "extends" can be used with the "path" attribute. I have always understood, and practiced, tiles where one definition extends the main definition (like a template) and overloads the COMPONENTS of the original template. I have always thought extends should NEVER be used

RE: Tiles Question

2004-10-22 Thread Ray Madigan
submit a report. -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 8:22 AM To: Struts Users Mailing List Subject: Re: Tiles Question > - Root Cause - > java.lang.NoSuchMethodError: > org.apache.log4j.Category.log(Ljava/lang/String;Lorg

Re: Tiles Question

2004-10-21 Thread Sean Schofield
> - Root Cause - > java.lang.NoSuchMethodError: > org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljav > a/lang/Object;Ljava/lang/Throwable;)V >at > org.apache.commons.logging.impl.Log4JCategoryLog.trace(Log4JCategoryLog.java > :77) >at > org.apache

RE: Tiles Question

2004-10-21 Thread Ray Madigan
org.apache.struts.action.ActionServlet.init(ActionServlet.java:322) at javax.servlet.GenericServlet.init(GenericServlet.java:256) -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:37 PM To: Struts Users Mailing List Subject: RE: Tiles Question I only

RE: Tiles Question

2004-10-20 Thread Ray Madigan
vid G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:37 PM To: Struts Users Mailing List Subject: RE: Tiles Question I only mentioned the struts-tiles-el.tld because I didn't think the Tiles tags were "el" compatible. I found a struts-tiles-el.tld in 1.2.4 no

RE: Tiles Question

2004-10-20 Thread David G. Friedman
t so that would work? What about the departments.getItem() collection question? Is it the right object you want stored? Regards, David -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 11:34 PM To: Struts Users Mailing List Subject: RE: Tiles

RE: Tiles Question

2004-10-20 Thread Ray Madigan
iling List; [EMAIL PROTECTED] Subject: RE: Tiles Question Ray, >From your code examples, it seems like you are using struts-el and struts-tiles-el. Is this correct? If so I can make suggestions but I can't test it (not using them - I have JSP 2.0 in my Tomcat 5.0.2? + STruts v1.2.4 setup).

RE: Tiles Question

2004-10-20 Thread David G. Friedman
--Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 2:52 PM To: Struts Users Mailing List Subject: RE: Tiles Question The action Looks like this Collection depList = getDepartmentList ( ); Iterator itor = depList.iterator ( ); whil

RE: Tiles Question

2004-10-20 Thread Ray Madigan
ion' not found in context. Check tag syntax' -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 8:41 AM To: Struts Users Mailing List Subject: RE: Tiles Question Ray, Do you have an example of your tile definitions and stub p

RE: Tiles Question

2004-10-20 Thread David G. Friedman
Ray, Do you have an example of your tile definitions and stub pages I can look at? Regards, David -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 6:05 PM To: 'Struts Users Mailing List' Subject: Tiles Question I am trying to pass an attrib