Why Custom EL Functions are not supported in ADF Faces??

Im using jdev 10.1.3
1.- I declare a java class, with a static function for concatenation purposes.
2.- I create my tld.
3.- I call the function in my jsp.
a) If I use the $ prefix, works PERFECT.
b) If I try to call this in an outputText (i.e)
- If I use the $ prefix, not compile.
- If I use the #, I just tell me that no function is maped to my call.
Is there a REALLY GOOD reason to disable this awesome functionality??
Frank? Steve? somebody? :(

Hi Alopez,
I'll take a stab at this one:
1) In JSF, you need to expose your managed bean by use of the faces-config.xml file, instead of using a TLD (Tag Library Descriptor). Here's an example of an entry in the faces-config.xml...
<manged-bean>
  <managed-bean-name>someBean</managed-bean-name>
  <managed-bean-class>com.company.yourmangedbeanhere</managed-bean-class>
  <managed-bean-scope>request</managed-bean-scope>
</managed-bean>Then your EL would be: #{someBean.yourresult}
2) the ${} is a JSP based expression language call, which is evaluated at page compile time, and is referred to as "Immediate Evaluation". This is good for JSP because your JSP tags are evaluated immediately. In JSF, this expression method is found mainly in the xxPageDef.xml file.
3) the #{} is a JSF based expression language call, which is evaluated at runtime, and is referred to as "Deferred Evaluation". This is necesarry for JSF because of the way the JSF request processing lifecycle works. It allows the expression to show the value and be the target.
If I take a guess, you may be mixing JSP concepts with JSF based development.
Chapter 4 in "The Complete Reference: JavaServer Faces" by Chris Schalk and Ed Burns explains this concept really well.
Hope this helps!
Kenton

