Code Monkey home page Code Monkey logo

magellan-framework's People

Contributors

caleb-vear avatar javgoret avatar

Watchers

 avatar  avatar

magellan-framework's Issues

Future support for ASP.Net MVC DisplayTemplates, etc.

I'm spending some time evaluating frameworks for my current project, and I'm 
down to choosing between Magellan or nRoute.  I have three questions that 
should sway my decision either way. :)

1) Are you planning to add a feature similar to ASP.Net MVC's Object Templates, 
which recursively nests views based on model type (and/or other factors) (see 
http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-3-default
-templates.html).  The closest you have is your Forms feature, but is not 
nearly as powerful.  Admittedly, your Forms is still more than nRoute or any 
other MVC/MVVM framework I could find has.

2) Are you adding support for Windows Phone 7?

3) Do you have plans to add Async ViewModel properties.  I see you already have 
Async Actions, which is close. The new .Net rX framework may actually already 
provide something to handle this, so this *may* not be required of your 
framework.  If so, maybe just provide some integration features.

Thank you!

Original issue reported on code.google.com by [email protected] on 19 Sep 2010 at 2:49

Form-Field when used in DataTemplate of an ItemsControl is not displayed correctly

What steps will reproduce the problem?
1. <DataTemplate x:Key="dataTemplateKey">
<Form>
  <Field For="{Binding Path=Property1}"/>
  <!-- public int Property1 {get;set;}-->
</Form>
2. <ItemsControl ItemTemplate="{StaticResource dataTemplateKey}" 
ItemsSource="{Binding Path=ViewModelList}"/> 

What is the expected output? What do you see instead?
The field should be displayed for the "Property1" for each ViewModel in 
ViewModelList, but the field for the last viewmodel is not displayed (neither 
header nor textbox).
When the value of a Property1 of any other viewmodel is changed, the field is 
displayed.

When the <field><TextBox Text={Binding Path=Property1}"/></field> is filled 
with a value, the textbox is displayed even for the last viewmodel in the 
ViewModelList.

What version of the product are you using? On what operating system?
Magellan.dll 2.2.95.0, Vista, VS2010 .NET 4.0


Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 6:40

Partial trust

Since this is the only way to communicate, you stated that it wasn't possible 
to use this framework in partial trust mode, because you needed two private 
fields from BindingExpressions.

I found a solution to this problem (FieldInferenceRule):
var sourceItem = typeof(BindingExpression).GetProperty("SourceItem", 
BindingFlags.NonPublic | BindingFlags.Instance).GetValue(expression, null);

is also public available:
var sourceItem = expression.DataItem;

And
var propertyName = 
(string)typeof(BindingExpression).GetProperty("SourcePropertyName", 
BindingFlags.NonPublic | BindingFlags.Instance).GetValue(expression, null);

is also public available:
var propertyName = expression.ParentBinding.Path.Path;

I don't know if this will fix the whole XBAP problem, but it might be a better 
way of solving.

Original issue reported on code.google.com by [email protected] on 31 Mar 2011 at 7:43

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.