abhishek24509 / aribaweb

Automatically exported from code.google.com/p/aribaweb
Apache License 2.0
0 stars 0 forks source link

Compound @Embeddable primary keys are unsupported #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Create an @Entity that has a an Embeddable compound primary keys and try to
generate the UI using MetaUI

What is the expected output? What do you see instead?
The expected output is an UI to do CRUD with the Entity that has a an
Embeddable compound primary key, what I see instead is when I click the
"create" button: 

The following exception occurred while evaluating fieldpath: :
action="$actionClicked", Component:
ariba.ui.meta.layouts.MetaActionList@d3db5a
 The following exception occurred while evaluating fieldpath: :
action="$action", Component: ariba.ui.widgets.TextButton@1aa39a3
 Meta Context: Context: (18 entries)
class : mx.gob.tabasco.sbmi.entity.EntidadFederativa X
  module : mx.gob.tabasco.sbmi.entity.EntidadFederativa
    module_trait : ( ModuleClassPage ) ^
      layout : SearchPage X
        layout : SearchPortlet X
          dataSourceType :
ariba.ui.meta.persistence.ObjectContextDataSource
            displayGroup : true
              operation : list
                class_trait : tableZones ^
                  class : mx.gob.tabasco.sbmi.entity.EntidadFederativa
                    layout : ButtonArea
                      layout_trait : StaticActionButtons ^
                        filterActions : static
                          actionCategory : Manage X
                            action : Create X
                              action_trait : pageAction ^
                                actionCategory : Manage
                                  action : Create
  PropertyActivation...
                                      scopeKey : action !
                                        editing : false
                                          trait : pageAction
 Props:
    class_trait:tableZones;
        action_trait:pageAction;
    module_trait:[ModuleClassPage];
    pageName:MetaContentPage;
        layout_trait:StaticActionButtons;
        actionCategory:Manage;
        layout:ButtonArea;
    action:Create;
    pageBindings:{operation:create; clientPanel:null; layout:Inspect;
object:${displayGroup.insert()}};
    actionResults:${requestContext.pageWithName(properties.pageName)};
    trait:pageAction;
 Component Path:
        a:GenericContainer(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/
src/aribaweb/ariba/ui/aribaweb/core/AWGenericActionTag.awl:110)
        AWGenericActionTag(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/
src/widgets/ariba/ui/widgets/TextButton.awl:138)
        TextButton(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/src/
metaui/ariba/ui/meta/layouts/MetaActionList.awl:63)
        m:IncludeComponent(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/
src/metaui/ariba/ui/meta/layouts/MetaSearch.awl:17)
        m:IncludeComponent(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/
src/metaui/ariba/ui/meta/layouts/MetaDashboardLayout.awl:45)
        AWIncludeBlock(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/src/
metaui/ariba/ui/meta/layouts/MetaDashboardLayout.awl:20)
        AWIncludeBlock(/C:/Users/Luxspes/Libraries/aribaweb-5.0RC1/src/
metaui/ariba/ui/meta/layouts/MetaContentPage.awl:2) 

What version of the product are you using? On what operating system?

AribaWeb 5.0 RC1, Windows Vista 64 bit, JDK 1.6u6 x86, Eclipse Ganymede 3.4

Original issue reported on code.google.com by luxs...@hotmail.com on 3 Mar 2009 at 3:30

GoogleCodeExporter commented 9 years ago
See this thread for discussion:

http://groups.google.com/group/aribaweb/browse_thread/thread/1ba38c3d14336efd

Original comment by kingsley...@gmail.com on 4 May 2009 at 10:35