Partial Page rendering - newbie question

I am a newbie to ADF and I am trying to the http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_56/jdtut_11r2_56.html 'developing Ajax-Based User interface with ADF Faces Rich Client components' tutorial

I have a question about step 4. I'm not quite sure where to post this question, if this isn't the right forum, forgive me.

In "step 4: partial Page Rendering implementation", there is the following comment
In order to have an update of the product details when you select another row in the Product table, we need to define the behavior of partial rendering. To do this, follow these steps:

Similarly on step 3, step sub 26 declares, «double-click on one of the lines in the table product.» Note that the details pane of the product does not reflect the changes to the selected product. To implement this synchronization, we add features of partial-page rendering. »

Question: before even trying the changes mentioned in step 4, I think that the product details pane displays the information related to the selected product in the collection of panels (in other words it displays detailed information master automatically). What I'm missing here? In line with the training, it is supposed to work only after the implementation of the changes mentioned in step 4. May of you kindly point out if it is a mistake in the documentation or if I have misunderstood the statement?

Thank you
A Françoise

Hello

Chances are that you're on a newer version of Oracle JDeveloper as the author who wrote the tutorial (it seems to be quite old). In your page, select the "Binding" tab at the bottom of the Visual Editor to see the contents of the file PageDef. Select the iterator (under executables) and check if the property 'ChangeEventPolicy' is set to 'ppr '. If this is the case, then you know why it behaves correctly without all these parameters. Note that in some cases you want to set ChangeEventPolicy to "none" to control the update, in which case the tutorial becomes very easy to use

Frank

Tags: Java

