Chorn Sokun's Weblog

Conquer inner fear, push it to the limit!

Extending MonoRail ViewComponent

leave a comment »

Quick note before I leave my desk for a meeting

Always apply ViewComponentDetailsAttribute on your custom ViewComponent like this

[ViewComponentDetails(string name, string sections, 
    Type CacheKeyFactory, ViewComponentCache Cache)]

This will prevent your custom view component name clash with base component name.
Okay ! got to go

Advertisements

Written by Chorn Sokun

January 18, 2008 at 3:13 pm

Posted in MonoRail, OSS, Tips & Tricks

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: