[ADF, JDev12.1.3] Which is the best way to define the properties of CIU/fragments of pages. Is the approach that I have used a good choice (for a beginner)?

Hallo,

in my app, that I have a lot of pages and fragments in which properties (for example rendered text, disabled, Selected,...), lots of user interface components must be set, before/when the page is displayed, depending on the session and pageFlow scope attributes.

So far I have created for each page/one backingBean brought bean fragment in which I defined an attribute for each property defined (e.g. 2 properties for each UIC: UIC is 10...) "I have 20 attributes to manage in the bean).

Then, I linked each attribute of the bean to the respective UIC property. You can see in this my thread (unfortunately without answers ) [ADF, JDev12.1.3] backingBean bean: a lot of properties to set for lots of CIU... is better by using the properties of the binding or access code (created by ID) UIC? a small example. I put the attributes the bean Builder (or in a function of 'action' if the APP properties must be set based on the interaction of the user).

I would like to know:

  • If it is a good approach / recommended / safe or if there is a better way;
  • If the scope backingBean is OK, or if a larger scope would be better.

As I asked in the thread in the link above, the situation can become difficult to manage if the PPP for which setting, properties are very different.

So I'd like if there is no alternative that I can use to get the same result with less effort.

For example, using the class ComponentReference or invokeOnComponentAPI could simplify my life? And their use could I always use backingBean brought beans?

Thank you

Federico

Federico, please understand that this forum has no sla. I have other work to do, who pays my bills. I will do my best to help, but you can not expect the instant replay.

(1) you must not use the bean to init your beans. You can delay load or init your beans instead.

(2) as Frank and says you can use a bean to view range and use it to make your calculations as long as you know how their parameters go to the btf

(3) you should always use the reference of the component if you bind a component to a bean. Make a habit of all scopes.

As we do not know how you calculate the State and how often it changes while the Working Group is on the page, it is difficult to give further advice.

Timo

Tags: Java

