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

Tags: Java

Similar Questions

  • Compatibility ADF Faces and jQuery

    ADF Faces and jQuery is incompatible? In some of my pages I used jQuery to improve my drawing. Since ADF Faces has no component such as p or h1 or if I use these tags and ADF behaves unexpectedly. So by jQuery, I can wrap some components like div generated by af:panelGroupLayout. If I specify a styleClass to this pgl I can easily the warp by p as $('.cls').wrap ("< p..."). Are their any risk of error or of bad behavior to do? In one thread, I see as jQuery is not integrated into the life cycle of ADF so it can be difficult to tell whether or not it behaves by mistake. Y at - it no risk to deal with a problem of PPR?

    Hello

    In ADF Faces active JSF 2.0 use of things like JQuery would be more affordable, I would suggest that you test this last integration using Facelets and Jdeveloper 11.1.2.0. However you perception is right, using a lot of JQuery on your page in ADF faces, could potentially break some of the life cycle. There are, however, examples:
    http://codingwithpassion.blogspot.com/2011/01/using-jQuery-in-Oracle-ADF-faces.html
    http://George.maggessy.com/2010/08/ADF-and-jQuery-working-together.html

    What kind of JQuery components are you trying to use?

    -Juan Camilo

  • ADF Faces Rich Client Demos

    The box in RIA in connection components demo contains nice information about the versions of the components of the ADF. Since there are lance commig patch in the ordinary basiss, I decided to include that on the box in our application.

    If I check the code of demos from RIA components:
    <!-copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. ->
    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    version = "1.2" >
    < af:popup id = 'about' contentDelivery = "lazyUncached" >
    < af:dialog title = 'On ADF Faces Rich Client Demos' type = "ok" id = "d1" >
    < af:panelGroupLayout layout = "vertical" id = "pgl1" inlineStyle = "width: 450px" >
    < af:panelFormLayout id = argument maxColumns "pfl" = "1" >
    < af:iterator id = 'info' var = value ' row' = "#{aboutBean.versionInformation}" >
    < af:panelLabelAndMessage id = label = "#{row.name"plm"} '"
    labelStyle = "vertical-align: top;" white-space: nowrap; ">
    < af:outputText id = value = "#{row}" / "ot" >
    < / af:panelLabelAndMessage >
    < / af:iterator >
    < af:panelLabelAndMessage id = "uaPLM" label = "header User-Agent.
    labelStyle = "vertical-align: top;" white-space: nowrap; ">
    < af:outputText id = "August".
    value="#{facesContext.externalContext.requestHeaderMap['user-agent']}"/ >
    < / af:panelLabelAndMessage >
    < / af:panelFormLayout >
    < / af:panelGroupLayout >
    < / af:dialog >
    < / af:popup >
    < / jsp:root >

    I can see that there is an aboutBean that is defined in the application.
    Where can I get the source code for this bean?

    Kind regards
    Mihael

    You can download the demo and install on your local computer, here's how http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

    Pedja

  • 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

  • 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 &amp; BC: construction of an existing application with Maven?

    Hi all

    After talking with several representatives of Oracle and reading http://www.oracle.com/technology/products/jdev/howtos/1013/maven/maven.html, I realized how useful this tool can be when you work with a team of developers on a project of the ADF. Looks like that with this tool, we can separate dependence through each developer when working on independent modules which often require changes to the project JDev eg files: .jpr and TJS. Before you follow the instructions to start moving around files within our current ADF Faces & BC project in a standard Maven directory structure, I was wondering if this is still necessary? If anyone has any additional tips on working with this tool within JDeveloper, please do not hesitate to answer!

    Thank you
    Wes

    All,

    I asked a question [url http://forums.oracle.com/forums/thread.jspa?messageID=2738034] in this forum earlier if Oracle was going to each host a repository maven for libraries of the ADF or publish a taxonomy standard maven for them so that we can all have a standard configuration. Frank N responded that he deposited an ER for such.

    Best,

    John

  • Zoom image using Jquery in ADF Faces

    Hello

    the body of each

    How are I hope to a fine

    Please I want to

    step by step to work

    Zoom image using Jquery in ADF Faces

    Hi user,

    Please specify your jdeveloper version

    Please check if link below help you

    http://www.awasthiashish.com/2014/12/image-zoom-power-zoomer-effect-using.html

  • ADF FACES error TaskList

    When a user tries to open the workspace planning app, it throws the "ADF FACES" - inaccessible target - TaskListStatuswizard returned null error"type NULL.

    I was wondering if anyone has experienced the same error.

    Thank you

    Is that for a user, if so get clear on the browser etc. from the browser cache, make sure that it is a supported browser, make sure it commissioning is correct, check the logs when accessing planning, see if they can access directly without going through the workspace.

    See you soon

    John

  • ADF Faces calendar component - error

    Hello

    I implemented a schedule ADF Faces component in my application by following this tutorial: http://docs.Oracle.com/CD/E12839_01/Web.1111/b31974/web_adv.htm#ADFFD19868 but when I run my page, I got the following error:

    Try to set a parameter name that does not intervene in the SQL: start

    .

    I thing, perhaps, there are some missing steps in the tutorial.

    Thank you for your help.

    Leslie

    Hello

    I found the solution through My Oracle Support.

    It was because my bind variables have been defined in the display of the Entity object request page, if necessary, instead of in the view to see criteria Page for entity object, to be not not required.

    Thank you.

    Leslie

  • Source of bean to ADF faces Rich Client Demo

    We use jdeveloper 12.1.3.We often have a glance on the oracle "ADF faces Rich Client Demo" (http://jdevadf.oracle.com/adf-richclient-demo).  With this link, we have a lot of examples, and it is possible to display the source of the pages. But is it possible to have the source of the beans used in these pages?

    Thanks for your help

    User

    Check - How to get the source code of the demo ADF page.

    ADF Faces components demo Install Instructions

    http://docs.Oracle.com/CD/E16162_01/Web.1112/e16181/gs_demo.htm#ADFUI12741

    Ashish

  • 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 faces components internationalization

    Hello

    I need customize my jspx on common language runtime page to show the content of the page in different languages. I need internationalization ADF faces component level as well. For example, I need the recovery message from table, the components panel menus in the indicated language at run time. I am able to do this for languages like french, German etc by doing two simple steps,

    1. in the JSPX page, set the view label to the locals as < f: view local = "fr" >

    2. register the local in the file faces - config.Xml.

    And I am able to see the languages changed in these components.

    But if I put the Chinese < f: view local = "zh_Ch" >... I am not able to see the changes. Please let me know how I can fix it.

    User, tell us your version of jdev, please!

    Should we not locale 'zh_CN '?

    There is no location for a language "zh_Ch".

    Timo

  • 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.

  • including the extension in jdeveloper with ADF Faces?

    Hello

    We have an application with ADF Faces components that must be migrated to OracleAS weblogic 11 g Server (10.3.5).

    We strive to upgrade the application under jdeveloper 11.1.1.5.0.  I have 3 questions.

    1. which the ADF jdeveloper extension should download us for this purpose?

    We already seem to have the extensions 'Fusion Web Applications (ADF)' and ' Applications Java Desktop (ADF) "."

    2. during the upgrade, we were given an option to upgrade the ADF Faces in Trinidad, when this option has been chosen, we got a "unexpected mistake."

    is it necessary to go to TRINIDAD to be able to deploy successfully on weblogic 10.3.5? If Yes, is the extension for Jdeveloper MAVEN?

    3. in weblogic server, I understand, we need the extension JRF to support the length of the ADF, is there anything else that we need on weblogic server that the adf works?

    Thank you in advance.

    If the origins of your application of jdev 10g and runs on the OAS, you can migrate to Trinidad. No extension is required for this as the required libraries are already there. Maven is useless and will not work for 11.1.1.5.0. First version with the full support of MAVEN is 12 c.

    If you get an unexpected error during the migration from the old app to 11 g, you should try to find out

    (1) projects that is causing the error

    (2) file that is causing the error

    and work from there. There are some configurations that cannot be migrated (check the release notes), however they should not lead to unexpected errors. However, check the release notes.

    If you don't find anything and cannot pass through the error, you must open a SR with support.oracle.com.

    Next question is why migrate to 11.1.1.5.0 which is already obsolete.

    Timo

  • How to test applications ADF Faces automatically?

    Hello

    I use JDEV 11.1.2.3 - but in fact, my question ist depends on the JDEV version.

    How to test the different layers of the stack of the ADF, in an automatic way?

    1. How can we test business services layer - using business components? I don't mean using the component browser...

    2. How can a test the ADF faces layer? Is there a list of best practices for selenium or so?

    3. is it possible to test the ADF controller layer? Would be a great thing to call the different taskflows programmatically...

    Thx for the answers!

    Marc greetings

    Test with JUnit.

    http://download.Oracle.com/otndocs/OTNVDD-rea/ppt/ADF_VDD_Testing.PDF

Maybe you are looking for

  • Original mail disappeared as an independent but shows in a thread

    I received an email (I was part of the 5 addresses). Later, two other people the original was sent, did what I guess was a reply with comments. now the original e-mail no longer exists as a standalone email for me, but I don't see the original in the

  • stuck on the preparation of backup time machine

    After 20 hours, system preferences says still "preparing backup...". » Backup of 1 TB (330 GB free) iMac at the score of 1 TB external drive (170 GB free). Save on USB3, using an Inateck, WD 4 TB of disk docking station drive already used for Time Ma

  • HD video files appearing "glitch" in iMovie 11

    I recently bought a camera that shoots in AVCHD and pulled a bunch of images at 60 fps. I downloaded a converter to convert these images to MOV, so I can edit in iMovie (I have iMovie 11, version 9.0.9). However, once I'd loaded video files in iMovie

  • VPN clients hairpining through a tunnel from site to site

    I have a 8.2 (5) ASA 5510 in Site1 and a 8.2 (1) ASA 5505 Site2 they are configured with a tunnel from site to site. Each site has VPN clients that connect and I would like to allow customers to access on both sides across the site-to-site tunnel ser

  • What is a good computer for PR?

    My computer is six years old and is not aware for the treatment of Premiere Pro. The processor is slow and so are hard drives. What system configuration would you suggest for someone who is just an amateur, but wishes to treat holiday videos that mig