Defaulting Values and Read-Only Items?

Hi All,
Brand new to APEX and trying to think of ways to get a few things working for me hoping you might have some suggestions.
1. Want to have a few items default upon the creation of a record.
- Created Date - have a column/page item that I would like to default/auto populate with the current date
- Create by - would like to have column/page item default with the login id of the user
2. Dynamically make page/items read-only.
- Once a record is created I would like to ensure that the only person able to edit the record would be the creator. I assume I can use the Read Only feature at the item level but am unsure of the syntax to use to make the item read-only for only the user who created/or is creating the record. Since I would like to be defaulting the "Create by" (see question 1) column to the login id of the user this should be plausible just not sure of the syntax to reference the current user id.
3. Passing a value to to bind variable.
- I have build a basic page with an Interactive Report and have made one of the columns in the Interactive report 'linkable' which launches a BI Publisher report by calling a Report Query. Currently in my report query I have hard coded a value in the SQL statements where clause to prove the theory works what I am struggling with is a declarative way to pass the value that I am clicking to a bind variable in my SQL statements where clause in the query.
Thanks in advance for any suggestions and appreciate your patience with an APEX newbie .. about 2 days old at this juncture. The more specific you can be on what to do and where to go is greatly appreciated.
For those interested in have greater control with your report layout BI Publisher looks to be a great options. I was able to getting by reviewing [how to document:|http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html] on OTN. My challenge some in the fact that rather then simply being on the exact row that I want reported on I would like to simply click on a link in a list and pass that value as the bind variable.
JES

Hi -
"1. Want to have a few items default upon the creation of a record."
This is typically done in a trigger at the db level.
CREATE OR REPLACE TRIGGER mytrigger
BEFORE INSERT OR UPDATE
ON mytable
REFERENCING NEW AS new OLD AS old
FOR EACH ROW
BEGIN
  if (:new.CREATED_DATE is null)
    then
      :new.CREATED_DATE := sysdate;
    end if;
  if (:new.CREATED_USER is null)
    then
      :new.CREATED_USER := nvl(v('APP_USER'),user);
    end if;
  :new.UPDATED_DATE := sysdate;
  :new.UPDATED_USER := nvl(v('APP_USER'),user);
END CREATE OR REPLACE TRIGGER mytrigger;"2. Dynamically make page/items read-only."
See 'APP_USER' in the Apex docs...
"3. Passing a value to to bind variable."
This is done in the report configuration in the Apex UI...
Session State Include application and session information.
You might want to consider reviewing some of the Apex docs and tutorials, I recommend this:
[http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13367/toc.htm]
Good luck.