Similar Questions

  • HP Z800: The following hard drive would be a good choice for my z800?

    The following hard drive would be a good choice for my z800?

    I bought it used and I want to start with a new hard drive and rebuild it while I have a Setup wn 10, verus the win 7 64 pro edition.

    Western Digital WD1002FAEX 1 TB black SATA 7.2 K rpm 64 MB Cache 6 G drive 3,5 '' hard

    The reason why I am interested in this player is that are affordable and available from a number of competitive sale points; for example, ebay and amazon, etc.

    In addition, they have good reviews for multimedia applications.

    Hey kbruff2016 welcome to the community!

    WD Black is a powerful HARD drive designed for larger and heavier loads as well as multitasking more heavy. It should serve you well for a long time because it comes with a good warranty of 5 years.

    You have all the drives in your computer? It may be appropriate to consider as SSD for the OS that you would see great improvements in time to start loading and the overall responsiveness of the system.

    If you plan use the HARD drive in any RAID arrays in the future I would recommend going with a NAS/RAID-class drive because they have additional features such as the TLER that ensure a stable and safe performance in such conditions. Red of WD is an example.

    Captain_WD.

  • [ADF, JDev12.1.3] Which is the right place (for example, bean or AM) to create and store secret data that the user is unable to intercept?

    Hallo,

    in my page, when the user clicks on a button, I'have run an operation and in particular generate a code PIN and password that the user must not not know/interception.

    The STEM must be kept "secretly" in the comic book.

    I created a function to generate the PIN code in the 'Utils' to the ViewController project class.

    In the managed bean associated page I would deal with the click of the button through its ActionListener function.

    In this function I would also generate PIN call the "generatePIN" works and finally store the PIN in the comic book.

    Is the bean, the right to 'place' where build and store the PIN in the database?

    Maybe I'd better to generate the PIN and then store it throug a function of the module of the Application?

    Thank you

    Federico

    Well, he should go to the model because it is part of business process and is not part of the presentation of data.

    (AMImpl, VOImpl, or same ViewRowImpl are good places to write such code)

    The STEM must be kept "secretly" in the comic book.

    I don't know what that means exactly.

    Aspect of security, no matter where you place code (in the model or ViewController) because both are executed inside the Java virtual machine server-side.

    If you need to secure communications between WLS and DB, then open the database by using the SSL protocol connection (or create the stored procedure and generate PIN directly in db)...

    Dario

  • I downloaded the new 9. ? version said to my PC to run it. It said to restart my system which will come into force. Yes, I did. Whenever I try to access the line, it gives me the message that I have to restart my system. What should I do?

    I downloaded the new 9. ? version said to my PC to run it. It said to restart my system which will come into force. Yes, I did. Whenever I try to access the line, it gives me the message that I have to restart my system. What should I do?

    Do a cleaning (re) install and delete the folder of the program Firefox (C:\Program Files\Mozilla Firefox\).

    Download a new copy of Firefox and save the file to the desktop.

    Uninstall your current version of Firefox, if possible.

    • Do NOT remove the data of a personal nature when you uninstall the current version or you lose your bookmarks and other data in the profile folder.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    Your bookmarks and other profile data stored in the Firefox profile folder and will not be affected by a relocation, but make sure that you do not select delete data of a personal nature if you uninstall Firefox.

  • When you install windows 95, which is the executable that launches the installation process, and where it is located?

    When you install windows 95, which is the executable that launches the installation process, and where it is located?

    The file is setup.exe.  Depending on your version of Windows 95 CD, it could be in the WIN95 folder or in a subfolder of WIN95.

    If you have more Windows 95 questions, great places to get responses are microsoft.public.win95.setup and microsoft.public.win95.general.discussion newsgroups.  It is a Windows XP forum.

  • If I want to keep the quality of the original captured images (from tape), which is the format that I should?

    I captured canon hv20 in FireWire to my computer with adobe first elements 11. After the capture, I cut clip three times. Then I want to export my computer due to watching on my 46 inch lcd TV full hd. If I want to keep the quality of the original captured images (from tape), which is the format that I should? I chose mpeg 1440x1080i 24, TI alerts for error. Or I premise avchd 1920 x 1080 p, then it is also more scenes captured. I think it's 20000 MB, scened (without cutting) but captured only 11.2 GB. Please help me. Thank you very much.

    I would firstly like to thank you for answering my question. My camcorder is canon hv20 PAL. When I look at the setting of the project, it's HDV 1080i 25 frames per second anamorphic. Duration of the timeline is 56 minutes. I'm sorry about misinformation in an adobe forum. Yes you are right this is not MPEG 1440x1080i 24. I chose MPEG and choose MPEG2 1440x1080i 25 and it convert .m2v file. I couldn't see because Windows media player does not open the m2v files, but I didn't do anything about in order to open the file. I want to learn: my initial project captured is 11.2 GB. But shows on screen m2v files is about 21000 MB. This means that 20 GB! It is same quality my project captured MPEG) and Cup project m2v? What is another way to export? I'm sorry that even once it does not error message about the m2v files. I think I got confused, I think when I chose MPEG, 25 HDTV high quality, I saw the error message but I don't know what is the error message.

  • When I have videos on my calendar, they do not play in the screen of the monitor. I hear the audio but can't see the image. To test if my new files are somehow the problem, I went back and used video files that I have used successfully a year ago and th

    When I have videos on my calendar, they do not play in the screen of the monitor. I hear the audio but can't see the image. To test if my new files are somehow the problem, I went back and used video files that I have used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but don't see any video. Have I changed it some setting that controls video playback in the monitor window?

    Randy Ruttger

    Thanks for the follow-up.

    Missing in this equation are the Premiere Elements version you were using and the operating system on which it is running. But...

    The Act is accomplished. But... Up to now, and after that you went ahead and moved to version 12, we now learn what Premiere Elements version you were using. We don't yet know the operating system involved.

    You said first Elements 10. First 10 Elements is affected by a problem serious display known if the computer uses an NVIDIA GeForce video/graphics card card. In this issue, the only cure is to roll back the version of the driver about may 2013. The description of the problem and how to make the rear roller are described in one of the messages at the top of this forum. What video/graphics card your computer use?

    On another front, Adobe will release a new version of Premiere Elements any day now. Not one, but Adobe knows the function defined for the new version. This type of information is announced at the time of the release of the new version.

    So the solution to the problem you presented in this thread could have been...

    1 roll back the version of the NVIDIA GeForce driver for all may 2013 if possible (Windows 8 or 8.1 64 bit, maybe not possible)

    2. move to a different version of Premiere Elements (which you did)

    I offer the foregoing for consideration so that you can review your decisions. We are pleased to learn that the first items 12/12.1 works for you.

    Please do not hesitate to ask questions and seek clarification, but do not forget that the answers are in the details.

    Best wishes

    RTA

  • All of the fonts that come with Dreamweaver CS6 are licensed for the use of the web?

    All of the fonts that come with Dreamweaver CS6 are licensed for the use of the web?

    I also have Creative Suite 5, which I think is delivered with a set of Adobe Fonts. These are all licensed?

    A license?  Yes, but not necessarily for the web. Some licenses permit use on paper or images but not the web.

    For legal reasons don't assume that you can use any font you want on the web. Fonts are protected by the intellectual property laws in the same way that software is protected against illegal copy, modify or distribute. In other words, an owner of fonts can of course, saying "you can use my font, but you cannot change it, you can not reproduce and you may not distribute." On the web, which is a deal breaker, because you must be able to do all three.

    These font families are common to most Windows/Mac systems.

    Adobe Edge and TypeKit Web fonts are licensed for use on the web.

    Nancy O.

  • I would like to know how I can make firefox stop the message that I have to restart my browser to complete the update without having to reboot?

    I would like to know how I can make firefox stop the message that I have to restart my browser to complete the update? I'll restart later, but does not wish to do so immediately. I can
    Click on the cross, but after a few minutes the message is back and I can't figure out how to stop
    It's popping every few minutes.

    You need to restart it.

  • I downloaded the latest version of Firefox a number of times, but when I install sites keep insisting on the fact that I have the old version.

    Web sites such as Firefox/Google search page and keep DeviantArt, insisting on the fact that I have the old version. I don't!

    Your user agent is corrupted by the Fast Browser Search (FBSMTWB) that identifies you like Firefox/3.5.5

    see your user agent:

    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; RV:1.9.1.5) Gecko/20091102 Firefox/3.5.5 FBSMTWB

    you need to reset the user agent

    See also these pages and discussions on Fast Browser Search (FBSMTWB in the user agent).

    http://help.fastbrowsersearch.com/

    http://www.pccybertek.com/2009/05/remove-fast-browser-search

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • I had Mac Air in the month of April, now using only Safari DR.celaner shows me that I have use all RUM - 4GB. and mac gets hot. is this normal?

    It is quite new machine a few weeks it started to get hotter, Dr. cleaner shows me that I have use 4 GB of memory when I just use Safari nothing else, sometimes performance becomes very slow. I don't know what is happening.

    Dr. cleaner

    The first step is to get rid of it. If you still have a problem, please see below.

    Apps can affect the performance of Mac, battery, temperature and fan activity - Apple Support

  • What will happen to the computers that are still using Windows XP?

    Original title: Windows XP?

    So, what will happen to the computers that are still using windows xp? Say, my computer is too old to support something newer than XP

    On April 8, 2014, support and updates for Windows XP will be more available. Don't let not your PC not protected. 
    http://Windows.Microsoft.com/en-AU/Windows/end-support-help

    You need to consider your options carefully. You can always run XP but be aware of the risks. It is always your decision what you decide to do.

    Cyber-threats for Windows XP and advice to small businesses and individual consumers

    http://blogs.technet.com/b/Security/Archive/2014/03/24/cyber-threats-to-Windows-XP-and-guidance-for-small-businesses-and-individual-consumers.aspx

  • What is the probability that I have a virus if one of my folders disappeared?

    What is the probability that I have a virus if one of my folders disappeared? The only thing I did was to do a clean up to make room.

    Original title: Virus?

    What is the probability that I have a virus if one of my folders disappeared? The only thing I did was to do a clean up to make room.

    Not at all likely.

    It is more likely that you deleted it by cleaning.

    -steve

  • USB mass storage shows as removable disk. When I have the Explorer, it insists on the fact that I have inserted a disc.

    Original title: USB mass storage shows as removable disk

    an external hard drive appear in devices such as a USB media device, but in Explorer windows as a removable drive; When I have the Explorer, it insists on the fact that I have inserted a disc.

    After a windows upgrade restarted the computer, windows Explorer showed the USB mass storage. Everything is OK.

    Thank you.

  • I did several back ups on my computer and I wonder how many of the discs that I have to hold. Can I get rid of all except the last backup?

    I did several back ups on my computer and I wonder how many of the discs that I have to hold. Can I get rid of all except the last backup?

    Thank you

    Scott

    Hi Scott,.

    You must keep all 10 backup.the disk new backups will contain only the last backups and will not have the previous backups.

