Hello Tim; I think the key to some of the issues here may be clearing sessions. The layout information is contained in the .tbc file on the server (TBC-ME/Live) and is therefore sent to the Ensemble client in the session.
So, to change a layout, you need to follow three steps: 1. In Composer: make layout changes to the class definition 2. In Composer: save the model (which saves changes to the .tbc file) 3. In Ensemble: Go to TopBraid Live Server Administration in the console, and clear session information The layout (and instance/grid layout) changes should then appear in your Ensemble apps. If you are doing this and not seeing your changes, then there may be some session data saved in your server project. See the server.topbraidlive.org project. This project can be deleted to start fresh (it will be re-generated by TBC-ME), but be sure to save any information you've added, such as Application Configurations (server.topbraidlive.org/dynamic/user-applications). <When running TBC-ME/localhost (w/ Firefox), should I expect Ensemble to always mirror the TBC layout?> Given the above and Irene's caveats, yes. <Is the KennedysSPIN form layout somehow tied to the Kennedys layout?> kennedysSPIN, it imports kennedys.owl and therefore its form layouts. <I should have said 'using labels in the form layout'> Sorry, I should have figured this one out. I'm getting labels to display OK in Ensemble. <With respect to un-populated properties not showing up in Ensemble, do the properties need to have domain/range entries to show up?> No, for example, if you remove :Person from the domain of :suffix in the kennedys model, the suffix property still appears. Try the above and the property should appear regardless of domain/range definitions. <I also noticed this console error. Not sure if it is related.> Probably is related. This could indicate the that default application has been modified/corrupted. I'd suggest removing topbraid live server project - copying your user defined application, components, etc. first. -- Scott On Oct 9, 2:44 pm, "Smith, Tim" <[email protected]> wrote: > Hi Scott, > > A couple of questions and results: > > When running TBC-ME/localhost (w/ Firefox), should I expect Ensemble to > always mirror the TBC layout? > > Is the KennedysSPIN form layout somehow tied to the Kennedys layout? > > Testing Results: > > Replacing the .tbc file for Kennedys.owl with the one you provided changes > the layout as expected in TBC. > However, Ensemble does not change, even after exiting TBC, Firefox, clearing > the Firefox cache, etc... > > When I referred to the "Shading of Property Names" I should have said 'using > labels in the form layout'. The labels show up in TBC as shaded and bold > (see screenshots below). However, these changes don't show up in Ensemble. > > With respect to un-populated properties not showing up in Ensemble, do the > properties need to have domain/range entries to show up? Once I added > domain/range to some of my properties in my Project ontology, they showed up > in Ensemble. > > I also noticed this console error. Not sure if it is related. > > PathInfo: /server.topbraidlive.org/dynamic/applications/Default Application > (con > figurable).n3/-/TopBraid/Examples/flex.topbraidlive.graph.impl.swf > Context: > flex.topbraidlive.graph.impl.swf > [TopBraid Warning] org.topbraidcomposer.core: Failed to > importhttp://www.tqinc. > info/tbl-ui.owl (http://www.tqinc.info/tbl-ui.owl:Not Found (404)) > Oct 9, 2009 3:38:29 PM org.topbraid.core.log.CommonsLogger logWarning > WARNING: Failed to importhttp://www.tqinc.info/tbl-ui.owl > org.topbraid.core.io.HttpException:http://www.tqinc.info/tbl-ui.owl:Not Found > (404) > at org.topbraid.core.io.IO.openURL(Unknown Source) > at org.topbraidcomposer.core.io.TBCIO.loadModel(Unknown Source) > at org.topbraidcomposer.core.io.TBCIO.loadModel(Unknown Source) > at org.topbraidcomposer.core.io.TBCIO.loadModel(Unknown Source) > at org.topbraidcomposer.core.io.TBCIO.loadImportedModels(Unknown > Source) > > at org.topbraidcomposer.core.io.TBCIO.loadImportedModels(Unknown > Source) > > at org.topbraidcomposer.core.io.TBCIO.loadImportedModels(Unknown > Source) > > at org.topbraidcomposer.editors.ResourceEditor$8.run(Unknown Source) > at > org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal > Context.java:121) > > I must be missing something or not clearing a cache somewhere. > > Tim > > [cid:[email protected]] > > [cid:[email protected]] > > From: [email protected] > [mailto:[email protected]] On Behalf Of Scott Henninger > Sent: Monday, October 05, 2009 5:16 PM > To: [email protected] > Subject: [tbc-users] Re: Forms in Ensemble and TBC-ME > > Tim; Sometimes it's hard to talk about these issues in the abstract. So I've > included a .tbc file for the kennedys.owl model. This modifies the layout > some for Person and College forms, and the grid layout. > > You may want to take a look at the current layout in the Library/Examples > first, then copy this file, refresh and look at the layout. > > For these examples, I'm seeing the Composer and Ensemble layouts mirror each > other. > > The empty properties do show up, unless the "Hidden if property has no value" > check box is selected. Is this not happening for you? I am using Firefox > and IE on Windows. > > If there are specific things not happening, maybe you could modify the .tbc > in the problematic areas and pass that back? > > I'm not sure what is meant by "shading of property names"? > > -- Scott > > Smith, Tim wrote: > > Hi - I've been creating custom form layouts within TBC so that the properties > that I want people to populate are shown on the form even though there is no > specific reason they should be related to the class of interest - i.e. no > domain/range triples or restrictions. > > I can make it look good in TBC but Ensemble does not pick up the layout. > Note that all of the properties are empty so all that is showing in TBC is > the Label and/or panel I created and the drop down arrow to add blank rows, > existing entries, etc. > > If I add a row to a property, they do show up in TBE once I refresh TBE but > otherwise, none of the empty properties or associated labels and panels show > up in TBE. Once I get it to appear in TBE I can also add new rows and > instances there as well. > > It seems like this was discussed here recently but a search of the group did > not turn up an answer. > > I need for TBE to display the same layout and shading of the property names > that I find in TBC. So far the test users are not impressed by the basic > "list" format for properties so I'm trying to dress it up a bit. > > What am I missing in order to ensure TBE picks up the custom layouts? I've > tried modifying the search and edit form layouts too but no luck. I'm using > TBC-ME 3.1.1 > > Thanks, > > Tim > > image001.png > 169KViewDownload > > image002.png > 175KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer 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/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
