﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Building View Components For MonoRail</title><description>I would probably split it into two.
  
The view component will render the file uploads, and submit to a controller, which will select a different view for that part of the screen.
  
I would think that this is asking too much of a single component, yes.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment10</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment10</guid><pubDate>Sat, 02 Jun 2007 16:05:56 GMT</pubDate></item><item><title>Sean Chambers commented on Building View Components For MonoRail</title><description>I have the same question as Kevin,
  
  
I have a PhotoUpload ViewComponent. It will manage uploading a certain number of photos to the ViewComponent. Depending on parameters I pass to the view component, the photos will be handled in different ways.
  
  
The question arises from, how would I target a specific Action on the ViewComponent, such as "Upload", and then after the upload is complete (pending no errors), the Render action would be called that would display the photos on the viewcomponent again instead of showing fileupload inputs.
  
  
I guess I could do all the processing in the Render method, but that would require ugly if/else when I really want to target a specific action depending on the form submit.
  
  
Perhaps I'm trying to get the ViewComponent to do too much processing though?
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment9</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment9</guid><pubDate>Sat, 02 Jun 2007 15:26:16 GMT</pubDate></item><item><title>KjellSJ commented on Building View Components For MonoRail</title><description>Adhering to "Simple vs Easy":
  
This approach, sensible defaults with the ease of overriding them, means that it is:
  
  
    * Extremely easy to build components
  
    * Very simple to use components
  
  
So you get the best of both worlds: Simple+Easy! Simple usage is a must, but too many developers jo go with what's easy to implement.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment8</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment8</guid><pubDate>Thu, 10 May 2007 10:26:04 GMT</pubDate></item><item><title>Ayende Rahien commented on Building View Components For MonoRail</title><description>Well, that depends on what you are trying to do. You can do this:
  
  
component SmartGrid, {@source: customers, @sortOrders: [ Order.Asc(@contactName), Order.Desc(@contactTitle)] }
  
  
Can you define what you mean by actions
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment7</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment7</guid><pubDate>Mon, 09 Apr 2007 09:32:41 GMT</pubDate></item><item><title>Kevin McDonnell commented on Building View Components For MonoRail</title><description>Is there any way to pass Actions to a component? I've been looking into creating a sortable, filterable grid component in MonoRail but couldn't work out how to pass a sort value to the grid.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment6</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment6</guid><pubDate>Mon, 09 Apr 2007 06:03:55 GMT</pubDate></item><item><title>Steve Harman commented on Building View Components For MonoRail</title><description>&gt;&gt; Well, it turns out that I can expression what I want the &lt;table&gt; tag to look like using a brand new concept called HTML.
  
  
Ha! I seriously laughed out loud (and got a very funny look from my g/f) when I read that.
  
  
It's funny how we always expect these great "new technologies" to come with their own diluted and unintuitive syntax (possibly the result of some Pavlovian conditioning from dealing with Redmond tech?), yet in the end its so simply solved by going back to good old HTML.
  
  
Great write up Ayende... now if I could only find some time to put MonoRail to use on a real project. :)
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment5</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment5</guid><pubDate>Mon, 09 Apr 2007 00:14:30 GMT</pubDate></item><item><title>Ayende Rahien commented on Building View Components For MonoRail</title><description>I wouldn't.
  
Inline editing isn't that hard, but it is very scenario driven. Do you want to do it with Ajax or not, multiply rows or single one, etc.
  
I would rather keep it until I need it, and I really much prefer to just have an Edit link that pop ups a dialog with the details for edit, rather than do it inline.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment4</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment4</guid><pubDate>Sun, 08 Apr 2007 15:51:18 GMT</pubDate></item><item><title>Doron Yaacoby commented on Building View Components For MonoRail</title><description>This is really cool. How would you implement inline editing with your grid?
  
  
Doron
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment3</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment3</guid><pubDate>Sun, 08 Apr 2007 15:42:00 GMT</pubDate></item><item><title>Ayende Rahien commented on Building View Components For MonoRail</title><description>There is the castle contrib project, which is a place that can be used to aggregate useful components.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment2</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment2</guid><pubDate>Sun, 08 Apr 2007 10:29:47 GMT</pubDate></item><item><title>Symon Rottem commented on Building View Components For MonoRail</title><description>Nice post - I'm just starting to play with MonoRail and this post gives a great start for component development.  One question though; is there any centralized resource where people can register components they think are useful?  I'd love to contribute if my team comes up with anything they think is going to be of benefit to the MonoRail community and we'd like to see anything anyone else has put together, but I've yet to find a site that covers this.
  
  
Thanks for another interesting post!
  
  
Symon.
</description><link>http://ayende.com/2297/building-view-components-for-monorail#comment1</link><guid>http://ayende.com/2297/building-view-components-for-monorail#comment1</guid><pubDate>Sun, 08 Apr 2007 10:26:37 GMT</pubDate></item></channel></rss>