Hi,

>From the top of my head this would be the equivalent Brail

${ Form.FormTag({ @controller:'Users', @action:'Logout' }) }
    <div>
        ${ Form.Submit('Log ud!') }
    </div>
${ Form.EndFormTag() }

The FormHelper documentation can be found here
http://www.castleproject.org/monorail/documentation/trunk/helpers/form/index.html
The Brail docs are here:
http://castleproject.org/monorail/documentation/trunk/viewengines/brail/index.html

Does this answer your question?

-- Roelof.

On Tue, May 12, 2009 at 11:24 AM, AHM <[email protected]>wrote:

>
> Hey!
>
> I am using Brail as a view engine for my asp.net/mvc project, so
> perhaps this forum is the wrong place to ask, but I'm giving it a try
> anyway, perhaps someone knows something.
>
> I am trying to convert this piece of C# / webform code to Boo & Brail:
>
> <% using (Html.BeginForm("Logout", "Users"))
> {%>
>    <div>
>        <input type="submit" value="Log ud!" />
>    </div>
> <%} %>
>
> I have no idea how to use the "using" statement in brail - can anyone
> point me in the right direction?
>
> This translated page from some czech guy hints at the existance of a
> using-keyword in brail, but I can't get it to work, and it doesn't
> seem to be documented anywhere:
>
>
> http://translate.google.dk/translate?hl=en&sl=cs&u=http://rarous.net/weblog/tag/brail.aspx&ei=hTkJSqbsEduw-AbH5qjfCw&sa=X&oi=translate&resnum=8&ct=result&prev=/search%3Fq%3Dbrail%2Bhtml.beginform%26hl%3Dda%26sa%3DG
>
> Can anyone help me with this? Or perhaps direct me to a forum where
> some people might be more knowledgeable about Brail & asp.net mvc?
>
> regards, Anders
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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