Create a horizontal rule in ADF Faces

Dear all,

How do I create a horizontal rule in ADF Faces that will blend with the theme of the merger?

I hesitate a little of the mixture of HTML with ADF Faces Tag because maybe it's not a good practice.

Any thoughts here?

Thank you.

Hello

See http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e12419/tagdoc/af_separator.html

Frank

Tags: Java

Similar Questions

  • ADF faces: the challenge of creating custom components

    Hi all

    My name is Juan Manuel Tamayo, and I start a project in which we will use ADF 11 g as part of our development, unless we find significant reasons not to do so. I don't have much experience with JSF or ADF, so please accept my apology for any obvious question.

    I would like to know your opinion about the declarative elements in ADF Faces. Are they easy to use? are they flexible enough to build all the components required for a large application? In case the declarative elements are not sufficient, what other options do I have for building new, complex visual components?

    I sincerely appreciate your help.

    Kind regards

    Juan Manuel Tamayo

    Published by: juanmtamayo on January 19, 2009 20:48

    Juan,

    If the component can be built out of existing components, so if it's a component of composite, then declarative components is a good and reusable approach. If you can't find what you are looking for your next step would be the Internet to see if you find a component JSF 1.2 compatible UI that you need and that co-exists with the set of components in ADF Faces. In any last resort, you can always write your own custom JSF component.

    Frank

  • How to conditionally bind the declarative component custom ADF ADF Faces

    Hi gurus,

    I created the custom declarative component called "Historical Record", following the article of Frank Nimphus Oracle ADF Code corner: How to bind custom declarative ADF Faces components and it works perfectly find.

    But I want to strengthen further to make more generic, as in Oracle EBS we can go to all the blocks and choose Tools-> history of the record and it shows WHO columns to the currently selected record.

    The intention is conditionally bind the attributes of the component with columns of WHO bodies VO.

    The scenario is:

    * all tables have Created_Date, Modified_Date for columns of the WHO.

    * the page containing the 2 instances of VO with different source (for example:-> emp dept)

    * whenever I have navigate dept records it should display columns WHO selected dept and the same thing then to move through the records of the emp.

    Kind regards

    Ferrere

    Well as I said, you shouldn't try to rebuild the Oracle Forms technology-specific behavior in some other technologies such as ADF (because it is not usually possible).

    It is probably best to have a separate button for each shape (square to a coherent position on all pages - as some form, toolbar header...)

    If you want to rebuild the behavior of forms, then you can use the combination of af: clientListener / af:serverListener to set a flag (as the name iterator) see scope that can be used by your 'global' button to retrieve the correct data. Therefore, add af:clientListener to each component entry...

    Dario

  • ADF BC working with libraries of components of UI (except ADF Faces)

    Hello world

    I use JDev + ADF version: 12.1.2.0.0.

    I was wondering and also try to create an application of Fusion (using jsf, jsp pages not) but with other libraries of components, PrimeFaces and RichFaces rather than ADF faces. You could probably ask "why?" I'm really interested to integrate all the benefits that come from the ADF BC and use of a comprehensive library of user interface components (which could compensate for some missing components of the ADF Faces). My first choice would be on PrimeFaces, since it is entirely compatible JSF 2.0 and is the market leader. But my question is: is it still possible? If Yes, how can I do this? Note that my problem is not to put a simple component in a jsp page as in this tutorial: https://www.youtube.com/watch?v=-wHKWYwgr4o . But instead the exposure of data with these components controls, through the link layer (or the only possible way does all this programmatically?).

    PS: I tried to do the same procedure that Shay has shown on the tutorial above for PrimeFaces, but it seems that the pots of primefaces-4.0/3.5 do not have a definition of taglib included. AM I missing something or is it just that the community primefaces version does not include it?

    Thank you in advance!

    I managed to make it work. I had actually left behind the use of the taglib, but there are other problems with PrimeFaces. It seemed that there was some sort of conflict of the lifecycle when used in a merger application. For example, a simple submit button could not run its binded action, and all components with built-in ajax functionality had issues like this.

    The solution: I had to create another object of ViewController and remove all the adf associated configuration files (in my case, just adfc-config. XML). so I have an application with both a project for the "web" version and another for mobile. Of course, while deploying I include only one of them.

    NOTE: This method above works fine when you deploy in WLS. But another step is necessary in the event of deployment in Glassfish.

    1. After you have created an ear, I have to manually change the file "web.xml" in the package of the war, because while that JDev packages include some filters are specific for the ADF. In fact, I replace this file with the one used during development.

    2. starting at the war, remove all the libraries, with the exception of: jsf - api .jar, jsf - impl.jar, primefaces.jar and welding - integration.jar (if there are others).

    Hope this helps someone else.

  • ADF Faces components Demo - error of illegal characters

    Hello

    I downloaded the demo of components made face ADF for the version 11.1.2.3.0 of http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html . I tried following instructions:ADF Faces components demo installation Instructions

    It's downloading as rcf - dvt - demo.zip. I renamed it to rcf - dvt - demo.war.

    Then I tried to create a project of this war... and got the following error:

    The project "C:\rcf-dvt-demo.war!\Project.jpr" file is not valid. The file name may contain non-compliant characters, it may be too long or permissions for this file or one of its parent directories can be limited.

    Help, please. I am downloading to correct location and following the correct instructions.

    Thank you

    Rajdeep

    Just read this thread again.  The name of the file that you have published is false and contains an illegal character.

    C:\rcf-DVT-demo.war!\Project.jpr

    I wonder how you get the name of this project. It seems that you try to build the project inside the file. War. You must create a new application and within the workspace of the application, you add a new "war Bill."

    Timo

  • Thread: ADF Faces: alignment of PanelGroupLayout

    Jdev version: 11.1.1.7.0

    {space} is a white-space

    Here is a simplified version of ASCII-art of the layout I want to achieve:
    ------------------------------------------------------

    Label1 {space} InputOfLabel1
    Label2 {space} InputOfLabel2 {space} InputOfLabel3

    ------------------------------------------------------


    Here the JSF code I wrote so far:
    <af:panelFormLayout ...>
    
    <af:panelLabelAndMessage   label="Label1" id="plam3">
         <af:outputText value="InputOfLabel1" id="ol1"/>
    </af:panelLabelAndMessage>
    
     <af:panelLabelAndMessage   label="Label2" id="plam4">
              <af:panelGroupLayout id="pgl2" layout="horizontal">  <!-- I am using panelGroupLayout  because I want both the fields to appear in one line-->
                  <af:outputText value="InputOfLabel2" id="ol2"/> <!-- Label2 belongs to this field -->
                  <af:outputText value="InputOfLabel3" id="ol3"/> <!-- I dont want to show it's label -->
              </af:panelGroupLayout>
      </af:panelLabelAndMessage>
    </af:panelFormLayout>
    But the result I get is:
    ------------------------------------------------------
    Label1 {space} InputOfLabel1
    Label2 {in} {space} InputOfLabel2 {space} InputOfLabel3
    ------------------------------------------------------

    There is additional space that comes before InputOfLabel2 and so he's not in the same vertical line with the value of the upper field. (which is InputOfLabel1)
    How can I get the result in the UI?

    P. s. I followed bypasses of next blog, but could not get out.

    ADF Faces: right by aligning a panelGroupLayout

    Published by: flat on December 14, 2012 01:11

    Published by: flat on December 14, 2012 01:12

    Then you can try by simple adjustment = true on the inputNumberSpinboxField...

    This command removes the space and the pads, the default margin settings used by labels...

    Kind regards

  • Combination of ADF Faces and JSTL is advisable or trap?

    Dear all,

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfall. ADF Faces features are enough or do we need to rely on the JSTL functions? I prefer to use ADF Faces/JSF functions without the combination with others.

    for example 1


    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:fn = "http://java.sun.com/jsp/jstl/functions" >

    for example 2

    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns = "http://java.sun.com/jsp/jstl/core" >


    Best regards
    KT

    Hello

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfal?

    To suggest a rule: feature edge try ADF Faces before reaching out to the JSTL. The difference between JSTL and JSF in general, is that the JSTL expressions are evaluated in compiling page while JSF expressions are evaluated deferred. This difference can have an impact on the PPR updates and data rendering (which, in many cases I guess you can fix by defining the ADF Faces, content delivery component immediate instead of deferred). On a light background, I scored with a JSTL alert 'heads up' for this reason

    Frank

  • How should I do side tabs in ADF Faces?

    A common component in the web pages of today is an element, similar to the af: panelTabbed, but with the tabs on the side (start, end) for the position, instead of above and below only as panelTabbed. I also see this in JDeveloper in the property inspector and other void signs during their layout is horizontal. For example, ADF Faces has a component that does this? How would I do that. Any suggestions?

    The tab item can be on top or below.
    If you want to have the side tabs, you could use af:commandImageLink with an image of the tab. When you press it, you can switch the content on the right, for example by using an af:switcher or a dynamic region.

  • How to redirect to another page Using JavaScript in ADF Faces?

    Hi guys,.

    I have a case of user UI that has an af:menu which contains mutiple af:goMenuItem. When the user clicks on the menu, the menu slides down and the af: goMenuItem presents itself. As we know, you can set page destinations in af:goMenuItem to go to another page when the user has clicked, but af:menu itself cannot be redirected to another page. Well, the case of the user wants the menu itself could be redirected if the user clicks on it.

    So I think that the use of JavaScript to do this: when you click on the af: menu, redirect to another page. BUT, I've looked over the ADF Faces Javascript API and wasn't able to find this piece of code to do this. Any help?

    Another work around to the user scenario is to use the brands of HTML + CSS/JavaScript instead of af: menu and af:goMenuItem, but this changes the scope of the technology although it is not hard to do

    Any other idea to make the case of the user other than what I could think?


    Thank you guys!

    Jay

    Hello

    1. you can have a control hidden element to the navigation based on a case of control flow. In this case, you access the JavaScript command component create a new ActionEvent and he queued
    2 - JavaScript can use an af:serverListener to call a server side managed bean method to perform the navigation

    There is no JavaScript API for navigation in ADF Faces because navigation in JavaServer Faces is an event-driven framework and we do not support the developers of fight against the framework.

    Frank

  • ADF Faces &lt; IF &gt; statement available on the page?

    I do a page using ADF Faces.

    I want to create an IF statement in a page that will display a markup on one condition and another display, some other tags.

    For example, I use an iterator to generate a table. I would like to have the background color of the alternative line based on the iterator No. 2 (also how can I get the count of the iterator).

    Also, I don't want to make the highlight of text color based on some such condition as is foo == bar make the text red etc.

    Someone knows how to do this simple task in ADF Faces?



    * Note that the basic JSF fi is not available in Jdeveloper for some reason any. Any help would be appreciated.

    In addition, I don't want to just set a property of an element based on a State with EL.

    Lets say there is a part of the page I want to only show is a condition is true. Is it impossible in ADF Faces? Is there something fundamental that miss me on this frame?

    Published by: user2809800 on December 6, 2010 12:49

    Made conditional group of fragments, you can use the component switcher.

    See the example for switch here: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/switcher.jspx

    Code:







    To change the color of the text according to the requirement, you can use the EL expression in InlineStyle (it's a simple case) otherwise, you can use the count to change the same.

    Sample:


    inlineStyle = ' #{bindings. " FirstName.inputValue == 'Steven '? "{" color: red ": null}" / >

    Thank you
    Nini

  • How to create a floating layout using adf

    Hello
    I use Jdeveloper 11 g to develop an application.
    I just came across problems when I am trying to build the look and feel.
    Basically, I want to develop according to the following link.

    http://Webfusion.KCMO.org/coldfusionapps/ActionCenterRequest/GetStatus.cfm

    I was able to create available to help adf page layouts and components (af:panelStechlayout, af:panelgrouplayout), but the problem, I faced, I want the whole page to scroll and have a floating layout.
    But in my case, the panels are scrolling, so when I resize the browser, or change the resolution, everything seems to be broken in pieces.
    In addition to recreate the schema above, I include everything under the 'Centre' facet, where the use of models creates questions.

    Here is the code I use (just the code of the structure), it looks like simple preety but I'm not able to understand this one.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document title="findcase" id="d1">
          <af:form id="f1">
            <af:panelStretchLayout startWidth="100px" endWidth="100px" id="psl2">
             
              <f:facet name="center">
                <af:panelStretchLayout endWidth="63px" id="psl1"  topHeight="120px" bottomHeight="50px"
                inlineStyle="font: 100% Arial, Helvetica, sans-serif;background: #2A3644;font-size: 13px;margin: 0;padding: 0;text-align: center;color: #000000;"
                                       startWidth="44px">
                
                  <f:facet name="center">
                   <!-- Header -->
                   <af:panelGroupLayout layout="scroll"
                                         xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                         id="pgl3">
                      <af:image source="http://cfdev.kcmo.org/coldfusionapps/templates/images/kcmo_banner.jpg"
                                shortDesc="header" id="i1"
                                inlineStyle="width:960px; height:77.0px;"/>
                      <af:panelGroupLayout id="pgl2" inlineStyle="height:33.0px;">
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/home.jpg"
                                  shortDesc="menu1" id="i2"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/services.jpg"
                                  shortDesc="menu2" id="i3"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/residents.jpg"
                                  shortDesc="menu3" id="i4"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/business.jpg"
                                  shortDesc="menu4" id="i5"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/visitors2.jpg"
                                  shortDesc="menu5" id="i6"/>
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/officials2.jpg"
                                  shortDesc="menu6" id="i7"/>
                        <!--af:panelGroupLayout id="pgl4"-->
                          <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/kcmo_banner_slice.jpg"
                                    shortDesc="searcharea" id="i8"
                                    inlineStyle="background-repeat:repeat; width:355px; height:35.0px;"/>
                        <!--/af:panelGroupLayout-->
                        <af:image source="http://webfusion.kcmo.org/coldfusionapps/templates/images/kcmo_banner_lower.jpg"
                                  shortDesc="banner" id="i9"
                                  inlineStyle="width:960px; height:7.0px;"/>
                      </af:panelGroupLayout>
                     <!-- starting the center section -->
                      <af:panelStretchLayout id="psl3" inlineStyle="width:960px; margin:auto; background-color:White;"
                                             startWidth="232px">
                        
                        <f:facet name="center">
                         <!-- your page content goes here -->
                          <af:outputText value="outputText1" id="ot3"/>
                        </f:facet>
                       <!-- side navigation panel -->
                        <f:facet name="start">
                          <af:panelGroupLayout id="pgl1" inlineStyle="float:left; margin:5px; width:236.0px;background-color:#edf0f5;text-align: center;">
                           <af:goLink text="City Government" id="gl1"
                                   destination="http://www.kcmo.org/CKCMO/Depts/CityManagersOffice/InternshipsandfellowshipswiththeCity/KansasCityGovernment/index.htm"
                                   inlineStyle="font-family:Arial, Helvetica, sans-serif; font-size:10px;     color:#395F76;     font-weight:bold;"/>
                          <br/>
                            <af:goLink text="Codes and Ordinances" id="gl2"
                                       destination="http://cityclerk.kcmo.org/liveweb/common/"
                                       targetFrame="_blank"/>
                            
                          </af:panelGroupLayout>
                        </f:facet>
                        <f:facet name="end"/>
                      
                      </af:panelStretchLayout>
                      
                    </af:panelGroupLayout>
                    
                  </f:facet>
                  <f:facet name="end">
                    <af:outputText value="" id="ot2"/>
                  </f:facet>
                   <f:facet name="start">
                <af:outputText value="" id="ot1"/>
              </f:facet>
                </af:panelStretchLayout>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Any help will be much appreciated.
    Thanks in advance
    Ash

    Try to create a layout that uses a panelGroup static when the container upper and use panelBorders inside.
    Something like this:

    
    
      
      
        
          
            
              
                
                
                
                
                  
                    
                    
                      
                      
                      
                      
                      
                      
                      
                      
                      
                      
                    
                  
                
                
                  
                    
                      
                      
                    
                  
                  
                  
                  
                  
                    
                    
                    
                  
                
              
            
          
        
      
    
    
  • Stress Test ADF Faces with JMeter, simulate multi user - unique number doc

    Hi all
    I was able to configure JMeter to test ADF faces 10g application, now is the time to define the load and the scenario.
    When reading JMeter docs, I'm curious if others has been doing so successfully and can share it. (at least Mr. Chris Muir...?  :)

    I have two questions:

    (1) the page I want to test is a Page of entry of order with master - detail (form - editable table).
    I f I just create a group of JMeter threads with Thread number = 50.
    These '50 users' insert exactly the SAME data, even if I have a single Unique constraint on a field "Order-Ref" (which is not automatically generated, but entered by the user).
    Is it possible to use a meter on JMeter, so this "Order-Ref" field will be filled with 'REF-1', ' REF - 2 "etc...?". (so that I can survive the unique constraint)

    (2) have you tried JMeter to insert data of editable table ADF?

    Thank you very much
    xtanto

    Search the concept of function in JMeter, more precisely the function of the counter:
    http://Jakarta.Apache.org/JMeter/UserManual/functions.html#__counter

    CM.

  • ADF Faces 11.1.1.1.0: Overflow toolbar

    Hello

    In our file 11.1.1.1.0 ADF application, we have a table which is surrounded by an af:panelCollection > < /tt > < tt > <. The table is read-only. Various actions can be performed on the records in the table by selecting a line by pressing one of the many buttons that are on the < tt > < af:toolbar > < /tt > who is inside the facet of toolbar < /tt > < tt > < TT > < af:panelCollection > < /tt >.

    We have recently added a few buttons and now the keys are no longer within the toolbar. ADF Faces automatically puts an arrow of infinity on the right side of the toolbar. When clicked on this button, the other buttons are displayed within a popup. We do not like this solution. We would rather a created additional row and the remaining buttons wrapped. I can't find a setting for this. I tried using an af:toolbox > < /tt > < tt > < and distribute the buttons on various < tt > < af:toolbars > < /tt >. But the facet of toolbar < /tt > < tt > < TT > < af:panelCollection > < /tt > does not < tt > < af:toolbox > < /tt > as a child.

    Someone know how to encapsulate the buttons saturated on a new line?

    Best regards
    Bart kummel

    Hello

    Sorry to hear you don't like this option, but there is no other parameters. Have you tried

    afterToolbar

    Insert what you want to appear inside the second line of the box to the panelCollection tools. Valid entries correspond to what is allowed in a row of Toolbox, which is a 'af:toolbar', a 'af:menuBar' or a 'af:group' that contains toolbar items. The content of afterToolbar is displayed on a separate line below the line of the Toolbox containing the normal group of toolbars.

    secondaryToolbar

    Insert an element of toolbar (a "af:toolbar" or "af:menuBar") in this facet to contain additional toolbar items. This toolbar appears after the standard toolbar provided by the panelCollection. The secondaryToolbar is the straightest toolbar in the line of the Toolbox.

    Frank

  • All ADF Faces components are suggested to have IDS

    JDeveloper 11 GR 1 (11.1.1.1.0) material emits warnings in the code editor if ADF Faces components have no ID is specified in the page. 'S done it by marking the corresponding component tags using orange lines below them. Why some components should have IDs if we must not reference them anywhere? (For example, most < af:group >, < af:separator >, input/output components with no dynamic link with other components and so on.) Is there a way to remove warnings "When using ADF Faces, it is suggested that all components have IDS" appear on the screen, because these fake warnings (which are everywhere) could prevent see me more most important possible?

    You can disable this message by using the tools-> preferences-> audit Faces-> profiles-> Rules-> ADF-> ID of component rules

  • How to develop an application using ADF Faces components main in JDev 11 g?

    Hello
    I just started to work with JDEV11g. Now, I have a question here.

    By default when we tried to create any Application in JDev 11 g libraries of tags are still showing only ADF Faces rich client components (11g). I want to use the ADF Faces Components (10.1.3) Core in the same application with addition to ADF Faces Rich Client components.

    How to develop a sample with ADF Faces Core components (10.1.3) application. What are the steps to follow in JDev 11 g?

    Please help me.

    Thank you
    -Afif

    Yes.

    Trinidad is all correct and documented components to use. They are almost exactly the same as the ADF Faces 10.1.3.x ones.

    John

Maybe you are looking for

  • export contacts

    I use OS X I had to change internet provider, so my email has changed. How can I export my Contacts to my new gmail account?

  • Installed the RC on Satellite L40 Satellite

    Updated to Vista Home Premium RC - everything seems to work very well. I have already upgraded the RAM to 2 GB.RC also seems to be much less disk space than Vista... Thought I'd share this...

  • No magic mouse preference 2

    I have associated my magic mouse 2 successfully, but it appears like a mouse to single button with any of the preferences it should show.  What I've done wrong?

  • need to reset password for excel password protection

    I wrote the word password but it does not work and I tried all the ones I use, you can reset the password to unlock the protected mode to work on files.

  • Lenovo Ideapad 305

    HelloPlease can someone tell me if the laptop next would be allowed to run cc - photoshop, illustrator and indesignIt is the part of the processor, I do not understand.Intel® Pentium® processor8 GB RAMStorage of 1 TB (1000 GB)15.6-inch Full HD (1920