Maybe you are looking for

  • The keyboard and the mouse no longer works to update you Sierra

    Hello, I upgraded to OS Sierra and I began to spend more and suspending Notepad, then I do not recognize their keyboard and mouse notbook. It forces the walk outside and then worked, but after a few days I don't work any more. Thank you The keyboard

  • G6 2365ea usb 3

    Hi, having just "downgraded" Windows 8 for windows 7, usb3 ports do not work on my g6 2365ea pavilion... Could not find the drivers for the usb 3-port on the update driver option. is the id of Device Manager: AMDUSB30\ROOT_HUB30 & VID_1022 & PID_7812

  • is it possible to use BIG buttons of QAT - quick access bar buttons in windows 8?

    Hey people. Windows XP users have an option to change:1 position of the toolbars2. size of buttons.ex CUT RENAME BACK In windows 7 Microsoft has just removed it.Is it possible to change as in XP in windows 8. QAT - quick access toolbar, I CAN'T chang

  • Pavilion dv6-3130us: LED flashes Code help

    Hello I need help dignosing a code flashing for my model, the error code is flashing (if necessary) I've seen on other pages of HP diagnosis that means that the CPU is dead but I took it apart it reinstalled and it starts fine, but after a full stop

  • ISATAP #3 card has a driver problem

    When I ran MS Fixit for hardware and devices, I get the following comments:1. Ms. ISATAP #3 pilot has a driver problem2 isatap. (14988C3C EA7 MARRED-402-b-B9BF-03182BCFD) has a driver problem.3 hardware changes may not be detected. I tried your datab