Can we do something logically  like #{#{varName}}  in JSF-2.0?

Hi all,
Assuming
(1)I pass two ui parameters
<ui:param name="paraName1" value="paraContent1" />
<ui:param name="paraName2" value="paraContent2" />
to a Composite Component cc
(2)The ui parameter names "paraName1", "paraName2" are stored in another bean called paramsBean and can be accessed as
#{paramsBean.allParams}
Now in the composite component cc, I do NOT want to reference the ui param directly as #{paraName1}. Instead,
I want to print out "paraContent1" and "paraContent2" dynamically, such as:
<ui:repeat value="#{paramsBean.allParams}" var="param">
<c:set var="x" value="#{param}"/>
<c:set var="y" value="#{x}" />
<li><h:outputText value="#{y}" /></li>
</ui:repeat>
Apparently this is not working as JSF-2.0 treats #{x} literally.
What's the proper way to dynamically fetch content from "paraName1", "paraName2"?
Thanks,
Herbert

Make allParams a List<Map.Entry>. Then iterating over it with 'param' you can access #{param.key} and #{param.value}.

Similar Messages

  • How can i make something look like it was embossed in PS?

    I have a simple shape...a rectangle filled with a solid color. It is a separator bar on a poster. I want the top of the bar to have highlight and the bottom of the bar to be darkened. (As if I brought it into PS and applied an emboss filter)
    I tried using a gradient and got ok results. Is there a better way to do this?
    TIA
    Dean

    If you count me, now two people want to know how to emboss a simple shape or path in Ai. I already know how to do it in both Photoshop and Fireworks, both a piece of pie, but I (we) must be overlooking something astonishingly obvious in Illustrator.
    Why not do it in Photoshop? Because the background from Ps comes along for the ride - even if it's transparent in Ps. And, unless I flatten the embossed path in Fw (converting it to bitmap from vector), the emboss doesn't paste into Ai, and then the background comes along...
    regards, su

  • I am sort of new to MAC's and I love them so far.  I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    This article has 6 ways to do it.

  • Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could

    Not sure if anyone can help but I have a copy of Photoshop CS5.1. Ever since it was installed, every now and again when I try do something simple like save a file or scale something using the Transform tool, in fact anything at all it comes up with "Could not complete your request because of a program error". Have thought about re-installing  it but I have lost my serial number.  I'm living in Ireland and trying to get to talk to someone in tech support is a complete joke. Any ideas what to do ? Thanks

    Ianp69549740 have you tried reinstalling Photoshop CS5.1?  If so do you receive any specific errors?  What operating system are you using?

  • What can I do about itunes freezing everytime I try to do something substantial like erase all my duplicates

    What can I do about itunes freezing everytime I try to do something substantial like erase all my duplicates

    Where is your library file? If it is on a network share rather than a local disk that can cause a big slowdown.
    Every change in the library requires that all smart playlists are reevaluated and the library is rewritten to disc. As your library grows the time taken to perform these actions will grow exponentially rather than linearly.
    As to duplicates, I've written a script called DeDuper which you might find useful. See this  thread for background.
    tt2

  • TS1702 Hello! Can I get something like the story of the safari browser, if it was removed?

    Hello! Can I get something like the story of the safari browser, if it was removed?

    NEVER MIND!  I FOUND THE ANSWER! 

  • The create facility in iPhoto is very basic - how can I download something like MS Publisher for my Mac Air?

    The create facility in iPhoto is pretty basic for cards & books etc. - how can I download something like MS Publisher for my Mac Air?

    Pages works pretty well, which should be on the App store:
    http://www.apple.com/iwork/pages/

  • I have downloaded firefox and it always is locking up when I am in the middle of something, acts like I am not connected to the internet and then I have to restart my computer how can I retify this?

    I have downloaded firefox and it always is locking up when I am in the middle of something, acts like I am not connected to the internet and then I have to restart my computer how can I retify this?

    Hi Francis,
    Are you getting kernel panics?
    http://support.apple.com/kb/TS3742
    http://www.thexlab.com/faqs/kernelpanics.html

  • I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to reprogram a different key to be my plus/equals key? Can I program a function key? key

    I have a Macbook Air that had some coffee spilled on the keyboard and as a result the plus/equals key is no longer functioning. Can I use a program like Ukelele to re-program another key to do that function? Can I re-program a function key to do this function?

    Water + electronics do not mix.  Something was damaged insode, and the logic board may be corroding as is.
    Take it to a Genius Bar for an evaluation and repair estimate.
    This is accidental damage and not covered by warranty.

  • Can I replace a logic board?

    So my brother-in-law has a 4 year old iBook G3, and the logic board has gone. It will cost $400 to replace at the local shop; if I can find one for like $150 (which I think I can) is it something that could be replaced easily?

    Justin and captainbarred, my advice is to send it to DT & T Computer Services in Fremont, California. They charge $225 (plus shipping both ways) to do the repair.
    Installing the logic board is a tricky and difficult procedure. If mine goes out again, it's going to DT & T, I believe.

  • How Can I Create Something In This Style?

    HI guys, I am currently working on graphics for a mobile game I am making. I have some skill in vector, mostly through Inkscape, but I am trying to use Illustrator more. The thing is despite what program I use I can't figure out how to create something in the style I desire. I would like it to look something like this...
    I can create the vector objects, like the saws,door, and chest pretty well, It is just the background and foreground in which I am lost. I notice they have a texture to them, with various colors, and almost a hand drawn look. Can this be accomplished in Illustrator, or will I need to use Photoshop? If so, how can I go about getting something similar to this. Are there any tutorials for work in this style, because I haven't been able to find any? Any information would be great. Even if their are any vector tutorials in this cartoon style, that would be nice too,since I can always improve. Thanks in advance!

    There are many ways you can achieve this effect you just need to learn.
    Here are some useful links for you to teach yourself some trick and effects:
    Tutorials - Adobe Illustrator - Digital Arts (lots of useful tutorials for adding textures & effects!)
    How to Create a Cartoon House in Illustrator - Illustrator Tutorials - Vectorboom
    Hope these help you achieve what you want.

  • I want to place an image in my InDesign document that can work with an address like this (\Resources\Thumb) rather than this (C:\Users\JSmith\Desktop\InDesign thumbnail Test\001\Resources\Thumb) is this possible?

    I want to place an image in my InDesign document that can work with an address like this (\Resources\Thumb) rather than this (C:\Users\JSmith\Desktop\InDesign thumbnail Test\001\Resources\Thumb) is this possible? In a nutshell I want to point the link to an image in a directory that uses just part of the address.

    I know this is something you can do in Maya with linked files. I guess InDesign just isn't there yet.
    MW Design -  Yeah I think "Relative paths" is the right term! I want to create a Layout with an image in the center of the page - and then duplicate my folder structure with that file. With that, I want to replace the Linked image file with a diferent image file of the same name. In effect having multiple files of the same layout with different images.  I hope that made sense.  

  • Where can I purchase a Logic Board for a 24" Apple Cinema Display?

    My 24" Cinema Display started to flicker and black out shortly after I purchased my most recent MacBook Pro.  Apple felt that the issue was the MacBook Pro so they replaced it.  The problem continued so they suggested I take the Cinema Display to the Genius Bar.  The display was out of warranty and the Apple Genius felt the issue was a bad display even after I told him I smelt silicon burning just before it went out completely.  He said that he could "depot" the unit and have it repaired for ~$600.  Due to the high cost of repair, I chose to purchase a new Thunderbolt Display instead.  Recently, I opened the old Cinema Display and found that the Logic Board is fried.  I have ordered a new board from 2 different Web retailers.  Both accepted the purchase as "in stock" but then stated they could not get the board from Apple.  Where can I purchase the Logic Board for a 24" Apple Cinema Display?
    Many thanks!

    I was very interested to read this document.  I think there is a problem with the Cinema Display and that it is frying the computer.
    My husband bought each of us a macbook pro.  His was hooked up to the cinema display.  After about a year, his MBP started to suffer intermittent failures where it would suddenly shut off and have to be hard rebooted.  After 2 years, the power or logic board on his MBP completely failed. He bought a new MBP and a Thunderbolt display, and I inherited his Cinema Display for use with my original MBP. 
    After one month of use with the cinema display, my MBP started to have the same problems.  It has to be hard rebooted almost every time I disconnect or reconnect with the cinema display.  I went to the Genius bar, and they confirmed that my MBP logic board needs to be replaced; I'm just holding out until spring break to take it back in, as they say it may take a week.  Fortunately, I have AppleCare for my MBP.
    Our cinema display is 3-4 years old, but it looks like, even though it appears to be working, I should probably get rid of it.  I can't keep frying computers! 
    I'm posting this because I'm wondering how many others are experiencing this problem.

  • How can I save my images like a "wedding photographer" does?

    I have a Pixma PRO-100. . . with a Windows 8.1 PC. . . and printing through Adobe Photoshop Elements 11.
    I just printed some wedding pictures of my daughter - which I got from the "wedding photographer"... when I printed them - they were an exact match to what I saw on my screen (which I've calibrated)... and dead on crisp, great quality.
    I'm wondering what a wedding photographer does to their images to make them so "solid" in printing.  How do they save them?
    when I print something from a my files, (Raw, NEF, or JPEG's) - there always seems to be a color or quality problem? Never a match.  It takes several adjustments and print samples before I get what I want. 
    Is the ICC Profile a problem - or How can I save my images like a wedding photog does?  So they print exact?
    Joe B

    " ... (Raw, NEF, or JPEG's) ... "
    I suspect there are some minor differences you are not seeing and/or noticing on screen.  But right off, no real wedding photographer will shoot in anything except RAW.  You should be using RAW, only, too.  The RAW file to start with has way more info in it than any jpeg does.
    Next I would bet your wedding photographer does some tweaking to highlights and shadows, plus s ome other stuff that you are not.  In other words he is getting the photos ready for printing. Remember printing on paper and "printing for on screen" is two different things.
    EOS 1Ds Mk III, EOS 1D Mk IV, EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 85mm f1.2 L II USM, EF 70-200mm f2.8 L IS II,
    Sigma 120-300mm f2.8 EX APO, Photoshop CS6, ACR 9, Lightroom 6

  • Downloading Movie. Can I watch something else?

    I have a new Apple TV 2 and have just rented my first movie. It is taking a long time to download. Can I watch something else while the download continues? I would like to watch something from Netflix.
    Thanks.

    AppleTV2 downloads rentals to it's solid state memory which is about 8GB split between various tasks (eg photos for streaming, movie rental, buffering local conetnt etc).
    The trouble is there's no clear idea of how this memory is managed though from my experience and other reports it seems that a download is not necessarily 'protected' from being wiped by other actions.
    I rented a small SD movie of about 1GB - watched it through, then next morning a relative who'd fallen asleep decided to watch again (well within the view period). The movie unfortunately had to be downloaded again from scratch, as something as simple as playing a few audio tracks seemed to have flushed it from memory. Maybe it wipes after a full view anyway, but this seems daft as to rewatch within the view period you end up wasting your bandwidth and Apple's which makes little sense.
    So, while you could certainly watch something from Netflix i would not be surprised if that then forced a redownload of the rental.
    AC

Maybe you are looking for

  • Usings a gamepad on XP

    Hello I'm currently running XP on an iMac 2.16GHz thru boot camp but every time I boot up and try to connect my gamepad the pc asks for pci device drivers, which i don't seem to have. Which ones do I need?

  • Capturing Video Direct to hard drive with FCS

    I am using a Canon HX A1 and I am wondering if there is any way of capturing video directly to a hard drive while shooting without using Adobe On Location. Does FC have any functionality in this area or is there any other MAC friendly apps that do th

  • PSE 12 code doesn't work

    I Purchased PSE 12 over a month ago and have been using the trial because I can't get my code to work. I have contacted Amazon (which is where I purchased) they said to contact Adobe how do I get a working code?? Thanks  CArrie

  • Can i get iphone 4 support in China?

    Hi there, I had bougt the iphone 4 in Brighton apple store in last year, and it is in the one year warrenty coverage. Currently, my iphone 4 cannot charge anyway, and I am in China for the holiday. I had called the Chinese apple support, but they tol

  • Raw files loosing saturation & exposure upon import on nikon d4s & d7100 my d800 is fine

    I am having trouble with lightroom 5.6 . my Nikon d4s & d7100 raw files loose saturation & exposure upon import my d800 is fine