Panel Page in ADF Faces using Facelets not rendering correctly

Hi, I am attempting to integrate facelets into a web app built using adf faces and am running into a problem with the panel page component. I have integrated facelets and adf faces without any problems by adding relevant jars (jsf-facelets and adf-facelets) to the project and specifying alternate facelets view handler in web.xml.
However, when I try to render any component inside <af:document> or <af:html> tags, all the font style in components seems to be lost ( all the text and input fields turn large and ugly!).
I tried to leave out the <af:document> tag and put the <f:view> inside some vanilla html instead, but then panelPage component dosen't render properly and I get following message on top of page :
"Skip navigation elements to page contents"
So seem to be in a bit of a catch 22. By the way, this all works fine if I don't use facelets (remove the facelets view handler from web.xml and page renders correctly).
Does anyone have any ideas or examples of panelPage rendering correctly with facelets or an alternative to using adf faces html tags that will allow panelpage to be displayed?
The following is the code from a simple test jspx page :
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view>
<af:document>
<af:form>
<af:panelPage title="Title 1">
<af:panelHorizontal>
<af:panelGroup layout="vertical">
<af:outputLabel value="Username"/>
<af:inputText id="lo_username" value="" columns="20"/>
<af:objectSpacer width="1" height="10"/>
<af:outputLabel value="Password"/>
<af:inputText id="lo_password" secret="true" value="" columns="20"/>
<af:objectSpacer width="1" height="15" />
<af:panelHorizontal>
<af:objectSpacer width="50" height="1"/>
<af:commandButton id="lo_loginButton" text="Login"/>
</af:panelHorizontal>
</af:panelGroup>
<af:objectSpacer width="50" height="1"/>
<af:panelGroup layout="vertical">
<af:outputLabel value="Please use your windows account username"/>
<af:outputLabel value="and password to logon to the system"/>
<af:objectSpacer width="1" height="50"/>
</af:panelGroup>
</af:panelHorizontal>
</af:panelPage>
</af:form>
</af:document>
</f:view>
</jsp:root>

The problem was the <jsp:root> tag. Removed this tag and modified <af:document> to the following so that namespaces are declared :
<af:document xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
Page now renders properly using facelets.
Message was edited by:
mjc

