RE: Templates And Modules - Please HELP !!

2004-01-13 Thread Patrick Cheng
Hi, A few other folks and I had a discussion on this topic in this list archive, search for it. I just hope that I have not misunderstand you. Topic of the message thread is Modules with Tiles Problem. See if it helps. (if you really can't find these messages, I can PM you) Rgds, Patrick.

Re: Templates and i18n problem in struts

2002-05-17 Thread Cedric Dumoulin
You can't nest a tag inside another tag in jsp. Try : template:put name='title' direct='true' bean:message key=printPage.title / /template:put Cedric Yaman Kumar wrote: Hi, I am using templates in struts, In my jsp page I used the below statement. .. template:put

RE: Templates and i18n problem in struts

2002-05-16 Thread Vikram Goyal01
In your template did you import the tag libraries? V -Original Message- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 5:43 PM To: Struts Users Mailing List Subject: Templates and i18n problem in struts Hi, I am using templates in struts, In my jsp page I

RE: Templates and i18n problem in struts

2002-05-16 Thread Jerome Jacobsen
You can't use a JSP tag as the value of another JSP tag's attribute. You'd have to use a JSP expression instead. I'm not sure if a utility exists to get the message in the same way as the bean:message tag does. Let's assume there is one called msgUtil.getMessage. Then you would do this:

Re: Templates, Tiles.....or am I just missing something!

2002-03-12 Thread Cedric Dumoulin
The order of execution is the order of insert tags in your template. Each fragment is drawn and rendered at its place in the page.The only way to change the order is to change the place of the insert. But this is very limited as this changes the page rendering. Tiles will not solves your

RE: Templates!

2002-03-01 Thread Ian Hunter
Sorry Folks, Just found the bit about useing flush - did the job! Perhaps this is an FAQ? It certainly stumped for a while. Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Templates

2001-12-04 Thread Cedric Dumoulin
You can't specify an action as template attribute. This is because action do a forward, and jsp forbid forward once you have already written something in response. Try to use Tiles instead (with appropriate tiles servlet). It should work. Cedric Pete Serafin wrote: I am trying to use

RE: Templates Images

2001-08-15 Thread Aaron Ravenberg
Using template:put tag show below is trying to put an image file as include into the JSP.template, then asking the JSP.template to compile. What you really want to display is the String '/images/example.gif'. So you have to specify a my.JSP that contained the text '/images/example.gif',

Re: Templates Images

2001-08-15 Thread James Maggs
tags! Thanks ayway, -James - Original Message - From: Aaron Ravenberg [EMAIL PROTECTED] To: [EMAIL PROTECTED]; 'James Maggs' [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 3:37 PM Subject: RE: Templates Images Using template:put tag show below is trying to put an image file

Re: Templates Images

2001-08-15 Thread Luis Olivares
- (52)8-365-42-88 Ext. 107. [EMAIL PROTECTED] - Original Message - From: James Maggs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 9:53 AM Subject: Re: Templates Images I am using the direct='true' attribute to write the String 'images

Re: Templates Images

2001-08-15 Thread Erik Hatcher
://www.javaworld.com/javaworld/jw-09-2000/images/jw-0915-jspweb4.gif for information on how the template architecture works. Erik - Original Message - From: James Maggs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 15, 2001 7:53 AM Subject: Re: Templates Images I am using

Re: Templates: a design question

2001-08-02 Thread troy hart
be situations where this would be extremely convenient, and as long as it works I'd say do it if it fits your needs... Troy - Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 12:46 AM Subject: Re: Templates: a design question

Re: Templates: a design question

2001-08-01 Thread troy hart
The approach I use (and I believe it is a common approach) is to have two jsp pages for each page on my site that is going to use templates. For example, if I have an ecommerce site it is likely I will have a shopping cart page, a search page and a search results pages... For this example, the

RE: Templates: a design question

2001-08-01 Thread Tim Colson
The approach I use (and I believe it is a common approach) is to have two jsp pages for each page on my site that is going to use templates. MainLayout.jsp - the main template layout page. ShopCart_content.jsp - the actual content of the shopping card page. ShopCart.jsp - the shopping cart

RE: Templates located in WEB-INF?

2001-07-05 Thread DHarty
PROTECTED]] Sent: Wednesday, July 04, 2001 3:58 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Templates located in WEB-INF? Guys I had the same problem, I could access pages that were under the root, but not under WEB-INF. Until I re-read my Wrox Press book (Java Server Programming, J2EE

RE: Templates located in WEB-INF?

2001-07-02 Thread DHarty
Where is you template file (WEB-INF)? If it is, rry using relative paths to put to the template. ex: the line in project.jsp that puts to the template... template:put name=body content =../project/project_body.jsp/ where the path is relative to the template NOT to the puting file.

Re: Templates and relative paths

2001-06-28 Thread Cedric Dumoulin
Templates are interpreted on server side. Pages are included relative to where your insert or get tag is located, not relative to the calling page. So, you usually prefer to use absolute path rather than relative ones. Html tags, like html:base/ or html:img/ are interpreted on client side

RE: Templates and relative paths

2001-06-25 Thread DHarty
I would also like to know why other tags (ie img) use a relative path to the calling file, while the get tags do not. For example the line in a template file: html:img src=../graphics/picture.jpg/ render the path relative to the file that called the template (ex /nested/body/body.jsp),

RE: Templates

2001-06-01 Thread Jason Chaffee
Title: RE: Templates It is a bug with Weblogic. Weblogic probaly already sent newline charaters in the response, so it won't allow you to forward the request at that point. I recommend you keep the generated java file when the jsp is compiled and you will be able to see what Weblogic is doing

RE: Templates in Struts

2001-01-31 Thread Deadman, Hal
Title: Blank The subordinate file tags are processed. The subordinate files are included via a PageContext.include() which is like a jsp:include. The subordinate file can be a full fledged jsp but it will inherit some things from the outer jsp (like the buffer size) and share the same