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

 




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

# Saved by TopBraid on Mon Oct 05 16:03:00 CDT 2009
# baseURI: null
# imports: http://www.topbraid.org/2007/05/composite.owl
# imports: http://www.topbraid.org/2007/06/inference.owl
# imports: http://www.topbraid.org/2007/01/forms.owl

@prefix composite:  <http://www.topbraid.org/2007/05/composite.owl#> .
@prefix conf:    <http://local/kennedys.owl.tbc#> .
@prefix daml:    <http://www.daml.org/2001/03/daml+oil#> .
@prefix forms:   <http://www.topbraid.org/2007/01/forms.owl#> .
@prefix inference:  <http://www.topbraid.org/2007/06/inference.owl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix simple:  <http://topbraid.org/examples/kennedys#> .
@prefix visual:  <http://topbraid.org/visual#> .
@prefix wizards:  <http://www.topbraid.org/2008/02/wizards.owl#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://local/kennedys.owl.tbc>
      rdf:type owl:Ontology ;
      owl:imports <http://www.topbraid.org/2007/05/composite.owl> , 
<http://www.topbraid.org/2007/01/forms.owl> , 
<http://www.topbraid.org/2007/06/inference.owl> .

simple:Person
      forms:keyProperties (simple:name simple:birthYear simple:deathYear) .

[]    rdf:type forms:Form ;
      rdfs:label "Resource Form" ;
      forms:parentOf
              [ rdf:type forms:Section ;
                rdfs:label "Personal Info" ;
                forms:childIndex 1 ;
                forms:numColumns "2"^^xsd:int ;
                forms:parentOf
                        [ rdf:type forms:Panel ;
                          forms:childIndex 1 ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 4 ;
                                    forms:predicate simple:gender
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 1 ;
                                    forms:hiddenIfNoValue
                                            "true"^^xsd:boolean ;
                                    forms:predicate simple:middleInitial
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 2 ;
                                    forms:predicate simple:lastName
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 6 ;
                                    forms:predicate simple:deathYear
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 0 ;
                                    forms:predicate simple:firstName
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 5 ;
                                    forms:predicate simple:birthYear
                                  ] ;
                          forms:parentOf
                                  [ rdf:type forms:PropertyWidget ;
                                    forms:childIndex 3 ;
                                    forms:hiddenIfNoValue
                                            "true"^^xsd:boolean ;
                                    forms:predicate simple:suffix
                                  ]
                        ] ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex "0"^^xsd:int ;
                          forms:predicate simple:photo
                        ]
              ] ;
      forms:parentOf
              [ rdf:type forms:Section ;
                rdfs:label "Professional" ;
                forms:childIndex 3 ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 1 ;
                          forms:predicate simple:profession
                        ] ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 0 ;
                          forms:predicate simple:almaMater
                        ]
              ] ;
      forms:parentOf
              [ rdf:type forms:Section ;
                rdfs:label "Family" ;
                forms:childIndex 2 ;
                forms:numColumns "3"^^xsd:int ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 1 ;
                          forms:predicate simple:spouse
                        ] ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 2 ;
                          forms:predicate simple:child
                        ] ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 0 ;
                          forms:predicate simple:parent
                        ]
              ] ;
      forms:parentOf
              [ rdf:type forms:PropertyWidget ;
                forms:childIndex 0 ;
                forms:predicate simple:name
              ] ;
      forms:parentOf
              [ rdf:type forms:PropertyWidgetGroup ;
                forms:childIndex 4 ;
                forms:predicateType rdf:Property
              ] ;
      forms:subjectType simple:Person ;
      forms:useDomain "true" .

[]    rdf:type forms:Form ;
      rdfs:label "Resource Form" ;
      forms:parentOf
              [ rdf:type forms:PropertyWidget ;
                forms:childIndex 0 ;
                forms:predicate rdfs:label
              ] ;
      forms:parentOf
              [ rdf:type forms:Panel ;
                forms:childIndex 1 ;
                forms:numColumns "2"^^xsd:int ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 1 ;
                          forms:predicate simple:ivyLeague
                        ] ;
                forms:parentOf
                        [ rdf:type forms:PropertyWidget ;
                          forms:childIndex 0 ;
                          forms:predicate simple:photo
                        ]
              ] ;
      forms:parentOf
              [ rdf:type forms:PropertyWidgetGroup ;
                forms:childIndex 2 ;
                forms:predicateType rdf:Property
              ] ;
      forms:subjectType simple:College ;
      forms:useDomain "true" .

Reply via email to