[JDev 9.0.3/JClient] ViewObject/Entity attribute: Display Hint ignored?

I have a small problem with the ability to hide ViewObject/Entity attributes in generated JClient Forms. Hope somebody might know a bit more of this issue.
When setting the "Display Hint" to "Hide" on an attribute (of either the Entity or ViewObject), the appropriate JLabel and JTextField (or whatever Swing control is used to edit the value) will not be hidden, neither at designtime nor runtime.
I'm not (yet ;)) an expert when it comes to JClient, but it seems to me that when I tell an attribute of a ViewObject to be hidden, I would expect that the visible property of the appropriate Swing controls be set to false. [ setVisible(false); ]
In some other thread [ http://forums.oracle.com/forums/message.jsp?id=1342592 ] I read that the problem might be related to setting the control hint AFTER the JClient Form was generated. However, in that same thread someone else suggested that the control hint is processed at runtime. So, I've tried both approaches: first setting the control hint, then generating the JClient Form and first generating the JClient form, then setting the control hint. Neither approach worked.
However, I did notice that after I set the control hints, the JClient Form wizard allowed me to hide 'hidden' attributes (which indeed were the attributes which I had specified to be hidden). So that worked ok. But even though I unchecked the hidden attributes box, the end result was still the same: a Form with all attributes on it. Running the project revealed that the controls were not hidden at runtime either.
Am I pherhaps missing something? Or else could this be a bug?
(As the subject indicates, I'm using JDeveloper 9.0.3 Production Release.)

Alright, consider this scenario:
I have a ViewObject with some attributes and in particular the attribute 'X'. In the database table column X is NOT NULL and so attribute X automatically is Mandatory. (This is correctly generated by the BC4J wizard.)
Next, I manually specify that attribute X is invisible (Display Hint). This should cause any bound Swing controls to become invisible when simply browsing the database. However, when inserting a new record, all controls associated with attribute X should become visible (since X is a Mandatory attribute). After the new record has been committed, the appropriate Swing controls become invisible again.
I suppose that this behavior could be the same for non Mandatory attributes, but that's (somewhat) less important.
In case you want a 2nd form in which existing records can be edited (including column X), attribute X should nolonger be invisible. Then the Swing controls bound to attribute X should be removed from the browse form and the 'insert capabilities' of that particular form should be removed as well. The new 2nd should be used for editing/inserting, while the 1st one is for browsing only.
I realise that this scenario may contain a couple of flaws, but it's to give you an indication of what I'd like to be able to do with the existing wizards and attribute editors.
Enjoy :)

Similar Messages

  • How to set VO attribute Display Hint in programmatic way

    Hi,
    I want to dynamically control the display of Attributes(Show/Hide) based on the other table results.
    Is there any way to contol the Display of the attibutes in AMImpl class ?
    Thanks,
    Swathi

    Hi,
    given that rendering is a client side interpretation (especially if it is conditional for each row in a table) I suggest using EL on the "rendered" or "display" property
    Frank

  • DBSequence type no longer available for entity attributes?

    I'm puzzled by this, if not scared.
    Every version of JDev till 11.1.1.2.0 has had out-of-the-box support for DBSequence as an entity attribute type.
    When you set it for your PK, JDev disables a few options, automatically sets "refresh after insert" (and maybe other stuff) and handles everything about it.
    Now, I see that in new applications created with 11.1.1.2.0 that option is no longer present...!
    It's available only for apps migrated from previous versions.
    If you create a new application, you no longer have DBSequence in the Type dropdown.
    Here's what the documentation (Oct 2009 DevGuide, par 4.10.10) says:
    In the Edit Attribute dialog, you can set the value of the Type field to the built-in data
    type named DBSequence and the primary key will be assigned automatically by the
    database sequence. Setting this data type automatically selects the refresh after Insert
    checkbox.Where on Earth is this built-in data type named DBSequence in Jdev 11.1.1.2.0?

    Thanks Paul.
    It seems JDev broke my application.
    It only shows the native Java types in the dropdown, and does not show any of the Oracle types including Number, DBSequence and all the rest.
    (Note that all the connections I work with use the Oracle type map, of course - it's automatic.)
    I tried a new quick test with a new application and again, no Oracle types, just the java types.
    Then closed and reopened my applications as well as JDev and I can now see all the types in my quick test.
    However, my original application still "sees" no Oracle types, it's stuck with the Java types.
    I'll try to see if I can repair it in some way... I'll eventually put it down as one of the gazillion one-time bugs that JDev shows daily.

  • Bug: unable to rename entity attribute (jdev903)

    Hi,
    I have an entity and a view on it.
    One of the entity attributes has the wrong name, so I tried to rename it, but jdev gave me a warning that it couldn't rename the attribute because the view is dependent on it. Sounds fair (although I wish it would rename the attribute in the view along with it, (refactoring)).
    Then I removed the attribute from the view, and try to rename the entity attribute again. It still can't rename it! I've verified twice to see if the attribute was actually removed from the view, which it was, so this is definitely a bug.
    Greetings,
    Ivo

    Ivo want's to rename the attribute in the entity object without first removing the attribute from the view object. That this isn't possible right now probably isn't a bug, because in your scenario you keep that in mind, so you manually first remove the attribute from the view object. But it would be nice if JDeveloper automatically renames the attribute in the view object too (instead of "complaining" about the dependency). And if you for example remove an attribute from an entity and a view object depends on it, it will ask you to remove the attribute from the view object(s) too etc.

  • Urgent: Entity Attribute for this View Attribute cannot be in 'irc'

    Hi ,
    I am trying to extend AplAssgHistoryVO.xml to one extra field 'Chnaged By' as per our critical ptoduction requirement.
    I have downloaded the following TOPs under $JAVA_TOP
    (a) /oracle/apps/irc
    (b) /oracle/apps/per
    (c) /oracle/apps/ben
    (d) /oracle/apps/xdo
    (e) /oracle/apps/ota
    (f) /oracle/apps/pay
    I have copied these TOPs to my 'D:\p6908968_R12_GENERIC\jdevhome\jdev\myprojects' directory.
    Now when I have cerated one .JWS file and one .jpr under that.
    Now when I tried to expand oracle.apps.irc.applicant.server it is giving the following error:
    oracle.jbo.dt.objects.JboException: Entity Attribute for this View Attribute cannot be found.
    oracle.apps.xdo.oa.schema.server.TemplatesVlEO.DataSourceId
    oracle.apps.xdo.oa.schema.server.TemplatesVlEOView.DataSourceId
    Please could someone tell me why this error is coming. Whether I have to download any other patch/library/TOPs for this.
    Thsnka in advance for your help.
    Thanks and regards,
    Sunil Kanlti Malik

    Hi Abdul,
    Thanks for your reply.
    This is seeded one. All I am doing to try to extend it.
    Please could you let me know what are other TOPs we need to download to extend it.
    I am really stucking at this point as I do not know which other TOPs or library I need to download.
    Also I could not find the meneitoned item insode the TemplatesVIEO.
    Thanks in advance for your help.
    Thanks,
    Sunil

  • Tracking entity attribute changes

    Hi,
    I need to keep track of entity attribute changes ( and also creation and deletion of entity itself) in a DB table. In ADFbc, is there a way to identify
    the changes in entity (attribute changes, creation of entity and deletion of entity) before and after commit?
    Example
    Employee entity with ID 747 was modified, Name attribute changed from A to B.
    New Department with ID 401 has been created
    Department with ID 911 was deleted
    Jdev - 11.1.1.5.0
    Thanks

    Are you talking about tracking the ADF BC entity or tracking changes done to data in the database through an entity?
    For the later, if you want to record every change in data I would suggest using database triggers on the database tables.
    If you rather do it in the ADF BC layer then you can override the EO's DoDML/remove and create methods to put the data about changes in whatever log you want.

  • Oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "" specified for the View Attribute ""

    HI, I'm using JDEV 11.1.1.6.0
    I am encountering this error msg on one VO
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
    I have searched for similar problems for others and have checked the relevant XML file and have seen that the entries are correct.
    If I delete this attribute and add it again, the error come up for the next attribute.
    Earlier the EO had a few attributes then according to further requirement changes, we add new attributes to the Table and Synchronized the EO's.
    Then added these Attributes to the VO. This application Runs fine when tested in AppModule but when dropped on page, it gives the above error.
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
      at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
      at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
      at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:871)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1640)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:316)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1833)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1927)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:369)
      at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
      at javax.el.MapELResolver.getValue(MapELResolver.java:164)
      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
      at com.sun.el.parser.AstValue.getValue(Unknown Source)
      at com.sun.el.parser.AstNot.getValue(Unknown Source)
      at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:506)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.isDisabled(GoLinkRenderer.java:681)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.handleInaccessibility(GoLinkRenderer.java:584)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.encodeAll(GoLinkRenderer.java:131)
      at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.encodeAll(CommandLinkRenderer.java:159)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Jul 3, 2013 4:12:48 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@60954909[app:com.magma.application.model module:viewcontroller-context-root path:/viewcontroller-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      Truncated. see log file for complete stacktrace
    >
    <Jul 3, 2013 4:12:48 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 3, 2013 4:12:48 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jul 3, 2013 4:12:48 PM IST SERVER = DefaultServer MESSAGE = [ServletContext@60954909[app:model module:viewcontroller-context-root path:/viewcontroller-context-root spec-version:2.5]] Servlet failed with Exception
    oracle.jbo.PersistenceException: JBO-26010: Invalid Entity Attribute Name "CorrespondenceAddressFlag" specified for the View Attribute "AddressDetailsVO"
      at oracle.jbo.server.ViewDefImpl.doAddEntityAttribute(ViewDefImpl.java:7078)
      at oracle.jbo.server.ViewAttributeDefImpl.loadFromXML(ViewAttributeDefImpl.java:2099)
      at oracle.jbo.server.ViewDefImpl.loadAttributes(ViewDefImpl.java:6816)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:4453)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3946)
      at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:3894)
      at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:554)
      at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1232)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:603)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:523)
      at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:505)
      at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:780)
      at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:845)
      at oracle.jbo.server.AMViewUsage.createViewObject(AMViewUsage.java:112)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:660)
      at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:921)
      at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:493)
      at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:87)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:158)
      at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
      at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
      at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
      at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
      at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:871)
      at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1640)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:566)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:316)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1833)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1927)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:369)
      at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
      at javax.el.MapELResolver.getValue(MapELResolver.java:164)
      at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
      at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
      at com.sun.el.parser.AstValue.getValue(Unknown Source)
      at com.sun.el.parser.AstNot.getValue(Unknown Source)
      at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
      at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:506)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.isDisabled(GoLinkRenderer.java:681)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.handleInaccessibility(GoLinkRenderer.java:584)
      at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.encodeAll(GoLinkRenderer.java:131)
      at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.encodeAll(CommandLinkRenderer.java:159)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:406)
      at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
      at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
      at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
      at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
      at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = NRSAWANT-IN TXID =  CONTEXTID = 94d3e58da1320945:-18bd848a:13fa41f0152:-8000-000000000000001c TIMESTAMP = 1372848168531 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Jul 3, 2013 4:12:49 PM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in d:\jdev_home\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_31 with a lockout minute period of 1.>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,804 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,803 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,800 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,802 during the configured idle timeout of 5 secs>
    <Jul 3, 2013 4:12:52 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 10.180.183.77:57,801 during the configured idle timeout of 5 secs>

    Just to confirm that this is not a Library or deployment setup problem, Now, I changed the deployment scope to include business components in the ViewController to just to be sure it was being picked up in the ViewController too. I Created a separate AppModule in the ViewController and Added the VO to it, It Ran Properly including the Addition and Commit Control.

  • How to find view attribute is from entity attribute programatically

    Guys,
    How to find if a specfic view attribute is from entity attribute programatically?

    Hi,
    ViewObject --> get AttributeDef("name of attribute")
    http://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/StructureDef.html#getAttributeDef_int_
    AttributeDef --> getAttributeKind
    http://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/AttributeDef.html
    If this matches AttributeDef.ATTR_ENTITY_DERIVED then the attribute is entity based
    Frank

  • DBSequence entity attribute type not available

    Hi OTN,
    I want to set an entity attribute type to DBSequence. But there's no such type in a drop-down list, only Java types.
    I tried to set the type in source manually but at runtime framework doesn't assign a negative integer to the attribute at Create operation.
    In simple test application DBSequence type is available and negative integers get assigned.
    I have found a proper thread (Re: DBSequence type no longer available for entity attributes? but the solution there is to recreate the whole datamodel. That isn't suitable for me.
    Maybe there is a better solution now?
    Jdeveloper 11.1.1.2, ADF BC
    Thanks.

    I logged Bug 9380578 - "SQL FLAVOUR" AND "TYPE MAP" CAN BE CHANGED IN "PROJECT PROPERTIES"
    (published in My Oracle Support).
    NB: in JDeveloper 9.x, it was possible to change the "SQL Dialect" (as it was called at that time), but the ADF BC objects and the custom code weren't changed;
    hence it was decided to gray out that choice after the Project creation.
    Regards,
    Didier.

  • Display entity-attributes and global-attributes in the same screen

    Hi,
    I have a question about entity.
    Is it possible to display in the same screen, entity-attributes and global-attributes?
    thanks
    Rosalia

    Hi Rosalia,
    You can only display attributes from the current entity and the entity or entities that it is contained by (the parent entities).
    So if you had the following data model
    Global
    ..the person
    ...the income
    the person is contained by global.
    the income is contained by the person (which is contained by global).
    If you want to create a person-level question screen, you can display global attributes on that screen by using subsitution like %global_field_1%. You cannot, however, input global attributes on that screen (ONLY attributes belonging to the person)
    If you want to create an income-level question screen, you can display attributes from the person such as "tell us about %person_name%'s income..." as well as global attributes. Again, you cannot input person or global attributes on that screen (ONLY attributes belonging to the income)
    However it only works from child-to-parent containment relationships! You cannot have a global question screen which loops through the person instances and displays attributes from the person, or from the income out-of-the-box.
    We have managed to implement this using custom controls.
    You can map individual attributes back up to the parent level, and then display them,
    such as
    the first person's name = InstanceValueIf(the people, the person's name, the person's id = 1)
    the first person's name is now a global attribute and can be displayed on global question screens.
    Hope this helps!
    Ben

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • ADF JDeveloper 10.1.3.4.0 Entity Attribute validation not propagated to UI

    Hi,
    I'm trying to use entity attribute validation in an ADF Faces / ADFm / ADF BC application. However the validation error
    is not propagated through the BindingContainer to my ADF Faces Page. When I customize and override the DCErrorHandler that
    is registered on the BindingContext the reportException() method doesn't fire.
    Anyone have an idea how to debug this Validation error gone lost ?.
    Thanks,
    Kenneth

    Hi,
    is it getting propagated without your custom error handler ?
    Frank

  • JBO-26010: Invalid Entity Attribute Name

    Hi All,
    The requirement is to add a new field on the page but that field is not getting selected in the core EO, so I have extended the EO and than extended the VO based on that extend ed EO.
    After that I followed usual steps to import then personalised and added the new field ...bounced every thing but when I am testing got following error:
    ## Detail 0 ##
    JBO-30003: The application pool (oracle.apps.pon.negotiation.creation.server.NegotiationCreationAM) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26010: Invalid Entity Attribute Name "Description" specified for the View Attribute "XxAuctionHeadersAllVO"
    ===========
    When I checked the "XxAuctionHeadersALLEO.xml" it has only entry of new attribute. But in "XxAuctionHeadersAllVO.xml" it has the complete SQL ....so is that can be a problem?
    I have run the query from "XxAuctionHeadersAllVO.xml" in toad and it works fine.
    Thanks!

    Yes it is...:-)
    Anyways thanks for the reply..
    The Base EO - AuctionHeadersALLEO which I have extended to XxAuctionHeadersALLEO
    I have already performed both the steps suggested by you (i.e. option 1) so after Substitute the custom VO "XxAuctionHeadersAllVO" on top of standard VO "AuctionHeadersAllVO" when I tested the change I have got the above error : JBO-26010: Invalid Entity Attribute Name "Description" specified for the View Attribute "XxAuctionHeadersAllVO"
    So in custom VO (and also in standard VO) select it's just references it as "AuctionHeadersALLEO.DESCRIPTION" but the field is in AuctionHeadersAllBaseEO.xml not in AuctionHeadersALLEO.xml
    so I don't understand how it works in the standard product?
    Is it any better? Or do I have to be more clearer :-(

  • UIX  validation entity attribute on page multiple times via different views

    We have a situation where an ADF entity attribute appears in multiple views which appear on the same page. Each view selects a different entity row.
    When validation fails on one of these attributes, we register an AttrSetValException, as we want to take advantage of attribute level error messages.
    The problem is that the validation error message appears for all messageTextFields (for the same entity attribute) when only one of the fields failed validation. Also, the invalid value replaces all input fields even if the other ones were not changed by the user.
    I have tried using ex.setNeedsEntityToVOMapping(true) on the exception to no avail. It is as if the entity validation is unable to discriminate between view usages of an entity attribute.
    Steve Muench, I have read much of what you have written, but have not seen this particular scenerio. Any advice would be welcome.

    The issue is fixed. The reason of the problem that I missed overwriting of the validateParameters() in the custom controller class and the custom parameter was missed from the parameter list and it effected parameter validation error.

  • Designer Entity-Attribute 'Description' storage - where is it?

    I'm searching for the Oracle Designer table that holds the Entity-Attribute 'Description' text.
    I've found the Entity-Attribute 'Notes' in the CI_ATTRIBUTES table but haven't located the 'Dscription'.
    I'm also having trouble locating the 'Description' text for Entities.
    My intent is to move all of the text from the 'Description' to the 'Notes' and migrate the text in the 'Notes' field forward. This would be a lot of cut and paste work if done in Designer.
    -Ken

    Hello
    this info is in the generoc cdi_text view available. Txt_type = 'CDIDSC'
    Regards Erik

Maybe you are looking for