Field image cannot refresh when you move between records in a jsf page

In jdev 12.1.2

I have a formlayout in a jsf page, there is an af:image that bind to a url of the image file, the source code is like this:

("#{bindings.") Headpicurl.inputValue}')

< f: facet = '3' tab name >

< af:panelFormLayout id = "pfl1" >

< af:inputText value = "#{bindings." Id.inputValue}"label =" #{bindings. " ID.hints.label}.

required = "#{bindings." ReadOnly ID.hints.Mandatory}' = 'true '.

columns = "#{bindings." Id.hints.displayWidth}.

maximumLength = "#{bindings." ID.hints.Precision}.

shortDesc = "#{bindings." ID.hints.ToolTip}"id ="it1">

< f: validator binding = "#{bindings." ID. Validator} "/ >"

< / af:inputText >

< af:image shortDesc = "#{bindings." Headpicurl.hints.ToolTip}"id ="it4.

source = "#{bindings." Headpicurl.inputValue} "/>"

< f: facet name = "footer" >

< af:panelGroupLayout layout = "horizontal" id = "pgl1" >

< af:button actionListener = "#{bindings." First.Execute text}"="First"

Disabled = "#{!}" bindings. PartialSubmit First.enabled}"="true"id ="b1"/ >

< af:button actionListener = "#{bindings." Previous.Execute text}"="previous ".

Disabled = "#{!}" bindings. PartialSubmit Previous.enabled}"="true"id ="b2"/ >

< af:button actionListener = "#{bindings." Next.Execute text}"="next ".

Disabled = "#{!}" bindings. PartialSubmit Next.enabled}"="true"id ="b3"/ >

< af:button actionListener = "#{bindings." Last.Execute text}"="Last ".

Disabled = "#{!}" bindings. PartialSubmit Last.enabled}"="true"id ="b4"/ >

< / af:panelGroupLayout >

< / f: facet >

< / af:panelFormLayout >

< / f: facet >

But when I browse the records on the page, other areas will be update correctly, except for the field of the image - the image field showing will not refresh.

Can someone help?

Thank you.

so I the records of buttons and update Navigation to set null values from Headpicurl to a valid value, the value of the PartialTriggers property of this image tag.

Then, the page will be updated correctly for all areas, including the field of view when do the record navigation.

But after I have erased the property PartialTriggers of this image tag and reload the page, or even restart the jdev, it still works OK now!

-Then setting this property PartialTriggers the real cause of the previous question of no image field refresh?

Well, you also updated your nulls to the actual URL so maybe posing (in combination with the caching of the browser)?

General approach to prevent caching of web resources is the addition of random string to the url of the resource (as suggested by Cvele) or you can write custom servlet which will serve as a proxy and add http headers (non-cache, non-store, must-revalidate expires,...) to prevent caching.

Anyway, now I have to get rid of the question above. However, a new problem emerges:

When I update and validation records the attributes of the database. the fields in the jsf page will not display the newly modified database records even if I refreshed the browser or press F5.

Only after that I open the jsf page in a new browser window, database changes will appear.

-Is caused by the caching of the browser? and how to fix it?

How you exactly "update and validation" records (in the same application or a different app/session)?

If you do this session or different application then you must run query VO again.

Dario

Tags: Java

