JSF bean partially updated

Hi,
I have a jsf page where I display areas of "complexe" shape. So each element is displayed with multiple styles.
<c:forEach items="#{myBean.listElement}" var="value">
     <c:forEach items="#{value.style}" var="style" varStatus="stat">
          <h:panelGroup style="#{style}" id="#{value.id}_#{stat.index}">
               <h:outputText value="#{value.title}" />
          </h:panelGroup>
     </c:forEach>
</c:forEach>On this page there is a button wich change the internal state of myBean. So the elements returned should be different.
I get the following source code when oppened in IE.
<span id="listData:C1000_0" style="..."> 1200</span>
<span id="listData:C1001_0" style="..."> 1225</span>
<span id="listData:C1109_0" style="..."> 1230</span>
<span id="listData:C1120_0" style="..."> 1231</span>
<span id="listData:C1121_0" style="..."> 1248</span>
<span id="listData:C1122_0" style="..."> 1250</span>
<span id="listData:C1123_0" style="..."> 1251</span>
<span id="listData:C1124_0" style="..."> 1275</span>
<span id="listData:C1160_0" style="..."> 1224</span>
<span id="listData:C1105_0" style="..."> 1247</span>
<span id="listData:C1105_1" style=""> 1247</span>
<span id="listData:C1105_2" style=""> 1247</span>
<span id="listData:C1108_0" style="..."> 1274</span>
<span id="listData:C1133_0" style=""> </span>
<span id="listData:C1224_6" style="..."> 1224</span>
<span id="listData:C1224_7" style="..."> 1224</span>
<span id="listData:C1247_0" style="..."> 1247</span>
<span id="listData:C1274_0" style="..."> 1274</span>
<span id="listData:C1274_1" style="..."> 1274</span>
<span id="listData:C1274_2" style="..."> 1274</span>The number in the id should be the same as the displayed number. This is correct for the last spans but not the first ones. My biggest concern is that some style are empty and that some elements are not at all displayed.
Apparently the data is partialy cached in some way. The list size is seems to be cached but not the content of the list. The id value seems to be cached but not the title value.
Does any of you have a solution or tip for me?
Nils
I am using myface 1.1.5 with tomcat 6

Use Tomahawk´s t:dataList rather than JSTL´s c:forEach.
Or if you´re using Facelets, then use ui:repeat.

