JSTL Function Causing JDev Designer to Hide Field

I added a JSTL function to an OutputText field in an ADF Web application. The function itself works at run-time; however, in the JDev Designer, the Designer does not display the field.
What I did was this:
1. Added the namespace prefix to the page fragment:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:c="http://java.sun.com/jsp/jstl/core">
2. Added the function to an af:outputText. To keep this post simple, in the below example i just used 'MMM' as the fn:toLowerCase() param value:
<af:panelLabelAndMessage label="#{viewcontrollerBundle.LOGGER_PROTOTYPE_2}" id="plam4"
rendered="#{bindings.Type1.inputValue !=2 and bindings.MessageLevelId.inputValue != 0}">
<af:outputText value="#{fn:toLowerCase('MMM')}" id="ot4"
inlineStyle="font-family:'Courier New', Courier, monospace;"/>
</af:panelLabelAndMessage>
At runtime 'MMM' is correctly displayed as 'mmm'. However, the field is not visible in the JDev Designer - which will make this confusing to maintain. Is there something I am doing wrong, or am i missing a step?
Versions: JDeveloper 11.1.1.6, Linux. JSTL functions library is for v. 1.2.
Thanks for your help.

There is no JDev version 11.1.1.6.0 (at least officially).
Anyway, can you check what you see if you add some static text in front of the EL.
I guess jdev tries to calculate the value, fails and you end up getting nothing (or in case of an outputText with no text which means nothing).
Timo

