You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi,
Im creating a data model for Telecom services. As part of this i defined a Business entity called service with multiple elements. Some elements have a choice functionality ( XSD:Choice) where the given element can only take one of the possible types defined in it. For example WANRoutingProtocol can be either be BGP ( Predefined Complextype) OR Static(Predefined Complextype). While creating the view for Service it shows both BGP & Static ( even though I have defined Routing protocol as a complext type of type choice. Heres how i created the Routingprotocol entity but im sure its incomplete Can you help me on how to go about this?
<Service>
<ServiceType="abc"/>
......................
................
<xsd:name= "RoutingProtocol">
<xsd:complexType>
<xsd:choice>
<xsd:name="bgp" type="BGPProtocol"/>
<xsd:name="static" type="StaticProtocol"/>
<xsd:choice/>
<xsd:complexType/>
.........................
Im having trouble creating view to support Routing protocol to be selected as either of the two. I tried by creatinga type out of the choice and instantiating it as a Business Entity.
Is there a specific foreignkey filter i need to create for this? I know i am missing out something important but not able to put my finger on it. Heres what i want to do
User is given option to choose Routingprotocol type as either bgp or static. Based on the choice the webui exposes the appropriate object for data entry. Service contains multiple such parameters apart fro mRouting protocol and all must be displayed on the single view. I did define all the entities in the searchable businessentities part of the view and can see the option Service in the first dropdown ( in the search bar) however the secondary dropdowns are not populated by the WebUI.
Offline
Pages: 1