Castle.Project

  1. #1

    Castle.Project

    <div class="forum-post">Hi!
    I would like if anyone uses the Castle.Project.Monorail + Coolite?
    http://www.castleproject.org/monorail/gettingstarted/crud.html
    I'm working with ActiveRecord and I would like work with DataBinder of the Monorail, but I did not find examples with Coolite+Monorail. I know that is possible work without the use of Coolite, but is very complicate.
    Thank you.
    Maia.











    <div class="forum-post-footer">



  2. #2

    RE: Castle.Project

    Hi Maia,

    I've been using the Coolite Toolkit successfully with ASP.NET MVC for a while now, but have never touched Monorail so I can't say 100% if it would work or not. 


    With the next release of the Toolkit we'll be including more support for ASP.NET MVC, which I would assume help with the Monorail support. 


    I know several community members have been using ActiveRecord with the Toolkit.


    Geoffrey McGill
    Founder
  3. #3

    RE: Castle.Project


    Thanks for the feedback.
    One more question, is possibile call a method of the Class inside a button?
    In extjs + vs the call is made as follows:

    var buttons = [{
    text: 'Salvar',
    iconCls: 'bsalvar',
    handler: function(button) {
    button.disable();
    Ext.ComponentMgr.get(formName).form.submit({
    url: String.format('../{0}/Salvar.ashx', self.module),
    waitTitle: 'Por favor aguarde...',
    waitMsg: 'Salvando informações...',
    params: { },
    success: function(form, action) {
    if(action &amp;&amp; action.result.reload) {
    if ( Ext.getCmp('dl-'+self.prefix) != undefined)
    {
    var grid = Ext.ComponentMgr.get('dl-'+self.prefix).getComponent(0);
    grid.getStore().reload();
    }
    Ext.mensagem.msg('Sucesso','Dados salvos com sucesso.');
    }
    Servus.getDesktop().getManager().getActive().close ();
    },
    failure: function(form, action) {
    self.showError(form,action);
    button.enable();
    }
    });
    }
    },{
    text: 'Cancelar',
    iconCls: 'bcancelar',
    handler: function(button) {
    button.disable();
    Servus.getActiveWindow().close();
    }
    }];


    With the toolkit, it is possible? I think, if possible, maybe is possible use the Databinder.
    Thanks.
    Maia.

Similar Threads

  1. Ext 1.2 and 2.0 in the same project?
    By skipi in forum 2.x Help
    Replies: 3
    Last Post: Feb 21, 2012, 12:12 PM
  2. Pro or Community? Which is right for your project
    By geoffrey.mcgill in forum Open Discussions
    Replies: 4
    Last Post: Sep 30, 2010, 4:18 PM
  3. Ext.net source project
    By vs.mukesh in forum 1.x Help
    Replies: 0
    Last Post: Jun 07, 2010, 11:21 AM
  4. [1.0] Can we use both 1.0 and 0.8.2 in one project?
    By haiduong87 in forum 1.x Help
    Replies: 3
    Last Post: Apr 09, 2010, 4:22 AM
  5. Well, I want to start a project...
    By fabiomarcos in forum 1.x Help
    Replies: 0
    Last Post: Nov 19, 2008, 2:21 PM

Posting Permissions