Similar Messages

  • JSTL functions in JDev 10g (9.0.5 preview)

    Hi everybody,
    I don't see the JSTL functions taglib available in the component palette for a JSP page. Is it something that will be present in the production version ?
    It seems that this taglib is also not available within OC4J 10.0.3 preview. So a page containing such a line will not compile:
    <%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %>Any comments ?

    Hi Shay,
    The new how-to covers JSTL SQL. What I'm interested in is JSTL functions.
    I want to be able to do something like:
    <%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %>
    <c:if test="${fn:length(param.username) > 0}" >
    </c:if>But maybe it's something relative to JSP 2.0 and not only to JSTL.

  • How to hide fields in Table maintenace screen

    I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

    HI, 
    This is reff with ur below post, I have been stuck with same problem,
    I got your code, how its functioning, but didn't get get where i have to write it.
    plz tell me in brief.
    Thanks in Advance.
    Regards
    Vivek
    Re: How to hide fields in Table maintenace screen  
    Posted: Feb 6, 2009 11:42 AM   in response to: Aarti Ramdasi in response to: Aarti Ramdasi           
    Click to report abuse...             Click to reply to this thread      Reply
    Hi,
    You can hide the fields like this..
    For example
    select-options:
    s_carrid for spfli-carrid modif id gr1,
    s_connid for spfli-connid modif id gr1,
    s_cityto for spfli-cityto modif id gr2.
    I am going to hide last fied..To do this
    at selction-screen output.
    if s_carrid is initial or s_connid is initial.
    loop at screen.
    if screen-group1 CS 'GR2'.
    screen-active = 0.
    modify screen.
    endif.
    endloop.
    endif.
    whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially
    Regards
    Kiran

  • How to hide field dynamically in a report while using JRC

    Post Author: prateeti
    CA Forum: JAVA
    How can I hide fields in a report dynamically?Say my report now contains 3 fields(columns). Some users want to see the 1st and 3rd column and the 3rd column must be adjusted accordingly so that it appears where the2nd column previously was.Is there any way of doing such thing using API's from JRC.I am not using RAS.
    Thanks.

    Post Author: something_stupid
    CA Forum: JAVA
    Hi,
    you could to this while designing your report in CrystalReports. Pass the user's choice as parameters to your report on runtime. This parameter is evaluated and changes visibility and position of columns conditionally. Actually haven't done this with visibilty and position but with strings to display conditionally.
    good luck!

  • Show/hide fields when selecting an option from a drop-down menu.

    Hello Gurus!
    I have a question about creating a Java Script withing Acrobat pro.  This is what i would like to do: I created a drop-down menu with several selection entries.  Upon the customer making one of the selection entries, i would like for the correct fields that i created to become visible and all other fields to hide.  Is this even possible to do?  The reasoning behind this is because we have a form that customers have to generate in order to request access to certain financial accounts; we have over 20 different types of accounts and for each instance the customer has to fill out the same form.  By creating a drop down menu, i can use the same form by just changing the drop-down selection and clicking on the designated fields for that selection.  At this time i have over 20 different forms that poing to 20 different account requests and i would hate to send the form 20 different times to one person.  The reason i can not add all fields desired for all accounts is due to the fact that the form would be filled with hundreds of checkmarks and instructions thus making the process too tideous for the customer.  Hope you guys can help out.
    ~Vader

    The good news is, it can be done (and it has been done).
    There are a few things to be aware of, however.
    The most important is that the form must be planned well, which means that you must think carefully about your logic and even more so about your field naming (hierarchical field names are your friend). One fundamental issue, you have to be aware of, is that this form no longer will be a "standard form". The consequence of this is that you may have to be aware that you might get into trouble when you have to prove that your user filled out that particular standard form (talk to your compliance and forms management people about that).
    You also may have to decide whether the form should be usable in Reader. And, if so, how much you want to spend on the right to do so. You will see below why…
    There are actually two approaches for dynamically showing/hiding parts of a form. If your form can be separated between a fixed first page (where you also have the account type selection), and a variable part (depending on the selection), you could use Templates, which you spawn according to the selection, and delete pages when you change the selection. This approach is very easy to implement, but requires Reader Extensions Server to allow it to work in Reader; Acrobat Pro's extended rights are not sufficient for that.
    The other approach is showing/hiding fields. If you did your homework well, it would be very easy to first hide all subsequent fields, and then show the ones you need in two lines of code. This approach does not require extended rights for Reader at all, as long as your forms will always have the same number of pages, for each of your account types. This approach also works for the cases where the differences between the individual forms are very small. It does also work for showing/hiding bigger chunks of the form. In that case, you might create the "background" separately, and then put it as an icon into a button field which you will show/hide together with the carefully placed on top of it active fill-out fields.
    There is a third possibility, which Adobe Propaganda probably would suggest, and that woudl be subforms in LiveCycle Designer. The consequence is, however, that you won't have PDF forms, but proprietary XFA forms instead. And you may have more developing and maintenance work than with the other approaches.
    Back to your original question: you could use a Keystroke script evaluating event.changeEx of the combo box field. Depending on that, you would run your action to set up the according form part. The other way to do it would be evaluating event.value in the onBlur event. The latter would have the advantage that the selection has been made, and you get a bit more time to set up the form (this may in fact be an issue, particularly with Acrobat 9 and 10, which may take their time to show/hide fields).
    Another possibility instead of a drop down (combo box field) would be a popup, where you would have a button to press, and the list of selections pops up. This second method uses app.popUpMenuEx().
    Hope this can help.
    Max Wyss.

  • No JSTL FUNCTION support

    Does Jdev support JSTL FUNCTION taglib?
    such sd EL ${fn:substringAfter("...") }
    I did not find it on the component palette.
    thanks

    Refer to
    http://www.oracle.com/technology/products/jdev/tips/schalk/jstl_sql/jstl_sql.html

  • Page Custimizations , using JSTL functions - R2

    Hi,
    We customize user pages by changing visibility of some fields according to some values. We do it by select page->Customize->view->source selecting the related field and typing the expression something like #{bindings.eventName.inputValue=='something'} here instead of operator I need to use contains. In jstl there exist function in the name contains, bu to use it I must include the namespace xmlns:fn="http://java.sun.com/jsp/jstl/functions" , can I do that? Can I confgure user pages using those jstl functions? Any help is strongly appreciated..
    BR,
    Aliye

    Hi,
    We customize user pages by changing visibility of some fields according to some values. We do it by select page->Customize->view->source selecting the related field and typing the expression something like #{bindings.eventName.inputValue=='something'} here instead of operator I need to use contains. In jstl there exist function in the name contains, bu to use it I must include the namespace xmlns:fn="http://java.sun.com/jsp/jstl/functions" , can I do that? Can I confgure user pages using those jstl functions? Any help is strongly appreciated..
    BR,
    Aliye

  • MultiLookup items selected, show or hide fields dynamically

    Hi,
    In the New or Edit Form, I would like to show or hide fields based on the multiselect value selected.
    Is there a way to add javascript to achieve this and to get the selected values to show or hide the fields dynamically?
    Thanks for your help.

    Hi,
    According to your post, my understanding is that you want to show or hide fields based on the multiselect value selected.
    You can add the code below to the new form.
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
    function Test(){
    var object= $("select[title='Lookup selected values']");
    var object1=$("input[title='Test']");
    var text= object.find("option").text();
    alert(text);
    if(text.indexOf("A")>-1)
    object1.hide();
    </script>
    <button onclick="javascript:Test();" type="button">Test</button>
    Note: You need to change the title of the select and input tags.
    The result are as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • What is function of report designer in BI 7.0

    Hi
    What is the function of REPORT DESIGNER in BI 7.0
    Could you please explain me a bit using LIVE Scenario
    Thanks

    refer this elearning class:
    BEx Analyzer Report Designer Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90b95f53-7c5c-2a10-f98d-cc78ec4ec12d

  • How to hide fields in product master data

    Hi gurus,
    could you please tell if it's possible to hide fields in Product maintenance (tr. COMMPR01).
    It's necessary to hide some fields in a standard Set type.
    Thanks in advance, Sunny.

    Hi, TooCan and K.narsimha rao,
    I've tried to use transaction variant. It really helps.
    Thank you!
    It was better for me to find some customizing in SPRO but as I understand there is no such.
    Reward  you
    Best regards, Sunny.

  • How to hide fields in UIX form

    Hi
    I need to update the table with last_updated_by and last_updated_date every time if any change to the record. But I do not want to show these 2 fields on the screen.
    Could you help me how to hide fields in UIX form/any procedure to insert the data to database with out placing them in the screen .
    Thanks in advance.
    NRK

    Now that you mention it ... the rendered flag will stop the field from being rendered. So it's not even in the page. Stupid me.
    Have a look at formValue. These are rendered, but invisible fields in a form. That should do it (hopefully).
    In prepareForDML() you could simply call the setter of your date attribute that stores the date of the last update. There you pass the current date, or you could fetch the sysdate from the database and pass that. If you go that way, then the EntityImpl could make these adjustments automatically when inserting or updating and you wouldn't even need these fields/bindings in your UIX page.
    Just check what the operation is, and if it's an update or insert then call the setters of the attributes you want to update. Then call super.prepareForDML(). Something like that.
    It all would happen in the middle-tier, client not involved.
    So formValue should work, and the prepareForDML() stuff should also work. Don't know which way you want to go.
    Sascha

  • HCM interactive Forms - hide fields and backend connection

    Hello,
    we plan to implement a personnel transfer workflow based on interactive forms. Because in one step the user should not be able to see a couple of fields, it is possible in interactive forms zu hide fields based on the users role?
    I read a lot the last days but what I still havent found out and I hope you can push me in the right direction is, how the connection between backend and Form is working.
    Inside of an example form and in the documentation is descriped to use this below code to implement a bushbutton and the send message to create a server round trip. But if I create 2 pushbuttons with the same code, how do I know which button was pressed? Or do I have to create my own events somewhere? Or is there only this one event and I have to set a hidden field with some value via javascript or formcalc to find out whats going on in the form?
    $record.CONTROL_PARAM.ISR_EVENT = "USER_EVENT_CHECK"
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    best regards,
    Kai

    Hey Rajesh
    I'm not sure it will work - but its worth a try.
    Every time i wont to hide some subforms or UI elements - I determine them as "invisible" by default - and when the conditions are right - I turn them to "visible" (negatively way).
    Hopefully it will help you.
    Eyal

  • Help, signatureValidate() function doesn't work on hidden fields

    I am trying to use the signatureValidate() function to check if any signature fields are signed. I am doing this because I need to have the signature fields lock the form manually so that a specific department can make changes after signatures have been applied (via a password field). I got the signature fields to lock the form and I can unlock everything with a password dialog. However, I am trying to add some code to the Change event so that if a user clears their signature and no other signatures have been applied, then the form will unlock. I wrote a script that checks the signature validation of each signature field to verify that all of them are unsigned, and it works perfectly until one of the signature fields becomes hidden. Then the code just doesn't work. Am I doing something wrong? Is there a way to check if a signature field (which may or may not be hidden) has been signed? Below is the code that I am using:
    var engMgrSig = event.target.getField("form1[0].Subform1[0].signatures[0].Eng_Manager[0].eng_manager_sign ature[0]").signatureValidate();
    var mfgMgrSig = event.target.getField("form1[0].Subform1[0].signatures[0].Mfg_Eng_Manager[0].mfg_engr_sig nature[0]").signatureValidate();
    if (mfgMgrSig == 0 && engMgrSig == 0)  {       
         oTargetField = this.resolveNode("ECO_table");
              oTargetField.access = "open";
    else {
         oTargetField = this.resolveNode("ECO_table");
              oTargetField.access = "readOnly";

    The fields are supposed to be hidden when the form is opened, but can be "added" (made visible) by the user to allow for additional signatures. I use hidden fields rather than a simple Add Instance because of data binding issues.
    I tried modifying the script to make the fields visible, fire the validation, and then hidden again, but for some reason it would either not work or it would make them visible after the first change and then hidden only if the field was changed again. Also, the code has to be able to recognize whether the fields were hidden before the code fired. If the were, they should be hidden afterwards. If they weren't then nothing needs to happen to them.
    I have tried using an IF statement to run a validation on the fields based on which ones are visible, but that doesn't seem to work either. Here is an example:
       // this field is always visible
        var status = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Eng_Manager[0].eng_manager _signature[0]").signatureValidate();
        var engMgrSig2 = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Eng_Manager2[0].eng_manage r_signature[0]").signatureValidate();
        var engMgrSig3 = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Eng_Manager3[0].eng_manage r_signature[0]").signatureValidate();
        // this field is always visible
        var mfgMgrSig1 = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Mfg_Eng_Manager[0].mfg_eng r_signature[0]").signatureValidate();
        var mfgMgrSig2 = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Mfg_Eng_Manager2[0].mfg_en gr_signature2[0]").signatureValidate();
        var mfgMgrSig3 = event.target.getField("form1[0].Subform1[0].signatures_REV1[0].Mfg_Eng_Manager3[0].mfg_en gr_signature3[0]").signatureValidate();
        //if all sig fields are visible
        if (this.resolveNode("signatures_REV1.Eng_Manager1").presence == "visible" && this.resolveNode("signatures_REV1.Eng_Manager3").presence == "visible" && this.resolveNode("signatures_REV1.Mfg_Eng_Manager2").presence == "visible" && this.resolveNode("signatures_REV1.Mfg_Eng_Manager3").presence == "visible") {
            if (status == 0 && mfgMgrSig1 == 0 && engMgrSig2 =0 && engMgrSig3 == 0 && mfgMgrSig2 == 0 && mfgMgrSig3 == 0)
                oTargetField = this.resolveNode("ECO_table");
                    oTargetField.access = "open";           
        //if eng_mgr2 is visible
        if (this.resolveNode("form1.Subform1.signatures_REV1.Eng_Manager2").presence = "visible" && this.resolveNode("form1.Subform1.signatures_REV1.Eng_Manager3").presence = "hidden" && this.resolveNode("form1.Subform1.signatures_REV1.Mfg_Eng_Manager2").presence = "hidden" && this.resolveNode("form1.Subform1.signatures_REV1.Mfg_Eng_Manager3").presence = "hidden") {
           if (status == 0 && mfgMgrSig1 == 0 && engMgrSig2 =0)
                oTargetField = this.resolveNode("ECO_table");
                    oTargetField.access = "open";

  • Select field and hide field at data source ganaration  for LO extrction

    Hi GURU,S
    Could any one tell me what is differce between select field and hide field at data source ganation in LO at r3 side.what happend if u select field and hide field.
    Regards.
    hari

    Hi Hari,
    If you choose Select fields, you'll be able to filter this IO in Selection tab of infopackage (set IO's value(s) to be loaded).
    In case of hide field you'll not have it in the transfer structure at all.
    Best regards,
    Eugene

  • How to create user function in Data Functions in Query Designer?

    Could someone tell me how to create user function in Data Functions in Query Designer?
    I mean function like "NDIV0" in Data Functions.
    SAP BW 3.x.
    Query Designer (SAP BW 3.x)

    Hi check the following URL, it gives how to add in Formulas in formula Builder, not in DataFunctions.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f095592f-42f7-2a10-6ab1-c836a559b48f
    Thanks
    Reddy

Maybe you are looking for

  • Cannot save order due to credit block V1849

    In VA01, when I try to craete a sales order with Production order/ plan order , I get an information message saying that 'Subsequent function not possible due to credit block.' It is going into the incomplete logs and requires to provide details for

  • How to apply time series function on physical columns in OBIEE RPD

    Hi, I know a way to apply time series function(Ago and ToDate) by using existing logical columns as the source. I have set the chronological key and created time dimension. In the expressiion builder for the same Time Dimension appears at the Top so

  • [SOLVED] Timezone issue with Mythtv

    I've just gotten home and have gone to use Mythtv frontend in the lounge room but I am getting the issue: Your frontend and backend are configured in different timezones. You must correct this mismatch to continue This has also recently happened on t

  • Current_date -2 in Case Statement

    Hi, When i am writing this Conditional Statement in OBIEE Answers. CASE WHEN "Orders - Sales Order Detail"."SOD_Date Promised Shipment" > CURRENT_DATE THEN "Orders - Sales Order Detail"."SOD_Date Promised Shipment" ELSE CURRENT_DATE-2 END I am gettin

  • Toggling between single and multiple selection in a table

    I am working on ADF faces. I need to switch between single and multiple selection in <af:table based on a button I select. I cannot use switcher or rendered property inside <af:table. Only the first one is rendering the second one is not rendering ba