Similar Messages

  • Default value for Read-Only Picklist Field

    Hi, all--
    I would like to have a default value ("Undetermined") for the "Associated Account" read-only picklist value. I have an account record of this value for this purpose. This is because if there is no value in the field, the record will not be included in a report that includes the field. I do not want to make the field required at this point.
    Field management doesn't appear to allow any default value for read-only picklists. Does anyone know how to get around this, either at the lead record stage or at the lead report stage (without resorting to an analytic, which won't work for what we are doing)?
    Thanks.

    That's a great question. It doesn't appear as though you can select it from the typical method of Admin | Application Customization | Lead | Lead Field Setup | Associated Account.
    Have you tried creating a workflow to populate the field using Before Modified Record Saved?

  • Session state protection and read-only items

    I have a requirement to create a report + form for a database table. In the form, there is mandatory database column that needs to be displayed but it should be read-only and its value derived using values entered elsewhere on the screen.
    It tried Display Only, Read Only and Disabled but they either fall foul of session state protection violation or ORA-01400: cannot insert NULL. The best method that I've found was to add readonly="readonly" the item element, but this causes the input item to lose its APEX classes and I'd prefer a declarative solution anyway.
    Anyone know the best approach?
    I've created a DEMO - http://apex.oracle.com/pls/apex/f?p=READONLY - which demonstrates the 4 methods.
    Edited by: KGelling on 17-May-2012 06:10

    KGelling wrote:
    The best method that I've found was to add readonly="readonly" the item element, but this causes the input item to lose its APEX classes and I'd prefer a declarative solution anyway.Looks like a bug to me. However a possible explanation/justification for this behaviour is that the HTML Form Element Attributes are often used to specify a custom class for the item, so the default class is removed to prevent any conflicts. IMO APEX needs to provide declarative support for the use of multiple, space-separated class values in page, region, item etc attributes.
    As a workaround in this case, just include the class in the HTML Form Element Attributes:
    class="number_field" readonly="readonly"
    I've created a DEMO - http://apex.oracle.com/pls/apex/f?p=READONLY - which demonstrates the 4 methods.
    Thanks for making the effort.

  • Inferred Values and read only

    We've been told that the default on the inferred value changed from version 9 to version 10 from read-only to writable. This messes us up on testing because it does not indicate which values are inferred and which aren't so it's possible values could get changed that were inferred.
    This can be fixed by us re-factoring our code to mark the value read-only we are told. This is quite a bit of work though and it concerns me that a default was changed without regard to legacy code.
    Is it possible that an option could be set to determine default value for inferred rules or a rule put in place that blankets all inferred values?

    It sounds like you are authoring interview screens that include the inferred values. Is this because sometimes you want data to be entered into those fields (i.e. when no value has been inferred when that screen is displayed)?
    If not, what is the reason for showing the inferred values on the screens, instead of at the end of the interview, and could you not just default the inferred fields to read-only in your screen definition?
    Davin.

  • AJAX and Read-Only Items

    I used the examples from Carl Backstrom and Denes Kubicek to get my cascading select list working.
    I have two select list fields (Origin and Type) that I use to determine the data to appear in a third select list field (Customer).
    With help from people on this forum I was able to get things to work.
    Now I have an issue when I conditionally make the Origin field "read-only".
    When this occurs, data appears in my "Customer" select list on the INITIAL display of the form.
    However, when I change the value in the "Type" select list field, no data appears in the Customer select list.
    If I change the "Origin" field to NOT be read-only, I can change the value in the "Type" select list field and everything works OK.
    I hope I have given enough information.
    THANKS in advance.
    Raymond

    Raymond,
    It looks like read-only select is really special:
    (I replaced < > with [])
    When select is not read-only generated html is:
    [select name="p_t01" size="1" id="P1_ORIGIN_NO"
    onchange="get_AJAX_SELECT_XML('P1_ORIGIN_NO','P1_DISPLAY_SSA','','','P1_CUSTOMER','CASCADING_CUSTOMER_LOV')";
    [option value="%null%"]%[option]
    [option selected="selected" value="001"]DOTIKI MINE[option]
    [option value="S01"]ECO COAL PELLETIZATION NO. 12, LLC[option]
    [select]
    It means that P1_ORIGIN_NO in  get_AJAX_SELECT_XML will be "001"
    But when select is read-only your html code is:
    [input type="hidden" name="p_t01" value="001" /]
    [span id="P2_ORIGIN_NO"
    onchange=
    "get_AJAX_SELECT_XML('P2_ORIGIN_NO','P2_DISPLAY_SSA','','','P2_CUSTOMER','CASCADING_CUSTOMER_LOV')";
    DOTIKI MINE
    [span]
    [pre]
    P2_ORIGIN_NO in  get_AJAX_SELECT_XML will be "DOTIKI MINE" which I think is wrong.
    It looks like for read-only you need hidden item with code of
    drop - down list or somehow you have to reach [input type="hidden" name="p_t01" value="001" /]
    Lev
    Message was edited by:
            le                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Set the value and read Only attributes just before PageLoad

    HI All,
    I am using JDev ver 11.1.1.4.0.
    Is there any event in ADF equivalent to PageLoad event of ASP.NET where we can set the components property on page load.
    When I try to access components in the beforePhase of any any Phase I get NullPointerException.
    Thanks,
    Rohit

    Hi,
    You can use dummy component with binding value attribute to bean with setter and getter in get method you can access components.
    private String dummyText;
        public void setDummyText(String dummyText) {
            this.dummyText= dummyText;
        public String getDummyText() {
    Implement your components access here..
            return dummyText;
        }

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

  • Setting default value of Tabular form item is not working

    Hi,
    I have a tabular form and in that I want to set the default value of the username to app_user. So in the default value of the item, I wrote v('app_user') and type Pl/SQL, but that does not seem to work. I tried the static application & page item with :app_user. That threw an error.
    Also, I wanted to populate the date field in one column. Doesn't sysdate work?
    Thanks,
    Sun

    Bob, I did read that. MY problem is that it is still not working. I am wondering if this is because the table is in execute query mode maybe? I am wondering if the default value needs to be added after the tabular data is populated through some other way? Maybe the default value would work only for static non database items?
    ThanksYou're right, I just tested that using the default setup on the column in report attributes and it did not work.
    I think you'll have to update the columns with the default value post query but I'm not sure exactly what you need to do.
    I have a form that has a weight entry column. I tried changing the query to set the default value in the query
    from..
    Select Weight
    From...
    to
    Select 999.99 Weight
    From...That appeared to work, but the 999.99 value was not populated back to the Database since it wasn't entered through the form UI. APEX maintains the entered values internally so it can do its checksumm processing and update modified rows back to the DB. I'm thinking you could update what needs to be updated using Javascript in a Dynamic Action, but I'm afraid I don't know how to do that.
    Excuse my incorrect assumption when first replying.

  • Read only item populated by dynamic LOV

    Since I'm using artificial keys in most of my table FKs, I need to use a lot of LOVs to provide the user with discernible data.
    Many of the columns I use an LOV for I need to be read only items. However, whenever I use a dynamic LOV, I do not see how to make it read only. It sets the value of the item to [].
    I know this can be accomplished in some cases with a join in the underlying query. However, many of the pages where I need to make this change are not based on a query.
    Is there a way to make an item populated by an LOV read only while still retaining the value?
    Thanks for your help!
    -Reid

    I'm using apex 3.2.1. Your testing and replies have helped me realize that the problem is that the column indeed did not have a value. When I had the item "display as" set to "select list" the LOV was also setup for allow NULL=NO. Thus, it was showing some value in the LOV in that item. But, when I switched to the "display as text" and set the always read only, then it gave the double brackets []. When I changed the allow NULL=YES, it worked fine and gave me a blank value.
    Thanks again!
    -Reid

  • SSRS 2008 R2 Report parameters have default values and report not to auto run

    Hi, I am using SSRS 2008 R2 one of my requirements for a Report is all the parameters have default value and I do not want this report to auto run when users open this report. I can create a dummy hidden parameter to break the auto run for this
    report. But I am looking for solutions other than that.
    Thanks in advance..........
    Ione

    Hi lone,
    According to your description, you have a report with parameters. Now you want you report not to run automatically with your parameters default values. Right?
    In Reporting Service, if you have parameters with default values in your report, your report will always auto run with these default values. We can say these default values are used for report running initially. So for your requirement, if you really need
    to see your default value before the report running, the best workaround is set one more parameter to break the auto run like you have done. If you just want your report not to auto run, your can achieve it by removing those default values.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • How to put a default value in a dropdown item (charasteristic selection)

    Hello all,
    Does someone know how to put a default value inside a dropdown item bided to a 0FISCYEAR charasteristic selection ?
    For instance, I would like that only values for the year "2007" would be displayed at the execution of the web template (containing 1 analysis) in the browser.
    Best regards,
    Mickael

    error code with selection variable in the drop down item, in a template containing a navigation pane :
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2150) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:931) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:873) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:324) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380) at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62) at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:2735) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2478) at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2432) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2054) ... 36 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:83) at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376) ... 42 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 47 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 52 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 62 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 66 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 76 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 80 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 85 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 95 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 99 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 104 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 114 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 118 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 128 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.items.navigation.control.AcQueryNavigation.iterateOverChildren(AcQueryNavigation.java:126) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 132 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tree.impl.AcTreeView.iterateOverChildren(AcTreeView.java:100) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 137 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.dragdrop.impl.DragDropContainer.iterateOverChildren(DragDropContainer.java:362) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2223) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeFragment(TreeRenderer.java:704) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.render(TreeRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 146 moreCaused by: java.lang.NullPointerException

  • Crashes and read-only file systems

    Notice: I apolgize for the long post, I've tried to be as thorough as possible.  I have searched everywhere for possible solutions, but things I've found end up being temporary workarounds or don't apply to my situation.  Any help, even as simple as, "have you checked out XYZ log, it's hidden here", would be greatly appreciated.  Thanks
    I'm not sure what exactly caused the issues below, but they did start to happen within a day of running pacman -Syu.  I hadn't run that since I first installed Arch on December 2nd of this year.
    Setup:
    Thinkpad 2436CTO
    UEFI/GPT
    SSD drive
    Partitions: UEFISYS, Boot, LVM
    The LVM is encrypted and is broken up as: /root, /var, /usr, /tmp, /home
    All LVM file systems are EXT4 (used to have /var and /tmp as ReiserFS)
    The first sign that something was wrong was gnome freezing.  Gnome would then crash and I'd get booted back to the shell with all filesystems mounted as read-only.  I started having the same issues as this OP:
    https://bbs.archlinux.org/viewtopic.php?id=150704
    At the time, I had /var and /tmp as ReiserFS, and would also get reiserfs_read_locked_inode errors.
    When shutting down (even during non-crashed sessions) I would notice this during shutdown:
    Failed unmounting /var
    Failed unmounting /usr
    Followed by a ton of these:
    device-mapper: remove ioctl on <my LVM group> failed: Device or resource busy
    Nother of these errors had ever appeared before.
    After hours of looking for solutions (and not finding any that worked) I was convinced (without any proof) that my Reiser file systems were corrupt and so I reformatted my entire SSD and started anew - not the Arch way, I know   I set all logical volumes as EXT4.
    After started anew, I noticed
    device-mapper: remove ioctl on LVM_SysGroup failed: Device or resource busy
    was still showing up, even with just a stock Arch setup (maybe even when powering off via Arch install ISO, don't remember).  After a lot of searching, I found that most people judged it a harmless error, so I ignored it and continued setting up Arch.
    I set up Gnome and a basic LAMP server, and everything seemed to work for a couple of hours.  Soon after, I got the same old issues back.  The System-journald issue came back and per the workaround on https://bbs.archlinux.org/viewtopic.php?id=150704 and a couple other places, I rotated the journals and stopped journald from saving to storage.  That seemed to stop THOSE errors from at least overwhelming the shell, but I would still get screen freezes, crashes, and read-only file systems.
    I had to force the laptop to power off, since poweroff/reboot/halt commands weren't working (would get errors regarding the filesystems mounted as read-only).
    I utilized all disk checking functions possible.  From running the tests (SMART test included) that came as part of my laptop's BIOS to full blown fsck.  All tests showed the drive was working fine, and Fsck would show everything was either clean, or
    Clearing orphaned inode ## (uid=89, gid=89, mode=0100600, size=###
    Free blocks count wrong (###, counted=###)
    Which I would opt to fix.  Nothing serious, though.
    I could safely boot back into Arch and use the system fine until the system decides to freeze/crash and do the above all over again.
    The sure way of recreating this for me is to run a cron job on a local site I'm developing. After a brief screen freeze (mouse still moveable but everything is otherwise unreponsive) I'll systemctl status mysqld.service and notice that mysqld went down.
    It seems that it's at this point my file systems are mounted as read only, as trying to do virtually anything results in:
    unable to open /var/db/sudo/...: Read-only file system
    After some time, X/Gnome crashes and I get sent back to shell with
    ERROR: file_stream_metrics.cc(37)
    RecordFileError() err = 30 source = 1 record = 0
    Server terminated successfully (0)
    Closing log file.or_delegate.h(30)] sqlite erro1, errno 0: SQL logic error or missing database[1157:1179
    rm: cannot remove '/tmp/serverauth.teuroEBhtl': Read-only file system
    Before all this happened, I was using Arch just fine for a few weeks.  I wiped the drives and started anew, and this still happens with just the minimal number of packages installed.
    I've searched for solutions to each individual problem, but come across a hack that doesn't solve anything (like turning off storing logs for journal), or the solution doesn't apply to my case.
    At this point, I'm so overwhelmed I'm not even sure where exactly to pick up figuring this issue out.
    Thanks in advance for any help

    Did this occur when you booted from the live/install media?
    What is your current set up? That is, partitions, filesystems etc. I take it you have not yet reinstalled X but are in the default CLI following installation?
    If turning off log storage didn't help, reenable it so that you may at least stand a chance of finding something useful.
    What services, if any, are you running? What non-default daemons etc.?
    Does it happen if you keep the machine off line?
    Have you done pacman -Syu since installation and dealt with any *.pacnew files?
    Last edited by cfr (2012-12-26 22:17:57)

  • Missing "illustrations" tab and read-only information

    After a Windows XP Home repair, no illustration tab and read-only information by new music downloads. Have most recent itunes. Can someone help me...please?

    Thanks Gilad, In that case, is there then a way (via a script) that if I leave field 2 as not readonly, so the cursor moves into this field on tab out of field one, that I can reject any input from the user, if field one does not contain any data ? I thought this might be a solution. I have the script with the If Else statement, that sets the value of field 2 to "", if the value of field 1 is also "", but what is the else statement required to accept the value, if the content of field 1 is not "" ?.
    The script preoduces an error, if field 1 is blank, and I try to enter data into field 2 and then tab out of field.

  • Editable and Read-Only Date Picker have different display formats -- Bug?

    Hi all,
    This is a follow on to a previous posting about getting a Date Picker field to display read-only (Date Picker and Read-Only Condition works on LAST state of element
    Now past that hurdle, I have noticed something about the date picker field when it is displays read-only. Namely, the date format is not the format selected, nor does the read-only date format comply with the format mask in the source section.
    I've modified my small test app to work as intended in order to demonstrate this feature. I also opened it up so everyone can see it <blush>. You can find it here: http://htmldb.oracle.com/pls/otn/f?p=42513: Please navigate to the Update Project tab.
    When a project in Program One through Four is selected (which has a Spec Committed date), the date is displayed DD-MON-YY format. When a project the other Programs (which do not have Spec Committed dates at the time of this writing) are selected, and a date value selected with the date picker, the date is displayed in the anticipated DD-MON-YYYY format.
    Anyone else notice this, or have I just missed something obvious?
    Thanks,
    Petie

    I'm not sure why this happens but to work around it I added this before header process code to the page:
    execute immediate 'alter session set nls_date_format = ''DD-MON-YYYY''';
    Scott

  • I want to set a variable with default value and can be changed by the user

    hi,
    i want to set a variable with default value and can be changed by the user, so i new a variable with setting : customer exit, single value, optional, ready for input.
    in my customer exit code, i set a default value, eg. 20070530
    when the variable screen popup, it display the default value 20070530, i changed it to 20070529, but it doesn't work , it still display the data in 20070530, how can i solve this problem? 
    your help is appreciated.

    Liu,
       As mentioned by Anil, you need to restrict your customerr Exit code to I_STEP = 1.
    or.
       <u>Open your Variable in change mode, in the Last Page os the Variable Maintenance you can provide default value. Note: you are doing same thing in Customer Exit. In your case no need of Customer Exit.</u>
    Nagesh Ganisetti.
    Assign points if it helps.

Maybe you are looking for

  • Re : How to send CC for mail

    Hi        I send mail for to address using the functional module ,SO_NEW_DOCUMENT_ATT_SEND_API1,   Now i have to send CC also. How to do this. Thanks Anto

  • Xfce4 and dual screen issues

    I have setup dual screen in xfce4, i have added xrandr --output VGA --left-of LVDS to xfce4 startup apps. But the issue is that both screen defaults to 1024x768 and if it change the resolution to the correct one my laptop screen turn black. This is s

  • Screen dim / Wake up

    A couple of nit pick things... One is the screen dimming, sometimes it does it with the option even being turned off. I know about the work-around but I was wondering if anyone came up with an actual solution to this. When I wake up sometime the scre

  • Why did Lightroom add folders to my structure ... ?

    Hi there, I have this irritating problem when I wanna add photos from my SD card. I chose the COPY function and then chose/instruct Lightroom to copy all the selected files to my Dorbo harddisk as this link: Drobo > Photos > Birthday But instead, Lig

  • Problem with master page text frame

    I am using ID 4 on a Mac with Snow Leopard 10.6.6. I have created a master with facing pages and master text frame. But the pages based on that master do not have any text frames showing. When I go to Document Setup the Master Text Frame checkbox is