Best practice to show ICON instead Label for ADF Component

Hi,
I am using JDeveloper 11.1.1.6.
My requirement is to use Icons instead Label text for my ADF components. Those are in one Form layout wich means that if I just used a panelgroup horizontal and put then the image and then the input component, the panelForm Layout wont automatically align my components. So I was trying to fallow this link
http://adfpractice-fedor.blogspot.co.uk/2011/08/panel-form-layout-and-labels-with-icons.html with no success.
Anyone else could orientate me on the right path?
Thank you

You can try to use af:panelFormLayout and set "rows" property.
Then set simple="true" on your input components.
For example:
<af:panelFormLayout id="pfl1" rows="2">
      <af:image source="image1.png" id="i1"/>
      <af:image source="image2.png" id="i2"/>
      <af:inputText label="Label 1" id="it1" simple="true"/>
      <af:inputText label="Label 2" id="it2" simple="true"/>
</af:panelFormLayout>Dario

Similar Messages

  • Any best practice/suggestion on giving Id's for UI Component

    Hi,
    I came to know that for better performance, id's on naming containers shall be less than 7 characters in length.
    What about UI Components other than container components?
    Is there any best practice available for giving Id's for UI Components and its length?
    Do we face any issue if we give ids with more than 7 characters (just to make the id meaningful one)?
    Thanks in Advance
    Raguraman

    a quotation from
    Oracle® Fusion Middleware Performance and Tuning Guide book
    11g Release 1 (11.1.1)
    E10108-02
    >
    The "id" attribute should not be longer than 7 characters in length. This is
    particularly important for naming containers. A long id can impact
    performance as the amount of HTML that must be sent down to the
    client is impacted by the length of the ids.

  • Can I show a data label for only one point in a series?

    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    There are a number of graphs where I only want to value of either an extreme value or the ending value to show. Having all the labels in a series makes the chart too busy. This is pretty easy to do in Excel.
    If this can't be done, I guess that adding a text box over those points would work.
    Thanks

    Hi W-T,
    Welcome to Apple Discussions and the Numbers '09 forum.
    wahoo_tiger wrote:
    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    Sure. Here's and example labeling only the MIN and MAX points.
    Column B contains the data charted with the blue line.
    Column C extracts the MIN and MAX values using the formula below. Those two values are charted as a separate series, using the green data point markers, and are labeled with their values. The intervening empty string values appear to have doused the lines connecting the two data points.
    Formula: =IF(OR(B=MAX(B),B=MIN(B)),B,"")
    Regards,
    Barry

  • Best practice to implement different Xcelsius dashboard for different users

    I'm implementing an Xcelsius dashboard that requires to show each individual user with different content (e.g. When a user logins in, the dashboard shows her name and job title, her performance and her subordinate's performance).  I'm just wondering what's the best practice to implement scenario like this?  Thanks.

    Hi Thomas
    What you are looking at is "Row Level Security" within BusinessObjects and the options you have are determined by what type of data you are reporting off of (relational data, OLAP data, BW data, etc.)
    For instance, if you are using relational data with a Universe you could setup a database table with the BusinessObjects username to correspond with their e-mail address or other unique identifier. From there, you could add security to your universe using the @variable('BOUSER')
    That way, any objects created off of the universe (whether it is a Crystal Report, Web Intelligence, BI Web Service, QaaWS, LiveOffice, etc.) will filter the data based on this security model. So any Xcelsius dashboard based on this underlying data will also be filtered.
    And that is just one of the options you have, depending on your data source.

  • Best practice to Deployment Oracle WebCenter Suite for enterpsie

    I have a lead with enterprise client; and we need to proposed to this client best practice to deploy high availability on cluster environment contains the following components:
    - oracle web center content: it will used for WebCenter portal (spaces) repository for x-trantent portal as well as it will used to build internet website using WCM
    - oracle WebCenter portal; to build x-intranet portal
    - oracle access manager for single sign on authentication
    - oracle web tier for HTTP server and web cache.
    i reviewed the enterprise deployment "http://docs.oracle.com/cd/E23943_01/core.1111/e12037/intro.htm" and contains rich information on the configuration.
    However; my question is could you provide us a best practice to deploy above components on a high availability cluster environment "on a Linux environment prefared" to support and tested around 20k users? By the way client already had oracle exadata 11g server and it will used for this deployment.

    AW,
    One way is creating EJBs.Please refer to the threads below for that
    https://forums.sdn.sap.com/click.jspa?searchID=2936002&messageID=1082087
    You can create a javabean and you can import that as a model .
    Check the following project which will generate javabean (MaX DB)
    https://www.sdn.sap.com/irj/sdn/softwaredownload?download=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/simple_javabean_generator_project.zip
    This project will generate a javaben out of the tables in MAXDB.
    You can follow any one of the above.
    Regards,Anilkumar

  • Looking for best practices when creating DNS reverse zones for DHCP

    Hello,
    We are migrating from ISC DHCP to Microsoft DHCP. We would like the DHCP server to automatically update DNS A and PTR records for computers when they get an IP. The question is, what is the best practice for creating the reverse look up zones in DNS? Here
    is an example:
    10.0.1.0/23
    This would give out IPs from 10.0.1.1-10.0.2.254. So with this in mind, do we then create the following reverse DNS zones?:
    1.0.10.in-addr.arpa AND 2.0.10.in-addr.arpa
    OR do we only create:
    0.10.in-addr.arpa And both 10.0.1 and 10.0.2 addresses will get stuffed into those zones.
    Or is there an even better way that I haven't thought about? Thanks in advance.

    Hi,
    Base on your description, creating two reverse DNS zones 1.0.10.in-addr.arpa and 2.0.10.in-addr.arpa, or creating one reverse DNS zone 0.10.in-addr.arpa, both methods are all right.
    Best Regards,
    Tina

  • Best Practices to update Cascading Picklist mapping for Account record type

    1. Most of the existing picklist values name in parent and related picklist has been modified in external app master list, so the same needs to be updated in CRMOD.
    2. If we need to update picklist value, do we need to DISABLE the existing value and CREATE a new picklist.
    3. Is there any Best Practices to avoid doing Manual Cascading picklist mapping for Account record type? because we have around 500 picklist values to be mapped with parent and related picklist.
    Thanks!

    Mahesh, I would recommend disabling the existing values and create new ones. This means manually remapping the cascading picklists.

  • Show Swing Container JPanel in ADF Component

    Hi ADF-Folk,
    I come out of the forms developer world. in forms i used pluggable java components to show graphical components in forms.
    Is it possible to use a show a Swing JPanel Class in a ADF Component like a PanelBox or something else?
    Application example: Colored tray configuration for a lean lift administration. On this tray are nearly 120 places to allocate. I don't want to use 120 adf labels in dynamic .jspx with backing bean to rebuild this function.
    How can I manage this?
    Thank you very much.
    Best regards.
    Gunnar

    Hi,
    Is it possible to use a show a Swing JPanel Class in a ADF Component like a PanelBox or something else?
    yes, use f:verbatim as a tag and add the JPanel as an Applet. Note that the Applet will not be integrated with ADF Faces and requires you to use JavaScript to get this working. See the following example
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/71-adf-to-applet-communication-307672.pdf
    Frank

  • How to override the renderer for ADF component?

    I want to overide the renderer for ADF components, without using <default-render-kit>, I defined every render class. But It does not work.
    Always told me: Could not find renderer for CoreOutputText[UIXFacesBeanImpl, id=_id0], rendererType = oracle.adf.Text
    How can I config custom renderer for exsiting component or new components?
    Thanks a lot!
    <render-kit>
    <render-kit-id>oracle.adf.core</render-kit-id>
    <renderer>
    <component-family>oracle.adf.Output</component-family>
    <renderer-type>oracle.adf.Formatted</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputFormattedRenderer</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.Choose</component-family>
    <renderer-type>oracle.adf.Date</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.ChooseDateRenderer</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.Input</component-family>
    <renderer-type>oracle.adf.Text</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.InputTextRenderer</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.SelectInput</component-family>
    <renderer-type>oracle.adf.Date</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.SelectInputDateRenderer</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.Object</component-family>
    <renderer-type>oracle.adf.Separator</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.uinode.UINodeRendererBase</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.Command</component-family>
    <renderer-type>oracle.adf.Link</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.CommandLinkRenderer</renderer-class>
    </renderer>
    <renderer>
    <component-family>oracle.adf.Panel</component-family>
    <renderer-type>oracle.adf.Group</renderer-type>
    <renderer-class>oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelGroupRenderer</renderer-class>
    </renderer>
    </render-kit>

    Seems I need override the encodeSelectItem() method.
    But not sure which class is the renderer for af:selectManyCheckbox. And how to set below
    <component-family>???</component-family>
    <renderer-type>???</renderer-type>
    Edited by: Leon Zeng on Jul 19, 2012 2:18 PM

  • Looking for best practice on showing data inside a TableView

    I have an app, that can retrieve one ore more than 300,000 rows as the result of a query and i am displaying them into a TableView.. i am using a mechanism to bring the data "on parts", when i do the query an object with the ids of the rows is set into memory and a "queryResultKey" is passed in order to start asking for the complete set of data.
    The controlers send the queryResultKey telling the DAO that it has already N resultas, so the DAO will return X registers (from N+1 to N+J) or less if the total number of registers is reached. At this point the registers are added to the items of the table view using a addAll to the list binded to the table itemsProperty.
    it works fine for the first thounsands registers but suddenly a Null Pointer Exception is raised:
    ene 15, 2013 12:56:40 PM mx.gob.scjn.iusjfx.presentacion.tesis.TablaResultadosController$5 call
    SEVERE: null
    java.lang.NullPointerException
         at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:291)
         at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:48)
         at com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.callObservers(ReadOnlyUnbackedObservableList.java:74)
         at javafx.scene.control.TableView$TableViewArrayListSelectionModel$3.onChanged(TableView.java:1725)
         at com.sun.javafx.collections.ListListenerHelper$SingleChange.fireValueChangedEvent(ListListenerHelper.java:134)
         at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:48)
         at com.sun.javafx.collections.ObservableListWrapper.callObservers(ObservableListWrapper.java:97)
         at com.sun.javafx.collections.ObservableListWrapper.clear(ObservableListWrapper.java:184)
         at javafx.scene.control.TableView$TableViewArrayListSelectionModel.quietClearSelection(TableView.java:2154)
         at javafx.scene.control.TableView$TableViewArrayListSelectionModel.updateSelection(TableView.java:1902)
         at javafx.scene.control.TableView$TableViewArrayListSelectionModel.access$2600(TableView.java:1681)
         at javafx.scene.control.TableView$TableViewArrayListSelectionModel$8.onChanged(TableView.java:1802)
         at com.sun.javafx.scene.control.WeakListChangeListener.onChanged(WeakListChangeListener.java:71)
         at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:291)
         at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:48)
         at com.sun.javafx.collections.ObservableListWrapper.callObservers(ObservableListWrapper.java:97)
         at com.sun.javafx.collections.ObservableListWrapper.addAll(ObservableListWrapper.java:171)
         at com.sun.javafx.collections.ObservableListWrapper.addAll(ObservableListWrapper.java:160)
         at javafx.beans.binding.ListExpression.addAll(ListExpression.java:280)
         at mx.gob.scjn.iusjfx.presentacion.tesis.TablaResultadosController$5.call(TablaResultadosController.java:433)
         at mx.gob.scjn.iusjfx.presentacion.tesis.TablaResultadosController$5.call(TablaResultadosController.java:427)
         at javafx.concurrent.Task$TaskCallable.call(Task.java:1259)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
         at java.lang.Thread.run(Thread.java:722)This exception ocurrs inside the Thread that is filling the table:
    task = new Task<Integer>() {
                @Override
                protected Integer call() throws Exception {
                    while (listaTesis.size() < pag.getLargo()) {
                        List<TesisTO> tesisParaincrustar = fac.getTesisParaLista(pag.getId(), listaTesis.size());
                        try {
                            listaTesis.addAll(tesisParaincrustar);
                        } catch (Exception exc) {
                            Logger.getLogger(TablaResultadosController.class.getName()).log(Level.SEVERE, null, exc);
                        tesisActuales.addAll(tesisParaincrustar);
                        updateProgress(listaTesis.size(), pag.getLargo());
                    return new Integer(100);
                @Override
                protected void succeeded() {
                    status.getProgreso().setVisible(false);
                    preparaFiltros();
                    llenandoTabla = false;
                    tblResultados.getSelectionModel().select(0);
            status.getProgreso().progressProperty().bind(task.progressProperty());
            new Thread((Runnable) task).start();So, what can be another strategy to simulate (or have) that all the register values are in memory and "grab just the needed ones" to display them in the TableView???
    Any idea will be helpfull.

    The first thing I would do here is to check that
    fac.getTesisParaLista(pag.getId(), listaTesis.size())cannot return null under any circumstances. If this is returning null, then that is the source of your exception. In this case you should add the appropriate guard to your code:
    if (tesisParaincrustar != null) {
                        try {
                            listaTesis.addAll(tesisParaincrustar);
                        } catch (Exception exc) {
                            Logger.getLogger(TablaResultadosController.class.getName()).log(Level.SEVERE, null, exc);
                        tesisActuales.addAll(tesisParaincrustar);
    }For the threading issue, you can schedule anything that changes the UI to run on the FX Application Thread using Platform.runLater(...). Note that any data you pass into that should not be modified elsewhere. So you can do something like:
    Platform.runLater(new Runnable() {
      @Override
      public void run() {
                        try {
                            listaTesis.addAll(tesisParaincrustar);
                        } catch (Exception exc) {
                            Logger.getLogger(TablaResultadosController.class.getName()).log(Level.SEVERE, null, exc);
                        tesisActuales.addAll(tesisParaincrustar);
    });You'll need to add the 'final' keyword to the declaration of tesisParaincrustar to get this to compile.
    This is fine, assuming that the call to fac.getTesisParaLista(...) returns a new list instance each time (i.e. it doesn't modify an existing list).
    You will be left with one remaining problem: the condition in your while(...) loop references listaTesis.size(). Since this list is now being updated on a thread different to the thread managing the while(...) loop. This can (and probably will) cause the loop to terminate at the wrong time. Can you adjust the while(...) condition so it doesn't refer to this list (for example, calculate ahead of time how many things need to be read, pass that number to your Task implementation, and use that in the while(...) condition.)
    There are effectively two rules for multithreading in JavaFX:
    1. Don't access the UI outside of the FX Application Thread. This includes data structures which are bound to the UI. I'm assuming at some point you've called tableView.setItems(listaTesis), so listaTesis should be considered part of the UI.
    2. Don't perform long-running tasks on the FX Application Thread.
    In attempting to conform to rule 2, you've violated rule 1.
    Doing incremental updates to a displayed list in a background thread is one of the trickiest uses of Task. Read through the API documentation for Task ( http://docs.oracle.com/javafx/2/api/javafx/concurrent/Task.html ): the "PartialResultsTask" example under "A Task which returns partial results" is an example of what you're trying to do.

  • Menu bar shows icon instead of application name

    For an unknown reason, my menu bar now shows an icon for the application in the open window instead of the name of the application.  For instance, when I switch to the Finder, the smiley face is in the menu bar next to the Apple menu.  How can I return to have the application name shown?

    If you are looking for tech help with a third party application contact the developer. These forums are for Apple hardware and software as per the
    Apple Support Communities Terms of Use.

  • Best Practice Clean Install (Same Old Chestnut for Sure)

    OK, I'm sure the answer is somewhere in this forum but each part is so spread out and I'm getting the sequence mixed up on the best way to make the transition to Tiger in consideration of my current setup. So, thanks in advance for being patient and for the help in general!
    I have three partitions in my current HD (1Gig PB 15" Ti, max RAM). One has just system and apps, the other two are just files. Due to my lack of foresight, I severely underestimated the need for more room for my apps.
    Ideally, I'd like to wipe everything clean and install Tiger fresh, this time with two partitions and lotsa room for my system.
    I just purchased a FW drive where I've dumped all my non-system files. Now I wish it were a simple matter of dragging and dropping items from my old Home folder to my new one, although I've saved a LOT of supplementary data for my apps and Lord knows what else. I use Entourage. I MUST get it up and running with all the mail and folders migrated correctly to Tiger. I have a huge number of important documents saved there.
    So what's the most efficient, yet most comprehensive route?

    I suggest reformatting the FWHD into two partitions, to mimic your proposed setup. Then, use something like Carbon Copy Cloner, SuperDuper!, etc., clone (make a bootable copy) of your current boot volume to one partition, copy the data from the other two to the second partition, boot into the clone, and ensure that it looks and feels exactly like the original. Then, reformat/partition the internal HD, clone the FWHD clone to one partiton and copy the data to the other. Now, boot with the Tiger install disk and upgrade one or the other boot volumes. This leaves you with what you currently have and the new Tiger system. Run Tiger for awhile and if you run into any problems, you can revert backwards. If it looks good, then clone Tiger back to the FWHD.

  • Searching for best practices or step by step directions for setting up governance framework specific to Project server 2013

    Hi! Could anyone lead me to the information i requested .
    thanks
    Aby

    Hope this blog helps
    http://blogs.technet.com/b/projectadministration/archive/2010/09/03/implementing-governance-in-sharepoint-2010-whitepaper.aspx
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading
    the thread.

  • Best practice for multiple instances of the same BEX query

    Hi there,
    I'm wondering what's the best way to use multiple instances of the same BEX query. Let me explain what I mean:
    I have a dashboard with different queries feeding different period of time such as: week to date, month to date and so on. One query for each since it is based on a user exit.
    For each query I want to show different data in different sections of my dashboard. Per example: sales per directors or sales per customer group, sales per day, sales per week and the like.I tried to connect a simple bar chart via a direct connection but with no success due to the multiple lines generated by the addition of the sales director, customer group, week number and so on.
    My question is about the way to connect the different queries efficiently in order to show the different data while avoiding multiple useless lines.
    The image above shows the query browser where, per example, for a Month to date query there will be mutiple line for each week as well as one line for each director. If, for two different components, I want to show data per week and data per director or other representation what is the best practice:
    Add another instance of the same query and only put the week information and another one will only the director info?
    Should I bind those to the excel file and use formulas to make final calculations?
    Will there be a performance issues for adding different instances of the same query
    I have 6 different queries (read 6 user exit that filters time via user exit).
    Depending on the best practices there might be 4 instances for each for a total of 24 instances in the query browser.
    I hope my question is clear enough, if not please do not hesitate I'll clarify as much as possible.
    Regards,
    Steve

    Hi Steve,
    Might be trying for solution for a long time, If i understood your question clear let me clarify you few points.
    You are trying to access the bex query which is designed with the exit's in the background based on the logic and trying to call the entire dimensions and key-figures in a single connection. Then you are trying to map those data in the charts.
    Steve, try to make more connections based upon the logic and split them. use the same query but split them by sales per customer group, sales per day, sales per week by making three different connections and try. You can merge the prompts from all connections.
    Hope this Helps!!!
    Sorry if i misunderstood your question.
    --SumanT

  • Best practiceS for setting up Macs on Network

    Greetings.
    We have six Macs on our Windows Server network; three iMacs and three laptops. We have set up all the machines and they are joined to the Active Directory. In the past, we have always created local users on the machines and then "browsed" to the server shares and mounted the them. We've learned things have improved/changed over the years and we're just now realizing we can probably have the machines set up to work better. So, I have a couple of questions for "best practices" when setting up each of the machines.
    1. Since we’re in a network environment, should we not set up “local logins/users” and instead have users login using their AD login? It seems having a local account creates some conflicts with the server since upgrading to lion.
    2. Should we set the computer to not ask for a “list of users” and instead ask for a username and password for logins?
    3. For the user that uses the machine most often, they can still customize their desktop when they use an AD login, correct?
    4. Should we set up Mobile User Accounts? What exactly does this do?
    Any other advice on how we should best be setting up the clients for our environment to make sure we are following best practices would be great!
    Thanks for any help!
    Jay

    Greetings.
    We have six Macs on our Windows Server network; three iMacs and three laptops. We have set up all the machines and they are joined to the Active Directory. In the past, we have always created local users on the machines and then "browsed" to the server shares and mounted the them. We've learned things have improved/changed over the years and we're just now realizing we can probably have the machines set up to work better. So, I have a couple of questions for "best practices" when setting up each of the machines.
    1. Since we’re in a network environment, should we not set up “local logins/users” and instead have users login using their AD login? It seems having a local account creates some conflicts with the server since upgrading to lion.
    2. Should we set the computer to not ask for a “list of users” and instead ask for a username and password for logins?
    3. For the user that uses the machine most often, they can still customize their desktop when they use an AD login, correct?
    4. Should we set up Mobile User Accounts? What exactly does this do?
    Any other advice on how we should best be setting up the clients for our environment to make sure we are following best practices would be great!
    Thanks for any help!
    Jay

Maybe you are looking for

  • Using colorTrans:ColorTransform on more than one movie clip

    Hi I am very new to Flash and action script so please bare with me... I would like to be able to change the color of more than one movie clip in the same layer in the same frame. Basically I have place two different movie clips with defined instances

  • Aperture 2.1.4 with Snow Leopard Filmstrip Slider Not Working

    Hi all, Not sure which one caused the problem the upgrade to Snow Leopard or Aperture 2.1.4 but here is my issue. In Browser and Viewer mode with the browser set to Filmstrip I am not able to use either the arrows or the slider to scroll through the

  • Web Form Email Advice

    I have designed a web form using for people to enter their contact details and request information from my site. How do I then make make that form send the info to me in an e-mail? I am using a webhosting service for my website and e-mails (register3

  • How do I reset current location?

    ISaid don't allow now can't get my pic's to download! Help pls.

  • No picture in YouTube videos

    On March 2, Firefox 3 series downloaded a new version, and I also downloaded a new flash version. Since then, I have not been able to see a picture in YouTube videos.