How to check the length of the string (from viewobject) attribute on jspx?

Hello

JDEV: 11.1.1.4

I use the component of the carousel, inside, I use the Description attribute to display the content about to carousel,
Now, I want to display a link as well, whenever the length of the description is longer than 150 characters.

Currently backing bean that I am setting the property chklength to true or false, but the problem, the length is that I need a partial target
and that's my Carousel component I get updated every time... is possible to check the length in page jspx itself inside the vissible property

This is my code
<af:outputText value="#{item.bindings.Descrip.inputValue}"
                                                         id="ot49"/>
                                           <af:commandImageLink text="more.." id="moreid" shortDesc="click to see more.." 
                                                                 visible="#{pageFlowScope.chklength}">
                                            <af:showPopupBehavior popupId="::p1"/>
                                            </af:commandImageLink>              
Thank you
Guillet

You can try with # instead of $?

visible = "#{FN: length (Item.Bindings.descrip.inputValue) > 150} '"

Thank you
Nini

Tags: Java

Similar Questions

  • How let labview to check the string is in Scientific Notation.

    Hey all,.

    I want to labview to convert a worksheet string in a table. It's easy using the tool 'chain of worksheet to the table '. The only problem I have is that I get the string from a RS232 device and the critical moment arrives.

    Example:

    If I read the data from the buffer it gives me:

    1.50337800E + 00 + 1.70316300E + 00 for both channels, it is converted and accepted

    If there is a slight delay, I get:

    + 1.50337800E + 00 + 1.70316

    It is also accepted because + 1.70316 is also recognized as a number.

    How can program labview to check each number he reads is according to Scientific Notation?

    Thank you

    This regex seems to work for me, for all cases, I've tried:

    [+/-]\d+\.\d+[Ee][+/-]\d+

    Note that it is very restrictive and only follows the shape of ±n.nnnE±mm

  • How to check the image source for the image which is losted?

    Hello world

    How to check the image source for the image which is losted?

    If the image source already exists, I can read the PlaceItem.file.fsName.

    But if remove the image of the source, read the PlaceItem.file.fsName will report the error: there is no file associated with this element

    Thank you

    If (app.documents.length > 0) {}

    var sourceDoc = app.activeDocument;

    sourceName = sourceDoc.name var;

    artItem =]

    for (i = 0; i < sourceDoc.pageItems.length; i ++) {}

    artItem [i] = sourceDoc.pageItems [i];

    If (.) TypeName artItem [i] == 'PlacedItem') {}

    If (.imageColorSpace [i] artItem == undefined) {}

    Alert ("the file is the link, but I don't know whether or not the source image is losted");

    }

    }

    }

    }

    Use try/catch to catch the error

    if (app.documents.length > 0) {
        var sourceDoc = app.activeDocument;
        var sourceName = sourceDoc.name;
        artItem = []
        for (i = 0; i < sourceDoc.pageItems.length; i++) {
            artItem[i] = sourceDoc.pageItems[i];
            if (artItem[i].typename == 'PlacedItem') {
                if (artItem[i].imageColorSpace == undefined) {
                    try {
                        var fname = artItem[i].file.name;
                        alert("file name: " + fname);
                    }
                    catch (e) {
                        alert("The file is linking ,but source image is lost");
                    }
                }
            }
        }
    }
    
  • How to check the version of cmlwcu.o?

    Dear all,

    Good days.

    How to check the version of cmlwcu.o? I can only find these files in my server:

    myermt01@Oracle:/PRODAPPS/prodappl/BOM/11.5.0 > find /-name "* cmlwcu *" 2 >/dev/null
    /PRODAPPS/prodappl/BOM/11.5.0/lib/cmlwcu.o
    /PRODAPPS/patches/20090913_2/3039067/BOM/lib/cmlwcu.o

    Help, please.

    Hello

    How to check the version of cmlwcu.o? I can only find these files in my server:

    myermt01@Oracle:/PRODAPPS/prodappl/BOM/11.5.0 > find /-name "* cmlwcu *" 2 >/dev/null
    /PRODAPPS/prodappl/BOM/11.5.0/lib/cmlwcu.o
    /PRODAPPS/patches/20090913_2/3039067/BOM/lib/cmlwcu.o

    Use the adident command or strings.

    $ adident Header /PRODAPPS/prodappl/bom/11.5.0/lib/cmlwcu.o
    

    pus

    $ string -a /PRODAPPS/prodappl/bom/11.5.0/lib/cmlwcu.o | grep Header
    

    How to find the version of a file pls
    Re: How to find the version of a file pls

    Command to find versions of files under Linux
    Re: Command to find versions of files under Linux

    Thank you
    Hussein

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    Hey ioanaatc,

    Go in Tools > Options > Security tab click on passwords saved. This will give you a list of sites that you have saved passwords yahoo just find and delete other connections

    There are a lot of useful information in this article on the Firefox Password Manager. He should answer any other questions you might have.

    It can be saved as Auto form fill data. If this is the case, the article I just linked will show you you how to remove these entries as well.

    Hope this helps!

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

  • Satellite A200 - how to check the temperature of the processor fan?

    Hi all

    I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?

    Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!

    Any advice would be appreciated.

    Hey mate,

    How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.

    In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.

  • How to check the print queue in Windows 8

    Difficulty controlling the queue with your new Windows 8? Here's a great video on how to do it:

    Hope this helps to understand how to check the print queue in Windows 8. If you have problems, let me know, I'll see what I can do to help.

  • HP Photosmart 7525: How to check the version of the firmware of the HP PhotoSmart 7525 is up-to-date?

    How to check the version of the firmware of the HP Photosmart 7525 is up-to-date? And where can I go to download the latest firmware?

    Hello

    Follow these steps to check the update of firmware for your printer:

    http://support.HP.com/us-en/product/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/document/c03312867/

    Note: the printer must be connected to your network to check the updates, if it is connected with a USB key follow the steps in the tehse to connect the * beep * to your wireless network:

    1. In the wireless menu, tap Settings.

  • How to get the string (specified by row and column) of txt file with labview

    Hello world

    How to get the string (specified by row and column) of txt file with labview

    THX

    As far as I know, a text file has no column.  Be more specific.  Do you mean something like the 5th word on line 4, where the words are separated by a space, and lines are separated by a newline character?  You can read from the spreadsheet String function and set the delimiter to a space.  This will produce a 2D channels table.  Then use the table to index and give the line number and column number.

  • How to check the size of the file to a text file.

    How to check the size of the file to a text file.

    Please explain to me.

    I'm new in LabVIEW. and have no idea about that...;

    Hi prashant,

    go to the file e/s palette and then the advanced palette which is a search palletteand sub getfilesize.vi... but this function gives the result in bytes...

    Thank you and best regards,

    srikrishnaNF

  • How to concatenate the string with a digital command?

    Hello

    How to concatenate the string with a digital command?

    Thank you.

    I think I forgot to add the semicolon, what you can do is, drag the CONCATENATE function and add semicolon.

  • HP G42 notebook: how to check the heat sensor

    my laptop fire but there is no system message...

    and performance down... could be heat sensor not properly detect...

    How to check the heat sensor...

    my laptop G-42-355tu

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See http://www.petri.co.il/pagefile_optimization.htm , especially the part under "How Pagefile your system use?"

Maybe you are looking for