Logging exceptions etc. & replacing the exception page (4.0)

2006-04-07 Thread Ed Cohen
Hi. Can someone point me to something that explains how to easily (1) Capture the information that is displayed on the Exception page (for logging). In particular, we would like to log the template info as well as the actual exception, and (2) Replace the Exception

How to clear the body of an injected component

2005-09-27 Thread Ed Cohen
I have a component that is rendered in java code. The main part has a loop that renders a DirectLink on each iteration. I obtain the DirectLink by injection, and want to set its body and then render it. I tried getting the DirectLink, then calling addBody to set its body, and then rendering.

Table: overriding sorting and rendering

2005-08-10 Thread Ed Cohen
I have a hopefully easy question about contribTable: Is there a simple way to override the sorting (using a SimpleTableColumn, for example) AND have the rendering taken care of by a Block in the html? Thank you.

Table columns spec question

2005-07-22 Thread Ed Cohen
In a Table, I need to call a (static) method having 2 arguments: columns="createDate:@[EMAIL PROTECTED](user,createDate), name, id" (where getUser() and getCreateDate() are methods on the table row bean.) There seems to be a problem with parsing when the method has more than one argumen

RE: Column alignment in the Table

2005-07-18 Thread Ed Cohen
: 100%; text-align: right; } - mb - Original Message - From: "Ed Cohen" <[EMAIL PROTECTED]> To: Sent: Monday, July 18, 2005 11:34 PM Subject: Column alignment in the Table Is there a way to specify the horizontal alignment of column headers and columns in contrib:Table, par

Column alignment in the Table

2005-07-18 Thread Ed Cohen
Is there a way to specify the horizontal alignment of column headers and columns in contrib:Table, particularly when they differ from column to column? Thanks.

Question about column alignments in Table

2005-07-12 Thread Ed Cohen
Hi. A quick question. In the Table component, what is the easiest way to specify different horizontal alignments for each column header, and different horizontal alignments for each column?

Getting StringValidator's messages from your own .property file

2005-05-03 Thread Ed Cohen
How do I replace the StringValidator's messages with ones in my own .property file? Also, a quick ognl question. In a .page file, is there a way to get to the page's getMessage("xyz") method? Thanks for the help. - To unsubscr