|
Thanks, I'll try that. Guess I assumed the custom tag was
going to take care of the call to application.formatting since this was a
formatting attributes of the tag. Makes sense why it did not work for me
then.
Wonder why this formatting _expression_ results in the
following error:
<cf_DisplayColumnInList
column="c_fieldValue"
label="Field Value"
formatFunction="left([value],25)"
align="Left">
Invalid CFML construct
found on line 1 at column 402.
Dan =================== Previous Message Below
===================
Ooops. Sorry. Now I see what you are getting
at.
Try this.
formatFunction="Application.Formatting.FormatAccordingToType(value,
'datetime')"
Jeff
That is the way I ended up doing it, but as I
am working with PLUM, every time I do something, I try to see if there is an
easier built in framework kind of way to do it, and according to the VTM for
that tag, I can call these methods.
Thanks,
Dan
----- Original Message -----
Sent: Monday, December 06, 2004 4:27
PM
Subject: RE: [plum] Formatting
Hi Dan,
I think you want something like
formatFunction="DateFormat([value],'mm/dd/yyyy')" for
example.
Jeff
Is this the correct syntax to apply the
formatting called from the formatting.cfc component?
<cf_DisplayColumnInList
column="d_created"
table="tblPage"
label="Created"
type="datetime"
formatFunction="FormatAccordingToType"
align="Left">
I get a weird result which is displayed
below:
Dan
|