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

Similar Messages

  • Problem with partialTriggers in ADF Faces

    I´m using JDeveloper/Oracle Appserver 10.1.3.
    Here is what I find strange:
    I wish to display an error message next to a textfield using the autoSubmit/partialTriggers functionality.
    <afh:cellFormat>
    <h:panelGroup>
    <span title="#{textBean.translatedTexts['popup_338']}">
    <h:outputText value="#{textBean.translatedTexts['datum__direct_payment.jsp_2516']}" />*
    </span>
    <af:inputText simple="true" id="paidDate" value="#{directPaymentBean.directPaymentFormBean.paidDate}" maximumLength="10" inlineStyle="width:120px" autoSubmit="true" styleClass="input" valueChangeListener="#{directPaymentBean.doIt}">
    <fpw:convertDate
    messageKey="ange_datum_i_ratt_format__direct_payment.jsp_2422"
    datePattern="#{framework.fpwUser.longDateFormat}"/>
    </af:inputText>
    <af:panelGroup partialTriggers="directPaymentForm.paidDate">
    <af:message for="paidDate"/>
    </af:panelGroup>
    </h:panelGroup>
    </afh:cellFormat>
    The request is submitted and the Converter fails but the message is not displayed. However if I change the af:message ti af:messages it works. It also works (with af:message) when I do a full submit with a command button. Both scenarios above indicate that:
    1. The trigger fires, at least for af:messages meaning that the syntax is OK
    2. The message is stored with the right id (paidDate) bacause the message gets display at full page submit.
    It it something funny with af:mesaage and partialRendering?

    Hi,
    Ok that's a lot of different issues, I'll start with the last one.
    I thought that only the values (text fileds) that has declared partial triggers were supposed to be sent in the request but all data is actually sent at a PPr-request. I can live with it though. Just wondering.
    It depends if you're using 10g or 11g and also the type of events. Most of the times, everything will be sent though, but not everything is going to be processed in case of 11g
    But, when I tell the panel group containing the message to listen to both text fields funny things happen
    Ok, that's strange. Let try a programmatic approach just to see what happen. Try the following in your page.
    <af:inputText id="paidDate" value="something" ...>
      <f:valueChangeListener binding="#{messageController['paidDate']}"/>
    </af:intputText>
    <af:message for="paidDate" binding="#{messageController['paidDate'].component}"/>Then create a request scoped managed bean named messageController wiith the following class:
    public class MessageController extends HashMap<String, MessageController.Refresher>
        public Refresher get(String id)
            Refresher refresher = super.get(id);
            if (refresher == null)
                refresher = new Refresher();
                super.put(id, refresher);
            return refresher;
        public static class Refresher implements Serializable, ValueChangeListener
            private UIComponent component;
            private Refresher()
            public void processValueChange(ValueChangeEvent ev)
                RequestContext.getCurrentInstance().addPartialTarget(component);
            public UIComponent getComponent()
                return component;
            public void setComponent(UIComponent component)
                this.component = component;
    }That code will refresh the bound component (the message) whenever the value in the component using the listener (the inputText) changes. In your case it might do the trick.
    Regards,
    ~ Simon

  • Adf faces, data control and more than one session context ?

    I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
    Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
    It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
    Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
    Is all that i said true ?
    Is it a way to solve this type of problem ?
    Will this problem be addressed by adf faces and data controls ?
    Hope somebody will answer !
    Message was edited by:
    micwic

    I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
    Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
    It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
    Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
    Is all that i said true ?
    Is it a way to solve this type of problem ?
    Will this problem be addressed by adf faces and data controls ?
    Hope somebody will answer !
    Message was edited by:
    micwic

  • Canon pixma pro 9500 having problems with my print out. colors are glazed and missing colors

    canon pixma pro 9500 having problems with my print out. colors are glazed and missing colors
    i have prfiled the mac and printer wiht colormunki and uplodated the profile sucessfully
    i set the printer to correct icc profile
    print out comes out same with glazed colors and missing tones/colors
    however when i use the same printer on windows and with light room, following same icc profile, colormunki calibrated profile, the print our are excellent.
    i have also tried using printer manage profile using the Mac and Aperture and get same poor prints
    can  you please assist and thanks

    I've a Pro9000 and also use Colormunki successfully.
    When I use Colormunki, I calibrate both of my monitors and the printer/paper combination. Colormunki saves the generated profiles to the correct places -- I don't load or change any profiles after that as that would mess-up what the Colormunki had just done for me, and this would likely mess-up the prints.
    Though I double-check the settings in the print dialogue, the choice for the printer handling things is already grayed-out. Colorsync handles it all just fine.

  • HT1338 problems with OS X Lion. I upgraded and now my macbook pro has been crashing...

    I am having problems with OS X Lion. I upgraded and now my macbook pro has been crashing... what's going on? and someone please help !!!!

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select the most recent panic log under the heading System Diagnostic Reports on the left. If you don't see that heading, select  
    View ▹ Show Log List   from the menu bar. Post the entire contents of the panic report — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • SCOM - -500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed

    Hi There,
    Need your assistance on the issue that we are facing in prod environment.
    We are able to open web console from remote machine and able to view monitoring pane as well as my workplace folders from console . Able to view and access alerts and other folder in the monitoring pane. We are able to view and access My Workplace folder
    and able to view the reports in Favorite Reports folder. But when I click on run Report we  are getting the below error  "500 Internal Server Error - There is a problem with the resource you are looking for, and it cannot be displayed."
    In our environment we have 3 servers one is SQL server and two are SCOM servers. Please advise how to fix this issue. Do we have to do any thing from SQL End?
    Errors: Event ID 21029: Performance data from the OpsMgr connector could not be collected since opening the shared data failed with error "5L".
     Event ID 6002 : Performance data from the Health Service could not be collected since opening the shared data failed with error 5L (Access is denied.).
    Regards,
    Sanjeev Kumar

    Duplicate thread:
    http://social.technet.microsoft.com/Forums/en-US/7675113e-49f0-4b3a-932b-4aceb3cfa981/scom-500-internal-server-error-there-is-a-problem-with-the-resource-you-are-looking-for-and-it?forum=operationsmanagerreporting
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Problem with photshop cc on windows 8.1 and 4k monitor at 3840x2160 resolution

    can anyone help
    i have a problem with photshop cc on windows 8.1 and 4k monitor at 3840x2160 resolution when i lauch photoshop cc everything is very small and i dont know how to get the program at the right size

    Search the forum for similar topics dealing with high-DPI displays. 4k is insane, though. I don't think even CC 2014 is up to it.
    Mylenium

  • Problems with a shared calendar using Outlook 2007 and Exchange 2010

    Hello all,
    We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
    I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
    who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
    One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
    of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
    I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
    am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
    I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
    able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
    So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
    one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
    I realize this is a big mess, and your help would be greatly appreciated.

    Hi Nigel,
    How is the impact, just one user or all users, Outlook or OWA?
    If just one user, it seems like an issue on the Outlook Client side.
    Please trying to re-create new profile to fresh the caches.
    Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
    Found a similar thread for your reference:
    Calendar Sharing not available error message
    http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • I cant connect with my imessage and facetime in my iphone; i already upload de i os 7.02 but the message still have it; it said that they have problem with the network; i reset the network and doesnt work

    I cant connect with my imessage and facetime in my iphone; i already upload de i os 7.02 but the message still have it; it said that they have problem with the network; i reset the network and doesnt work

    Hello, Toro Silva. 
    Thank you for visiting Apple Support Communities.
    The steps in the section labeled Unable to activate FaceTime or iMessage with phone number and Apple ID after waiting 24 hours (iPhone only) of the article below, should help resolve the issue.  Make sure to create a current backup prior to processing these steps.
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Cheers,
    Jason H

  • Problems with a VBA Userform using Multipage (2) and DTPicker.

     
    Hi
    Problems with a VBA Userform using Multipage (2) and DTPicker (4)
    On Page1 I've got 2 DTPicker, one for the date and the second for the time.
    Same thing on Page 2.
    Problem:
    Only one set will work, if I close the Userform with" MultiPage"on page2, only that set will work.
    Same thing if I close on Page 1 then just the set on Page 1 will work.
    As anyone seen this problem and any work around you may think would help.
    I'm using Windows 7 , Ms Office Pro. 2003
    same problem on Windows Vista , XL2003
    Cimjet

    There are a number of issues relating to the way that date pickers are handled, but the most important is that their output is text. In order to get the values into Excel, you need to format the Excel columns as Date and Custom (time format) and convert
    the output to the worksheet from text to date values.
    Date pickers also display a few anomalies on multi-page forms, so you need a belt and braces approach. Personally I would put the code to call the form and enter the values in a standard module (as now in the example) and use a belt and braces approach to
    maintaining the format.
    I think you will find the example now works.
    Revised Example
    Graham Mayor - Word MVP
    www.gmayor.com

  • I already have a fire-fox sync account. as i have problem with fire-fox i have uninstalled it and re-installed. and sync accnt deleted by mistake..how restore?

    I already have a fire-fox sync account. as i have problem with fire-fox i have uninstalled it and re-installed. At firefox sync accnt deleted by mistake..how restore? i also have recovery key but its not working...

    https://support.mozilla.org/en-US/kb/firefox-sync-troubleshooting-and-tips
    https://support.mozilla.org/en-US/kb/ive-lost-my-firefox-sync-account-information
    https://support.mozilla.org/en-US/kb/how-do-i-manage-my-firefox-sync-account

  • Problem with Essbase add-in 9.2.1 and office 2010.

    Hi all,
    we have a problem with Essbase add in 9.2.1 and office 2010.
    Every time when a user opens Excel a new (additionally) euntry in the ad-on menue appears.
    Indeed what happens is, that the add-in is loaded n-times.
    At the first start of excel one time, second two times and so on...
    Thtas's very annoying.
    Can someone confirm this issue or even better know a workaround.
    (A way we have found so far to ease the pain a bit -well only temporary- is to disable the ad-in, close Excel and start it again.
    However with every new start of execel the issues begins again.
    But that's not a solution you can recommand to the end user.)
    Any help is welcome.
    Thank you in advance!
    Andre

    Have a read of the following on Oracle Support - Support for Office 2010 in Essbase Excel Add-In and Smart View [ID 1191235.1]
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HT1976 i have problem with my iphone, it;s never lock and not read sim card, before reinstaling 6.01, thnx juliany

    i have problem with my iphone, it;s never lock and not read sim card, before reinstaling 6.01, thnx juliany

    If you are both on the T-mobile network, the sim card should work.  If you did a Erase All Content and Settings, then she should be at the point of activation as a new device...talk to T-mobile and be sure the sim she is using is a valid sim card.

  • I have a problem with my itube. I had itube and its gone. Now i cant get it back. How can i get it back without pay for it again?

    I have a problem with my itube. I had itube and its gone. Now i cant get it back. How can i get it back without pay for it again?

    We are Apple users here, and we answer technical questions.
    Sorry, we cannot help you.

  • I can't start Facetime. Keep getting a pop-up window saying that "an internal FaceTime error occured. There was a problem with FaceTime. You need to quit and open FaceTime again". I keep retrying to open and keep getting the same message over again.

    I can't start Facetime. Keep getting a pop-up window saying that "an internal FaceTime error occured. There was a problem with FaceTime.
    You need to quit and open FaceTime again". I keep retrying to open and keep getting the same message over again.

    @ reichard
    yeh man i have the same problem i think when i open the ****** facetime it dosent open there is a line in facetime icon it dosent open i dont know how it work **** i want it to work hope someone help me thx

Maybe you are looking for

  • ASKB posting error, period 7 2010 is closed

    Hi All, Fo for the captioned issue , 2010 year is not closed .  When we are tring to close the same through AJAB, we are gettiing teh error, transactions not completely periodically posted. I got the error '1000xxxx-xxx  Depreciation not posted compl

  • Date format in apex 4.1

    hello we have custom table for an apex application. In that table we have DATE type for column1(for eg) When column1 is inserted via APEX, we use standard apex date picker and DD-MON-RRRR format. After we insert and when we refreshh the apex page to

  • Elements 12 Beginner, Understanding Saving PSD Photos and Downloading Them

    Why is it that when I save an edited photo to my computer files, a psd, the photos don't show up properly and I am unable to download psd to iPhone, flashdrive etc.? Please Help! I have just purchased Adobe Photoshop Elements 12. 

  • Max font size on 'auto' size

    I've multiple lined text fields in the pdf document. I want the input to be resized if it exceeds (selected auto font size in properties) but I also want the first font size to be '10 pt'. When I select auto, it chooses the maximum font size to fit i

  • Why doesn't Lightroom appear in my list of installed apps, with the option to update it.

    All the other apps appear available to update, but with Lightroom I have to download it and do a fresh install each time.