Add links to tree

hi everyone,
i had download the tree example and succefully running...
i wanted that application to modify.. like that...
if i click on the link it should open an application in the view area....
i am intergrating all my webdynpro projects in that tree...
so all the links i have to keep as tree.. if i click on that corresponding application will display in the view area.....
could anybody help me out in this...
thanku

could any body help me out
i am unable to give link to url if i click on the link in tree....

Similar Messages

  • How add links to Tree

    public TreeManagedBean() {
         rootAdmin.setData("Administrator");
         rootAccounts.setData("Accounts");
         rootOther.setData("Other");
         rootChangePwd.setData("Change Password");
         nodes.addChild(0, rootAdmin);
         nodes.addChild(1, rootAccounts);
         nodes.addChild(2, rootOther);
         nodes.addChild(3, rootChangePwd);
         TreeNodeImpl<String> childCompany = new TreeNodeImpl<String>();
         childCompany.setData("Company");
         rootAccounts.addChild(0, childCompany);
         TreeNodeImpl<String> childLicence = new TreeNodeImpl<String>();
         childLicence.setData("Licence Management");
         rootAccounts.addChild(1, childLicence);
         TreeNodeImpl<String> childFunction = new TreeNodeImpl<String>();
         childFunction.setData("Functions");
         rootAccounts.addChild(2, childFunction);
         TreeNodeImpl<String> childRoles = new TreeNodeImpl<String>();
         childRoles.setData("Roles");
         rootAccounts.addChild(3, childRoles);
         TreeNodeImpl<String> childCountry = new TreeNodeImpl<String>();
         childCountry.setData("Country");
         rootOther.addChild(0, childCountry);
        }     <rich:tree value="#{treeManagedBean.nodes}" var="node" adviseNodeOpened="true" >
         <rich:treeNode >
              <a4j:commandLink value=""></a4j:commandLink>
              <h:outputText value="#{node}"  />
         </rich:treeNode>
    </rich:tree>
         My question is how can i make the nodes in the tree links, so i can click on a particular link and load a page,
    Can someone help me on this

    Hi Faissal,
    here is my custom class. nodeName and nodeLink there.
    public class TreeDomain {
        private String nodeName;
        private String nodeLink;
         //  getters and setters goes here
    }and i gave
    <rich:tree value="#{treeManagedBean.rootAccounts}" var="node">
         <rich:treeNode>
                        <h:commandLink action="#{node.treeLink}">
                             <h:outputText value="#{node.nodeName}"></h:outputText>
                        </h:commandLink>
         </rich:treeNode>
    </rich:tree>and in the TreeManagedBean
            rootAdmin.setData("Administrator");
         rootAccounts.setData("Accounts");
         rootOther.setData("Other");
         rootChangePwd.setData("Change Password");
         nodes.addChild(0, rootAdmin);
         nodes.addChild(1, rootAccounts);
         nodes.addChild(2, rootOther);
         nodes.addChild(3, rootChangePwd);
         TreeNodeImpl<TreeDomain> childCompany = new TreeNodeImpl<TreeDomain>();
         treeDomain = new TreeDomain();
         treeDomain.setNodeName("Company");
         treeDomain.setTreeLink("company.faces");
         childCompany.setData(treeDomain);
         rootAccounts.addChild(0, childCompany);but its not working... have i done some mistake here?

  • How to add link and image in oaf iprocurement stores page?

    Hi Every1,
    I have requirement to in iprocurement stores page. Already there are certain links ( a meaning full image+link ), by click on image or link it will take you to the
    required page.
    I need to add one more like that.
    How can i do this ?
    I know thru personalizations we can add links to the page, but how can i add image to that link. so that click of anyone will take to the req page.
    Thanks,
    Arun Peddi

    Hi,
    Here is one way of putting an image in the header:
    <fo:layout-master-set>
        <fo:simple-page-master master-name="my-page">     
          <fo:region-body margin="1in"/>
          <fo:region-before extent="1in" background-color="silver" />
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="my-page">
         <fo:static-content flow-name="xsl-region-before">
             <fo:block height="150px" width="1024px" background-color="white" >
                 <fo:external-graphic src="http://localhost:9000/web-determinations9000/images/Header.jpg">
                 </fo:external-graphic>
            </fo:block>
        </fo:static-content>
        <fo:flow flow-name="xsl-region-body">
        </fo:flow>
      </fo:page-sequence>One good XSL:FO refernce: http://www.learn-xsl-fo-tutorial.com
    Hope this helps.
    Thanks,
    Aakarsh
    Edited by: aakarsh on Apr 6, 2011 6:40 AM

  • Add linked button to a editText field

    Hello everybody,
    i'm trying to add a linked button to a text field in the header of a JournalEntry. So far i've been able to add it on one of the columns of a document matrix.
    Can anybody help me, please?
    Ciao
    Marco

    You need to create a new link button object, set the "linkto" property to point to the UID of the edittext containing the data, and set linkedobject to point to the target object (eg. business partners, items ...)
    Set sboItem = sboItems.Add("LINK", it_LINKED_BUTTON)
    sboItem.LinkTo = "10"  'UID of separate edittext containing the data.
    Set sboLink = sboItem.Specific
    sboLink.LinkedObject = lf_BusinessPartner
    John.

  • Issue in creating a add link to a document content type on a doc lib name with , / special characters

    hi,
    i am having a  requirement to create/use "add link to a document" content type for a item in the document library.
    so i got  the code from below site :
    http://howtosharepoint.blogspot.in/2010/05/programmatically-add-link-to-document.html
    my issue is, if teh document  library names are single words - like MOM, model, procedures etc this  functionality is working fine and i am able to view the link to a document as an item. 
    but when the doc lib name contains special characters like , or  /  , this link to a  document  content type functionality is NOT working.
    can anyone pls point me whether this is the  actual  issue ? ie, if  the doc lib name contains special chars  like , or /  my
    add link to a document wont work? is there any restrictions/limitations for doc lib names in SharePoint ?
    for eg: my doc lib names are :
    1) Report and analysis, Data
    2) form / template
    3) map/ plot
    help is highly appreciated!

    hi,
     its talking abt the subsite names and  folders and NOT the document librraies.
     is there any link which gives the naming convention / restricted names for  document libs or  splists , from msdn / blogs.technet.
    thnx

  • How to add Icon in Tree View in Forms 6.0 (URGENT..!)

    Hello All,
    I want to add icons in tree view (hierarchical tree) by using
    forms 6.0.
    So pls. help me to find out the solution for the same.
    thanks
    Pradeep
    null

    Pradeep (guest) wrote:
    : Hello All,
    : I want to add icons in tree view (hierarchical tree) by using
    : forms 6.0.
    : So pls. help me to find out the solution for the same.
    : thanks
    : Pradeep
    hello pradeep,
    for adding icons in the tree, u willhave to look closely to the
    data format for the tree.in the data format used for populating
    the tree we are supplying 5 fields. the state of the tree node
    (expanded or collapsed), the depth of the node w.r.t the parent
    node, the node value, the node label(what we see on the tree)
    and the node icon which we want to use. for the node icon we
    have to provide the entire path of the icon file. that's it.
    hope this will solve the problem
    null

  • How to add link in full screen email Lion?

    Hi all
    I've been using the full-screen versions of most apps since istalling Lion. Not perfect but I like being able to swipe between screens. However the email function in full screen doesn't allow you to add a link to your message. When you hit compose new message the toolbar functions don't drop down. Am I missing something here?
    thanks
    WG
    Ps - I also have had the Wifi problem which was resolved by setting up network again. Time Machine does seem to take longer to backup with Lion. Finally, also have problems with email where it can't send emails sometimes. None of these dealbreakers for me but hopefully new release version will deal with them!

    You should have a limited toolbar, but the add link button isn't part of it.
    You can add a link using the Edit menu (or cmd-k), or select text and right-click (Link>Add Link…)

  • Can we add links to perform editing, modify properties in KM Report output?

    Hello,
    I have created KM report which provides list of XML forms which satisfy specific conditions. Now I want to add links on report output so that user can click on that link and can directly start editing documents if needed. Also I want to provide direct link which can open properties of document.
    Also can we add images/ icons on a particular row like traffic lights icons: Green, Yellow, Red.
    Thank you,
    Nitesh Shelar

    I have another question related to following class may be that can put more light on my base requirement. I am creating Result item object based on details I found on various KM articles for KM reports. I wonder what is that List executedCommands, object.
    public static ResultItem getInstance(RID rid,
                                         Map properties,
                                         List executedCommands,
                                         boolean hadError,
                                         String statusDescription)
    Can any one tell me about this List executedCommands and what exactly I should pass there and how it is going to affect my output?

  • Why can't I add links to sociocons in Mail signatures?

    I'd like to find out how I can add sociocons (small icons that link to social media web pages) to my Mail signature.
    I can do it easily in MS Outlook for Mac, but I cannot get the images (icons) to accept links in Mac Mail signatures.
    There's no option to "Add Link..." when I add an image into my signature in Mail, but I know that people have done it.
    The sociocons are graphic images (PNG, JPG, GIF, or etc.)
    They are icons that link to social media, hence "sociocons" I know you can add a link to text, but why not images/icons?
    It's standard practice today in business, and I feel that Apple Mail is holding us back.

    How to Make an HTML Signature in Apple Mail

  • How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there.

    How can I add a hyperlink to a PDF with OSX 10.9? The "Help" article says to use the "add link" feature under "edit." It's not there. I could add links w/ the previous OS. Time sensitive project.

    Which application are you using?
    Clinton

  • Add link to PDF file

    Suppose a PDF file has some URL string like http://abc.com and also has some email address string, such as [email protected] and also has a table of contrnts. Is there any programming way
    1. Extract those URL or Email String
    2. Add link (action) to those URL or Email string so when user click URL, it will bring browser to that URL, when user click email address, it will bring up some email software, such as Outlook to get a email dialog window.
    3. Add some link to the table of content so when user click a chapter line in the table of contents, then PDF jump to the page of the start of that chapter.
    Thanks,
    P

    Hi qpan
    Yes, there is. Using LC Assembler (invoke DDX service) you can extract, import and replace links within a pdf document. There is a detailed tutorial called "Developing Applications for LiveCycle Assembler" (page 69-71).
    Here are some DDX samples:
    Exporting links from multiple sources:
    <Links result="links1.xfdf">
    <PDF source="doc1.pdf" />
    <PDF source="doc2.pdf" />
    </Links>
    Replacing links:
    <PDF result="doc3.pdf">
    <PDF source="doc2.pdf">
    <Links source="links1.xfdf" />
    </PDF>
    </PDF>
    reagrds,
    Nico

  • Best way to make a menu that shows up on all pages and that's easy to add links to later?

    Hi everyone, first post on the forums.  I am very new to using Dreamweaver and making web pages in general, so bear with me
    Here's what I want to do:
    1. Make a web site with a menu bar on the left with about 30 links.
    2. All 30 links go to different pages on the same website, and each page has the exact same layout, only the body text is different (same placement of advertising, menu, etc.)
    3. I want to be able to add links to that menu quickly and easily.
    In other words, I basically want to just make one static menu that shows up the same  way on each page of my site.
    Now, how I am thinking is best to do this is to make one menu its own page (in its own frame??) and just have each page on my site link to that menu, so that whenever I want to update the menu, I don't have to update the static menu on each page of my website, only the one menu.html or whatever.
    This is probably the easiest thing in the world to do and I'm probably not using the proper terminology or anything, but I hope that I have explained myself clearly.
    Please respond if you have any ideas about how to accomplish this.  Thank you!

    While Breqent is right that server side includes are the best way of doing this if you aren't up on
    server side coding then you can use Dreamweaver to manage you menu.
    You do this by simply ensuring you never edit the menu area on any individual page.
    It should therefore be identical on all page and as such you can just use find and replace across the entire site or folder to edit all occurances of your menu.
    I hope this helps.
    Andy
    Best Reception

  • Displaying an edit or add link

    Hi everyone,
    I have a page that I would like to display either an edit or
    an add link depending if there is any info. typed into a column or
    not. For instance, I would like to have the edit link show up
    if there is info. in any of these 3 columns in my database:
    CF_Feedback_Concerns Or CF_Resolution Or CF_Comments.
    Otherwise I would just like the add link to show up. I can make
    this work if I only do it on 1 column. How do I write an If
    Statement for any of the 3 columns? Attached is the code I tried
    and below that is the error message I get when I try it. Can anyone
    please help me? Thanks.
    Andy

    You have to have something like that in your if statement
    <cfif #CF_Feedback_Concerns# is Not "" or #CF_Resolution#
    is Not "" or #CF_Comments# Is Not "">

  • How i can add link to image in mySql

    im trying
    add link to image in mysql fiels?
    I do not want use blob

    ok, here is my code
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_Recordset1['id']; ?></td>
          <td><?php echo $row_Recordset1['ime']; ?></td>
          <td><?php echo $row_Recordset1['prezime']; ?></td>
          <td><?php echo $row_Recordset1['Form']; ?></td>
          <td><?php echo $row_Recordset1['Sun']; ?></td>
          <td><?php echo $row_Recordset1['Wather']; ?></td>
          <td><?php echo $row_Recordset1['Size']; ?></td>
          <td><?php echo $row_Recordset1['Zone']; ?></td>
         <td><img src="/plants/<?php echo $row_Recordset1['Picture']; ?>" /><td>
          <td><?php echo $row_Recordset1['Picture2']; ?></td>
        </tr>
        <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>

  • Where is the "add link" function in Mountain Lion release of PDF Preview

    Just installed ML. Opened a PDF using Preview 6.0 (765). Can't find the ADD LINK function. It is suposed to be in the Annotate menu, but I can't find it. Anyone know where it is/went?
    Should be:
    As-is (Preview 6.0):

    Good idea Matt on Pages.
    Yes, looks like someone left something out of Preview and the person doing the help didn't know they'd removed some of the core functionality. Seems like more dumbing down of the OSX apps to be more like iOS apps??? Too bad.
    Found an app on the app store called PDF-EDITOR that allows you to add URL hyper links to PDFs. Seems to work fine.
    neal
    Message was edited by: 3blackdogs Changed "PDF-EDITOR"

Maybe you are looking for

  • HELP....itunes has encountered an error and needs to close

    I have been following quite a few people with the same problem, nothing i do seems to work. I have been using itunes for years and have burnt many CD. recently i purchased an ipod with video, downloaded realplayer for the mp4 ripping capabilitie....n

  • Report Text line width

    Is there a way to set the text line width on a report to 80 characters and then have it wrap to the next line. I'm getting very long cells that I have to scroll over with the arrow key to see the text past my screen size.

  • Specifying Lab color in Photoshop

    I need to submit Indexed TIFF files to my Textile Printer based on their printed color catalogue.  I can not get Photoshop CC to keep the specification.  Ex: My existing TIFF file has a color specified at: 40, 1, -41.  I need to change it to 82, -35,

  • How to use DTW

    hi experts, can any body help me by giving any PDF or Elearning document , how to use DTw for importing data ? how to use templates ? can i get any document for how to use it ?

  • Convert amount in % to USD

    Hi In the pricing conditions data (billing document), if the amount is given in %, then how to convert to USD. For example - Royalties, Freight charges. Thanks satish