<%= 
this.RenderPartial().Using<BlogPostComment>().WithDefault("<h3>{0}</h3>".ToFormat(Resources.Strings.NO_COMMENTS_HERE)).ForEachOf(Model.Post.Comments)
%>

You really want to write code like that? Well, ASPView templates will
basically allow c# so all you'd have to do is write a few helpers
which worked in the way you desire.

On Tue, Jan 13, 2009 at 9:56 PM, Jason Meckley <[email protected]> wrote:
>
> I looked over the sample app with aspview I don't see the benefits of
> aspview over nvelocity/brail. I was thinking more along the lines of
> http://code.google.com/p/fubumvc/source/browse/trunk/Samples/AltOxite/AltOxite.Web/Views/BlogPost/Index.aspx
> or 
> http://code.google.com/p/fubumvc/source/browse/trunk/Samples/AltOxite/AltOxite.Web/Views/Shared/LoggedInCommentForm.ascx?r=47
> which is strongly typed and requires very few strings. these examples
> from the sample fubumvc implementation.
>
> On Jan 11, 2:04 am, "Ken Egozi" <[email protected]> wrote:
>> cool.
>> we're here for any questions.
>>
>> note that on the trunk, AspView is part of Castle, so you won't need to
>> download anything from aspview.com
>>
>> look for more info athttp://www.kenegozi.com/Blog/Tag/aspview.aspx
>>
>> I hope to have some time to re-do aspview.com soon...
>>
>> On Sun, Jan 11, 2009 at 12:30 AM, Jason Meckley 
>> <[email protected]>wrote:
>>
>>
>>
>>
>>
>> > thank you, this is probably what I'm after. I'll dig into this more
>> > next week.
>>
>> > On Jan 9, 5:06 pm, "Ben Lovell" <[email protected]> wrote:
>> > > Take a look at ASPView:
>>
>> > >http://www.aspview.com/
>>
>> > > BenL
>>
>> > > On Fri, Jan 9, 2009 at 10:04 PM, Jason Meckley <[email protected]
>> > >wrote:
>>
>> > > > today I took the plunge to get MVC up and running. I have MR running
>> > > > and tested (very slick) so now I'm moving onto more useful pages (like
>> > > > submit string and say "hello $name"). with nvelocity evertyhing is
>> > > > based on strings. is it possible to build strongly typed helpers that
>> > > > take actions/functions to build out urls/input elements/etc. something
>> > > > like
>>
>> > > > $HtmlHelper.Link<the_controller>(x=>x.action, $text_to_display)
>> > > > which would produce
>> > > > [a href="~/the_controller/action.ext"]display text[/a]
>>
>> --
>> Ken 
>> Egozi.http://www.kenegozi.com/bloghttp://www.delver.comhttp://www.musicglue.comhttp://www.castleproject.orghttp://www.gotfriends.co.il
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to