[Rt-devel] Elements/CollectionAsTable/ParseFormat

Jesse Vincent jesse at bestpractical.com
Fri May 25 11:53:15 EDT 2007


On May 25, 2007, at 11:49 AM, Nicholas Clark wrote:

> On Fri, May 25, 2007 at 04:09:03PM +0100, Nicholas Clark wrote:
>> Is there any documentation for the formatting system used by
>> Elements/CollectionAsTable/ParseFormat?
>>
>> I've got some way to understanding it, but I'm stuck on something  
>> seemingly
>> insane. In html/SelfService/Elements/MyRequests the format is:
>
>> Neither specify title. Yet one gets a title for free.
>>
>> How?
>
> OK. I'm now very confused. I can't now replicate it.
> Which I think means that the following patch is reasonable, just to  
> increase
> consistency

This patch is reasonable, yes.


>
> Nicholas Clark
>
> Index: html/SelfService/Elements/MyRequests
> ===================================================================
> RCS file: /export/cvsroot/rt-external/html/SelfService/Elements/ 
> MyRequests,v
> retrieving revision 1.2
> diff -p -d -u -r1.2 MyRequests
> --- html/SelfService/Elements/MyRequests	24 May 2007 15:41:23 -0000	 
> 1.2
> +++ html/SelfService/Elements/MyRequests	25 May 2007 15:47:30 -0000
> @@ -75,7 +75,7 @@ my @Format = qq{
>     '<B><A HREF="$RT::WebPath/SelfService/Display.html? 
> id=__id__">__id__</a></B>/TITLE:#',
>     '<B><A HREF="$RT::WebPath/SelfService/Display.html? 
> id=__id__">__Subject__</a></B>/TITLE:Subject',
>     Status,
> -   '__Requestors__',
> +   Requestors,
>     OwnerName};
>  </%INIT>
>  <%ARGS>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/ 
> rt-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20070525/90d1ad40/PGP.pgp


More information about the Rt-devel mailing list