Displaying a mixture of text and links in a single node of af:tree

Hi,
I want to display few links embedded in text as a node in <af:tree>.
For example, I want a single node in a tree to show three links with text - "Different type of email services are gmail, yahoomail,hotmail".
(gmail,yahoomail and hotmail are links)
Is there a good way of displaying this? I tried following options
1) I have a property named "linkText" in a bean instance mybean of MyBean.java. "linkText" contains required text and "a href" tags to display links. I used the following code in jsp page
<af:tree>
<f:facet name="nodeStamp">
<f:verbatim>
#{mybean.linkText>
</f:verbatim>
</f:facet>
</af:tree>
<f:verbatim> displays the EL expression as it is. I am not able to access the value.
2) I also tried to use <af:outputFormatted>. Though it supports "a href" tag, it does not support "target" attribute of the same tag.
Is there any other way of doing this?

A: Displaying a mixture of text and links in a single node of <af:tree>

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

Similar Messages

  • Firefox page images do not display only text and links

    New desktop (not this one) with windows 8.1 Pro, Firefox 29, Norton Internet security. When I go to many of the Firefox pages images do not display, only text and links. This is true for the "get add-ons" page. I can search for add-ons, but when I try to install one, the installation fails. Is there a security setting in windows or NIS that is blocking Firefox images and installations? The Firefox installation went smoothly without error. Other sites do not have this problem.

    Wow! I never would have thought of that! My time settings were incorrect when I set up the PC, and I thought I set them. I did have the day, date, and time set correctly. But I did not have AM/PM set right. So, I was off by 12 hours. I corrected it and, voila, all works well.
    I'm so happy now, because I can now get all the security extensions I've grown to love:
    - NoScript
    - Ghostery
    - Better Privacy
    - Adblock Plus
    You guys are great! Thank you so much for your help.

  • Remove Recently Modified text and links

    I am new to CSS.  Here are the instructions I am using to remove recently modified text and links below it:
    Type in the CSS code below in red into Notepad without the quotes. Save the file.
    “<style> .s4-recentchanges{ DISPLAY:none; } </style>”
    Upload to file to your SharePoint site. Copy the link of the file.
    Go to Edit mode of the page where you want the “Recently Modified” link to disappear.
    Add a Content Editor webpart (under Media and Content) on the page.
    Edit the webpart.
    In the Content Link box, paste the URL you copied in 2) above.
    Under Chrome Type, select None.
    Click OK.
    I created the file but am not sure where do I upload the file (site assets, etc).  This should have an .css extension. Does this webpart go at the top or bottom of the page.
    d.bell

     Open master page through SPD. Goto code view. then under “head ” tag put the following css:
    <style type="text/css"> 
    .s4-recentchanges 
    display:none; 
    </style> 
    Link will not show now in  page
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Mark As Answer

  • [svn] 3292: Update Download text and link from Flex 2 to Flex 3.

    Revision: 3292
    Author: [email protected]
    Date: 2008-09-22 08:49:21 -0700 (Mon, 22 Sep 2008)
    Log Message:
    Update Download text and link from Flex 2 to Flex 3.
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/javascript/FABridge/samples/srcview/SourceIndex.xml

    I haven't done any charts, so I can't be much specific help,
    but start with the MigrationGuide, here:
    http://download.macromedia.com/pub/documentation/en/flex/2/flex2_migrationguide.zip
    Then run the example and debug it.
    You might also be able to find updated examples here:
    http://www.adobe.com/devnet/flex/
    Tracy

  • Install oracle10g AS 904 infrastructure and middle tiers on single node??

    Hi
    I will install oracle10g AS 904 infrastructure and middle tiers on single node.
    I have some question.
    1.install infrastructure and middle tiers must have different home_dir , It is mean use one user (EX:oracle) or two users (EX: infra and mid ) install ?
    2. If use one user install , How to edit the user profile ?
    3. If it install complete , Which em console do I start (infra or middle)??
    4. Ple give the clear steps to install Infrastructure and Portal and wireless
    on single host for AIX5L.
    thank
    kevin

    Hi Kevin,
    1. Create two seprate Oracle homes. Use the same user to install both.
    2. Are you refering to changing ORACLE_HOME, etc?
    3. Both. To save memory you can shut them down when you don't need them.
    4. Use the quick installation guide. You can find it under documentation here on OTN.
    Regards,
    Mathias

  • I would like to know how to fix my safari. There are many pages that the text and links appear as "AAAAAAA" and I dont know where to click or what to do

    Please if anyone knows how to solve this problem, I bought this mac brand new, first time using it and many pages dont render the texts or links. It shows it like a series of "A"s.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal 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 Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”.
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • Muse CC 2014.1.1 Text and Links on Phone Pages become pictures

    I have a website where I have designed phone pages in addition to the desktop version.
    The phone pages uploaded to the website no longer have text or links, it is simply a picture of the page layout when I browse it from my iPhone.
    I cannot find any settings to explain why this would be happening.
    Please please help!
    For example I have some picture thumbs and text that is set to link to some m4v movie slideshow files, but whenever I click anywhere on the page,
    the entire page is simply a picture. I cannot even select the text any longer.

    Slideshow
    I guess the text is still actually text, however the link fails to work.
    This is the file it is linked to when click on the photo or text:
    http://superiorflame.com/assets/FlameShow_720_PH.m4v
    but the links fail after they are uploaded.

  • How to disable "Expand All" and "Collapse All" when no node in a tree

    I have a <af:tree> inside <af:panelCollection>.
    All items under viewMenu like "Expand", "Expand All Below", "Collapse All Below", "Expand All" , "Collapse All", "Scroll to First" and "Scroll to Last" are implemented by default.
    When there is no node in a tree, "Expand", "Expand All Below", and "Collapse All Below" are grey out.
    However, "Expand All" , "Collapse All", "Scroll to First" and "Scroll to Last" are still enabled to be clicked.
    Is there any way we can diable them when no node?

    When I highlight last node in the tree and all nodes are collapsed, I see "Expand All Below" enabled but "Collapse All Below" disabled. Which is expected. Expand All Below will expand all the child nodes under a node.
    QA filed a bug said that "Expand All Below" should be disabled since no node below it. However, I don't find any place to control them. Can you confirm this? Or you know some way to do this?It it not a bug then. You don't have to control it and framework takes care of enabling and disabling it accordingly.
    If you need to expand all the nodes programatically, check this out.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/78-man-expanding-trees-treetables-354775.pdf
    -Arun

  • Email text and links display as capital A in a box?

    I recently upgraded my computer to a Macbook Pro 13 inch and restored all my software from a Time Machine backup.  I decided to install MS Office for Mac and all the links in my emails (Mail) began displaying as a capital A in a box.  Adobe emails are completely displayed this way (every character).
    Tips?

    Font problems and management in OS X

  • Strange happenings with text and links

    I am not very tech savy so be gentle. I have a blog on iweb. Today I posted and there is something going awry with my text. In a certain part it is hazy and stretched when you mouse over it the mouse pointer turns to a link. Very strange as I didn't place a link there.
    Also, as a side note, I was wondering how I would make my blog more noticed? Is there a way to make it search engine friendly, or are there any boards I can post it on?
    if it would be helpful here is a link to the blog:
    http://web.mac.com/hottee295/iWeb/Site%202/Blog/E4A931A9-D343-4CE2-9259-1F759532 5E09.html

    Are you sure you didn't make a hyperlink there? The link goes to...
    http://www.sewneau.com/how.to/flat.felled.seam.html
    ...which seems in keeping with the subject matter of your site.
    Anyways, look again in iWeb and make sure you did not inadvertantly put a hyperlink for the involved text. Otherwise, this stretched out text is usually indicative of a corruption of your link image. It's nothing to worry about as it is easily remedied by a "Publish All to .Mac" command.
    As far as getting your site indexed, you are doing the right thing by posting your URL here. It's a step in the right direction. Give it some time. You can also submit your iWeb URL here...
    http://www.google.com/addurl
    Just submit: http://web.mac.com/hottee295/iWeb/
    That should be sufficient.

  • Problems with RH 9Printed Documentation not displaying some popups, drop-downs, and links

    I generate a Word document for reviewers. PrintedDoc properties include: Retain hyperlinks; Include drop-down text; Include expanding text.
    Sometimes the Word 2010 document includes hyperlinks, sometimes it doesn't.
    Popups typically don't work in the Word document.
    Drop-down and expanding text appear intermittently in the Word document.
    Has anyone experienced this and have a solution?
    Thanks.
    Carol

    I have never known hyperlinks to fail except in two situations.
    The target topic is not in the printed document. Obviously it cannot link to something that is not there.
    The hyperlink is a popup.
    Not sure what you mean by popups not working in a printed document. If you mean the links to them break, then see above. Known issue.
    I'm not sure why you are having the dropdown and expanding text problem as I have not known that to be an issue either. Is it always the same dropdowns that fail? Have you compared a good dropdown and a bad dropdown?
    Take a look at Printed Documentation on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Text and links sometimes not working

    Ok guys, I'm fairly new at this website creation thing and it's giving me an achy skull. I'm publishing my site through godaddy, the domain is www.thegypsydave.com
    I've had to create the page 5 or 6 times now, luckily it's not very detailed. The problems i'm having are:
    When I publish it some of the links don't work
    When I publish it the text is in a different spot than it should be
    I think these are pretty basic things, but I can't figure them out and would be forever grateful for help. Though I think the website is appearing ok for now, though I tell you, it changes on its own account i swear.
    Thanks so much
    Macbook   Mac OS X (10.4.8)  

    It does look ok now, but that's because I re-did it 5 or 6 times. Would it matter if i'd emptied my cache if i wasn't viewing it online but just from the folder that I published it in? Because the links and text weren't working then either. Though, like I said, I redid it a bunch of times until it worked.
    Macbook   Mac OS X (10.4.8)  

  • Text and elements disappear in CS4 InDesign.

    I have 2  8.5x11 Indesign CS4 docs that I tried to place in one 11x17 doc side by side.  Text and linked graphics disappear.  Why?
    Thanks

    [Moved to InDesign Forum]
    Hunt

  • Upgradation of Primary (RAC) two node database and single node standby DB

    We have our primary setup in Oracle RAC in 10g R2 (10.2.0.1.0) in HP UX 11i 64bit (PA RISC). It is a two node RAC.
    And we have a single node standby database (DR).
    Both the primary and standby database are existing in 10.2.0.1.0
    We need to upgrade the primary and standby database from 10.2.0.1.0 to 10.2.0.4.0
    Am planning to go through the DBUA method for upgrading the database.
    I like to know is there any special cases for upgrading both the primary and standby database.
    since as i mentioned i will upgrade the database through dbua method, and if i upgrade my standby database as same as primary,
    will it forcefully open the database, because while we upgrade the database through dbua it will open the database at the end of installation.
    Is it possible to upgrade the standby database with DBUA method even when my standby database is in Mount state.
    I will be helpfull if anyone has done this earlier, are there any know issues and is there any good document which i can refer.
    with regards
    A.Aravind

    hi,
    thanks for your reply, and i was following the document.
    I like to know that is it mandatory to create a new Oracle Home for upgrading from 10.2.0.1.0 to 10.2.0.4.0
    or i can proceed the installation of software in the same oracle home.
    I will list out my action plan, please correct me if am wrong,
    In Primary RAC,
    a) Shutdown the database
    b) Shutdown the asm instance
    c) Stop the nodeapps services
    d) Stop the cluster ready services.
    e) Stop the enterprise manager
    f) Stop the isqlplus
    In Standby single node database,
    1)Cancel the managed Recovery process
    2) shutdown the database
    3) Shutdown the asm instance.
    PATCHING Process
    g) Apply the oracle clusterware patch 10.2.0.4.0 in the same old existing ORA_CRS_HOME
    h) Apply the oracle database software patch 10.2.0.4.0 in the same old existing ORACLE_HOME
    Note: In my case both the ORACLE_HOME and ASM_HOME are in the same location.
    i) Execute dbua to update the database in the primary database.
    j) Apply the 10.2.0.4.0 patch in standby database ORACLE_HOME where as ORACLE_HOME and ASM_HOME are in the same location
    k) Copy the recently generated archive logs from primary to standby manually and apply in standby database.
    l) Mount the database in standby
    m) Start the Managed recovery process.
    with regards
    A.Aravind

  • Click on a textbox, display alert and link to other page.

    hi, here i wanna do is when i click on a textbox, onFocus on it, then call a function to perform checking, and then if the textbox data have breakdown record then display an alert to the user and link to breakdown page.
    [Display out in a table]
    <%for(int c=0; c<progPect.size(); c++){%>
    <td id=progPect><input type="text" size=5 id="progPect" value='<%=progPect.elementAt(c)%>' onFocus="chkBreakdown(pass in 3 parameter);"></td>
    <td id=progQty><input type="text" size=5 id="progQty" value='<%=progQty.elementAt(c)%>' onFocus="chkBreakdown(pass in 3 parameter);></td>
    <td id=progLump><input type="text" size=5 id="progLump" value='<%=progLump.elementAt(c)%>' onFocus="chkBreakdown(pass in 3 parameter);></td>
    after calling the chkBreakdown function and found out that it has record, then pop up an alert that tell the user this record have breakdown, and then link to the other page with the same window.
    so the problem is how to identify user click on which row in the table.

    Vuze installs ask.com's tool bar also. Check for a Vuze plug in. Thanks for the fix.

Maybe you are looking for

  • Can't transfer video from iPhone to iTunes

    Hi, I hope this hasn't been covered in another thread already. I did a cursory search and turned up nothing. I bought a music video from the iTunes store on my iPhone. when I plug the iPhone into my iMac and it shows up in iTune's menu I try to drag-

  • How can I delete a self mounting shared partition in Keychain ?

    Hi, When you accept to store username & password of a shared partition or folder in Keychain, later they are set to automount and log by themselves.  How can I later delete those username & password from Keychain ? I tried but Keychain is not easy to

  • Help setting up static ip for minecraft server with TC and PC

    Hey guys, I have a dell xps laptop and a son that is hooked on minecraft. I have promised him that I would let him set up a server so he and his buddies can play together. I would really appreciate some assistance on doing this on my time capsual. I

  • Itunes close after open

    hello, if i open itunes it says:"itunes doesn't work anymore" and it close the itunes whad can i do against it?

  • Patch-upgrade questions

    I have been asked to get our phone servers all up to date with the latest OS patches (service releases) and have a question that i cannot seem to find an answer to. Our phone system consists of 4 servers (Cisco 78XX MCS) 2 of which are our Call Manag