Similar Questions

  • What is partial-page rendering

    Hey, I'm new to ADF... you want to know what is partial-page rendering?

    Concerning
    Richard

    Hi Richard... If you're new, then I would advice Browse documentation / tutorials first.

    References:

    http://docs.Oracle.com/CD/E14571_01/Web.1111/b31973/af_ppr.htm#ADFUI385

    http://www.Oracle.com/technetwork/TestContent/ADF-Tutorial-1-134167.PDF

    In short, ppr is something as we have Ajax used to dynamically refresh the side of the page.

    see you soon

  • Partial-page rendering problem

    Hello

    In a page, I have two boxes of Panel as pb1 and pb2

    in pb1, I have a button and pb2 renered property is set to false at the beginning, now I want to set this property to true when the user clicks on the button made.

    To achieve this:

    I put the ownership of Prtial the true button and the Action listener submmit, I created a method in my grain of support.

    for the pb1, I created a link in my bean

    replay on the BTO key click I'm calling my bean method and setting the rendered property ture but I do not see the second pb2 on the page.

    Please suggest what to do?

    Thank you

    Hello

    You must use Visible rather rendered in this matter. If you want to use made, you need to add the partialTarget to a surrounding your PG2 component (for example sorround with a panelGroupLayout and add it to the partial target).

    You must run AdfFacesContext.getCurrentInstance () .addPartialTarget (yourPG2);

    Concerning

  • Page 0 newbie question

    Hi all

    Have a newbie for you on page 0 question - I would like to add a "Admin" button to display conditionally as a button on my page 0 - I use custom database authentication, so the user must connect (successfully) to access the homepage where would be at first page 0.

    I added the button on my page 0 and added the condition button (sql query to return at least a line - 1 select user where position = "Admin").

    Is it possible, or is the time where to throw this away (when page 0 restores and it makes for each page?), it doesn't seem to work.

    Thanks for anyone wishing to help ~

    I suggest that you always use: APP_USER or v ('APP_USER') inplsql and sql and & APP_USER. in JS and HTML to reference the user id of the user who has logged in to your application.

    Try with: APP_USER

    Kind regards
    Hari

  • A "submit" button partial Page rendering

    Hi all

    I use jdev 10.1.3 on R12.

    I have 4 buttons on a page.
    When loading the Page will display a button and when the user clicks the other button 3 buttons should come up and the existing button must be hide.
    How to get there. ?

    Can I use PPR?

    But I read in some articles that RPP cannot be triggered button.

    If anyone has an idea, please share your thoughts.


    -Jyothi-

    Hello

    your PVO must be initialized as shown below the code, you should have a primary key as the key line also

    public void init()
    {

    OAViewObject appPropsVO = (OAViewObject) findViewObject ("EmployeePVO1");

    If (appPropsVO! = null)
    {

    It checks the cache in memory (does not cause a success of the database).
    If the VO does not yet include a line, create and insert a.
    If (appPropsVO.getFetchedRowCount () == 0)
    {
    Set the mapping size extraction to 0 to a VO in memory
    It prevents to try the query lines. The call
    executeQuery() ensures that the lines are not lost after
    validation under (workaround for known issue of BC4J) operation.
    appPropsVO.setMaxFetchSize (0);
    appPropsVO.executeQuery ();

    You must create and insert a line in the original Version, before you start
    definition of the properties.
    appPropsVO.insertRow (appPropsVO.createRow ());

    Set the primary key for this single-rwo VO.
    Line OARow = (OARow) appPropsVO.first ();
    row.setAttribute ("RowKey", new Number (1));
    }
    }

    Initialize application VO properties (and the user interface) based on the
    default employee position set on the underlying object.
    handlePositionChangeEvent();

    } / / end of init()

    Thank you
    Pratap

  • Exception pointer null in partial-page rendering

    My requirement is:
    When I pressed the button update, he's going to next page
    In the view attributes are Lookuptype messagetextinput,
    LookupCode messagetextinput,
    Sense, messagetextinput Description,
    Active flag Checkbox.

    My requirement is therefore to change LookupType, LookupCode fields are read only formats

    IN CO

    super.processRequest (pageContext, webBean);
    String LookupCode = pageContext.getParameter ("LookupCodeColumn");
    String lookupEvent = pageContext.getParameter ("lookupEvent");
    System.out.println ("lookupEvent-" + lookupEvent);
    System.out.println ("LookupCode-" + LookupCode);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    If (lookupEvent.equalsIgnoreCase ("Update"): lookupEvent.equalsIgnoreCase ("duplicate"))
    {
    [Serializable] params = {LookupCode};
    am.invokeMethod ("initData", params);
    If (lookupEvent.equalsIgnoreCase ("Update"))
    {
    am.invokeMethod ("init"); / / error here optains
    }
    on the other
    {
    [Serializable] paramValue = {LookupCode};
    am.invokeMethod ("initFile", paramValue);
    }
    }
    on the other
    {

    [Serializable] params = {'-1'};
    am.invokeMethod ("insertRecord", params);

    }
    It's in the AM*.



    Public Sub handlePositionChangeEvent()
    {
    OAViewObject vo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
    OARow row = (OARow) vo.first ();
    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
    OARow emprow = (OARow) empvo.getCurrentRow ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains
    If ((LookupCode==null) |) ("LookupCode".equals (LookupCode)))
    {
    row.setAttribute ("LookupCodeRender", Boolean.FALSE);
    }
    on the other
    {
    row.setAttribute ("LookupCodeRender", Boolean.TRUE);
    }
    }
    public void init()
    {
    OAViewObject appPropsvo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
    if(appPropsvo!=null)
    {
    If (appPropsvo.getFetchedRowCount () == 0)
    {
    appPropsvo.setMaxFetchSize (0);
    appPropsvo.executeQuery ();
    appPropsvo.insertRow (appPropsvo.createRow ());
    OARow row = (OARow) appPropsvo.first ();
    row.setAttribute ("RowKey", new Number (1));
    handlePositionChangeEvent();
    }
    }
    }


    Here are the details of the error:

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.lang.NullPointerException
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    Please someone give a quick fix of its very urgent

    Thanks and greetings
    Aurelia Reddy

    Hello

    >

    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
    OARow emprow = (OARow) empvo.getCurrentRow ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains

    emprow is null. OARow emprow = (OARow) empvo.getCurrentRow () is a failure. You run the query pertaining to this VO. How many lines you have. If you have a single row. then try this code.

    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1")
    empvo. Reset();
    OARow emprow = (OARow) empvo.next ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains

    HTH,
    Syed.

  • Partial Page rendering - refresh value in the column

    Hi gurus of the OFA.
    I created a page of creation and followed the tutorial on Partital page made by creating a view PVO object and I am able to make the "EmployeeNumber" / "Location" column true false GOLD according to the value of another field (area).

    The 'TypeMonitored' (choice of message) has 2 values (area/employee). If the user selects the 'zone' then "EmployeeNumber" column should be hidden and if the user selects 'Employee', then the 'Place' column should be hidden. It works very well.

    My problem is if the user has selected 'Employee' in the 'TypeMonitored' of poplist and registered the "EmployeeNumber" and then immediately again if the user selects "Domain" of the "TypeMonitored" of poplist and enters the 'place' (since the site is now visible to the user) and click on Save and then the record is get recorded with the two values. I need to have the value of the column of 'Employee' to be empty in this case.

    Basically need to SETTING / erases the value of EmployeeNumber before any record in the database.

    Any help would be appreciated to greatlly. Please let me know if you want more details.

    Thank you
    Mir

    Here is my Code AMImpl
    ===============
    package lac.oracle.apps.lac.lacempexposure.server;

    Import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    Import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    Import oracle.jbo.Row;
    Import oracle.apps.fnd.framework.OAViewObject;
    Import oracle.jbo.Transaction;

    Import oracle.jbo.domain.Number;
    Import oracle.apps.fnd.framework.OARow;
    Import oracle.apps.fnd.common.MessageToken;
    Import oracle.apps.fnd.framework.OAException;

    // ---------------------------------------------------------------------
    -File generated by Oracle ADF business components Design-time.
    -Custom code can be added to this class.
    -WARNING: do not change the methods generated method signatures.
    // ---------------------------------------------------------------------
    SerializableAttribute public class LacEmpExposureAMImpl extends OAApplicationModuleImpl {}

    / * This is the default constructor (do not remove)
    */
    public LacEmpExposureAMImpl() {}
    }

    /*
    *****************************************************************
    * Initializes the application transient VO properties.
    *****************************************************************
    */
    public void init()
    {

    System.out.println ("in LACEmpExposureAMImpl.java IN init");
    System.out.println (LacTypeMonitored);

    OAViewObject appPropsVO = (OAViewObject) findViewObject ("LacExpCreatePVO1");

    If (appPropsVO! = null)
    {
    Not reset the VO unless necessary. Note that this method
    not trying to query the database for your with no SELECT statement
    and only transient attributes.

    If (appPropsVO.getFetchedRowCount () == 0)
    {

    Set the mapping size extraction to 0 to a VO in memory
    It prevents to try the query lines. The call
    executeQuery() ensures that the lines are not lost after
    validation under (workaround for known issue of BC4J) operation.

    appPropsVO.setMaxFetchSize (0);
    appPropsVO.executeQuery ();

    You must create and insert a line in the original Version, before you start
    definition of the properties.

    appPropsVO.insertRow (appPropsVO.createRow ());
    Set the primary key for this single-rwo VO.
    Line OARow = (OARow) appPropsVO.first ();
    row.setAttribute ("RowKey", new Number (1));
    }
    } / / Initialization of application VO properties (and the user interface) based on the
    Tracking to default value set on the underlying object Type.


    handleTypeMonitoredChangeEvent();

    } / / end of init()


    /*
    * *******************************************************
    Manages the poplist TypeMonitored changes to set the
    * application properties value of PRR VO
    * *******************************************************
    */

    Public Sub handleTypeMonitoredChangeEvent()
    {
    Get the properties of special application, einreihig, and make the
    First (only) current line.

    OAViewObject vo = (OAViewObject) findViewObject ("LacExpCreatePVO1");
    Line OARow = (OARow) vo.first ();

    Get the value of the attribute of the object from view with the code TypeMonitored


    OAViewObject LacEmpExposureCreateVO = (OAViewObject) findViewObject ("LacEmpExposureVO1");
    OARow LacEmpExposureCreateRow = (OARow) LacEmpExposureCreateVO.getCurrentRow ();
    String LacTypeMonitored = (String) LacEmpExposureCreateRow.getAttribute ("TypeMonitored");


    System.out.println ("in LACEmpExposureAMImpl.java IN handleTypeMonitoredChangeEvent");
    System.out.println (LacTypeMonitored);
    row.getAttribute ("LocationMonitoredRender");
    System.out.println (Row.GetAttribute ("LocationMonitoredRender"));


    If (("Personal".equals (LacTypeMonitored)))
    {
    row.setAttribute ("LocationMonitoredRender", Boolean.FALSE);
    row.setAttribute ("EmployeeNumberRender", Boolean.TRUE);
    row.setAttribute ("FullNameRender", Boolean.TRUE);

    }
    else if (("Area".equals (LacTypeMonitored)))
    {

    row.setAttribute ("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute ("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute ("FullNameRender", Boolean.FALSE);
    }

    } / / handleTypeMonitoredChangeEvent()



    / * Main sample for debugging code of business using the tester components.
    */
    Public Shared Sub main (String [] args) {}
    launchTester ("lac.oracle.apps.lac.lacempexposure.server", / * name of the package * /)
    ("LacEmpExposureAMLocal" / * Configuration name * /);
    }

    / * Getter of the container for LacEmpExposureVO1
    */
    public OAViewObjectImpl getLacEmpExposureVO1() {}
    return (OAViewObjectImpl) findViewObject ("LacEmpExposureVO1");
    }

    / * Getter of the container for EmployeeNamesLovVO1
    */
    public OAViewObjectImpl getEmployeeNamesLovVO1() {}
    return (OAViewObjectImpl) findViewObject ("EmployeeNamesLovVO1");
    }

    / * Getter of the container for MonitoringTypeVO1
    */
    public OAViewObjectImpl getMonitoringTypeVO1() {}
    return (OAViewObjectImpl) findViewObject ("MonitoringTypeVO1");
    }

    / * Getter of the container for LacParameterMonitoredVO1
    */
    public OAViewObjectImpl getLacParameterMonitoredVO1() {}
    return (OAViewObjectImpl) findViewObject ("LacParameterMonitoredVO1");
    }

    /*
    *******************************
    * Creates a new record of the exhibition
    *******************************
    */
    Public Sub CreateLacEmpExposure()
    {
    OAViewObject vo = (OAViewObject) getLacEmpExposureVO1 ();

    By coding standards, it is the right way of
    initialize a VO that is used for queries and inserts.
    See the objects in view in detail in the developer's Guide can do for
    Additional information.

    System.out.println ("in LACEmpExposureAMImpl.java IN CreateLacEmpExposure");

    If (!) VO.isPreparedForExecution ())
    {
    vo.executeQuery ();
    }
    Line = vo.createRow ();
    vo.insertRow (row);
    Required by OA Framework model M69 coding standards

    row.setNewRowState (Row.STATUS_INITIALIZED);

    } / / end CreateLacEmpExposure


    /*
    *****************************************************************
    * Performs a rollback, including the database and the middle-tier
    *****************************************************************
    */
    Public Sub rollbackLacEmpExposure()
    {
    Transaction txn = getTransaction();

    This small optimization ensures that we do not have persorm a restore
    If you have not to.

    If (txn.isDirty ())
    {
    TXN. Rollback();
    }
    } / / end rollbackLacEmpExposure()

    / * Getter of the container for LacEmpExposureLOVDataVO1
    */
    public OAViewObjectImpl getLacEmpExposureLOVDataVO1() {}
    return (OAViewObjectImpl) findViewObject ("LacEmpExposureLOVDataVO1");
    }

    /*
    * *****************************
    * Commits the transaction
    * *****************************
    */
    public void Apply()
    {
    getTransaction () .commit ();
    } / / end apply()

    / * Getter of the container for LacExpCreatePVO1
    */
    public OAViewObjectImpl getLacExpCreatePVO1() {}
    return (OAViewObjectImpl) findViewObject ("LacExpCreatePVO1");
    }


    /*
    ***********************************************************************
    * Initializes the request of employee details for the Update Page.
    ***********************************************************************
    */
    public void initDetailsUpdate (String EmployeeNumber,
    String FullName,
    String RecordSeq)
    {

    System.out.println ("in LACEmpExposureAMImpl.java IN initDetailsUpdate");

    System.out.println ("LACEmpExposureAMImpl == > EmployeeNumber in initQueryUpdate is:" + EmployeeNumber);
    System.out.println ("LACEmpExposureAMImpl == > FullName in initQueryUpdate is:" + FullName);
    System.out.println ("LACEmpExposureAMImpl == > RecordSeq in initQueryUpdate is:" + RecordSeq);

    OAViewObjectImpl vo = getLacEmpExposureVO1();

    LacEmpExposureEditVOImpl vo = (LacEmpExposureEditVOImpl) getLacEmpExposureEditVO1 ();


    OAViewObject vo = (OAViewObject) getLacEmpExposureVO1 ();

    If (vo is nothing)
    {
    MessageToken [] errTokens = {new MessageToken ("parameter", "LacEmpExposureVO1")};
    throw new OAException ("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    }

    ToL InitQueryUpdate (EmployeeNumber, FullName, RecordSeq);

    Line row = vo.first ();

    vo.setCurrentRow (row);



    /*
    Since we will interview a single row with a primary key value, we
    can use the findByKey method, which first checks the cache of BC4J
    and if it does not find one matching row, it will put forward a request for help
    the given key and retrieve it from the database.
    String [] keys = {employeeNumber};
    Line lines [] = vo.findByKey (new Key (keys), 1);

    You must set the current line, or the details page will not display any
    data. When you explicitly query data, you don't have to do it.

    If (rows! = null)
    {
    vo.setCurrentRow(rows[0]);
    }
    */

    } / / end initDetails()


    / * Getter of the container for LacEmpExposureEditVO1
    */
    public LacEmpExposureEditVOImpl getLacEmpExposureEditVO1() {}
    return (LacEmpExposureEditVOImpl) findViewObject ("LacEmpExposureEditVO1");
    }
    } / / end of class LacEmpExposureAMImpl

    Hello

    In your LacTypeMonitored / / I guess it will fire when you change the value of employee poplist form in area
    Add logic for null value, the value of the employee
    If (("Area".equals (LacTypeMonitored)))
    {

    row.setAttribute ("LocationMonitoredRender", Boolean.TRUE);
    row.setAttribute ("EmployeeNumberRender", Boolean.FALSE);
    row.setAttribute ("FullNameRender", Boolean.FALSE);

    Change the attribute used to null
    (OARow) LacEmpExposureCreateVO.getCurrentRow () .setAttribute ("", null);

    }

    Let me know that it works.

    Thank you

    With respect,
    Kali.
    OSSI.

  • Partial Page rendering

    Hello

    I'm doing a PPR, the code runs fine, but not able to determine if the value in the transient Boolean POV has changed or not, how to check the value of the Boolean variable of POV

    Need to check the value of QueryRNRendered after this statement in the code row.setAttribute ("QueryRNRendered", Boolean.FALSE) below;

    Public Sub handleCreateClickedEvent()
    {

    System.out.println ("in the round");
    OAViewObject vo = (OAViewObject) findViewObject ("QueryRNPVO1");

    Line OARow = (OARow) vo.first ();

    row.setAttribute ("QueryRNRendered", Boolean.FALSE);

    System.out.println ("after Boolean");

    } //end handleCreateClickedEvent


    Pls help

    Ritesh cordially

    You can try this:

    Public Sub handleCreateClickedEvent()
    {
    System.out.println ("in the round");
    OAViewObject vo = (OAViewObject) findViewObject ("QueryRNPVO1");
    Line OARow = (OARow) vo.first ();
    row.setAttribute ("QueryRNRendered", Boolean.FALSE);
    System.out.println ("after Boolean");
    System.out.println (Row.GetAttribute ("QueryRNRendered"));
    } //end handleCreateClickedEvent

    Thank you
    Nini

  • HP Officejet Pro 8500: HP Officejet Pro 8500 ceased only printing partial page in pink only

    Printer was only print a partial page of the multi page document. Replace the printer cartridges. Has run HP Diagnostics and cleaned the print heads. Still no change. For priting only a small amount of test page in pink only. Also have cartridges removed and rehabilitated. Have restarted printer several times. Please notify.

    Hello @help411911,

    The Forums of HP is a great place to find answers to the questions/problems you may have, welcome! I see that you are facing some print quality problems when you print to your HP Officejet 8500. It is printing in pink only and partial pages. You have performed the steps in troubleshooting without success.

    1. When you performed the cleaning and printed the test page, have you seen all the colors on the page or is - this only rose as well?

    2. are you able to make a black copy?

    3. When you upgraded to Windows 10 you would update the software and drivers for the 8500 JO so?

    What does the HP print and Scan doctor find? I look forward to hear from you.

    You can say thank you easily by clicking on the ' Thumbs Up ' below!

  • HP ENVY 4500: HP Envy 4500 printer print a partial Page or fails to print all Pages in Windows 8

    My HP ENVY 4500 truncates or fails to fully print the last page to print pdf documents. I selected the link "Wireless printer print a partial Page or fails to print all Pages in Windows 8 (http://support.hp.com/us-en/document/c04442342/).  However, step 3, no. 7 of the process does not work on my new pro Dell Win 8.1 PC Tower. Step 3, n ° 7 says "manual IP-click and then click on suggest an IP address manually." An IP address manually, the subnet mask and default gateway shows. ' However, 'suggest a manual IP address' is gray.  Clicking on it gives no answer. Ideas on where I go from here?

    Hello
    This can happen when printing over the network due to a problem with the operating system while performing a print job using the WSD Protocol, which is the default protocol used by the operating system.

    Microsoft has released a patch that should answer this question.

    Install the hotfix below and check differences:
    http://support.Microsoft.com/kb/3000461/en-us

    Please let me know if that helps get the problem resolved.

    Concerning
    Shlomi

  • Newbie question - javascript - php HTML5 and HTTPS w

    Hi all

    Newbie question...

    I'm having a problem with browsers, mac and javascript...

    simple story:

    1. If I put the test on site NO SSL folder - everything works ok

    2 but if I put the same test on HTTPS site folder - MAC SAFARI gets / data displays ok but firefox MAC and Chrome don't receive data

    Q: why not? How do I fix this so work all browsers?

    ---

    CONFIGURE LIKE THIS...

    Page1.html

    Gets the data with this line...

    What was...

    $.get ('getdata.php', function (data, status) {})

    ... etc.

    also tried this (absolute ref)...

    $.get ('https://mysite.com/getdata.php', function (data, status) {})

    ... etc.

    and displays the data on the same page page1.html

    Safari for MAC = works but firefox and chrome do not display data HTTPS site but all work 3 over HTTPS no alternate test site. (using only this local demand = $.get ('getdata.php', function (data, status) {}))

    BTW: if I manually go to getdata.php he gets php data and display the data in json package very well

    Q: How can I test / solve this problem, so all 3 browsers work on HTTPS site?

    Curious to know why MAC SAFARI OS 10.10.4 was an error?

    There are differences in the way different browsers support SSL.

  • the page renders is not properly in IE6 - 8

    I learn the DW on mine for a little sports site... the page renders correctly in browser Lab with all browsers except IE 6-8.  I have two questions:

    1. I don't know how to fix the link list of whitespace bug.

    2. the two sidebars do not appear in Internet Explorer 6-8

    Here is the code and any help is greatly appreciated.

    {body

    Police: 100% / 1.4 Verdana, Geneva, without serif.

    margin: 0;

    padding: 0;

    Color: #000;

    background-color: rgba (147,165,196,.8);

    background-image: none;

    }

    UL, ol, dl {}

    padding: 0;

    margin: 0;

    font size: 24 PX.

    make-weight: bold;

    }

    H1, h2, h3, h4, h5, h6 {p}

    margin-top: 0;

    padding-right: 15px;

    padding-left: 15px;

    color: #000066;

    do-size: 12pt;

    margin-left: 5px;

    }

    an img {}

    border: none;

    padding: 10px;

    }

    a: link {}

    color: #003366;

    text-decoration: underline;

    }

    a: visited {}

    color: #003366;

    text-decoration: underline;

    }

    a: hover, a: active, a: {emphasis

    text-decoration: none;

    background-color: #003366;

    }

    . Container {}

    Max-width: 1000px;

    min-width: 1000px;

    Background: #FFF;

    margin: 0 auto;

    border: thick solid #FFFFFF;

    }

    . Header {}

    background-color: #FFFFFF;

    background-image: none;

    border: thickness double #000066;

    float: left;

    margin-bottom: 5px;

    }

    {.sidebar1}

    float: left;

    Width: 20%;

    background-color: rgba (204,204,204,0.8);

    color: #FFFFFF;

    border-radius: 10px;

    padding: 5px;

    }

    . Happy {}

    padding: 10px 0;

    Width: 58%;

    float: left;

    }

    {.sidebar2}

    float: right;

    Width: 19%;

    color: #FFFFFF;

    background-color: rgba (0,51,102,.8);

    padding-top: 10px;

    padding-bottom: 10px;

    padding-left: 0;

    border-radius: 10px;

    border: medium double #F4F4F4;

    }

    . Content ul, ol {} content

    padding: 0 15px 15px 40px;

    }

    UL. NAV {}

    list-style: none;

    margin-bottom: 15px;

    border-radius: 10px;

    }

    {ul li. NAV

    border-radius: 10px;

    margin-bottom: 5px;

    background-color: rgba (0,51,102,.7);

    border-top-style: none;

    border-right-style: none;

    border-bottom-style: none;

    border-left-style: none;

    border-bottom-color: rgb (204,204,204);

    border-right-color: rgb (204,204,204);

    border-bottom-color: rgb (204,204,204);

    border-left-color: rgb (204,204,204)

    }

    UL. NAV, the ul.nav: visited {}

    display: block;

    text-decoration: none;

    color: #FFFFFF;

    make-weight: bold;

    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;

    font size: 20px;

    make-style: normal;

    padding-top: 15px;

    padding-right: 5px;

    padding-left: 10px;

    border-radius: 10px;

    }

    UL. NAV a: hover, ul.nav a: active ul.nav, one: {emphasis

    color: #FFF;

    background-color: rgba (147,165,196,.8);

    border-radius: 10px;

    padding-top: 15px;

    padding-bottom: 15px;

    }

    .footer {}

    padding: 10px 0;

    background: rgba (147,165,196,.8);

    position: relative;

    Clear: both;

    }

    H1, h2, h3, h4, h5, h6 {}

    do-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;

    make-style: italic;

    color: #0066;

    text-align: center;

    }

    H1 {}

    font size: 20px;

    color: #000066;

    text-align: center

    }

    H2 {}

    color: #FFF;

    font size: 20pt;

    make-style: italic;

    }

    H3 {}

    do-size: 18px;

    text-align: center;

    color: #000066;

    make-style: normal;

    }

    H4 {}

    color: #FFF;

    font size: 18pt;

    make-style: normal;

    }

    H5 {}

    font size: 16pt;

    color: #006;

    make-style: normal;

    }

    H6 {}

    do-size: 14pt;

    color: #FFF;

    make-style: normal;

    }

    ->

    < / style > <!-[if lte IE 7] >

    < style >

    . Happy {right margin:-1px ;} / * this negative margin of 1px can be placed on any of the columns in this layout with the same corrective effect.} */

    UL. NAV a {zoom: 1 ;}}  / * the property zoom gives IE the hasLayout trigger to fix additional whiltespace between the links * /.

    < / style >

    <! [endif]-->

    < / head >

    < body >

    < div class = "container" >

    < div class = "header" > <! - end .header - > < img src = "images/CSN-with-Brent-Beaird - lg.gif" width = "990" height = "140" alt = "Logo of the CSN" / > < / div >

    < div class = "sidebar1″" >

    < ul class = "nav" >

    < li > < a href = "index.html" > home < /a > < a href = "#" > < /a > < /li >

    < li > < a href = "brentsnotebook.html" > Notebook of Brent < /a > < a href = "#" > < /a > < /li > ""

    < li > < a href = "Storylines.html" > Storylines < /a > < a href = "#" > < /a > < /li > ""

    < li > < a href = "In_My_Opinion.html" > In My Opinion < /a > < a href = "#" > < /a > < /li > ""

    < li > < a href = "sportsradio.html" > Sports Radio < /a > < a href = "#" > < /a > < /li > ""

    < li > < a href = "press_box.html" > press box < /a > < a href = "#" > < /a > < /li > ""

    < li > < a href = "inside of the SEC.html" > inside the SEC < /a > < a href = "#" > < /a > < /li >

    < li > < a href = "inside of the ACC.html" > inside ACCESS < /a > < a href = "#" > < /a > < /li >

    "< li > < a href ="... / About.html "> on CSN < /a > < a href =" # "> < /a > < /li >"

    < /ul >

    < / div >

    I just thought that it might be a simple 'how' correct 'too much whitespace link bug.

    Sorry, but I don't know what a "too much whitespace link bug.

    Check out these links to known IE bugs and how to work around them.

    http://CSS-tricks.com/IE-CSS-bugs-thatll-get-you-every-time/

    http://www.positioniseverything.NET/Explorer.html

    http://www.positioniseverything.NET/articles/CC-plus.html

    Nancy O.

  • A few newbie questions

    Ok, I am a fanboy of Adobe, Photoshop/Illustrator ACE but I'm a video / graphic guy My employer is about 'apps' that they average / envy = applications that run on all smartphones modern and major players in the Tablet world. I had a divorce with writing code about 4 years ago (we all have two happy summer separated from eachother) but it feels like I will be together soon.

    Looking for some quick info to get used to the speed (note that I Master Collection CS5.5):

    1. Type of code: Action Script 3 ? HTML? Or lazy build in Flash?
    2. We would start Flash or Flex SDK?
    3. Currently, they want to read on an iPad... then tomorrow a Playbook... but always on an iPhone and EVO... is it something to be considered early in the process?

    I realize, these are newbie questions VERY and it's a long way to follow, thank you for contributing to the trip!

    Nick

    Hi Nick,

    I think it depends on type of content/content/deployment.

    If it's only video content to be played in standalone or web apps that look like native and support wide range of devices - then your suite already comes with Dreamweaver 5.5 - who has for example jQuery Mobile for web based application development/deployment and PhoneGab for native-app - all code development with html/javascript and two of them takes charge of video content.

    With Flash CS5.5 you get timeline based development and authoring tools - but nothing in the simplified UI that comes with the spark in Flash Builder (Flex SDK). Outputs the CS5.5 Flash and Flash Builder 4.5 using the same development tools Adobe Air (more to read on the page of software development given).

    Oh: web development with Dreamweaver and jQM does not require App Store submission process required otherwise for the content generated with Flash CS/Flash Builder or with PhoneGap in DreamWeaver.

    Kind regards

    Peter

  • Newbie question - passing variables (aka why this work?)

    I spent a few hours in vain trying to pass the value of a html text box to a coldfusion page 2nd via the URL (query string).

    However, it seems that I can't do this because the 2nd page seems to be able to reference the value in box of text in any case.  My question is: is this a coincidence, or is this the normal procedure, things work?  When I click the "Run report" button, everything I typed in the text box appears on the screen of page2.cfm.  I thought I should pass this value somehow (via the variables session or the URL string or something).

    So my newbie question is: is this the way it should work (a simple answer Yes or no is fine)A text from one box. CFM file can reference the value of text box on the other. CFM page? Thanks in advance

    Here is the page 1 (page1.cfm):

    <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / BY" > ".
    < html >
    < body >

    " < CFform action = ' http://www.mywebsite.com/page2.cfm "method ="get"> "
    Cust ID: < cfinput type = "text" name = "CustomerID" >
    < input type = value = "run report" >

    < / CFFORM >
    < / body >
    < / html >

    Page 2 (page2.cfm) here which works fine and shows what I typed in the text box:

    < CFOUTPUT >
    #CUSTID #.
    < / CFOUTPUT >

    I was already typing this until Ian replied. But I may as well post it in case it helps...

    > I spent a few hours * in vain * trying to pass the
    > value of a html to a coldfusion page 2nd text box via the
    > URL (query string).

    If you know that he or she is actually what you 're doing.

    "> http://www.mywebsite.com/page2.cfm" method = "get" >
    > Cust ID:

    When you use method = "get", the form field, the variables are passed in the query string. So, if you enter "abc" in the text box, the URL submitted will be:

    http://www.mywebsite.com/page2.cfm? CustID = abc

    So 'CustomerID' will be available as a variable within the scope of the URL on page 2.

    > * Here's page 2 (page2.cfm) which works fine and shows
    > what I typed in the text box: *.
    >
    > #CUSTID #.
    >

    The reason for which he works is a little magic CF. The variable #custID # not be bounded, CF search this variable in a predefined list of staves (see link below). It looks in each of them, and uses the first value it finds. Although not the exact search order, CF will check the

    http://livedocs.Adobe.com/ColdFusion/8/Variables_32.html
    -VARIABLES in scope (at the time..)
    -Reach URL (at the time..)
    -FORM scope (at the time..)
    ... etc...

    In your case, the variable exists in the scope of the URL. If your code is equivalent to saying

    #url. CUSTOMERID #.

    It is in fact a practice better coding. Although the original code works without the scope of variables, providing an explicit framework is more efficient and avoids unitentional errors.  For example if the code on page 2:


         #CUSTID #.

    ... the output may not be what you would expect ;-)

    So to answer the question: Yes, that's what must happen.  However, you must explicitly scope your variables page 2 IE use #url.custID #.

  • Partial Page from several regions charges

    Hello

    Is it possible to use the process of partial Page to refresh multiple regions at the same time? I have a dynamic Action on Page 0 which fires when an item is changed. The dynamic Action runs javascript that looks for all regions on the page that has a static id that begins with autorefresh.

    Dynamic action javacsript code is

    $("div[id^='autorefresh']").each (function () {}
    parent_id = $(this) .attr ("id");
    Apex. Event.Trigger('#'+parent_id,'apexrefresh');
    });

    On the page, I'm testing the process there are three regions with the static id of autorefresh1, autorefresh2 and autorefresh3, however, the process seems only to refresh the regions 1. So guess the question is can I I call apex.event.trigger muitple time?

    Concerning

    Paul

    Hi Paul,.

    Do you use the APEX 4.0.1? Because in the game patches, we have fixed a bug concerning the updating of several regions.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for