Disclosure of Panel in the iterator after refresh

I have an iterator that contains a group box that he revealed the vs.first value, so that the first element is disclosed and others are not.

This works very well for refreshes as much data as you want, unless you change the disclosure of all the boxes in the chart.

Once this is the case it breaks if the last event of disclosure before data refresh was to show one of the panels, then all THE panels will be disclosed; If the last event has been to hide one of the panels, then all THE panels will be disclosed.

Then spread on all updates of data then.

Is there a way to fix this? What obvious thing I am doing wrong?

We're on adf 11 (but can wait up to 12 for a fix) and we do not use JDeveloper.

Here is an excerpt of the structure involved in case this is useful...

<af:panelGroupLayout layout="scroll" partialTriggers="project service load send1 send2" >
                       <af:iterator var="result" value="#{viewScope.tester.results}" varStatus="vs" rows="0" binding="#{viewScope.tester.resultIterator}" rendered="#{!viewScope.tester.noResultsReturned}">
                         <af:panelBox showHeader="#{viewScope.tester.multiRecordOut ? 'always' : 'never'}" text="#{af:formatString(msg.ws_test_record, vs.index + 1)}" disclosed="#{vs.first}">
                           <af:panelFormLayout labelWidth="25%" fieldWidth="75%">
                             <af:iterator var="att" value="#{result}" rows="0">
                               <af:panelLabelAndMessage for="resatt" label="#{att.name}">
                                 <f:facet name="end">
                                   <af:outputText value="#{att.type}" />
                                 </f:facet>
                                 <af:inputText id="resatt" value="#{att.value}" rows="#{att.simple ? 1 : 2}" />
                               </af:panelLabelAndMessage>
                             </af:iterator>
                           </af:panelFormLayout>
                         </af:panelBox>
                       </af:iterator>
                     </af:panelGroupLayout>

Thank you

Hello

you have two iterators: af:iterator and af:forEach. AF:foreach create instances of the component, which means that the components are treated individally. AF:iterator is like a table without chrome and you do not have individual treatment of lines. Don't know what the problem was with af:forEach, but for the use case you are looking for once it seems that af: forEach is the best choice

Frank

Tags: Java