Similar Messages

  • Is partial update possible?

    Hi,
    is it possible to have Toplink perform partial update of an object, instead of all the attributes. What I need is exactly the same feature as Toplink's support for partial reading where you can specify which fields to retrieve from database.
    It's necessary to disable the update of some fields in some circumstances even if the field's value is different from what is in database row. it sounds meaningless but needed.
    regards & thanks.

    I am confused by your request. TopLink's UnitOfWork provides minimal update capabilities. It will only modify those attributes that are different from when the object was read in.
    Doug

  • Upon updating to firefox 6, I get the error message "cannot update because 'libsmime3.dylib' is in use" Now firefox cannot start because it is partially updated and non-functional.

    Firefox fails to open, now that it has been partially updated. Initially, it asked to replace the old firefox, which then proceeded to the next step when this appears: "cannot update because 'libsmime3.dylib' is in use". I have quit all applications and restarted, trying to run the install again as the first thing when the computer comes up. Mac version is OS X 10.5.8.

    Firefox is already running but is not responding
    * https://support.mozilla.com/en-US/kb/Firefox%20is%20already%20running%20but%20is%20not%20responding
    Profile in use
    * http://kb.mozillazine.org/Profile_in_use
    The program must close to allow a previous installation attempt to complete
    * https://support.mozilla.com/en-US/kb/The%20program%20must%20close%20to%20allow%20a%20previous%20installation%20attempt%20to%20complete
    Check and tell if its working.

  • Endeca partial update problem

    I'm getting an exception when performing a partial update. I'm using Endeca 6.1.1. The logging says: 'Utility 'wget_-http-127-0-0-1-9005-admin-op-update-' failed.'. I have verified that wget.exe is present. The exact logging is added below.
    I appreciate any help.
    Marco
    [10.21.13 11:47:04] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
    [10.21.13 11:47:06] INFO: Definition has not changed.
    [10.21.13 11:47:06] INFO: Starting partial update script.
    [10.21.13 11:47:06] INFO: Acquired lock 'update_lock'.
    [10.21.13 11:47:06] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_PartialForge'.
    [10.21.13 11:47:08] INFO: [ITLHost] Starting shell utility 'cleanDir_processing'.
    [10.21.13 11:47:09] INFO: [ITLHost] Starting shell utility 'cleanDir_forge-output'.
    [10.21.13 11:47:11] INFO: [ITLHost] Starting shell utility 'move_incoming-Updates-635176131878089292-xml_to_processing'.
    [10.21.13 11:47:12] INFO: [ITLHost] Starting copy utility 'fetch_config_to_input_for_forge_PartialForge'.
    [10.21.13 11:47:13] INFO: [ITLHost] Starting component 'PartialForge'.
    [10.21.13 11:47:23] INFO: [ITLHost] Starting shell utility 'move_forge-output-Test5-sgmt0-records-xml_to_forge-output-Test5-sgmt0-records-xml-2013-10-21-11-47-22'.
    [10.21.13 11:47:24] INFO: [ITLHost] Starting copy utility 'fetch_partials_to_cumulative_partials_dir'.
    [10.21.13 11:47:24] INFO: [MDEXHost] Starting shell utility 'cleanDir_local-cumulative-partials'.
    [10.21.13 11:47:25] INFO: [MDEXHost] Starting copy utility 'copy_partial_update_to_host_MDEXHost_Dgraph1'.
    [10.21.13 11:47:26] INFO: Applying partial updates to dgraphs in update group 'Group0'.
    [10.21.13 11:47:26] INFO: [MDEXHost] Starting copy utility 'copy_cumulative_partials_to_dgraph_Dgraph1'.
    [10.21.13 11:47:26] INFO: [MDEXHost] Starting shell utility 'wget_-http-127-0-0-1-9005-admin-op-update-'.
    [10.21.13 11:47:27] SEVERE: Utility 'wget_-http-127-0-0-1-9005-admin-op-update-' failed.
    Occurred while executing line 30 of valid BeanShell script:
    27|        // distribute partial update, update Dgraphs
    28|        DgraphCluster.cleanLocalPartialsDirs();
    29|        DgraphCluster.copyPartialUpdateToDgraphServers();
    30|        DgraphCluster.applyPartialUpdates();
    31|
    32|        // archive partials
    33|        PartialForge.archiveCumulativePartials();
    [10.21.13 11:47:27] SEVERE: Caught an exception while invoking method 'run' on object 'PartialUpdate'. Releasing locks.
    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
    com.endeca.soleng.eac.toolkit.utility.Utility runInParallel - Utility 'wget_-http-127-0-0-1-9005-admin-op-update-' failed.
    [10.21.13 11:47:27] INFO: Released lock 'update_lock'.

    Property accessor is the answer

  • How to get list of all JSF beans

    How can one get a list of all JSF beans?
    To get a particular JSF bean one does
       static public Object findJSFBean(String beanName)
          FacesContext fc = FacesContext.getCurrentInstance();
          if (fc== null) return null;
          ELContext elContext = fc.getELContext();
          Application app = fc.getApplication();
          ELResolver elResolver = app.getELResolver();
          Object result = elResolver.getValue(elContext, null, beanName);
          return result;
       }Edited by: sn72 on Sep 2, 2008 5:49 PM

    sn72 wrote:
    Several ways:
    1) Store some key in the request scope indicating the "id" of the wizard.
    2) Use a single session scoped bean which references all related session scoped beans so that you have a single main point of reference.
    3) Consider conversation scope. Apache Orchestra and JBoss Seam have their solutions.1. Can you elaborate on this?On start of the wizard generate/assign some unique identifier which you pass to the next request everytime as a hidden parameter. Use this identifier to identify a separate 'wizard conversation scope'.
    2. Yeah, this might work. But I'd need to have a common entry point (such as overriding doPost of the default faces servlet) to destroy the wizard bean whose pages have ended, which means hardcoding page names in my java code. Also, my wizard would have to register itself in this map. That's why this solution seems very much like what I was asking for originally -- that is, the session bean has a list of all wizard beans in it.Just destroying the session bean at its own ought to be sufficient. E.g. externalContext.getSessionMap().put("managedBeanName", null); destroys the session scoped bean associated with the specified managed bean name.
    3. This is the ideal solution. Unfortunately, the documentation is not very good, and I could not find examples. Hopefully this will make its way into JSF 3.0.Can't help any much with this further.

  • Partial Update not running

    Hi All,
    I am trying to build a partial update pipeline for the first time. I tried to follow the steps given in Partial updates guide. But when i tried to run the partial update script, initially it  was throwing an exception "SEVERE: Partial updates not implemented.
    Occurred while executing line 3 of valid BeanShell script". But I modified the "DataIngest" file in C:\Endeca\Apps\Discover\config\script by commenting the exception part.
    Now my partial update script is running but it gives me a following warning message and nothing gets updated or added in my jspref page.
    C:\Endeca\Apps\Discover\control>partial_update.bat
    [04.15.14 17:31:45] INFO: Checking definition from AppConfig.xml against existin
    g EAC provisioning.
    [04.15.14 17:31:45] INFO: Definition has not changed.
    [04.15.14 17:31:45] INFO: Starting partial update script.
    [04.15.14 17:31:45] INFO: Acquired lock 'update_lock'.
    [04.15.14 17:31:45] WARNING: Partial update data extract flag 'partial_extract::
    adds.txt.gz' exists with no associated file in incoming directory 'C:\Endeca\App
    s\Discover\config\script\..\..\.\data\partials\incoming'.
    [04.15.14 17:31:45] WARNING: Partial update data extract flag 'partial_extract::
    deletes.txt.gz' exists with no associated file in incoming directory 'C:\Endeca\
    Apps\Discover\config\script\..\..\.\data\partials\incoming'.
    [04.15.14 17:31:45] WARNING: Partial update data extract flag 'partial_extract::
    updates.txt.gz' exists with no associated file in incoming directory 'C:\Endeca\
    Apps\Discover\config\script\..\..\.\data\partials\incoming'.
    [04.15.14 17:31:45] WARNING: No partial update data ready for processing.
    [04.15.14 17:31:45] INFO: Released lock 'update_lock'.
    [04.15.14 17:31:45] INFO: Partial update script finished.
    Please help
    Thanks in Advance.
    Savi

    You need to set partial update locks on exactly the input files that you reference in your partial_pipeline.epx diagram - at least one and all of the required ones (if you have several and some are optional)
    Out of the box, the load_partial_test_data script sets flags for adds.txt.gz, updates.txt.gz, and deletes.txt.gz.  Edit the load_partial_test_data script to see how it is setting this flag.  Then swap out the files it references to the ones your partial pipeline references.  For example, change to
    "${WORKING_DIR}/set_partial_data_ready_flag.sh" my-test-file.txt
    After you do that, running the partial_update script should work just fine.

  • ADF After Partial Update Event

    Hi im developing an ADF application. My Jdev version is 11.1.2.3.0. I'm using Partial Update with ADF Panel Form element. I need a javascript event/listener when Panel Forms' all content refreshed with PPR. How can handle this?

    No, i only need and JavaScript event. For example when an Partial Update is completed in any/some component, a javascript function must call.
    Pseude Code
    + A button triggers a Partial Update
    + ADF updates chunk of component besides screen
    + After this update completed, call a Javascript function (For example: console.log("Partial update successfully completed.");)

  • ADF JSF - Multiple Rows Update

    Does anybody if there is a new component in ADF JSF that allows update of multiple rows? Se example...
    ID     | Name | Number
    1     | textbox | textbox
    2     | textbox | textbox
    3     | textbox | textbox
    |Create- button| | Save - button|

    Sure, the ADF Faces <af:table> supports updating multiple rows: just put an <af:inputText> inside one of the columns.

  • Partial update occassionally hangs during wget - admin-op-update

    Since we upgraded our ITL and MDEX Windows servers to 2008 R2 Enterprise, once in a while our Partial updates will hang during the wget admin-op-update process. When this happens, the lock is not released and the next Partial update fails to start because of the lock. Each time, I have to release the lock, and then everything is fine until it happens again (about once a week, different times).
    We are on MDEX version 6.1.3.
    I don't see any errors in the logs; the partialupdate.out file shows the line:
    Starting shell utility 'wget_-http-127-0-0-1-17000-admin-op-update-,
    then the next line is the start of the next partial update:
    Loading beanshell.imports .......
    which finally ends in :
    Dec 22, 2012 1:30:08 PM sun.reflect.NativeMethodAccessorImpl invoke0
    INFO: Starting partial update script.
    Dec 22, 2012 1:30:08 PM sun.reflect.NativeMethodAccessorImpl invoke0
    WARNING: Failed to obtain lock.
    Any ideas as to why this is happening?
    Thanks

    Wget does not get shipped with platform services any more.
    Copy the Wget utility to platformservices/6.2.x/bin.

  • Partial Update - Unknown Dimension Value ID

    Hello Old Endeca Friends,
    I am getting a lot of these sorts of errors when I perform a partial update:
    ERROR     04/25/13 16:56:21.115 UTC (1366908981115)     DGRAPH     {dgraph,update}     Record change references unknown dimension value id 4294484500     [recspec=`UPI:100224148']
    I am using MDEX 6.4 and PS 6.1.3. The dimension value ids in question seem to be in the autogen_dimensions.xml, but the dgraph doesn't seem to recognize to know about them. Why?
    Any further insight would be appreciated. "Just run a baseline" is not a good answer, I need to do partials every hour throughout the day.

    Thanks for the input, everyone.
    It looks like my issue was that my state file had a set of updated dimensions but my dgraph did not.
    I had a baseline extract with properties X, Y and Z (let's say) and I was adding in new dimensions A and B. I moved my state files from my test environment to my production environment with entries on dimensions A and B. I started getting partial data for dimensions A and B and processing it. However, my dgraph knew nothing about A and B. So, although forge created the dim vals fine and the state files were modified appropriately, my dim val updates and adds on my dgraph failed because my dgraph had never processed a baseline extract with dimensions A and B.
    Once I ran a baseline with dimensions A and B, partial updates went fine and have now processed dozens without issue.
    Unfortunately, I only get baseline data once a week, so it took me a bit of time to realize what was going on.

  • Partial Update

    Does Toplink map to SQL for partial update? By "partial update", I mean updating a few attributes of an object. Do we have readObject first before updating? What's the performance cost of reading objects into Toplink cache?
    Thanks,
    Alex

    I was not clear describing our system. The persistence layer certainly does not know what to change if without reading the object first. But, applications know exact what object to update and what attributes to update. If the update applies for many objects, reading them all is an extra cost which does not add anything but merely to meet Toplink requirement. Applications will ask for direct jdbc persistence since they don't want to read objects when this is not necessary.

  • Partial Update error / sample code

    Customer is trying to do Partial Update by refering the sample shown in PartialUpdatesGuide.pdf, however, baseline update is showing following error. Is there any sample code to do partial update with the actual success in some instance, or any resolution for this ?
    WARNING:provisioning warning: The option '--updatedir' is reserved. It has been removed from the command line
    Additional informations are:
    - after partial update, dgraph_input/updates does not have partial update file (directory is empty). It seems that they does not use Parial Update Pipeline in forge, this file is not created.
    - Dgidx log does not show any other error or warning

    The message you see is just a warning that indicates the Dgraph node in your AppConfig XML (either DgraphCluster.xml or AuthoringDgraphCluster.xml) is not specified properly. My guess is that yours looks like this:
    <dgraph id="DgraphA1" host-id="LiveMDEXHostA" port="25000"
    post-startup-script="LiveDgraphPostStartup">
    <properties>
    <property name="restartGroup" value="1" />
    <property name="DgraphContentGroup" value="Live" />
    </properties>
    *     <args>*
    *          <arg>--updatedir</arg>*
    *          <arg>./data/dgraphs/DgraphA1/dgraph_input/updates</arg>*
    *     </args>*
    <log-dir>./logs/dgraphs/DgraphA1</log-dir>
    <input-dir>./data/dgraphs/DgraphA1/dgraph_input</input-dir>
    +<update-dir>./data/dgraphs/DgraphA1/dgraph_input/updates</update-dir>+
    </dgraph>
    The error message is complaining about the args section. The updatedir argument gets sourced from the update-dir element and if you try to specify it in args, you see the message below.
    I think we'll need more information to solve the primary issue (what does your PartialForge.log say, is there anything in data\partials\forge_output). Dgidx does not run during a partial update so not having a warning or error there is expected.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • Keep getting error:Cannot connect to update server.Partial update...

    I am using FF 6.0.1
    I keep seeing a window pop up that says something like:
    connect to update server
    partial update failed
    Have no idea what is going on, this has been popping up for quite awhile. When I chose the RETRY button, it sits there and the long bar that shows the progress never fills in..
    Thank u for any help
    Carla

    If there are problems with updating then best is to download the full version and uninstall the currently installed version.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Profile_backup
    If files already have been downloaded then remove the files in the updates and updates\0 folder.<br />
    You can delete active-update.xml and updates.xml as well if present.
    C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    (%LOCALAPPDATA%\Mozilla\Firefox\Mozilla Firefox)
    * http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    * http://kb.mozillazine.org/Installation_directory

  • Failed Partial update

    Hi,
    I am trying to run partial update using command prompt. But I am getting an exception and if i look into "Forge" logs, below is the error message:
    FATAL
    FORGE{config}: Could not open "C:\Endeca\Apps\APProductFinder\data\partials\processing\price_update_records.xml": No such file or directory
    ERROR
    FORGE{config}: Forge failed with 1 error and 0 warnings.
    My file name is same in the partial pipeline.epx, ..testdata/partial and also partial_data_ready_flag of load_partial_test_data files. unable to figure out what is the reason for this error. It was working fine till yesterday and all of a sudden started throwing exception today.
    Any help would be appreciated.
    Thanks,
    Savitha

    But it did not work for me. I tried running baseline update many times. Even after that partial update ended with the same error message.
    Then I changed the name of the file in all the places. It worked then. But still unable to find out what is the reason for this error and where does endeca hold the old file names even though it does not exist any more.
    Thanks,
    Savitha

  • Record Store Merger with partial Update

    Hi,
    I have a requirement in which I have to merge a feed into the endeca via partial update. The feed will only have 3 properties- part number , vendor name , Store id(value to be merged). The combination of part number and vendor name is not unique.
    The only to achieve the sdesired result is by merging the feed's store detail in the data base. And by incremental indexing pushing the data into endeca. Somebody told me that CAS will then provide me the difference data and with that difference data I can partially update the records.
    But my client doesn't want to use Simple indexing. She is asking to figure out merging data in CAS itself. I know that we can use Record Store Merger to merge two or more data source.
    But if I use record Store merger will it provide me same differencial data input as provided by CAS in the case of indexing??
    Also I am using Endeca version 6.4.0.

    apparently these is a known bug in Endeca which occurs when an update results in a product not falling in 1 of the dimensionvalues. So if the price changes from 100 to 1mln and the price range only goes to 1000, endeca does not update correctly

Maybe you are looking for

  • Click wheel doesnt work and ipod not recognized by itunes

    hi everyone i have a 1st generation ipod and recently it has not been working. the click wheel does not respond to anyhthing at all...and the ipod is not recognized by my itunes, although it is recognized by the computer. ive tried formatting the ipo

  • Verizon Mms support for Google voice

    Google voice now supports mms, albeit not in the most graceful fashion.  I ported my number to Google voice as I was a user previously when I was a Sprint customer.  Sprint had native Google voice integration and it is great!  I was simply fed up wit

  • Bought some in-app purchases but didn't recieve.

    I spent 50 euros with gems in clash of clans but I didn't recieve them. When I put my finger in the touch ID to confirme the purchase, my internet went down and the game closed,When it came back I tryed again but my cash wasn't here and I didn't reci

  • I upgraded my computer but can't reload Adobe Premiere Elements 11

    A window comes up saying that the loader can't work with 64 bit and I should download the 64 bit version of Premiere.  There doesn't seem to be such a version.  Searching, I see that Premiere is supposed to work with 64 bit in a 32 bit mode.  So how

  • How to Refer SAPNote 191470

    hi experts, how to refer  SAPNote 191470 - how to refer OSS notes thanks ganesh