New Posts New Posts RSS Feed: [COMPLETED] Widget View Template
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

[COMPLETED] Widget View Template

 Post Reply Post Reply Page  <1 234
Author
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Topic: [COMPLETED] Widget View Template
    Posted: 13-Sep-2007 at 5:20pm
I'll be happy to help you with this (and the additional issues raised in your e-mail to support) when I return on Tuesday.
 
Bill J.
Back to Top
Linguinut View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Jun-2007
Location: United States
Posts: 394
Post Options Post Options   Quote Linguinut Quote  Post ReplyReply Direct Link To This Post Posted: 13-Sep-2007 at 10:09am
I built a loose controls widget for my address master table.  This table is related to the customer master table.  I have a page layout for customers using a search summary/detail layout.  My desire is to add the new address control to the tabs.  Here is my code:
 
TabViewControllers.Add(new GeneralTabViewController<AddressView>("Addresses","Customer Addresses", true));
 
When I run this I get the following error:

The item type of the BindingSource that you selected [Spiratex.Aspire.Model.CustomerMaster] does not match the BoundType of this BindingManager [Spiratex.Aspire.Model.AddressMaster].


I thought I could setup a view with relational ignorance; however, that does not seem to be the case.  How would I create a widget that will reflect related items and NOT be a readonly entity list?
 
Thanks!
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 11-Sep-2007 at 12:15pm
Right.  You'd do that by modifying the page controller code for the layout view to create the desired widget view.
 
Bill J.
Back to Top
Linguinut View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Jun-2007
Location: United States
Posts: 394
Post Options Post Options   Quote Linguinut Quote  Post ReplyReply Direct Link To This Post Posted: 11-Sep-2007 at 12:00pm
Are there five classes of wizards, then?
 
1)  Application
2)  Business Module
3)  Page Layout
     a)  Search Summary/Detail
     b)  Search Results
     c)  Summary/Detail
4)  Views (widgets)
     a)  Grid (DotNet only?)
     b)  Controls
5)  Helper (only grid builder, so far)
 
If I build a layout the wizard can setup the view I would like with it; however, that view could easily be replaced by another view that I create with one of the widget wizards, right?
Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 11-Sep-2007 at 11:51am

So far, the two widget view templates are ControlView and DotNetGridView.  The others are considered layout view templates (except the GridBuilder which is a helper class template).

When building views, we recommend clearly separating the concept of "layout views" that define the structure of a portion of screen real estate and "widget views" that actually display data in a particular set of controls.
 
Bill J.
Back to Top
Linguinut View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Jun-2007
Location: United States
Posts: 394
Post Options Post Options   Quote Linguinut Quote  Post ReplyReply Direct Link To This Post Posted: 10-Sep-2007 at 6:35pm

Again, great job on the templates/wizards!

I was playing around with creating a customer page with contact details.  I would like to present the contacts in a view with a navigator.  When reading about the summary view, I ran across the statement:
 
"use one of the widget view templates to create and design a new summary view"
 
I am not sure what a widget view template is.  What are these templates and how would I use them?
 
Thanks,
Bill


Edited by Linguinut - 28-Sep-2007 at 4:54pm
Back to Top
 Post Reply Post Reply Page  <1 234

Forum Jump Forum Permissions View Drop Down