Similar Questions

  • How to stop the elements to appear to refresh when you visit the following pages?

    I put a navigation bar and the logo on the master page, that are inherited by all pages and sub-pages related to it. The navigation bar and logo still seems to refresh when you move from one page to another. I find this extremely annoying. I thought that perhaps this Visual discomfort has occurred in the application of Muse in preview mode - or only the first time that a page has been loaded. So with empty Safari cache, I went the direct start tutorial site: katiesbakerycafe.com and found that the bar of navigation-logo on the subpages (which differs from the homepage) updated the visit of one of the secondary pages - Menu, Gallery, Blog, Contact - for the first time. But the bar of navigation-logo did not appear to refresh when you click back amongst these pages after the first visit. Yes, only half-bad, but still annoying.

    Is there a way to stop this Visual gene on a site created in Muse?

    In the past, I would have set up navigation on the periphery of my Web page and used a large framework containing all the pages that use the same navigation bar.


    Thank you.

    Hi Pamela,.

    The html code generated for the master page is repeated for each page to that master is applied. So it refreshes the page on each fresh charge, after which browser implements cache data to avoid reloading of static content.

    What you are referring is not possible in Muse at this stage. I would recommend that you post this idea to our section ideas, ideas for features in Adobe Muse

    - Abhishek Maurya

  • Size of the image changes when you move an image between Lightroom and CC.

    Size of the image changes when you move an image between Lightroom and CC.

    I opened a .dng image in LR and then opened it in the develop module.  I clicked on Crop Overlay and then on the "As Shot" (the lock is closed) menu drop-down and cropped to 11 x 17 and click 'Done '-.

    I click Ctrl-E and the image opens in the CC.  I click on the Image > Image size and the size of the Image is 13,288 inches on 20,533.

    Why change the size of the image?

    I believe that there is a menu to control the size of the image, and I've looked everywhere I see in LR and CC, I have googled various descriptions and I checked both Kelby books, but I can't understand not just how to keep the image at a uniform height when moving between LR and CC.

    Help!... Please?

    The size of the image has not changed. The number of pixels has not changed. Let me tell you. The number of pixels has not changed to a single pixel.

    The numbers relatively meaningless displayed by your software have changed.

    The image is always format 11 x 17 (17 divided by 11 = 1.545 and 20.533 divided by 13.288 = 1.545)

  • Is there an easy way to create "the mouse on the text, to display the image" without coding it? I want an image to appear only when you move to a line of text. I found the code for it but I want to find an easier way. Thank you!

    Is there an easy way to create "the mouse on the text, to display the image" without coding it? I want an image to appear only when you move to a line of text. I found the code for it but I want to find an easier way. I'm creating a home page with a list of text links. I want to design as well as in the overview of one of the text links, a corresponding image is displayed to the right of the page. I also need a default image to rest all the time unless one of the other links text is hovered over. Thank you!

    Try to use a Widget for Composition in the Adobe Muse Widgets Panel.

    I would like to start with a blank publication.

    Place your text in the button area.

    Place your image in the display area.

  • Error messages when you move files PSE13 and PSE14

    I am reorganizing my records of PSE 14.1 (and a few hours before using the PES 13) on Windows 10. This means that I'm moving them from one disk to another using the view of folders on the left panel of the PES.

    Everything goes very well with the first shift after the launch of PSE. No error message and the files in the folder find you in the right place with the folder.

    But for much of the subsequent move there is several error message boxes that must be pressed one by one to move forward. Much more than the number of files involved. However, ultimately files and folders get into their expected places. But with dozens and dozens of needless (?) Click on the OK button.

    Error messages that I see are

    • "A folder with the same name already exist in the requested location" - which is patently false, as I'm only moving called records and verifying that I won't have existing folders with the same name instead of the target. The record was 16 photos inside and the message popped up 55 times.
    • "The operation could not be performed. "The error occurred because of invalid characters, read only location or existing folder with the same name"-this comes very often after the message stated above, but not always. And in multiples as well.

    And every now and then the move operation is going well through.

    I tried to understand if there is a model - but nothing so far... I use no "special characters" in the filenames etc...

    Is there another way to move the folders? Is there a solution to this behavior?

    juhar76990688 wrote:

    Looks like I have at least found a way easier and more predictable and easier to reorganize my files: travel using Windows file / folder management tools-, then to reconnect files from PSE. In this way, I know how many dialog boxes, I need to treat every step - and it is much less than the way PES...

    Yes, it was what I was going to suggest it.

    I did not PSE14 because I'm away from home now. I've already met these messages before, and I think you are right that the first time you move a folder to a new empty destination tree, you do not have problems. I would not be surprised if there was a real bug in the display of folders when you move files repeatedly, but I was not able to reproduce the problem. A possible source of problems would be the way the folder hierarchy is updated in elements; I guess that to keep this folder updated tree, there is a procedure of "cache" to speed up the process (folders display in the tree should work with an image of the Explorer, supplemented by information in the catalog itself). Older versions were very buggy in folders view, but I'm not sure that the current version (since PSE11) is absolutely foolproof.

    Move the folders step by step from the Explorer and reconnect immediately seem to be the best in your case.

  • with the auto more recent updated version of firefox now there is a white bar that appears when you move your mouse over this area. I want that gone, how?

    When you move your mouse below the address bar opens a white bar, making it so you can't click on buttons or links on sites, like buttons connection for example. also when using the full screen, you can no more mouse on the tabs at the top of the screen, only this white bar appears. This prtty much kills its use full screen for me. Thus, this white popup bar and mode full screen with the white bar without tabs firefox has pretty much ruined it for me. in any case to fix it would be great.

    Launch Firefox in Mode safe

    While you are in safe mode;

    Firefox Options > advanced > General.

    Find and stop using hardware acceleration.

    ===================================

    Hello

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • In number. How do I lock you in a function such as highlighting a cell so it does not disappear when you move to another cell.

    In number. How can I lock you in a function such as highlighting a cell so that it does not disappear when you move to another cell.

    Hi Philil,

    Do you mean pointing out the contents of a cell, or "stressing" the cell itself (by placing an on bottom border)?

    Formatting content will transfer to another cell if you fill in the other cell content, or copy from a single cell and pasting it into another.

    Borders applied to a cell or group of cells may be applied to another cell or group of cells by selecting the first cell (single click), the format of this cell or a group of cells copy (Format (menu) or option + command + C > copy Style), and then selecting one or more other cells and stick to the format (Format (menu) or command-option-v > paste Style.)

    'Format' in the case of cells includes the color fill, color text and other text attributes, content, format (text, number, date & time, duration...), borders...

    When you copy the style, all format attributes are copied.

    Kind regards

    Barry

  • Firefox 17.0.7. Display the menu, when you are using extended view (Win7), flickers off when you move the slider to a selection. Reg FF version works fine.

    Using Windows 7, view extended., Firefox 17.0.7

    Firefox menus (file, editing, etc.) and user bookmark lists flicker in and out of visibility when you move the slider to a selection. This happens on the primary display only the second screen. It does not occur on regular product version (23, etc.) and does not occur on any other application.

    We are required to use version 17 on internal business machines.

    Bob Hello, that might be a problem with hardware acceleration - try updating your graphics driver, or in case this does not solve the problem, or there is no new version available at the time, disable hardware acceleration in firefox > options > advanced > General.

  • T60 freezes when you move the trackpoint right after starting

    Hello

    I had this problem for quite a long time. Initially, I thought that it was due to an update to Windows XP, but I couldn't find any message on newspapers when the laptop crashes. I reinstalled XP many times to get rid of any incompatibility related to the software, but even with a new installation, it was happening.

    I realized recently after several tests that the problem occurred more frequently when you move the mouse (trackpoint or touchpad) just after the start of the system (cold start or start of hibernation). What I discovered is that this will happen is no longer if I suspend the laptop after starting the system, do not touch the mouse.

    The symptoms are that Windows freezes. No activity at all HD, the system responds to any keyboard and mouse input. If I close the lid of the portable computer system is not put into hibernation. The only way to regain normal operation is pressing the button for a few seconds, then the system turns off, and then turn on normally.

    All the drivers are up to date.

    Someone at - there experience this problem?

    Thank you

    Try to remove the battery... If the battery is dead, it could give you this problem...

  • T61 freezes completely when you move

    T61, model 7658CTO

    a year, still in warranty: 2 G of RAM, Vista Home Premium, Duo Core 2.4 GHz

    The day I bought and he ran, he hung up 7 times. Slowly, I learned to limit the number of processes, I ran and he hung up less.

    But every time you move even if laptop you slowly pickup the phone and move it to another table, it's like the laptop is going to be delayed. and if you try to do the simplest thing, all this hangs completely (frozen screen), leaving no other choice than to power it completely down and restart. Now its getting annoying coz I have to take it for conferences and Yes...

    I have not formatted the laptop ever. So I thought maybe theres too much software preinstalled junk on this topic. Other diagnoses? Pleeease...

    the freezing of the process when you move the laptop, is due to the shock of Thinkvantage APS protection, which stops your drive hard when it detects a movement, to try to turn that off and see if your laptop still freezes when you move.

  • How to create a button with rollover that appears in a different place than the button when you move?

    Hello

    How to create a button with rollover that appears in a different place than the button when you move by using only the Muse (reversal may be a different shape and color of the button). I managed to do it using Photoshop and the separate layers and import it, but it is not a good solution. All suggestions will be welcome.

    Thank you

    You can try to use the widget of the Composition of the ToolTip. In this way, the trigger area is isolated and a "State of reversal" can be placed anywhere on the screen (compared to the trigger).

    • Remove the two triggers additional default
    • Set to display the targets on working capital
    • Select hide all initially.
  • Photoshop: image becomes black when you try to select with inclusive

    image becomes black when you try to select with inclusive

    (edited)

    Powering the OpenGL in the Performance preference and restarting Photoshop have no bearing on the question?

  • Yellow box pop up when you move the missing links in CC?

    The behavior when you move the links in the links in CS6 Panel was a yellow jump to the top of the box with the full path of the link.

    I find that does not match the behavior in CC and really miss me that.

    Am I missing a setting somewhere to allow this in CC?

    Do you have tips enabled in your preferences?

  • When you use quicklaunch to open a web page, if I already have an open page, how can I open a second page or pages using an icon from quick launch without closure or replacing the one I already opened?

    When you use quicklaunch to open a web page, if I already have an open page, how can I open a second page or pages using an icon from quick launch without closure or replacing the one I already opened?

    Hi Haubhaus,

    I know one thing to get your links to always open in a new window:
    1. Right-click on your desktop, select new, then shortcut
    2. Type "" C:\Program may Explorer\IEXPLORE. "." EXE" and click Next
    3. Name the shortcut (for example: Microsoft Home) and click Finish
    4. Right-click on the new shortcut and select Properties
    5. In the target box, arrow over until the end of the path, add a space and add -new (WEBSITEPATH). When your finished, your path should look like this:
      "" C:\Program may Explorer\IEXPLORE. "." "EXE" - new www.microsoft.com
    6. Click OK and try it!
    Let me know if it works or if I can be of further assistance!

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is it possible to load embedded html when you scroll to the bottom of the page?

    I'm chart.js graphics integration in a site of muse and they drive in as soon as they are loaded. What I would do if possible is having each animated chart on when you scroll to the bottom of the page in a way scrolling parallax. Is it possible to trigger the code to load as the page but rather by using a trigger effect scrolling?

    You can try the suggestion mentioned here:

    http://StackOverflow.com/questions/21474678/scrollTop-animation-without-jQuery

    Thank you

    Sanjit

Maybe you are looking for

  • When I run Firefox I get an ad to fix my PC

    Whenever I run Firefox, a pop-up ad on fixing my PC appears. I want to get rid of him.

  • How to add music to iTunes without copying the music files

    How to add music to iTunes without music copied to an iTunes Media folder or anywhere else? I read the answer is to go into the advanced settings and uncheck "Copy files to iTunes Media when adding to library". Which is excellent and this option is n

  • Exec system displays an error popup

    Hello community, in some cases, I need to stop, and then restart outlook. So if I have a batch file that I want to get rid of and all do LabVIEW. When I run the following excerpt I get a popup error complaining that the path is not valid. Which is tr

  • HP Notebook F5Y05UA #ABA: scanning problem

    This computer is connected to a HP 4622 while a printer through my wifi at home, but when I try to scan a document the printer says it cannot find the computer.

  • Latest version of Windows update breaks Messenger

    I noticed this problem a week ago. After that the automatic windows update, Live Messenger gives a fatal startup error. The error message reads "Windows Live Messenger has encountered a problem and needs to close.  We are sorry for the inconvenience.