Similar Messages

  • ADF Faces components are not rendered in Jdeveloper visual editor

    Hi!
    I'm using Jdeveloper 1013 Developer Preview. I found that the components of ADF Faces EA16 are not shown on the visual editor in Jdeveloper, but the ADF Faces EA15 components are shown. I'm just wondering if this is normal, and there is anything that can be done to fix this?
    Meen

    I know there's a recent release with a visual editor problem, but I'm not sure which one it is. This thread says you need a fresh install? Can you try that?
    Re: ADF Faces tutorial/code sample for data table?

  • ADF FACES: af:table not rendering all columns

    I'm using ADF EA 17 with myFaces 1.0.9 on JBoss 4.0.1/JVM 1.4.2_07-b05. The af:table is embedded within an af:panelgroup (being body of af:panelbox).
    The af:table is not rendering all columns (only last 2 out of 8 cols total). The model behind the af:table is a java.util.List. Debugging shows that the list is filled up with beans correctly and that each of the properties of such a bean corresponding to a table column are also set correctly.
    Strange thing is that sometimes all columns are rendered ok. Especially if i make heavy changes on the jsp (e.g. removing all but 2 cols from the af:table) and dropping it into the .../jboss/server/../tmp/deploy/tmpXYZ-exp.war directory. Restarting JBoss results in the old behaviour. Also closing browser and re-opening it yields to the missing columns again.
    I've set breakpoints on the bean properties representing on table column and i can see, that the getter methods aren't called (all but those 2 that get rendered finally)
    Table has multiselection enabled with 1 command button.
    This happens with both IE 6 and Firefox 1.0.4; no oracle, myFaces exceptions visible on console or any log file.
    Has anybody made same experiences so far or an idea what the problem really is ?
    best regards,
    Christoph.

    I've tried it also with a plain af:table without any surrounding af:panelgroup or/and af:panelbox. Same result.
    The bean holding the table-model (the java.util.List) is in session-scope. the table-model is update by an actionListener fetching values from an EJB. Could the session-scope be a problem ?
    Potential candidates from my point of view, that might cause trouble here:
    --) Caching (i've seen that sort of "CachedRenderers" are used
    --) partial page rendering
    --) multi-threading issue.
    --) or any silly mistake of mine :-)
    best regards,
    Christoph

  • Adf application not rendered correctly with url ip and url localhost.

    Hi all.
    I have a strange problem. When I enter to my adf application deployed in a local stand alone weblogic server with the ip:
    http://localhost:7001/Application/faces/index
    it renders fine. But when I load it with the url:
    http://10.5.14.15:7001/Application/faces/index (private ip), it doesn´t render fine. Tables haven´t the same style, and some elements appear selected like if I have selected them with the mouse.
    This problem only happens with internet explorer, not with Chrome.
    Also when I see a table inside a region in a jspx, the with of the header of the columns is not rendered correctly, causing the width of the header row not be the same than the other rows.
    This problem also happens only with internet explorer.
    Any help please?
    Internet Explorer 8. JDeveloper 11g.2. Weblogic 10.3.5.0
    Also happens with Internet Explorer.
    Maybe encoding? doctype?
    Thanks

    What would the DOCTYPE have to do with the IP address?
    Have you looked at the HTML source in the different browsers and tried to debug what's wrong? Sounds like there may be some images/css files that aren't being downloaded in IE when you use that IP address. Are you sure IE isn't configured with a proxy?
    John

  • Basic Layout not rendering correctly.

    ''locking as a duplicate of https://support.mozilla.org/en-US/questions/1035123''
    Hello,
    I've been trying to debug a problem I was noticing on my production websites, so I dumbed it down to a quick codepen to show off the issue. http://codepen.io/anon/pen/GgoBNJ
    Basically, standard fonts (helvetica, arial, etc.) are not rendering correctly within a div. For some reason the text is pushing itself up ~2 pixels. Not to mention, fonts are looking very jagged within the browser for no apparent reason.
    I am setting up a basic div with hardly any styles and yet this produces two different renderings within FF and Chrome
    .box{
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 14px;
    border: 2px solid #FF5500;
    display: inline-block;
    width: 100px;
    This is causing me all sorts of headaches with designers who are trying to make layouts pixel perfect as I have zero control over something like this. Any help would be greatly appreciated!
    Thanks in advance.

    You may have zoomed the page(s) by accident.
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl/Command+0 (zero))
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can right-click on a web page and select "Inspect Element" to open the Inspector (Firefox/Tools > Web Developer).
    You can check the font used for selected text in the Font tab in the right pane of the Inspector.
    *https://developer.mozilla.org/Tools/Page_Inspector
    You can do a font test to see if you can identify corrupted font(s).
    *http://browserspy.dk/fonts-flash.php?detail=1
    You can try different default fonts and temporarily disable website fonts to test the selected default font.
    *Tools > Options > Content : Fonts & Colors > Advanced
    *[ ] "Allow pages to choose their own fonts, instead of my selections above"

  • [SOLVED] KDE4.3 is not rendering correctly the images in the desktop

    I've posted a bug in KDE because the KDE images are not rendered correctly:
    https://bugs.kde.org/show_bug.cgi?id=202829
    You can see an image of my desktop at:
    https://bugs.kde.org/attachment.cgi?id=35921
    As someone suggests, and I also agree with him, it would be a driver problem. My graphic card is "ATI Radeon X1950 Pro" and I'm using the "xf86-video-ati 6.12.2-2" driver. I know that there are other possibilities according to this wiki:
    http://wiki.archlinux.org/index.php/ATI
    I already tested them with KDE4.2 and xf86-video-ati provided the best result for me.
    Someone with an ATI card has the same problem? Which driver would you suggest to me?
    Thank you
    Last edited by jjjaime (2009-08-06 19:04:12)

    Thank flamelab for your help.
    The xf86-video-ati-git:
    http://aur.archlinux.org/packages.php?ID=15374
    fixed all my problems. Probably you've heard about it Now, I don't have any rendering problem and I have enabled the Desktop effects. I tested it with and without the xorg.conf file. Both of them worked, but without the file I don't have my keyboard in Spanish.
    I read that it was possible the KMS support. I tested it by changing from graphical to text mode but it takes some time so I guess that it's not enabled. Is there any way to test KMS?
    Is it possible to upgrade the AUR driver to the official repository? Meanwhile, I will comment my problem in the KDE site.
    Best regards,
    Jaime

  • PDF not rendering correctly

    Hi
    Can anyone help? I am using an iMac and have had a pdf emailed to me. When I login on to the site and select the PDF to view, it is not rendering correctly.
    I am not a technical person but to me it appears to open as a series of code, letters, numbers and symbols.
    Any ideas how to rectify this?
    Is it Adobe related or can I update the settings for the browser? I am using Safari.
    Thanks

    what OS & Safari version ?
    Often, removing any 'pdf' plugins in
    /Library/Internet Plug-Ins/
    and
    ~/Library/Internet Plug-Ins/
    then restarting the browser will solve pdf display issues, although in this case, it sounds as if the site is telling Safari that these are text type files & it's attempting to display them accordingly.
    Disabling plug-ins via Safari - Preferences - Security should also eliminate pdf plug-ins as a cause.

  • Why is my .psd file not rendering correctly in ae

    Some layers of the .psd document are not rendered correctly. However they are imported.
    The strange thing is that when I first move from Photoshop to Illustrator, save it as an .ai file it is rendered properly (in Ae).
    I am kind of clueless as to what is causing this issue.
    Kind regards,
    Jelle

    Okay if more information is needed, i'll provide. However you may disregard my initial comment about illustrator. It flattens the photoshop layers so I do not have any flexibility in After Effects. In other words, my main question remains: why is my psd file not rendering correctly in ae?
    Further details:
    -photoshop cc and after effects cc.
    -macbook pro retina
    If still not clear enough, please tell me what details you are looking for furthermore

  • Rollover text not rendering correctly in Safari 7.x

    Safari 7.x and my blog (NotNecessarilyPretty.com) are not getting along.
    Specifically, the rollover text in the post titles (see attached or visit site) is not rendering correctly. The right edge of the text does not change to the correct color. Have been in contact with Apple as well as the theme's developer, but have yet to be offered of a fix. 
    This blog displays correctly when accessed via Chrome or Firefox, and prior to Mavericks, Safari evidenced no problem.
    Thoughts on how to correct this?
    Thanks!

    The original screenshot didn't show here, so for anyone else reading, who may well know much more about CSS & Safari than I :
    changes to this - note the right edge
    But with word-spacing un-checked in Inspector...

  • RequestCenter emails not rendering correctly in Outlook 2007

    RequestCenter emails not rendering correctly in Outlook 2007
    I'm having an problem where the RequestCenter automated emails are losing most of their HTML formatting when viewed in Outlook 2007.  When I look at the same email in Outlook 2003, the HTML formatting is fine.  Here's a picture of the same email displayed in Outlook 2003 and 2007:
    When I view the source HTML of the email, I noticed that there are duplicate HTML, HEAD, and BODY tags that have been automatically added by RequestCenter.  Apparently these extra tags are ignored by Outlook 2003, but cause problems with Outlook 2007.
    This picture shows the HTML source in RequestCenter's HTML editor compared to the HTML source from within Outlook with the extra tags.
    I tried removing the HTML, HEAD, and BODY tags in the HTML editor, but the editor puts the tags back in when you save it.
    Does anyone know how to fix this?
    Thanks,
    Scott

    We've actually had the same problem and had opened a ticket with customer care - it's the editor that's in the version we have (or had, since we are going through the upgrade).  What we've had to do is embed xml tags in the body of the email too, and then the team that processes the email has a little application that will process the data in the tags and strip the HTML that the editor applies.  Not much help, I know. 
    I've heard a rumor that the issue is fixed in 2007 with the new text editor - I'

  • 'Sorry, Too Many Cards' message NOT rendering correctly

    I'm seeing the 'Sorry, Too Many Cards' message not render properly for me on Palm Pre 1.3.1. I rebooted the phone and was able to reproduce the problem by opening up many cards. I have uploded a screenshot: http://img188.imageshack.us/img188/6525/browser20091511171212.png
    As you can see, the 'OK' button is not rendered correctly. If I remember correctly it supposed to be a green button? Also, the right side box is supposed to have an icon or something. I've never seen this error message NOT rendered properly before 1.3.1.
    BTW, like others have posted - once I get to a memory threshold I can't even open up core apps - like 'Device Info' (in case I needed to reboot the phone). I would have expected some high availability on these apps w/r/t memory management.
    I would upload more debugging information if I knew how on the Pre. But like I said I was able to reproduce on 1.3.1 before and after a reboot.
    Thanks,
    Post relates to: Pre p100eww (Sprint)

    lblumen wrote:
    Am getting same message.  Since new update was downloaded.  Also, I am getting the too many cards open message daily, even when no other cards are open
    I'm having the same problem. Usually I will have Tweed open along with the Camera app. I try to send a photo by email and I get the "too many cards open message". Sometimes when I turn the screen off and turn it back on it fixes it. But today I only had the Photo app open and was trying to send a photo by email and i got the "too many cards open message". The same happens when I only have one program like the emailapp then click on a link. Right now I have NO apps open. I'm trying to open the camera app and it keeps giving me the warning. It's very annoying, especailly when you are trying to do some quick. Oh don't get me started on the the slowness of the system ...

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • ADF Faces with Facelets (Menubar)

    Hello experts,
    i using ADF Faces with the jDeveloper (11.1.2) and currently i have a little problem. The menu bar is not usable when i using facelets. It seems to me that the component isn't working.
    This is my little testproject:
    http://www.axxg.de/Facelets.rar
    Thanks for your help
    Alexander

    Alexandar,
    You could have just explained your problem rather than making us download something.
    You have a few issues:
    1). You are using Facelets templating to include your content and header - however, content and header are full pages, not fragments - thus you have multiple f:view tags and af:document tags (this is why you have problems with the menu not dropping down). Have a look at ADF templates in the documentation if you'd like to see how ADF templating works.
    2) Your menus aren't set to do anything. <af:commandMenuItem text="open" id="cmi1"/> - there is no action/action listener associated with your menu item, so indeed it does nothing - this is what you will see when you fix problem #1
    John

  • ADF Faces - Table update not completely rendered

    Hi,
    [ myfaces 1.1.3 + ADF version 10.1.3.0.4 ]
    I have a problem with Table component, changing a value of the inputText components will not update the output component also inside the table. At least not rendered to HTML, the view-tree contains the updated values. Below I have added a part of the jsp-code + a part of the view-tree of the log.
    Changing the value of the inputText with id="salesInput" should trigger an update to the otherSales value in the footer facet in the same column, but it isn't (in the browser).
    So I added multiple outputText components on different places in the table to find out if they were updated. I have also added an inputText component with id="test" outside of the table component, this one is properly updating all the otherSales values.
    If I change the values on the inputText component with id="salesInput" only the outputText with "salesOutput2" is updated in the browser, the one in the footer facet still contains the previous value. (only a browser refresh is fetching the correct values).
    What's the problem why it's not rendered to HTML, tree-view contains right values. Can I force the rendering ?
    Did I miss properties, attributes ?
    Any ideas...
    Your Help is really appreciated.
    Thanks,
    Bas van Oudenaarde
    part of the jsp:
    <af:table id="data" value="#{myManagedBean.allGeographicalData}"
    var="row" partialTriggers="salesInput test" varStatus="myTable">
    <af:column id="salesColumn" sortProperty="sales" sortable="true" width="30%">
    <f:facet name="header">
    <af:outputText value="#{msg._column_3_Header}"/>
    </f:facet>
    <af:inputText id="salesInput" immediate="true" value="#{row.sales}" columns="8" autoSubmit="true"                     valueChangeListener="#{myManagedBean.updateOtherSales}" />
    <af:outputText id="salesOutput2" partialTriggers="salesInput" value="#{myManagedBean.otherSales}" />
    <f:facet name="footer">
    <af:outputText id="salesOutput" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
    </f:facet>
    </af:column>
    <af:table>
    <af:inputText id="test" value="#{myManagedBean.bla}" immediate="true" columns="8" autoSubmit="true"                     valueChangeListener="#{myManagedBean.updateOtherSales}" />
    <af:outputText id="outsideTheTable" partialTriggers="salesInput" value="#{myManagedBean.otherSales}"/>
    Log output, changing the value of inputText component within the table component. Here you can see that all values are updated to 92 in the view-tree!!! On the screen however it still shows the previous value in the outputText components expect for the outputText with id=salesOutput2 :
    <UIViewRoot id="NULL" FORMER_CHILD_IDS="[_idJsp0]" family="javax.faces.ViewRoot" locale="en" renderKitId="oracle.adf.core" rendered="true" rendererType="NULL" rendersChildren="false" transient="false" viewId="/pages/panel.jsp">
    <oracle.adf.view.faces.component.core.data.CoreColumn id="salesColumn" FORMER_CHILD_IDS="[salesInput, salesOutput2]" partialTriggers="[Ljava.lang.String;@67e9f0f6" width="30%" FORMER_FACET_NAMES="[footer, header]" sortProperty="sales" sortable="true" rendererType="oracle.adf.Column" attributeChangeListener="NULL" attributeChangeListeners="NULL" bandingShade="NULL" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" footer="NULL" formatType="text" gridVisible="true" header="NULL" headerNoWrap="false" headerText="NULL" inlineStyle="NULL" noWrap="false" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@67e9f0f6" rendered="true" rendererType="oracle.adf.Column" rendersChildren="NULL" rowHeader="false" separateRows="false" shortDesc="NULL" sortProperty="sales" sortable="true" styleClass="NULL" transient="NULL" width="30%">
              <oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput2" value="92" partialTriggers="[Ljava.lang.String;@600d70f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@600d70f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    <oracle.adf.view.faces.component.core.output.CoreOutputText id="salesOutput" facetName="footer" value="92" partialTriggers="[Ljava.lang.String;@679eb0f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@679eb0f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    </oracle.adf.view.faces.component.core.data.CoreColumn>
    <oracle.adf.view.faces.component.core.output.CoreOutputText id="outsideTheTable" value="92" partialTriggers="[Ljava.lang.String;@73e070f6" rendererType="oracle.adf.Text" attributeChangeListener="NULL" attributeChangeListeners="NULL" converter="NULL" description="NULL" escape="true" facesBean="NULL" facetCount="NULL" facetNames="NULL" family="NULL" inlineStyle="NULL" localValue="NULL" onclick="NULL" ondblclick="NULL" onkeydown="NULL" onkeypress="NULL" onkeyup="NULL" onmousedown="NULL" onmousemove="NULL" onmouseout="NULL" onmouseover="NULL" onmouseup="NULL" partialTriggers="[Ljava.lang.String;@73e070f6" rendered="true" rendererType="oracle.adf.Text" rendersChildren="NULL" shortDesc="NULL" styleClass="NULL" transient="NULL" truncateAt="0" value="#{myManagedBean.otherSales}"/>
    </oracle.adf.view.faces.component.html.HtmlCellFormat>
    </oracle.adf.view.faces.component.html.HtmlRowLayout>
    </oracle.adf.view.faces.component.html.HtmlTableLayout>
    </oracle.adf.view.faces.component.core.CoreForm>
    </oracle.adf.view.faces.component.core.CoreDocument>
    </UIViewRoot>

    In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.

Maybe you are looking for

  • Discount in separate GL Account

    Hi, we want to capture the discount on order(order management) in separate GL account, Oracle receivables automatically reduces the revenue (Debiting the Revenue account automatically),urgent help is required. Regards Farhan

  • How do I make a paper book?

    I am trying to make, design, construct a book for my 2 year old grandson, TITLED "Gavin's Great Adventure".  I want to place text and pictures (from Dropbox) on back-to-back pages.  I would like to use"card stock" paper which is easier for little fin

  • Significance of project in user exit

    Hi can u tell me what is the significance oa project( in CMOD) in a user exit? Thanks and regards Davinder Singh

  • Custom Serialization

    Hello, In My development I have to make a Web service which shout returns Complex Type. From Otn as follows http://otn.oracle.com/tech/webservices/htdocs/samples/serialize/index.html I found how to do it through editing WSDL/Web.xml file. But when i

  • WSDL structures for complex data types

    Hi there Assume that a WSDL returned this: <s:complexType name="Employee"> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="fname" type="s:string" /> <s:element minOccurs="1" maxOccurs="1" name="lname" type="s:string" /> <s:element minOccurs