Similar Questions

  • Cannot display the data after refresh

    Original title: pat

    How to get back my office files after a refresh

    Hi Patricia,

    Thanks for posting your query in Microsoft Community.

    Let me ask you;

    1. Do you mean to say PC Refresh?
    2. How do you Refresh?

    When you perform the refresh, the applications that you install from Web sites and DVD is removed. The applications provided with your PC and applications that you have installed in the Windows store must be reinstalled. Windows puts a list of apps removed on your desktop after you refresh your PC.

    If you Refresh PC without affecting your files, data (office files) must be in the same place they were before the refresh. However, if you are unable to view them, it could be a possibility to be hidden.

    Open the file Explorer (for example: window of Documents)

    Click file , and then check the option hidden objects

    Check if you are able to view your office files

    If you are unable to view your files, please come back with answers to the questions, we will be happy to help you further.

  • Apex 4.0 interactive report row view dynamic action "after Refresh.

    Hello

    It seems that interactive report view row do not trigger the event "after refresh.
    I have not tested other events.

    I have taste.
    https://Apex.Oracle.com/pls/OTN/f?p=40323:76

    There is a dynamic action that show the alert by region "after updating' event.

    When you see a row, the alert is not displayed.
    Change record show no alert ether.

    Is it bug or missing feature?

    Kind regards
    Jari

    Hi Jari,

    I consider this a bug/feature missing as well. I filed bug # 10376989.

    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

  • Accordion Panel swinging back on layout after refresh

    Hello

    I have an Accordion widget with two panels. On the first Panel is a welcome screen and the second a user registration form. In this form, I have validation on the server side. If the information entered fails validation of the severside, refreshing the page, when the first Panel is opened, which contains the Welcome screen. Does anyone know how to maintain the current open Panel after a refresh of the page, so the remains of the user on the second Accordion Panel, containing the form?

    Any help would be fantastic,

    Thank you.

    How to link to a specific Spry Panel is described in this tutorial on my website: http://foundationphp.com/tutorials/spry_url_utils.php.

    The tutorial addresses pass values in the URL, so only the basic principles apply to your scenario. During the validation of a form server side, you need to use the POST method, so you'll need to adapt everything to use conditional logic side server like this:

    var Accordion1 = new Spry.Widget.Accordion("Accordion1", {defaultPanel: });
    
  • What is the best way to refresh the table after autosubmit (10.1.3.4)

    What is the best way to refresh the table after autosubmit?

    I have a page that contains a table where if one of the fields is changed it autosubmitted where the view object changes some attributes, based on the field having been changed. I need these modified attributes that appear in the table. But without doing anything, the only way to see these values is to cause the iterator updated table.

    I've been refreshing the table is having a method in a grain of beacking called "getSystemSettingIter.getCurrentRow ();". This seems to be a bit of a hack for me and I was wondering if there is a better way to get the table to update.

    Thanks in advance!

    Have you tried setting between the two partial page refresh?
    http://www.Oracle.com/pls/as111120/lookup?ID=ADFUI385

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/web_form.htm#CACEIEEI

  • Refresh the table after the creation of the new BO of Toplink

    Hello

    I have the following problem and I hope someone can help me. I use ADF11g/Taskflows with BOs TopLink-mapped (no ADF BC).

    Consider the Taskflow (s) following:

    the main activity is a (display) jsff page showing a table of BOs. From this point of view, two actions-defined results are called 'Edit' and 'create '. The edit action called an another Taskflow constisting of a pageFragment, showing the detailForm of the Soundtrack of data. This Taskflow has an input and output parameter (Soundtrack edit) and two are called "save" and "Cancel". Add Action calls a method called "createNewBO" first, and then calls the Taskflow mentioned also. Each Taskflow has ist own Bean managed in the pageFlowScope to work as a controller and DataControl to the TaskFlow and directly included views.

    The edit action works fine. The action also add except that the table of the default activity of the first taskflow does not update after return from the second Taskflow. I tried to put the property of refreshment in the PageDef of all possible values, in combination with the RefreshCondition, but no combination works. I can do a manual refresh or change the sort then the new Soundtrack is shown in the table.

    Is it possible to call a refresh of a jsff since a taskflow or I can force a refresh on entering the jsff?

    I am really stuck and appreciate any help ;)

    Friedrich

    You can try this:

    -on your taskflow diagram select the page that contains the table that you want to update, and add a Page parameter (from #{true} # {viewScope.refresh})
    -in pageDef page add an invokeAction in executable files and that it points to methodAction which fills the iterator to update
    -for newly created invokeAction, value refresh ifNeeded and condition of refreshment to #{viewScope.refresh}

    This should refresh the iterator each loading of the page (fragment).

    I hope this helps!

    Pedja

  • I was clear something in Add/Remove Programs, that my laptop go on restart, and after the disappearance of this button wiraless. I can't find it in the Control Panel, on the toolbar... How do I return it?

    Wireless

    I was clear something in Add/Remove Programs, that my laptop go on restart, and after the disappearance of this button wiraless. I can't find it in the Control Panel, on the toolbar... How do I return it? Sorry for the bad English.

    Hi Zeljka Djordjevic,

    ·         What program did you delete?

    I suggest to perform a restore of the system and check if the problem persists.

    How to restore Windows XP to a previous state

    http://support.Microsoft.com/kb/306084

  • How to keep playing the last song played after the external card refresh

    Does anyone know how to continue to play the last song played after the update of external card? Every time when I connect and disconnect the player from the PC to update some of the songs it refresh the external memory card and then play the first song of the record. Can anyone help? Thanks in advance.

    Adding or deleting files trugger a database refresh to disconnect from the computer. This resets the file before playing. There is no way to change this.

  • Refresh the screen after the removal of the UI elements

    Hello world

    I create a screen in which I use listfield to display data online as a way each line has a button Delete. I want to know how to refresh the screen after the deletion of data or a row of the screen?

    Because you actually using a HorizontalFieldManager to display each line, to remove it, you must remove the information in the underlying data store and then delete it HFM of his Manager.  That's it, removing the HFM will refresh the screen.

  • Access to the C drive after refresh error

    Yesterday when I booted up my pc, I got an error and it started auto repair. Repair auto falied. My C drive is almost full so I used cmd and free space then did an update of the system. The update went well, but after that whenever I try to access the C drive it says: 'access denied '. Under the name it shows "NTFS". Given that windows 8 has been installed in C itself, now I can't open system tools. Not even the properties of the drive C. I tried 'icacls' and 'takeown' but in vain. I had a lot of important things in the C drive, so it would be a real pain to format. I tried to use Linux to mount the drive, still cannot access it.  PS I want to know there is another way, I can access the files and make a backup of them? Or just to resolve "access denied"? Thank you in advance.
    PS. something similar to this topic is SanaMoin

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-performance/c-is-not-accessible-after-a-refresh/b4672f51-59BD-4465-8f66-0c59116c399d

    Hi Sumit,

    Thank you for giving us the opportunity to help you.

    According to the description of the problem, you can't access drive C and get the error "Access denied" after updating.

    You are connected with a Local account or a Microsoft account administrator?

    I suggest you follow the advice given in the below mentioned thread and see if it helps you to solve the problem.

    Can't access the c: drive, error 'access denied '. Problems began after refresh of Windows 8

    Hope that it would help if the problem persists please get back to us with the result of the proposed suggestion and we will be happy to help you.

    Kind regards

  • How to refresh the iterator of 'detail' ADF liaison with up-to-date data?

    JPA EJB - ADF Databindings JDEV 12.1.3 Application

    I ve a (one to many) (many-to-one)- relationship

    A CGrupo contains a list of UsuarioGrupo

    Oracle JDeveloper 12c - Guardian.jws  Model.jpr  CJDevelopermyworkGuardianModelsrccombanorteaxxiguardianmodelentityCGrupo.java.jpg

    A UsuarioGrupo contains CGrupo

    Oracle JDeveloper 12c - Guardian.jws  Model.jpr  CJDevelopermyworkGuardianModelsrccombanorteaxxiguardianmodelentityUsuarioGrupo.ja.jpg

    I created a page with ADF databindings as follows:

    Note that there is a Master table - table in detail

    Oracle JDeveloper 12c - Guardian.jws  ViewController.jpr.jpg

    And the parameters of the iterator of detail (usuarioGrupoListIterator)

    CacheResults: false

    Refresh: always

    Oracle JDeveloper 12c - Guardian.jws  ViewController.jpr  CJDevelopermyworkGuardianViewControlleradfmsrccombanorteaxxiguardianview.jpg

    Then I run the project and the only recording is displayed correctly

    Oracle SQL Developer  CUsersBWE~1.GMICONTROLCAMBIOS.sql_2.jpg

    But if I delete the folder

    Oracle SQL Developer  CUsersBWE~1.GMICONTROLCAMBIOS.sql_3.jpg

    and then I re run the iterator, but there are no changes in the page


    Oracle SQL Developer  CUsersBWE~1.GMICONTROLCAMBIOS.sql_4.jpg


    Is there a solution for this problem?

    Thank you for your attention and help.

    Ok. If the data is modified by another application you will need to rerun the query on the master (and children collection of refreshment) database (assuming you have JPA caching enabled by default). There are number of ways to make your main EJB Session to use to query the objects method (for example, the query with @QueryHint (name = QueryHints.REFRESH, value = HintValues.TRUE); and FETCH JOINED on children). Then, children are automatically updated in the data control.

  • Bridge does not refresh the thumbnails after changes in ACR.

    Bridge does not refresh the thumbnails after changes in ACR. Cultures made in ACR do not show more. I think it started after new ACR update. I have the last bridge and ACR and Photoshop.

    I thought about it. I have reset the settings of the bridge by pressing Command-Option-shift and then started bridge on my Mac. I lost my sight, I got but should display what I want to see again. But it solved the problem of the bridge not updated after modified ACR.

  • What is the use of refresh after Update/Insert in Wizard EO?

    Hello!

    What is the use of refresh after Update/Insert in Wizard EO? When I need it and when not?

    Thank you.

    -These checkboxes are for columns whose values change after that db triggers run.

    BR, 906099

  • Refresh the page after the fires of fileDownloadActionListener

    Hello experts!

    I use jDeveloper 11.1.1.7.0

    I have a table in a fragment of page jsfff with a button to upload the files that are shown in this table. After downloading the files, I need update the table.

    Downloading files when the user presses the button (partialsubmit = false) I invoke another button hidden (partialsubmit = false) which has af:fileDownloadActionListener that performs the action. (This is because I am doing other activities before you download files)

    It works fine, but I need to refresh the page (among others) after downloading the files. How can I do this?

    I tried to update the table of

    -method fileDownloadActionListener

    -Method of hidden commandButton action

    -The partial trigger table button

    But I could not update the table with any of these

    How can I refresh the table after uploading the files?

    Yes.

    I'm looking at the source code for FileDownloadActionListener.processAction ().

    After invoking the method property, he calls FacesContext.responseComplete (); which ignores the render response phase.

    And so you can not rynefall page at all.

    An in-depth, that you can do, is to use af:poll, IE, activate the survey by clicking on the button visible (in javaScript)

    Here you can see how to start the survey by javaScript:

    GEBS | Oracle Fusion Middleware 11g ADF progress indicator

    (search handlePoll )

    In the pollListener, you can refresh the page AND also disable survey by itself (by calling setInterval(-1))

    After questioning to stop, you must refresh the survey component, with

    AdfFacesContext.getCurrentInstance (.addPartialTarget(...your_poll...whatever));

  • How can I get the page to refresh after a certain period of time, so he jumps at the beginning of a page of the site? Its for an exhibition

    Hello

    I'm in an exhibition space where I need to post my Muse site in offline and locally on the desktop. I'm looking for a way for the website to refresh after a certain period of time, so he can come back at the beginning of the page. Can anyone help? Please, I beg you!

    You can try the steps here:

    http://StackOverflow.com/questions/2787679/how-to-reload-page-every-5-second

    http://StackOverflow.com/questions/17886578/refresh-part-of-page-div

    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jQuery-and-AJ ax.

    Thank you

    Sanjit

Maybe you are looking for