RE: JSTL String manipulation

2004-11-03 Thread Lowery, Mat
Jakarta string taglib might be an option: http://jakarta.apache.org/taglibs/doc/string-doc/intro.html -Original Message- From: andy wix [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 4:43 AM To: [EMAIL PROTECTED] Subject: JSTL String manipulation Hi, I iterate through a

RE: Can I use Tiles Def for 1st page accessed on my site?

2004-10-28 Thread Lowery, Mat
Here's how I did it: In your index.jsp, you have only one line: And then the home.do (or whatever Struts action) loads the content that was previously in your 1st page. In other words, the page attribute above points to your Tiles-enabled page. -Original Message- From: [EMAIL PROTECTE

RE: Declarative Exception handling

2004-05-13 Thread Lowery, Mat
I use the Log Jakarta Taglib in my error page like so: http://jakarta.apache.org/taglibs/doc/log-doc/intro.html -Original Message- From: Ashutosh Satyam [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 6:39 AM To: Struts Users Mailing List Subject: Declarative Exception handling

exception in tiles:insert

2004-05-03 Thread Lowery, Mat
When an exception occurs within a tag, it prints the exception message to the page. Why is this? How can I fix this problem so that it simply throws another exception and prints nothing to the page? I guess I could edit the source but in how many other tags does this occur? Has anyone else had

RE: OT/ CalendarTag like behaviour

2004-04-23 Thread Lowery, Mat
I recently wrapped this JavaScript calendar with a custom tag: http://sourceforge.net/projects/jscalendar/ or here's the author's site: http://dynarch.com/mishoo/calendar.epl -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 10:55 AM To: 'S

exception in Tiles controller

2004-04-20 Thread Lowery, Mat
I'd like for an exception in a Tiles controller to go to a dedicated error page. Right now it seems the tag is swallowing the exception. The tag just prints the exception out on a half-completed page. Any ideas? Thanks, Mat Lowery "The sender believes that this E-Mail and any attachments w

RE: Nesting of one tag within another.

2004-04-14 Thread Lowery, Mat
The issue here is the when you change the to an . If you're using the EL version of the Struts html taglib, you could do something like: -Original Message- From: Velmurugan M [mailto:[EMAIL PROTECTED] Sent: Tuesday, Apri

RE: Application Context Variables

2004-04-08 Thread Lowery, Mat
A listener that listens for the contextInitialized event would probably work. You would write a class that implements ServletContextListener and then register the listener in web.xml like so: com.whatever.MyListener -Original Message- From: Takhar, San

RE: string substitution in tiles

2004-03-30 Thread Lowery, Mat
As an alternative to tiles:importAttribute and bean:write, you could just use: tiles-def.xml can stay the same. tiles:importAttribute would not be necessary with this approach. -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 5:05 PM To: S