Similar Messages

  • Problems with DHTML popup: Required DHTML functions are not supported in this browser.

    When I try to open a Date calendar I receive this message:
    Required DHTML functions are not supported in this browser.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Oracle doc says Custom Portlet Mode are not supported

    Is it true that WebCenter does not support JSR 286 custom portlet modes unless they are predefined Oracle-PDK portlet modes?
    http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_java_adv.htm#BABEAHHD
    "If you are coding portlets to JSR 286, then you can declare custom portlet modes in the portlet.xml file that map to the extended modes offered by PDK-Java, or to accommodate any other functionality you may want to provide."
    "Arbitrary custom modes that a third party or custom portlet producer offers are ignored and therefore not supported."

    WebCenter does not support custom portlet modes. I've tested and answered this.
    Oracle WebCenter supports a fixed set of custom portlet modes defined by oracle. This is bad.
    Custom portlet modes are a JSR 286 standard. How is it possible that WebCenter does not implement it.
    Therefore, it you have a custom portlet mode such as "viewBooksMode", then you must change every mention of it in your project to "about" or "preview" or "help" or "print".

  • Time series functions are not working for fragmented logical table sources?

    If i remove that fragmented logical table sources, then its working fine.
    if any body know the reason, please let me know.
    thanks and regards,
    krishna

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Time series functions are not working in OBIEE for ESSBASE data source

    Hi All,
    I am facing a problem in OBIEE as I am getting error messages for measure columns with Time series functions(Ago,ToDate and PeriodRolling) in both RPD and Answers.
    Error is "Target database does not support Ago operation".
    But I am aware of OBIEE supports Time Series functions for Essbase data source.
    using Hyperion 9.3.1 as data source and obiee 11.1.1.5.0 as reporting tool.
    Appreciate your help.
    Thanks,
    Aravind

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    philippnoe wrote:
    What a "great" Program which is supporting many nice but not mandatory things but is not supporting a Program which is used day by day from many users ... and especially this Program is also sold officially by apple !!!
    Yeah!, Why, Lion won't even run my old DOS programs! 

  • "There was a problem connecting to the server.   URLs with the type "file:" are not supported.  Why?  What can be done to eliminate it?

    After upgrading to Mountain Lion, I repeatedly get this message:  "There was a problem connecting to the server.   URLs with the type "file:" are not supported. 
    Why? 
    What can be done to eliminate it?

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • My copy and paste functions are not working, does anyone know why this might be happening?, my copy and paste functions are not working, does anyone know why this might be happening?

    my copy and post functions are not working, does any one know why this may be happening and what I could do to fix it? Thanks!

    Have you tried rebooting?

  • Why does 'You can't open the application "setup.exe" because Microsoft Windows applications are not supported on OS X.' pop up whenever i try to download the latest flash player?

    whever i try to access websites, most of them work but facebook, youtube, my school email, sometimes even google, and alot other websites wont work for me and will tell me i need to update the lastest Flash Player. but when i try to download it, it says 'You can’t open the application “setup.exe” because Microsoft Windows applications are not supported on OS X.' what does that even mean?? This happens on safari, google chrome and i downloaded firefox and it worked for a couple of hours and then stopped working again.
    please help, thanks in advance.

    1. Install Adobe Flash Player from Adobe site.
        http://get.adobe.com/flashplayer/
       Download it first. Click Safari in the menubar and select “Quit Safari”.
        Follow the prompts and install it.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.

  • Cannot load ClassDiagram.cd on Visual Studio. "URI formats are not supported

    When I try to open a class diagram for my asp.net webforms project I get the following error. The Class Diagram (.cd) files get generated
    but I can't open them.
    I do have some classes that use the URI class but i don't really think that could be the issue. Right? Why would a class diagram care about one of my classes using a URI datatype? 
    i get this (
    Cannot
    load ClassDiagram.cd on Visual Studio. “URI formats are not supported”

    Hi princeusa3,
    Since this forum is to discuss the VS-testing issue, just make this issue clearly, do you create the test project for your web app?
    It seems that it is not the test issue, if it is related to the ASP.net development, I suggest you post this issue in
    http://forums.asp.net where asp.net experts live in, and there you would get dedicated support. Thanks for your understanding.
    If I have misunderstood anything, please make free feel to let me know.
    Best Regards,
    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.
    Click
    HERE to participate the survey.

  • "there was a problem connecting to the server. URLS with the type 'file' are not supported"

    i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?

    I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it.  Then I  shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.

  • Why my old emails are not showing on the blackberry

    Hi Guys,
    I have just bought Blackberry Curve 9360. Can somebody, please tell that why my old emails are not showing on the blackberry. May be it has not synchronized my whole mailbox.
    Kindly advise how can I do that.
    Regards... Murtaza

    Old emails, in what manner? As in previous to installing the account on this device?
    Did you use the Device Switch Wizard found in the BlackBerry Desktop Software?
    How did you move your old emails over from the old device to the new?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Opportunities are not supported with SAP Business One 2005A SP0 and SP1??

    In SBO Note 973962 says that opportunities are not supported with 2005A sp0 and SP1.
    When running 5.9.7 I can sync opportunities.
    So does anyone know what is and what is not supported in this version for Opportunities?
    Thanks,
    Eric Rasenberg

    Full functionality is not shared nor synchronized between systems for opportunities in 5.9.x

  • Icube_values are not supporting in bi7

    Hi  All,
    We are migrating Updates to Tranformations.Actuvally we migrated one of the update rule into transformations by selecting the update rule and by   creating transformations from additional functions.We got some syntax erros saying that   Field "ICUBE_VALUES" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement.I think ICUBE_VALUES are not supported in ABAP 00.
    Can any one please let me know how to remediate in this particular case.
    below is my coding
    FORM routine_0001
      CHANGING
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    init variables
    not supported
         icube_values = g.
         CLEAR result_table. REFRESH result_table.
    fill the internal table "MONITOR", to make monitor entries
      RESULT_TABLE = ICUBE_VALUES.
      IF COMM_STRUCTURE-/BIC/ZMOTC NE 0.
         RESULT_TABLE-/BIC/ZDCUAMT  = COMM_STRUCTURE-/BIC/ZMOTC.
         RESULT_TABLE-CURRENCY       = COMM_STRUCTURE-CURRENCY.
         RESULT_TABLE-ACCOUNT        = '00154326666'.
         RESULT_TABLE-CHRT_ACCTS     = COMM_STRUCTURE-COMP_CODE.
         RESULT_TABLE-/BIC/ZDNNPLA  = 1.
            APPEND RESULT_TABLE.
      ENDIF.
      IF COMM_STRUCTURE-/BIC/ZDHSTOC NE 0.
         RESULT_TABLE-/BIC/ZDCYAMT  = COMM_STRUCTURE-/BIC/ZDHSTOC * -1.
         RESULT_TABLE-CURRENCY       = COMM_STRUCTURE-CURRENCY.
         RESULT_TABLE-ACCOUNT        = '002374949949'.
         RESULT_TABLE-CHRT_ACCTS     = COMM_STRUCTURE-COMP_CODE.
         RESULT_TABLE-/BIC/ZDNNPLA  = 1.
          APPEND RESULT_TABLE.

    Hi,
    Please check the thread below:
    Return code code need to change from bw to BI
    -Vikram

  • Function Download not support in ECC 6.0

    Dear All ,
        Now i faced the problem  when upgrade my coding to ECC6.0 , my current program is using Call funtion "Download" to export the report data to Excel, but this "Download" function is not support  in ECC 6.0 , they suggest  me to use call function "GUI_dowload", but this function cannot give me the features like "Donwload" funtion . Any others function which can use in ECC 6.0 and  same features like "Download" .
    Thanks

    Those functions are obsolete, ([Note 594356 - Function modules ws_upload and ws_download are obsolete|https://service.sap.com/sap/support/notes/594356])
    Use news FM GUI_DOWNLOAD or class CL_GUI_FRONTEND_SERVICES method GUI_DOWNLOAD.
    Regards,
    Raymond

Maybe you are looking for

  • I need to know how to disable my apps on my old system so that I can install them on new computer.

    I've just purchased a new iMac and need to know how to disable my apps on my old system so that I can install them on the new one.

  • Legend not appearing for Chart Type columns/bars in business graphics

    Hi Experts, I'm not able to make the legend appear in web dynpro screen.As such graphs is coming but the legends are not appearing at runtime. When i customize the graph using t-code 'BS_ANLY_CD'  or right-click on business graphics, the legends are

  • APs going down randomly

    hi We have offlate noticed that a few AP's keep going down at random intervals through the day. we have setup alerts in WCS throuhg which we get notification. After a restart, it seems to come back, but keeps going down again. This seems to be happen

  • Data import: MVAL or MKEY?

    Hi, I have the following data file: ENTITY;TIME;ACCOUNT;FLOW;DATASRC;INTCO;LC;TC;TRNCURR E.2000;2010.DEC;IC_SALES;F_CLO;INPUT;I.3000;100;150;T_USD E.2000 is a EUR entity, the intercompany transaction in question is denominated in USD. In my currency

  • Eclipse plug-in RCP failing while exporting

    Hello there, I have a project which is running well inside Eclipse, but as soon as I am exporting it to a directory outside of Eclipse it says: 1. ERROR in D:\eclipse3.1WTP0.7Sysdeo31b\xyz.java (at line 25)      import org.eclipse.ui.forms.FormColors