HTML in WAReportColumn?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

HTML in WAReportColumn?

Boris Popov, DeepCove Labs (SNN)
I couldn't quite find a way to print arbitrary code into a report column.
For instance, I wanted to replace a column that simply contains 'Download'
at the moment with an slicker looking <img>.

Thanks,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: HTML in WAReportColumn?

Boris Popov, DeepCove Labs (SNN)
Here's what I did in VisualWorks, by the way, feel free to use/merge/ignore
this :)

(WAReportColumn
 block: [:pmnt :html | (html anchor) ... ]
 title: 'View')
  sortBlock: nil;
  yourself

Basically, if there's a second argument to the block, it'll be passed a
canvas and you can do as you please with it.

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Boris Popov
Sent: Thursday, May 25, 2006 11:21 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] HTML in WAReportColumn?

I couldn't quite find a way to print arbitrary code into a report column.
For instance, I wanted to replace a column that simply contains 'Download'
at the moment with an slicker looking <img>.

Thanks,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

WAReportHTMLColumns.st (1K) Download Attachment
smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: HTML in WAReportColumn?

Michel Bany-3
Boris Popov a écrit :

>Here's what I did in VisualWorks, by the way, feel free to use/merge/ignore
>this :)
>
>(WAReportColumn
> block: [:pmnt :html | (html anchor) ... ]
> title: 'View')
>  sortBlock: nil;
>  yourself
>
>Basically, if there's a second argument to the block, it'll be passed a
>canvas and you can do as you please with it.
>
>  
>
Thanks Boris,
While fixing a few glitches, I integrated your code into the Seaside
2.6b1 branch.
It is now on squeaksource and in the public store. It is also expected
to be released
on the next VW distribution.
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside