Dynamic region of the ADF

JDeveloper Studio Edition Version 12.1.2.0.0

We have a Forms application we're calling an ADF application from. The application of the ADF is simple. A page with a dynamic region. The forms application will use a setting of url for the application of the adf to decide which region to show. Can someone explain how best to 1) capture the setting and 2) invoking the correct region. Should I put in place some - type listener of phase on the page or is there a better way?

Thank you

Neal

You can add the page parameter to view activity.

Select your view activity diagram adfc-config and in the section 'Page Settings' add the new parameter.

"Of value" set something like: #{param.yourUrlParamName}

As value 'to' set something like: #{viewScope.targetVariable}

Then, in the dynamic region bean change getDynamicTaskFlowId() method, for example:

public TaskFlowId getDynamicTaskFlowId() {
String target = (String)ADFContext.getCurrent().getViewScope().get("targetVariable");
if("tf1".equals(target)){
return TaskFlowId.parse(taskFlow1Id);
}else{
return TaskFlowId.parse(taskFlow2Id);
}
}

Dario

Tags: Java

Similar Questions

  • TabContext get null inside the dynamic region of the ADF.

    Hello

    I have a dynamic region is placed inside a jsff and in this dynamic region, on click of a button, I try to access TabContext using the piece delimit code. But TabContext is always null.

    TabContext tabContext = TabContext.getCurrentInstance ();
    System.out.println (tabContext);

    In fact, by getting the TabContext, my intention is to open a TaskFlow in a new tab.
    I have a tabContext parameter defined in the workflow that fell like a dynamic region. The jsff that contains this dynamic region, which also has the tabContext parameter defined.

    Can someone help me please?

    Thank you
    Gaurav.

    Hello

    .. .and that you have set the region on bindings setting? something like ${pageFlowScope.tabContext}

  • Dynamic region in the Popup - clientListener problem?

    Hello

    I work in Jdeveloper 11.1.1.2, following the model of popup/region found at: http://www.oracle.com/technology/products/adf/patterns/11/popupregionpattern.pdf to have a dynamic region in a popup. I already have an active implementation on one of my pages, but the same exact implementation on another page gives me questions. Whenever I have add a component of af: clientListener to my popup, the table in the same panelCollection stops its rows of rendering. Display the column headings, but there is no text of any kind in the lines. If I delete the af: clientListener, my page works perfectly.

    Here's my code for popup so far:
    < af:popup id = "awdPU" contentDelivery = "lazyUncached".
    launcherVar = 'source' eventContext "Launcher" = >
    < af:setPropertyListener from = "#{source.attributes.saId} '"
    to = "#{pageFlowScope.currentSaId} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.saId} '"
    to = "#{pageFlowScope.currentSchlrId} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.appId} '"
    to = "#{pageFlowScope.currentAppId} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.aidYear} '"
    to = "#{pageFlowScope.currentAidYearId} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.theAction} '"
    to = "#{pageFlowScope.currentAction} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{viewScope.popupDynamicRegionBean.popupTaskFlowId} '"
    to = "#{viewScope.popupDynamicRegionBean.dynamicTaskFlowId} '"
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.orgId} '"
    to = "#{pageFlowScope.currentOrgId} '"
    Type = "popupFetch" / >
    < af:panelWindow id = 'pw1' title = "Attribution" >
    < af:region value = "#{bindings.dynamicRegion1.regionModel} '"
    ID = "dynam1".
    regionNavigationListener="#{viewScope.popupDynamicRegionBean.regionNavigated}"/ >
    < / af:panelWindow >
    < af:serverListener type = "serverPopupClosed".
    Method="#{viewScope.popupDynamicRegionBean.swapEmptyTaskFlow}"/ >
    < af:clientListener method = "popupClosedListener".
    Type = "popupClosed" / >
    < / af:popup >

    and here is my work, full dynamic region + popup code:

    < af:popup id = "awdPU" contentDelivery = "lazyUncached" launcherVar = "source".
    eventContext "Launcher" = >
    < af:panelWindow id = 'window' title = "Attribution" modal = "true" closeIconVisible = "false" >
    < af:region value = "#{bindings.dynamicRegion1.regionModel}" id = "dynam1" "
    regionNavigationListener = "#{viewScope.popupDynamicRegionBean.regionNavigated} '"
    inlineStyle = "" background-color: transparent; "/ >"
    < / af:panelWindow >
    < af:setPropertyListener from = "#{viewScope.popupDynamicRegionBean.popupTaskFlowId} '"
    to = "#{viewScope.popupDynamicRegionBean.dynamicTaskFlowId} '"
    Type = "popupFetch" / >
    "< af:setPropertyListener from =" #{source.attributes.saId} "to =" #{pageFlowScope.currentSaId} ".
    Type = "popupFetch" / >
    "< af:setPropertyListener from =" #{source.attributes.appId} "to =" #{pageFlowScope.currentAppId} ".
    Type = "popupFetch" / >
    < af:setPropertyListener from = "#{source.attributes.aidYear} '"
    to = "#{pageFlowScope.currentAidYear}" type = "popupFetch" / > "
    < af:setPropertyListener from = "#{source.attributes.theAction} '"
    to = "#{pageFlowScope.currentAction}" type = "popupFetch" / > "
    < af:clientListener method = "popupClosedListener" type = "popupClosed" / >
    < af:serverListener type = "serverPopupClosed".
    Method="#{viewScope.popupDynamicRegionBean.swapEmptyTaskFlow}"/ >
    < name af:clientAttribute = 'action' value = "makeAward" / >
    < af:clientListener method = "adjustPopupSize" type = "popupOpening" / >
    < / af:popup >

    Anyone know of any reason that a client listener would have this kind of impact on my page? I tried other types or methods, and it just seems as if an af:clientListener is there, it won't work.
    Thank you!

    Hello

    I came across this type of problem. What do you call the javascript method it may contain errors or if the clientListner not able to find the method that you call in the jspx drop that behave like this only.
    keep an alert beginning of the script (popupClosedListener) method and check if it is the call or not. Better related serverListner should be after the ClientListner.

    Reg,
    Brahma...

  • Dynamic region on the change from the drop-down list of values

    Hi Experts,

    Using the concept of dynamic region, I tried to use buttons as I have 4 buttons and clicking on each button, I am loading the particular taskflow. I used setPropertyListener and type = action to achieve this.

    I have a similar requirement, but I need to use the drop down list here...

    < af:selectOneChoice value = "#{mybean.value}" >

    < f: selectItem itemLabel = "First" Valeurelement = "FirstValue" / > "

    < f: selectItem itemLabel = "Second" Valeurelement = "SecondValue" / > "

    < f: selectItem itemLabel = "Third" Valeurelement = "ThirdValue" / > "

    < f: selectItem itemLabel = "fourth" Valeurelement = "FourthValue" / > "

    < / af:selectOneChoice >

    How can I dynamically load a region on the value selected by the user on top of the data. On the change of the value in the drop-down list, I need to load this particular dynamic region

    JDeveloper version 12.1.3

    Thanks in advance.

    You use a listener to change value of the duo down and detect the region according to the new value of the duo down.

    Timo

  • Region of the ADF - JSFF in JSPX Page problem

    Hello world!

    I use JDeveloper 11.1.1.7 and working on ADF

    I have an area on my jspx page. For this, I created a page jspx and a workflow bounded for the region. Bounded task flows has a view and a jsff page.  I dragged and has decreased the flow of work to make the region to jspx page and selected the region. It is looking without problem.

    But I throw jspx page, page works fine with other components. Does not display only the region jspx on page.

    How can I solve this problem?

    Thank you.

    Hello

    If you use the ADF security you config the taskflow with security as well. If you don't use ADF security then you can create a new page and only add the taskflow as a region and see if it works fine in there.

    Concerning

  • What's wrong with the dynamic region within the static region

    Hi all

    I use Jdeveloper 12 c

    I do app with a jsf page (man.jsf) contains the static region (xxx.jsff)

    the static region contains a dynamic region and I define the scope in the tent (adfc-config) (backingbean extended, scope of the request, see scope)

    the result is main.jsf is empty

    hand. JSF > > xxx.jsff (static region) > > bb.jsff (dynamic region)

    http://127.0.0.1:7101/face/hand? _afrLoop =

    What is the solution for this problem.

    Hello

    Actually the managed bean used by the static region should be extended to at least view. The managed bean should be defined in the configuration of the workflow of the static region.

    Frank

  • Region of the ADF does not show

    Hello

    I have a page jsff I want to add a region (through flow of delimited tasks & jsff file).

    When I add an existing workflow (which appears as a region to another page) everything works fine.

    However, when I add a newly created workflow, if nothing shows when the application runs. However, it shows very well in the JDev preview.

    After doing this several times, I believe that the newly created workflow is very well (similar to the existing one that works).

    No idea what can be wrong?

    I use JDeveloper 11,1,1,6.0

    Yes I have a default activity.

    The question listening to be on the permissions and authentication. We have just added the ADF authentication; so you have to added permissions view these newly created resources (taskflows).

    Because it was the first tasfklow which was added after the addition of authentication of the ADF, we have neglected it.

  • Dynamic region of the body of the function return query did not work

    APEX 4.1

    Oracle 11g

    I have a report of dynamic fields according to the value of the different type of zone set element is body of pl/sql function, return query, see the source code of the region below.

    declare

    v_sql varchar2 (2000);

    Start

    IF: P2_BY = 'MONTH' THEN

    v_sql: = 'SELECT ' | : P2_TYPE | ', SUM (JAN) JAN, SUM (FEB) FEB, SUM (MAR) MAR, SUM (APR) APR, SUM (MAY) MAY, SUM (JUN) JUN, SUM (JUL) JUL, SUM (AUG) AUG, SUM (SEP) SEP, SUM (OCT) OCT, SUM (NOV) NOV, SUM (DEC) DEC OF THE RPT_HOTEL GROUP BY ' | : P2_TYPE;

    ON THE OTHER

    v_sql: = 'SELECT ' | : P2_TYPE | ', SUM (Y2011) 2011, SUM (Y2012) Y2012, SUM (Y2013) Y2013, SUM (Y2014) 2014 RPT_HOTEL GROUP BY ' | : P2_TYPE;

    Return v_sql;

    end;

    But "Missing expression" error when Save source in the region.

    I checked the sql statement is valid in the sql command, and: P2_TYPE get the correct value.

    If the generic column name 'use' then get the correct report, but the column name is random.

    Please help solve.

    Thank you so mcuh

    Hi fac586,

    I couldn't thank you more. Of course, read you my code and found that the design of table is not reasonable. in fact I just design for the demonstration of the prototype, so do not consider architecture.

    I mean, it is that the problem has disappeared when I create a new page like this one, don't know how it happened. in any case what I need has been achieved, thank you very much for what you have done.

    Here I paste my code for reference, that someone might need.

    declare
    v_sql varchar2(2000);
    v_time varchar2(50);
    v_for varchar2(30);
    begin
    IF :P4_TIME='MONTH' THEN
    v_time := 'to_char(lodging_date,''MM'') MONTH';
    v_for := 'to_char(lodging_date,''MM'')';
    ELSE
    v_time := 'to_char(lodging_date,''YYYY'') YEAR';
    v_for := 'to_char(lodging_date,''YYYY'')';
    END IF;
    IF :P4_MEASURE='NIGHTS' THEN
    v_sql := 'SELECT * from (SELECT ' || :P4_BY || ',VENDOR_NAME,' || v_time
    || ',count(entry_legacy_key) ROOM_NIGHTS
    FROM HOTEL_EXPENSE GROUP BY ' || :P4_BY || ',VENDOR_NAME,' || v_for || ')
    PIVOT (SUM(ROOM_NIGHTS) FOR ';
    ELSE
    v_sql := 'SELECT * from (SELECT ' || :P4_BY || ',VENDOR_NAME,' || v_time
    || ',SUM(APPROVED_AMOUNT) SPENDING
    FROM HOTEL_EXPENSE GROUP BY ' || :P4_BY || ',VENDOR_NAME,' || v_for || ')
    PIVOT (SUM(SPENDING) FOR ';
    END IF;
    IF :P4_TIME='MONTH' THEN
    v_sql := v_sql || ' MONTH IN (''01'',''02'',''03'',''04'',''05'',''06'',''07'',''08'',''09'',''10'',''11'',''12''))';
    ELSE
    v_sql := v_sql || ' YEAR IN (''2011'',''2012'',''2013'',''2014''))';
    END IF;
    return v_sql;
    end;
    

    and checked

    'Use generic column names (analysis of query during execution only)'

    column of the report used PL/QL name

    declare
    v_sql varchar2(2000);
    begin
    v_sql :=  :P4_BY || ':VENDOR_NAME';
    IF :P4_TIME='MONTH' THEN
    v_sql := v_sql || ' :Jan:Feb:Mar:Apr:May:Jun:Jul:Aug:Sep:Oct:Nov:Dec';
    ELSE
    v_sql := v_sql || ':2011:2012:2013:2014';
    END IF;
    return v_sql;
    end;
    
  • Region of the ADF, submit and problem of navigation buttons

    Hello world

    My JDev is 11.1.1.7

    I have a jspx page and it has a region.

    There is an af:table, an af:form with navigation buttons and submit buttons in the region. When I run the page jspx, region is working.

    When I chose a table row, form updates. There is no problem here!

    But, when I want to use the buttons, for example, I used the navigation or submit buttons. Nothing happens.

    How can I solve this problem?

    Thank you

    There is an af:table, an af:form with navigation buttons and submit buttons in the region.

    When I read that part once again, it's not very clear is your table inside the af: form or not.

    You should have that one af:form in the hierarchy of the pages and everything must be placed inside this form.

    Dario

  • How to call a popup by programming in the region of the adf

    Hi all
    I have included a workflow as a region in my home.jspx page.
    My taskflow contains an active, page jsff where save button click I want to show a popup message programmatically
    I mean I want to call showpoup code in my save the action listener.
    I had some code snippet, but it works only incase if popup is called from jspx.

    *****************

    public static invokePopup Sub (String popupId, String line,
    String alignId) {}
    If (popupId! = null) {}
    ExtendedRenderKitService = service
    Service.getRenderKitService (FacesContext.getCurrentInstance (),
    ExtendedRenderKitService.class);

    StringBuffer showPopup = new StringBuffer();
    showPopup.append ("var tips = new Object();");
    Add hints that if specified - see javadoc for js AdfRichPopup for more information on the behavior and valid values
    If (align! = null & & alignId! = null) {}
    showPopup.append ("tips [AdfRichPopup.HINT_ALIGN] =" + line +)
    ";");
    showPopup.append ("advice [AdfRichPopup.HINT_ALIGN_ID] ='" +)
    alignId + "";");
    }
    showPopup.append ("var popupObj = AdfPage.PAGE.findComponent (" "+)")
    popupId +.
    "'); ("If (popupObj) popupObj.show (hints);");
    service.addScript (FacesContext.getCurrentInstance (),
    showPopup.toString ());
    }
    }


    *************************************************8

    Please let me know what changes should I inorder to call popup thid invoke, the jsff method.

    Thank you, regards,
    Arun.

    Hi Arun,

    From Oracle JDeveloper 11.1.1.3, instance of af: popup can be opened by using a Java method on the RichPopup object. There is no more need of javascript and the extendedRenderkitService.

    To launch a popup to a managed bean, you must first get an instance of rich popup, what you can do by making reference to a binding of JSF component.

    To open the context menu call you

    RichPopup.PopupHints ph = new RichPopup.PopupHints();
    popup.show(ph);
    

    Popup indicators can be used to set the alignment, the component that the popup is open next door and the alignment type.

    To close a popup, simply call

    popup.show(hide);
    

    Regards Luke

  • any button in the dynamic region you put me the default taskflow

    Hi all

    I used Oracle Adf 12 c,

    I do application with a jsf page and using Panel springboard and inside he ShowDetailItem inside static area Dynmiac area inside.

    Jsf Page > > Panel Spring Board > > view item details > > static region > > dynamic region

    the problem is when I click on the button in the dynamic region it navigate to the default taskflow.

    My problem is solved by changing the scope of the managed bean (application scope in sight).

  • Data for the problem of dynamic regions was interrupted

    Hello. I use JDev 11.2.2 and stack complete ADF.



    This is when I try to load a new stream of work of a dynamic region. Let me give a step by step test case:



    1 - using HR, model of generation: create objects (entities, objects View) for the employees and departments tables and an Application Module.

    2. - in VC, add a page facelets with layout of two columns, first for a tree for the switching of regions and a dynamic region in the second column.

    3 - create a page fragment that includes a generated table view in data controls and another fragment of page view of departments.

    4 - create two workflow bounded, for fragment employees and another for the fragment of departments.

    5 - drag and drop workflow bounded to create a dynamic region in the second column of the home page. Of course by selecting backingBean for new bean (default value is increased demand).

    6 - in the model, create a static filled List View object with two attributes: a workflow id and a description

    7 - in VC, generate a tree in the first column of the home page

    8. - write a component of the tree selection listener to read the id of the current workflow and set this ID value of workflow dynamic region at the appropriate bean.

    9 - set triggers of partials in a dynamic region in the homepage to listen for events from the tree.



    10 - run and try to load a new workflow clicking in the tree. An alert is triggered with this message:


    * "The content of this page could not load as expected because data transmission has been interrupted. Please try again or contact your system administrator. » *



    And the newspaper is displayed as a result of lines:


    * < FaceletViewHandlingStrategy > < handleRenderException > error rendered View [index.jsf] *.

    java.lang.IllegalStateException: component data flow is not found

    at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:378)

    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3666)

    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1474)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1681)

    at oracle.adfinternal.view.faces.context.PartialViewContextImpl._processRender(PartialViewContextImpl.java:321)

    at oracle.adfinternal.view.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:152)

    at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:974)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1674)

    at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:350)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1032)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:339)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)



    If the taskflow taskflow id that has not worked is established in bean area Dynamics initial taskflow for the region, it works, but the other taskflow fails...



    Any suggestions?





    CPOI

    Hello

    + "Make sure selection backingBean to new bean (default value is increased demand)". "+"

    That's your problem. Set the viewScope bean to avoid dynamic region to switch back to the default workflow after each request

    Frank

  • Dynamic display of table on the page of the ADF

    I'm looking for a page ADF that has a drop down box whose name table as inputs and when he selected should show data within this table in the ADF array element.

    Arun,

    What do you mean by "more simple? Another way to proceed would be to have fragments of JSF page separated for each table and use a dynamic region on the home page. I haven't worked through the solution, but it should work.

    John

  • Refresh the dynamic region on close session

    I work with dynamic regions and the problem is that: If the first user with rol, one begins to navigate his workflow and don't return to the initial task flow and close its session, then another user with rol B view the last page the user with rol sailed to. I test this case in a browser and in a single computer. So how to solve this problem? This put my session nearby:

    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
            clave = "";
            usuario = "";
            HttpServletResponse response = null;
            if (ectx != null) {
                response = (HttpServletResponse)ectx.getResponse();
                try {
                    String url = ectx.getRequestContextPath();
                    response.sendRedirect(url + "/faces/login");
                    FacesContext.getCurrentInstance().responseComplete();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
    

    Hello

    I see that navigate you to the login screen, but I don't see you leave the session. You must invalidate the session in order to ensure that a new user can connect.

    Frank

  • Drag / move the dynamic region to tree parent link table

    Hello

    Is it possible to drag a row of a table returned by using the dynamic region of the parent tree? For example, I have the parent tree Explorer (say, dept and emp), clicking the dept and emp, it makes the Department or employee details to separate the workflow using the notion of dynamic region. Now I'm moving employees Department provided one and link to another node in the Department, it does not work. The listener to fall (on the tree) is not getting recognized.

    Is there something I'm missing?

    Thank you
    Sachin

    Hello

    as far as I know, drag and drop happens on the client and is therefore not bound by employment regions or dynamic regions. Then drag and drop should work for this use case. You share the implementation of slip and fall in the scenario you so that I don't want to exclude a program on your site (for example disccriminator incompatibility) error

    Frank

Maybe you are looking for

  • X 260 unload the first internal battery

    Hello When the power of the battery, discharge the battery internal of my X 260 before the external battery. I use Windows Home 10 and bios is 1.19 (what it came bundled with). I have not found a definitive solution to this problem - only comments of

  • Pro keyboard Lenovo Yoga 2 part number

    Sorry if this isn't in the right area, first post and I tried searching the forums for the answer. I am looking for the part number of the keyboard Lenovo Yoga 2 Pro. THX. Comment to Moderator: He moved to you.

  • The D drive, which is a partition on my main hard drive disappeared.

    My D drive, which is a partition on my main hard drive disappeared. He has a lot of data. I use Windows xp. How to restore the partition as drive D and recover files that have been on it?

  • Service-level summary report

    Hi team We try to run the iterator level summary report Service. We need to be run daily, but only the specific services we have created... But this report runs by default for all services created. is it possible to restrict the services for which I

  • ORA-01476: divisor is equal to zero

    HelloTo avoid the error oracle ORA-01476 (in sql, pl/sql not) I check the divider first - so it don't not to zero - and then make the division.For example: with sample_data(n1, n2) as (select 6, 4 from dual union all select 8, 0 from dual) select cas