Create page definition option on a method call

I have been developing my first application using ADF with JDeveloper 12c.   After reading all of the documentation, it would appear that I should be able to create a page definition for a method call on a task flow, but when I right-click on my method calls, there is no option to do so.  What am I doing wrong?  Any help would be greatly appreciated.  Maybe I have a setting wrong or something.  Thank you all in advance.

Hi Frank,
     Thanks for the response.  I did try to right click on the method call, the option to Create Page Definition is absent from the context menu.  That was my source of the problem which prompted me to write the thread.  However, your alternate solution of dropping the operation from the data control panel onto the method call worked like a charm.  It created the page def and bound the method to the call.   Thank you for that one.   I am still curious as to why the option on the context menu is missing for me.

Similar Messages

  • How to create a page-definition for bounded task-flow?

    I should be able to create a page definition which declare all bindings required for a bounded task flow.
    How do I do it in JDeveloper 11.1.1.2?
    How do I navigate to the page definition when I am in the bounded task flow "Diagram tab"?

    I found out the following:
    1. To create a page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Create Page Definition" from the context menu.
    2. To go the page-definition file for a bounded task flow
    Right click on the "Default" activity (not a view activity) of the bounded task flow, select "Go to Page Definition" from the context menu.
    My new question is:
    In JDeveloper 11.1.1.2, how do I create page-definition for a bounded-task-flow if all activities are view activities (page fragments) ?
    How does JDeveloper I want to create page-definition for the task-flow instead of create page-definition of the page fragment or the page?

  • Method call before visual web jsf page loads

    Hi All.....
    I have written a method in a java class that accesses the mysql backend db to check if a process is still running. If the process is still running, a JOptionPane is produced informing the user of this and offers an <ok> option(to check the process status again) and a <cancel> option(to redirect the user to the homepage). If the process is completed, I want the page to just load as normal. I want this method to be called before the visual web jsf page loads. I have the method call in the super_init() method of the page and everything seemed to be working fine, the problem I have run into is that if I set the value in the db to show the process is running, the JOptionPane is produced(like it should be), and then if I set the value to show the process has completed and choose <ok> from the pane, the page loads.....this is what I want. Now, after the page loads, if I set the value in the db to show the process is running again, the JOptionPane is produced again right after I apply the changes to the db edit!!!!. I don't know why this is happening. Should I be calling the method from somewhere other the super_init()????? I have tried the method call in the prerender(), preprocess(), and destroy() methods all with the same results.
    Anyone have any ideas on what the problem could be??
    Thanks in advance.
    Silgd

    The Java part of a JSP/Servlet based webapplication runs physically at the server machine.
    Only the HTML/CSS/JS part which is generated by the webapplication and sent to the client physically runs at the client machine.
    JOptionPane is a Java Swing component which thus runs at the server machine. So you as client would only see it when both the server and the client runs at physically the same machine. Which is often only the case in development environment and doesn´t occur in real life! There is normally means of two physically different machines connected through the network/internet.
    To solve your actual problem, look for Ajax poll techniques. To display an alert or confirm dialogue in the client side, you use Javascript for this.

  • How to create a Bool Option for Full Screen and Page Item in Mucow?

    Hi Guys!
    I was looking to create a bool option in Mucow widget options which toggles between Full Screen and a Normal Page Item .
    Example: Qooqee's Google Map Widget
    Need some help.
    Thanks in Advance

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • ADF method call to fetch data from DB before the initiator page loads

    Hello everyone
    I'm developing an application using Oracle BPM 11.1.1.6.0 and JDeveloper 11.1.1.6.0
    I want to fetch some data from the database before the initiator task, so that when the user clicks on the process name, his/her history will be shown to them before proceeding.
    It was possible to have a service task before the initiator task in JDeveloper 11.1.1.5.0, but I have moved to 11.1.1.6.0 and it clearly mentions this to be an illegal way.
    I came across this thread which suggested to do this using an ADF method call, but I don't know how since I'm new to ADF.
    Re: Using Service Task Activity before Initiator Task issue
    Can anyone show me the way?
    Thanks in advance

    Thanks Sudipto
    I checked that article however I think I might be able to do what I want using ADF BC.
    See, what I'm trying to do is to get a record from a database and show it to the user on the initiator UI.
    I have been able to work with ADF BC and View Objects to get all the rows and show them to the user in a table.
    However, when I try to run the same query in the parameterized form to just return a single row, I hit a wall.
    In short, My problem is like this:
    I have an Application Module which has an entity object and a view object.
    My database is SQL Server 2008.
    when I try to create a new read only view object to return a single row I face the problem.
    The query I have in the query section of my View Object is like this:
    select *
    from dbo.Employee
    where EmployeeCode= 99which works fine.
    However when I define a bind variable, input_code for example, and change the query to the following it won't validate.
    select *
    from dbo.Employee
    where EmployeeCode= :input_codeIt just keeps saying incorrect syntax near ":" I don't know if this has to do with my DB not being Oracle or I'm doing something wrong.
    Can you help me with this problem please?
    thanks again
    bye

  • I Have Purchase ipod touch with ios5 . while create apple id  the none option in Payment Method dose not Apper . I dont have any visa or mastercard . plese help ?

    I Have Purchase ipod touch with ios5 . while create apple id  the none option in Payment Method dose not Apper . I dont have any visa or mastercard . plese help ?
    How Shold I Proceed

    Hello JadeGirl13,
    Thanks for using Apple Support Communities.
    Please see the support article below that explains why you may not be able to select none as a payment type.
    Why can’t I select None when I edit my Apple ID payment information?
    http://support.apple.com/kb/TS5366
    Take care,
    Alex H.

  • Create method call

    this.getDepartmentsLocalHome().create
    (dept.getDepartmentId(), dept.getDepartmentName());
    (the example from: http://www.oracle.com/technology/obe/obe_as_1012/j2ee/develop/endtoend/defaultejbscope/defaultejb.htm#t4)
    does the create method called like that allow to insert a new record with all its attributs setted in the controller layer?? or should i define a new create which takes all the attributes as parameters?
    thank u!

    it s the first time i develop with EJB technology.
    i dont know how to use the create method.
    i m trying the following code to add a new row in myObject table:
    public void addMyObject(MyObjectLocalDTO parametre)
    try
    MyObjectDTO obj = this.getMyObjectLocalHome().create();
    obj.setAttr1(parametre.getAttr1());
    obj.setAttr2(parametre.getAttr2());
    obj.setAttr3(parametre.getAttr3());
    obj.setRelationship_idmyobjectDTO(parametre.getRelationship_idmyobjectDTO());
    catch (NamingException e)
    System.out.println(e.toString());
    throw new javax.ejb.EJBException(e);
    catch (CreateException e)
    System.out.println(e.toString());
    throw new javax.ejb.EJBException(e);
    is that correct and enaugh to insert my row? or is there a better way to do that?
    thank u.
    regards

  • Method called at page load time of jspx page

    I am using the jdeveloper11.1.1.1.0 version.
    is there any method that is called at page load time. in this method i need to apply the set where clause on view object and some more functionality i need to add here.in ADf life cycle , is there any method like init() ?
    Sailaja

    you would have implement PagePhaseListener and extend this from your backing bean class..
    package view.controller;
    import oracle.adf.controller.v2.context.PageLifecycleContext;
    import oracle.adf.controller.v2.lifecycle.Lifecycle;
    import oracle.adf.controller.v2.lifecycle.PagePhaseEvent;
    import oracle.adf.controller.v2.lifecycle.PagePhaseListener;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.binding.BindingContainer;
    public class CustomPagePhaseListener implements PagePhaseListener  {
         * Before the ADF page lifecycle's prepareModel phase, invoke a
         * custom onPageLoad() method. Subclasses override the onPageLoad()
         * to do something interesting during the
         * @param event
        public void beforePhase(PagePhaseEvent event) {
          PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
          if (event.getPhaseId() == Lifecycle.PREPARE_MODEL_ID) {
            bc = ctx.getBindingContainer();
            onPageLoad();
            bc = null;
         * After the ADF page lifecycle's prepareRender phase, invoke a
         * custom onPagePreRender() method. Subclasses override the onPagePreRender()
         * to do something interesting during the
         * @param event
        public void afterPhase(PagePhaseEvent event) {
          PageLifecycleContext ctx = (PageLifecycleContext)event.getLifecycleContext();
          if (event.getPhaseId() == Lifecycle.PREPARE_RENDER_ID) {
            bc = ctx.getBindingContainer();
            onPagePreRender();
            bc = null;
        public void onPageLoad() {
          // Subclasses can override this.
        public void onPagePreRender() {
          // Subclasses can override this.
      }add your backing bean class as controllerClass in the corressponding pageDef <pageDefinition....> tag.
    ControllerClass="#{backingBeanScope.backing_YourBackingBean}"
    in your backing bean add pageload method like below and put your code (this method being called when the page loads...)
    public void onPageLoad() {
    Edited by: puthanampatti on Sep 30, 2009 2:33 PM

  • Pages iPad (definition option)

    Why dictionary in pages iPad (definition option) won't appear?

    The only things I can think of now are to restart or reset the iPad if you haven't done so already.
    To restart, hold down on the sleep button until the red slider appears and slide to shut off. Hold the sleep button until the Apple logo appears to power up.
    To reset, hold the sleep and home buttons down at the same time for about 10-15 seconds until the Apple logo appears- ignore the red slider - let go of the buttons.
    Unless you are using a different language setup of the keyboard, or Pages, I can't figure out why this doesn't work for you. That's why I now suggest a restart or reset. There are no other settings in Pages except for what is under the tools icon. If there are other settings, I have no idea where they are.

  • Ignoring Optional parameter during OLE method calling

    Hi guys,
    I got a problem:
    Application.Workbooks.OpenXML(Filename, Stylesheets, LoadOption) here's a defination from Microsoft help.
    Stylesheets and LoadOption are optional parameters.
    ABAP calling:
      CALL METHOD OF workbooks 'OpenXML'
        EXPORTING #1 = filename
                           #2 = '3'
                           #3 = 2 .
    How can ignore parameter #2(Stylesheets) in the calling statement? I found no documentation about  calling functions ignoring some optional parameters. Normaly there's posibility to explicitely define passing parameter, for example:
        Application.Workbooks.OpenXML _
            Filename:="customers.xml", _
            LoadOption:=xlXmlLoadImportToList
    With kind regards
    Long.

    UP

  • Understanding Regex replace method call involving delegate

    Hello,
    I am trying to understand the $regex.replace static method call below (I came across this code snippet in the cookbook).
    $replacer = {
    param($match)
    $chars = $match.Groups[0].Value.ToCharArray()
    [Array]::Reverse($chars)
    $chars -join ''
    $regex = [Regex] "\w+"
    $regex.Replace("Hello World wide", $replacer)
    What I do not understand is the below overloaded definitions for replace method do not seem to match the above replace call. So how exactly is this working? The above call has 2 parameters passed where as none of the below overloads have less than
    3 parameters.
    PS C:\WINDOWS> [regex]::replace
    OverloadDefinitions
    static string Replace(string input, string pattern, string replacement)
    static string Replace(string input, string pattern, string replacement, System.Text.RegularExpressions.RegexOptions options)
    static string Replace(string input, string pattern, string replacement, System.Text.RegularExpressions.RegexOptions options, timespan matchTimeout)
    static string Replace(string input, string pattern, System.Text.RegularExpressions.MatchEvaluator evaluator)
    static string Replace(string input, string pattern, System.Text.RegularExpressions.MatchEvaluator evaluator, System.Text.RegularExpressions.RegexOptions options)
    static string Replace(string input, string pattern, System.Text.RegularExpressions.MatchEvaluator evaluator, System.Text.RegularExpressions.RegexOptions options, timespan
    matchTimeout)

    What you are looking at are the static methods ([regex]::) and their appropriate parameters which in this case have a minimum of 3 parameters to properly perform the Replace using the input, pattern and replacement
    value. If you were to use the constructor of [regex] to create a pattern like this:
    $Regex = [regex]'\w'
    You will see that the Replace method here allows for only 2 parameters because you have already satisfied the pattern when you created the Regex object.
    $Regex.Replace
    OverloadDefinitions
    string Replace(string input, string replacement)
    string Replace(string input, string replacement, int count)
    string Replace(string input, string replacement, int count, int startat)
    string Replace(string input, System.Text.RegularExpressions.MatchEvaluator evaluator)
    string Replace(string input, System.Text.RegularExpressions.MatchEvaluator evaluator, int count)
    string Replace(string input, System.Text.RegularExpressions.MatchEvaluator evaluator, int count, int startat)
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • Clear page definition before generation

    Hi,
    I have created a methodAction bindings on a Page Data Binding Definition that
    get cleared every time I run application generator.
    In JHeadstart tutorial I found that there are two ways to preserve the graph binding that was added to the page definition
    -to uncheck the checkbox "Clear page definition before generation"
    -and to add the binding to the template.
    #macro (CUSTOM_BINDING)
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"<data collection>","#CUSTOM_BINDING()")}In my case I have item that has the type commandButton with no method-call. I changed the genetated jsff page and set the action of the button to managed bean method.
    If I am thinking right I have to add the follow code:
    #macro (CUSTOM_BINDING)
    <methodAction id="f_url_porocila"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="f_url_porocila"
    IsViewObjectMethod="false"
    ReturnName="data.AppModuleDataControl.methodResults.f_url_porocila_AppModuleDataControl_dataProvider_f_url_porocila_result">
    <NamedData NDName="p_sifra_porocila" NDType="java.lang.String"/>
    <NamedData NDName="p_parametri" NDType="java.lang.String"/>
    </methodAction>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"MetAplikativniModulView1","#CUSTOM_BINDING()")}Where "MetAplikativniModulView1" is the Data Collection of the Detail Group "AplikativniModul".
    Is the <data collection> inside
    ${JHS.pageDefGenerator.addBinding($JHS.page,"<data collection>","#CUSTOM_BINDING()")}right?
    I am looking for the vm template that i have to change so i can have the checkbox "Clear page definition before generation" checked.
    Regards,
    Dejan

    jhsCommonBeans.vm
    ## revision_history
    ## 08-mar-2011   Steven Davelaar
    ## 1.11          Changed MenuTreeBean to pageFlowScope so state is remembered accross shell pages
    ##               also generate it when using TreeMenu template, not just dyn tabs template
    ##               Added removeHiddenMenuItems property to jshDynamicMenu
    ## 28-jan-2011   Steven Davelaar
    ## 1.10          Added parsing of DYNAMIC_TABS_BEANS, exceptionHandlerBean
    ##               Added importedNlsBundles to jhsMessageFactory 
    ##               prefix UIShellPageDef with app name in fallbackContainer property of JhsModelServiceProvider
    ## 02-dec-2010   Steven Davelaar
    ## 1.9           Only set current taskflow name in jhsMainregionManager when no dyn tabs used
    ## 01-nov-2010   Steven Davelaar
    ## 1.8           Added jhsKeyboardMappingHandler and jhsFunctionKeyHandler beans
    ## 01-okt-2010   Steven Davelaar
    ## 1.7           Added enableDeepLinkingFromRequestParams to DynamicRegionManager
    ## 07-sep-2010   Steven Davelaar
    ## 1.6           Added removeHiddenMenuItems property to root menu bean
    ## 13-jul-2010   Steven Davelaar
    ## 1.5           Added MenuTreeBean, added currentSubMenu, useDynamicTabs properties to jhsMainRegionManager
    ## 18-may-2010   Steven Davelaar
    ## 1.4           Added id property to all elements
    ## 16-dec-2008   Paco van der Linden
    ## 1.3           Added jhsMainRegionManager, pendingChangesBean
    ## 03-oct-2008   Sandra Muller
    ## 1.2           removed errorReportingUtils, is now configured in DataBindings.cpx
    ## 19-sep-2008   Steven Davelaar
    ## 1.1           removed jhsPageLifecycle
    ## 05-jul-2008   Steven Davelaar
    ## 1.0           Initial creation for R11
    <?xml version="1.0" #ENCODING_PROP()?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <method-call id="CallMenuItem">
        <method id="#NEW_ID("__")">#{jhsDynamicRouter.getOutcome}</method>
        <parameter>
          <class id="#NEW_ID("__")">java.lang.String</class>
          <value id="#NEW_ID("__")">#{requestScope.currentMenuItem}</value>
        </parameter>
        <outcome id="#NEW_ID("__")">
          <to-string/>
        </outcome>
      </method-call>
    #if (${JHS.application.useDynamicTabs})
      <method-call id="LaunchTab">
        <method id="#NEW_ID("__")">#{pageFlowScope.parentContext.jhsDynTabLauncher.launchTab}</method>
        <outcome id="#NEW_ID("__")">
          <fixed-outcome>TabLaunched</fixed-outcome>
        </outcome>
      </method-call>
      <method-call id="CloseCurrentTab">
        <method id="#NEW_ID("__")">#{viewScope.jhsDynTabContext.removeCurrentTab}</method>
        <outcome id="#NEW_ID("__")">
          <fixed-outcome>TabClosed</fixed-outcome>
        </outcome>
      </method-call>
    #end
      <view id="Home">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}Home.jspx</page>
      </view> 
      <view id="UIShell">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}UIShell.jspx</page>
      </view> 
    #if (${JHS.application.runtimeCustomizationMenuAllowed})
      <view id="iFrameMenuItem">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}iFrameMenuItem.jspx</page>
      </view> 
    #end     
      <control-flow-rule id="#NEW_ID("__")">
        <from-activity-id id="#NEW_ID("__")">*</from-activity-id>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">CallMenuItem</from-outcome>
          <to-activity-id id="#NEW_ID("__")">CallMenuItem</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">home</from-outcome>
          <to-activity-id id="#NEW_ID("__")">Home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">uishell</from-outcome>
          <to-activity-id id="#NEW_ID("__")">UIShell</to-activity-id>
        </control-flow-case>
    #if (${JHS.application.runtimeCustomizationMenuAllowed})
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">iFrameMenuItem</from-outcome>
          <to-activity-id id="#NEW_ID("__")">iFrameMenuItem</to-activity-id>
        </control-flow-case>
    #end
    #if (${JHS.application.useDynamicTabs})
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">LaunchTab</from-outcome>
          <to-activity-id id="#NEW_ID("__")">LaunchTab</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">CloseCurrentTab</from-outcome>
          <to-activity-id id="#NEW_ID("__")">CloseCurrentTab</to-activity-id>
        </control-flow-case>
    #end
      </control-flow-rule>
    <managed-bean id="#NEW_ID("__")">
      <managed-bean-name id="#NEW_ID("__")">parentContext</managed-bean-name>
      <managed-bean-class id="#NEW_ID("__")">java.util.HashMap</managed-bean-class>
      <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
    </managed-bean>
    <managed-bean id="#NEW_ID("__")">
      <managed-bean-name id="#NEW_ID("__")">RootMenu</managed-bean-name>
      <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.JhsXMLMenuModel</managed-bean-class>
      <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      #if (!${JHS.application.useJhsPageTemplate})
      ## this poperty MUST be sequenced before source property to work correctly!
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">removeHiddenMenuItems</property-name>
        <value id="#NEW_ID("__")">true</value>
      </managed-property>
      #end
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">source</property-name>
        <property-class id="#NEW_ID("__")">java.lang.String</property-class>
        <value id="#NEW_ID("__")">${JHS.application.rootMenuModel}</value>
      </managed-property>
    </managed-bean>
    #if (!${JHS.application.useJhsPageTemplate})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">MenuTreeBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TreeBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">showExpanded</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
      </managed-bean>
    #end
    #if (${JHS.application.useDynamicTabs})
      #JHS_PARSE("DYNAMIC_TABS_BEANS" ${JHS.current.model})
    #end
        <managed-bean id="#NEW_ID("__")">
          <managed-bean-name id="#NEW_ID("__")">pendingChangesBean</managed-bean-name>
          <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PendingChangesBean</managed-bean-class>
          <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsMainRegionManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicRegionManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">resetFormUsesUpload</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">enableDeepLinkingFromRequestParams</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
    #if ($JHS.application.contentTopLevelMenu=='serviceGroups' && ($JHS.application.useJhsTreeMenuPageTemplate || $JHS.application.useDynamicTabs))
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">currentSubMenu</property-name>
        <property-class id="#NEW_ID("__")">java.lang.String</property-class>
        <value id="#NEW_ID("__")">${JHS.application.allServices.get(0).getName()}Menu</value>
      </managed-property>
    #end
    #if ($JHS.application.useDynamicTabs)
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">useDynamicTabs</property-name>
        <value id="#NEW_ID("__")">true</value>
      </managed-property>
    #else
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentTaskFlowName</property-name>
          <value id="#NEW_ID("__")">${JHS.application.firstGroup.name}</value>
        </managed-property>
    #end
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsCommit</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.CommitBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">commitBinding</property-name>
          <value id="#NEW_ID("__")">#{bindings.Commit}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsRollback</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.RollbackBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">rollbackBinding</property-name>
          <value id="#NEW_ID("__")">#{bindings.Rollback}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsLocaleManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LocaleManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        #if (${JHS.application.deriveUserLocale}!='browser')
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">useBrowserLocale</property-name>
          <value id="#NEW_ID("__")">false</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">calculateLocaleExpression</property-name>
          <value id="#NEW_ID("__")">#{'${JHS.application.deriveUserLocale}'}</value>
        </managed-property>
        #end
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsLookAndFeelBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LookAndFeelBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentPageTemplate</property-name>
          <value id="#NEW_ID("__")">/common/pageTemplates/JhsPageTemplate.jspx</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentRegionTemplate</property-name>
          <value id="#NEW_ID("__")">/common/pageTemplates/JhsRegionTemplate.jspx</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentSkin</property-name>
          <value id="#NEW_ID("__")">fusion</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">pageTemplates</property-name>
            <map-entries id="#NEW_ID("__")">
             <map-entry id="#NEW_ID("__")">
              <key id="#NEW_ID("__")">/common/pageTemplates/JhsPageTemplate.jspx</key>
              <value id="#NEW_ID("__")">Tabbed Menu</value>
             </map-entry>
             <map-entry id="#NEW_ID("__")">
              <key id="#NEW_ID("__")">/common/pageTemplates/JhsTreeMenuPageTemplate.jspx</key>
              <value id="#NEW_ID("__")">Tree Menu</value>
             </map-entry>
            </map-entries>     
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsModelServiceProvider</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">fallbackBindingContainerEL</property-name>
                 <value id="#NEW_ID("__")">#{'#{data.${JHS.application.name}_UIShellPageDef}'}</value>
        </managed-property>
      </managed-bean>
      #if (${JHS.application.securityType}!='')
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">In2LoginBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">beans.In2LoginBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">useADFWLSAuthentication</property-name>
          #if (${JHS.application.securityType}!='customjhs')
           <value id="#NEW_ID("__")">true</value>
          #else
           <value id="#NEW_ID("__")">false</value>
          #end
        </managed-property>
      </managed-bean>
      #if (${JHS.application.securityType}!='customjhs')  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">LogoutBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LogoutBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">logoutDestination</property-name>
           <value id="#NEW_ID("__")">/</value>
        </managed-property>
      </managed-bean>
      #end
      #end
      #if (${JHS.application.runtimeCustomizationItemsAllowed} || ${JHS.application.useFlexRegions})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageCustomization</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageCustomizationBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">runtimeCustomizationItemsAllowed</property-name>
          <value id="#NEW_ID("__")">${JHS.application.runtimeCustomizationItemsAllowed}</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeDialogNavigationOutcome</property-name>
          <value id="#NEW_ID("__")">dialog:StartCustomizedStandardItem</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeItemWindowWidth</property-name>
          <value id="#NEW_ID("__")">400</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeItemWindowHeight</property-name>
          <value id="#NEW_ID("__")">300</value>
        </managed-property>
      </managed-bean>
      #end
      #if (${JHS.application.runtimeCustomizationMenuAllowed})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDynamicMenu</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicMenuBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>
      #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">nls</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.MessageFactoryMap</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">messageFactory</property-name>
          <value id="#NEW_ID("__")">#{jhsMessageFactory}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageText</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageTextBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">nlsFactory</property-name>
          <value id="#NEW_ID("__")">#{nls}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsMessageFactory</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.MessageFactory</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">bundleNames</property-name>
          <list-entries id="#NEW_ID("__")">
            <value id="#NEW_ID("__")">${JHS.application.nlsBundle}</value>
            #foreach ($bundle in ${JHS.application.importedNlsBundles})
              <value id="#NEW_ID("__")">${bundle}</value>
            #end
            <value id="#NEW_ID("__")">oracle.jheadstart.exception.JhsUserMessages</value>
            <value id="#NEW_ID("__")">javax.faces.Messages</value>
          </list-entries>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jsfUtils</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.JsfUtils</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">messageFactory</property-name>
          <value id="#NEW_ID("__")">#{jhsMessageFactory}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsBreadcrumbStack</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.breadcrumbs.BreadcrumbStack</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsBreadcrumbManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.breadcrumbs.BreadcrumbManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      #if (${JHS.application.useAuthorization})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsUserRoles</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.JhsAuthorizationProxy</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">authorizationType</property-name>
          <value id="#NEW_ID("__")">${JHS.application.authorizationType}</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">authorizeUsingPermissions</property-name>
          <value id="#NEW_ID("__")">${JHS.application.useGroupPermissions}</value>
        </managed-property>
      </managed-bean>
      #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsTypeConverter</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TypeConverter</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">UIComponentState</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">java.util.HashMap</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageDefs</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageDefAccessorBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDynamicRouter</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicRouter</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsSetCurrentRow</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.SetCurrentRowBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">ExecuteActionAfterConfirmation</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.ExecuteActionAfterConfirmation</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDependsOnItem</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DependsOnItemBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsFlexItem</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.FlexItemBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
    ## Note thate the FlexRegionDefinitions Task Flow itself also contains a TaskFlowConfigBean
    ## The following bean name therefore starts with 'App' to avoid confusion.
    ## We can't access (and reuse) the bean inside adfc-config-FlexRegionDefinitions.xml because it is added
    ## to the pageFlowScope of the UIShell instead of the current region
    #if( ${JHS.application.useFlexRegions} )
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">AppFlexRegionDefinitionsTaskFlowConfig</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TaskFlowConfigBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">name</property-name>
          <value id="#NEW_ID("__")">FlexRegionDefinitions</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">taskFlowId</property-name>
          <value id="#NEW_ID("__")">/flex/adfcConfig/adfc-config-FlexRegionDefinitions.xml#FlexRegionDefinitionsTaskFlow</value>
        </managed-property>
      </managed-bean>
    #end
    #if( ${JHS.application.enableFunctionKeys} )
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsKeyboardMappingHandler</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.KeyboardFunctionMappingHandler</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">view</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">functionKeyHandler</property-name>
          <value id="#NEW_ID("__")">#{viewScope.jhsFunctionKeyHandler}</value>
        </managed-property>
      </managed-bean>
      #JHS_PARSE("FUNCTION_KEY_HANDLER_BEAN" ${JHS.current.model})
    #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">exceptionHandlerBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.ExceptionHandlerBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">fUrlPorocilaBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">beans.fUrlPorocilaBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>
      #macro (POROCILA_BINDING)
      <methodAction id="f_url_porocila"
        InstanceName="AppModuleDataControl.dataProvider"
        DataControl="AppModuleDataControl" RequiresUpdateModel="true"
        Action="invokeMethod" MethodName="f_url_porocila"
        IsViewObjectMethod="false"
        ReturnName="data.AppModuleDataControl.methodResults.f_url_porocila_AppModuleDataControl_dataProvider_f_url_porocila_result">
        <NamedData NDName="p_sifra_porocila" NDType="java.lang.String"/>
        <NamedData NDName="p_parametri" NDType="java.lang.String"/>
      </methodAction>
      #end
      ${JHS.pageDefGenerator.addBinding($JHS.page,"f_url_porocila","#POROCILA_BINDING()")}
    </adfc-config>Regards,
    Dejan

  • Blank row added after cancel button on create page

    Hi All,
    I have a create item page where I insert items into the item table in the database.
    On press of the cancel button on this create page, the control reaches a itemlist page with my old search criteria and result but with a new blank row added to it.
    Anybody know what's wrong?

    Sorry, I misunderstood your previous question. When the cancel button is pressed. I am using pageContext.forwardImmediately with parameters to forward back to my search page. Then in the search page controller I call the AM initQuery method to run the query. My initQuery method has the following code,
    StringBuffer whereClause = new StringBuffer(200);
    Vector parameters = new Vector(3);
    int clauseCount = 0;
    int bindCount = 0;
    setWhereClauseParams(null);
    if ((Program != null) && (!("".equals(Program.trim()))))
    whereClause.append("PROGRAM = :");
    whereClause.append(++bindCount);
    parameters.addElement(Program);
    clauseCount++;
    if ((PId != null) && (!("".equals(PId.trim()))))
    Number PIdNum = null;
    try
    PIdNum = new Number(PId);
    catch(Exception e)
    throw new OAException("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    if (bindCount > 0)
    whereClause.append(" AND (P_ID = :");
    else
    whereClause.append(" (P_ID = :");
    whereClause.append(++bindCount);
    whereClause.append(")");
    parameters.addElement(PIdNum);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new Object[bindCount];
    parameters.copyInto(params);
    setWhereClauseParams(params);
    executeQuery();

  • Can't navigate to a page when using a class method

    I am working on windows phone 8.1 universal app where I have created a class method and placed it in the NavigationHelper_LoadState method of one of the  pages in my app. My navigation is as follows, I click on a link on my Mainpage and that takes me
    to the page in question,  where I have placed the class method in LoadState.
    The class method checks the authentication state of the user. If the user is not logged in, it is supposed to take him to a separate login page (SHDSignIn from the snippet below).
    The problem I am running into is that when I hit that part of the code in my class method, it just steps through the redirect code but doesn't take me to the login page but rather takes me to the  page that was clicked from mainpage.
    From the troubleshooting I have done up to this point seems like an issue probably because I am calling the method from NavigationHelper_LoadState and the system doesn't like it?? Can someone please explain and also provide a workaround for this?
    Here is my code for the class function:
    public async void SHDAuthState(string errormessage, ProgressBar myprogressbar, TextBlock mytextblock, TextBlock myservernetworkerror)
    //Get the values for the userID and password from the settings....
    string shdLoggedInValue = (string)appRoamingSettings.Values["shdLoggedIn"];
    //If not logged in, redirect to the SHD sign in page...
    if (shdLoggedInValue != "Yes")
    this.rootFrame.Navigate(typeof(SHDSignIn));
    //Getting the cookie if it has expired..
    else
    //Get the cookie value...
    string myCookieValue = (string)appRoamingSettings.Values["MyCookie"];
    //Get the original cookie obtain time....
    long CookieObtainedTimeValue = (long)appRoamingSettings.Values["CookieObtainedTime"];
    //Convertig date/time back to DateTime object....
    origCookieObtainedTime = DateTime.FromBinary(CookieObtainedTimeValue);
    currentDateTime = DateTime.Now;
    //Check to see if cookie has expired....
    cookieTimeElasped = currentDateTime - origCookieObtainedTime;
    cookieTimeElapsedMins = cookieTimeElasped.TotalMinutes;
    // 2 days = 2880 mins but we give a margin of 1 minute
    //Get a new cookie if it has expired and save to settings
    if (cookieTimeElapsedMins >= 2879)
    // Start showing the progress bar...
    mycontrols.progressbarShow(myprogressbar, mytextblock);
    //Get the values for the userID and password from the settings....
    string UserIDValue = (string)appRoamingSettings.Values["UserID"];
    string PasswordValue = (string)appRoamingSettings.Values["Password"];
    //Update the requestData string before sending.....
    requestData = "{" + string.Format(RegisterRequestData, UserIDValue, PasswordValue) + "}";
    string registerResults = await SHDAPI(registerUrl, requestData, errormessage);
    if (registerResults != null)
    // Get the cookie and the time and save it to settings
    var shdCookie = JsonConvert.DeserializeObject<SHDHelper.SHDObject>(registerResults).RegistrationCookie;
    //Save cookie to the app settings
    appRoamingSettings.Values["MyCookie"] = shdCookie;
    // build the UI
    // Stop showing the progress bar...
    mycontrols.progressbarNoShow(myprogressbar, mytextblock);
    else
    // Stop showing the progress bar...
    mycontrols.progressbarNoShow(myprogressbar, mytextblock);
    //Show the error message...
    myservernetworkerror.Visibility = Windows.UI.Xaml.Visibility.Visible;
    Also, I have the rootFrame defined as follows in my class:
    Frame rootFrame = Window.Current.Content as Frame;
    I am calling the class method from the LoadState method as follows
    SHD_helper.SHDAuthState(errorMessage, pgbar, pgText, ServerNetworkError);
    thanks
    mujno

    that is correct.  I wanted to keep the login page redirect inside my class method so that I could do the check every time someone came to pages that require authentication. I wanted it in the LoadState method so I can do a check there, redirect
    them to login page or just get a cookie and then pass that cookie to page to build the UI for the page
    I can do what you are suggesting and have actually tried it but then I have to track which page to take the user to after they log in...
    I have multiple clicks in the appbar  and pages from where the user can come to these authentication-bound pages..
    Suggestions?
    Also, what am I doing wrong in my class method that it doesn't navigate to the login page in the LoadState method?
    Thanks 
    mujno

  • How can I add a custom attribute to the create page dialog?

    I followed the following link to add a custom attribute called starred and this attaribute can be displayed in siteadmin grid
    http://dev.day.com/docs/en/cq/current/developing/customize_siteadmin.html
    I would like to let the user input the value when they create a page. That's why I would like to add a custom field in the input dialog box as attached pic.
    The method you describe before can only added those CQ bulid-in attribute.
    For those custom attribute, how can I added it?

    Hi,
    How can I customize the /bin/wcmcommand or how can I make use of [2] to create a custom WCMCommand?
    I think the "formUrl" is to post those input value to the jcr repository?
    var createDialog = {
            "jcr:primaryType": "cq:Dialog",
            "id": CQ.Util.createId("cq-createdialog"),
            "title":CQ.I18n.getMessage("Create Page"),
            "formUrl": CQ.shared.HTTP.externalize("/bin/wcmcommand"),
            "params": {
                "cmd":"createPage",
                "_charset_":"utf-8"
    I have added a field called "starred"
    Moreover, when I using the firebug to trace the post command, I can see that the starred value is posted also.
    :status
    browser
    _charset_
    utf-8
    cmd
    createPage
    label
    b
    parentPath
    /content/keyword_elaboration
    starred
    c
    template
    /libs/collab/commons/templates/form
    title
    a
    Source
    cmd=createPage&_charset_=utf-8&%3Astatus=browser&parentPath=%2Fcontent%2Fkeyword_elaboration&title=a&label=b&starred=c&template=%2Flibs%2Fcollab%2Fcommons%2Ftemplates%2Fform
    However, when I go to the crxde to view the node's attribute, the properity starred is not created
    Are there anything I did wrong or missing?
    Thanks.
    Message was edited by: aslkit

Maybe you are looking for

  • Why do I get "generic error" message when trying to upload a self-created, 1hr .wmv file?

    I went through the forums and made sure that any blocks or copywrites weren't triggered by the file, it's clean and can be opened using a media player and other video editing software like windows MovieMaker. I keep getting "The importer reported a g

  • Help with my D20

    Can I use a Intel Xeon X5670 in my Lenovo D20, I see the detailed specifications on the lenovo website state that the motherboard will support Intel® Xeon™ Dual Core processor with up to 4MB L2 cache and Intel® Xeon™ Quad Core processor with up to 8M

  • Do Not Expand on Drill Across/Down

    Hi All, I am having Two Restricted KeyFigures Called Short Term and Long Term. The Short term is restricted with Fiscal Month(Say  X) for a range of one year and the Long term is restricted with the same variable but Greater than Or Equal X. So the L

  • How I build my own libraries of classes/methods in java ?

    How I build my own libraries of classes/methods in java ? how then I refer a functionX() (i mean method) in LibraryX ? can you give a short/brief example of a library with a class with a method and a main method of normal class calling this method (o

  • Why can I no longer enter new events

    I upgraded to OS 10.6.8 on my iMac and also upgraded to OS 5 on my iPad and iPhone.  Now I cannot enter new events on my Calendar on my iMac - says it is a "mail" calendar and cannot be changed.  I had this same problem last summer and unfortunately