How Can I Create an Event Link to a Page Tab?

I have a portlet in one tab that generates an event. I want to be able to send this event to the same page but to another tab where another portlet resides. Here's the code snippet that creates the link. This code is part of a custom JSP tag.
// Attempt to get access to the portlet render request to determine if we are within a portal context.
PortletRenderRequest prr = (PortletRenderRequest) pageContext.getRequest().getAttribute(
    HttpCommonConstants.PORTLET_RENDER_REQUEST);
if (null != prr)
    try
        // Set up the parameters used for the link.
        NameValue[] eventParameters =
            new NameValue("linkUrl", linkUrlParamValue)
        // Construct the link parameter we will be using.
        linkUrl = EventUtils.constructEventLink(prr, "linkClicked", eventParameters, true, true);
    catch (PortletException e)
        // Error processing removed...
}This code will generate the event correctly and all processing occurs as expected. However, I cannot find a way to force the second tab to display.
I am able to force the the second tab to be displayed if I use "Direct Access URLs". These links are in the form
[protocol]://[host]:[port]/pls/portal/url/page/[page_group_root_page_name]/[tab_name]
But is there a way to create an event link using a specific URL?

Hi,
One workaround that i can think of is:
1. Set the <passAllUrlParams>true</passAllUrlParams> attribute in your provider.xml of the portlet on the target page/tab.(dont forget to refresh the provider)
2. If you already have the url to the tab, then you just simply construct the form in your previous portlet to post to that url with all the necessary form fields.
3. Process the request parameters and render the second portlet.
hope that helps.
thanks,
Harsha

Similar Messages

  • How can I put a music link in the page like this?

    How can I put a music link in the page like this?
    http://members.aol.com/trumanj/midi/tjsragtime.htm
    Thanks

    Hola JB
    No, I haven't...I'm trying to learn flash and it's been keeping me very busy...maybe it's the age..
    Len, I been trying to do it that way, but, as I just mention, Flash don't like me :)
    Thanks, I will do that for sure.
    Daniel Ulysses

  • How do I create a direct link to a page in the secure zone?

    How do I create a direct link to a page in the secure zone? Right now I have a menu link to the "member-news" page, which is secure. When clicked, the link goes to the member login screen. Upon login, it drops the user onto the default login page.
    I want the "member-news" link to allow the user to log in and continue onto the "member-news" page without stopping at the default login page.
    Is this possible?

    What program are you using?

  • How can I create a working link from the home page to other pages?

    Using iWeb, I created links on the Home page directed to other pages within my web site. The links are located in the main body of the Home page (on the right side) and are not included in the Navigation Menu. The links function correctly when I test them in iWeb, however, the links do not function at all after publishing to the internet.
    Within the inspector, I have chosen, Link To: "One of my pages" and the appropriate page is selected.
    The links within the gray rectangles do not function. The same links below the gray rectangle links go to a "Page Not Found" page.
    See the home page at http://www.daleenstrom.com
    How can I make these links function correctly?

    Welcome to the Apple Discussions. I've found that using the "One of my pages" often doesn't work. Since you've published the site go to each page, copy its URL and use it for the hyperlink. I've found that to me more reliable.
    Are those two links inside the shapes or just on top? Both of those items are one large image file. If you inserted the link in the shape be sure you've selected the text (might take a few clicks to get inside and select it) to use for the hyperlink. Also make sure there are no other objects overlapping each of the shaped with the hyperlinked text.
    Also it appears that the entire text box is an image. Turn on iWeb's preferences to display the text image indicator:
    Click to view full size
    and then you'll see the following on any object that will be converted to text once published:
    Click to view full size
    The two links below work for me. Be sure to clear your browsers cache (CommandOptionE for Safari) and reload the page.
    OT

  • How can I create an anchor link, from one table to another?

    I want to make an .html web page with two tables, side by side. In the left table I want to put a list of names. In the right table I want to have text anchored at the top of the right table (linked anchor to the names in the left table) so that when I click on a name from the list in the left table the text associated with that name will appear at the top of the table on the right? In the right table, I want to be able to scroll up and down to read the text in the right table. In the left table I want the list to remain near the top of the page while I'm scrolling up and down in the right table. I want the list on the left always in view and stationary while I'm scrolling through the text in the right column.
      I tried just anchoring text to the top of the right column (without linking the anchor to a different html file) but when I scrolled down in the right table, the whole page scrolled down so that I could no longer see the list of names in the left column.
      How can I achieve this effect? Do I need to anchor to another html file, or can I achieve the result without linking to a different html file?
    Thanks,
    George

    Iframes should be in there, but they only show up when you're in code view. But all it does anyways is place the frame tags where your cursor is. You'll also need to add some properties, such as width and what not. A quick google for iframe properties will provide plenty of examples. Like a regular frame, it displays a separate a html page which must be referenced in the properties. A named anchor as we know is part of the link which can be used onnthe same page, or open another page to a certain location. So it's just a matter of formatting the link  so it targets and includes the iframe as well as the other attributes. I'm pretty sure it's doable and not too difficult, but again, a quick google shold provide the answer.

  • How can i create an event from a cell of JTable ?

    Hi , I am having a JTable which has two types of render : checkboxCellRender and DefaultTableCellRenderer
    i want to generate an event by clicking the checkbox which will do color changes for other cells . How can i do that ? Can i pass the events ?
    code snippet :
    class checkboxCellRenderExt extends checkboxCellRender
              public checkboxCellRenderExt(){}
              public Component getTableCellRendererComponent(JTable table, Object value,
                        boolean isSelected, boolean hasFocus,
                        int row, int column)
    JCheckBox c=(JCheckBox)super.getTableCellRendererComponent( table,value,isSelected,hasFocus,row, column);
    JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
    Vector currentRow = md.getRow(row);
    if(isSelected)
    boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
    if(!m_bavail)
         c.setForeground(Color.BLACK);
         c.setBackground(Color.WHITE);
    else
         c.setForeground(table.getSelectionForeground());
         c.setBackground(table.getSelectionBackground());
    else
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    return this;
    class CustomcellRenderer extends DefaultTableCellRenderer
         public CustomcellRenderer()
         public Component getTableCellRendererComponent(JTable table, Object value,
                                  boolean isSelected, boolean hasFocus,
                                  int row, int column)
              checkboxCellRender chkbox =null;
              JLabel lb;
              Component c = super.getTableCellRendererComponent(table,value,isSelected,hasFocus,row, column);
              if (value == null)
         return c;
              if (value instanceof String)
                   String s = (String) value;
                   lb = (JLabel)c;
                   lb.setBorder (noFocusBorder);
                   lb.setText(s);
         JTableModel md = (JTableModel)m_TablePan.getTable().getModel();
         Vector currentRow = md.getRow(row);
              this.setHorizontalAlignment(JCheckBox.CENTER);
    if(isSelected)
                   boolean m_bavail = ((Boolean)currentRow.get(COLUMN_TCM_STATUS)).booleanValue();
                   if(!m_bavail)
                        c.setForeground(Color.BLACK);
                        c.setBackground(Color.WHITE);
                   else
                   c.setForeground(table.getSelectionForeground());
                   c.setBackground(table.getSelectionBackground());
    else
                   setForeground(table.getForeground());
                   setBackground(table.getBackground());
    return this;
    }

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
    Add a TableModelListener to the TableModel. An event is fired when the contents of the cell are changed.

  • How can we create the Readmore link in XML form to opened  the KM folder

    Hi!
    I 'm working on XML form. I have the readmore link in the form . Nomorrally readmore will link to open the file only . however, I need the readmore link to opend the list of document folder in KMconten -> documents. How can we do? Is it possible.
    Thanks and best regards,
    Vimol

    Hi ,
    On the tool bar you have an option "Browser" which is next to "HTML Editor" .
    You know that for using these elements wo have to map them with Data Schema.
    Step by step
    1. In data Model Under Data Schema Add a child and name it Read_More.
    2. In the left hand corner ,click on tab Type and from the drop down select "rid"
    3.Click on the "Browser" from the toolbar (as told earlier) and drag and drop it on the form.
    4. Drag the Data schema which u have made(Read_more) and drop it on the browser on form. On right hand side u will se the mapping done.
    5.Click on the "Browser" which is there in the form and on the right hand side of the form u will see the property window.
    6.In property window change the value of action property to "Item Entry point"
    7. Repeat step 3 and 4 in Render and show form but using "label" nad not browser.
    Do not forget to add Save button in Edit Form.
    This will solve your problem.
    PS:Rewards Point Please.
    Regards,
    Naveen Gupta

  • How can we create a OCA button for Overview page?

    Hi Experts,
       Please help me with all the steps for creating an OCA button for Overview page. I have already tried it for table view in Viewset and it is working fine but how to do that in Overview page.
    Thanks and Regard,
    Pranoy Kumar

    Hi Pranoy,
    You need to redefine two methods of OVP view's _IMPL class and paste this code:
    METHOD if_bsp_wd_toolbar_callback~get_buttons.
      DATA:  ls_button    TYPE  crmt_thtmlb_button_ext.
    Ls_button-on_click = 'EDIT'.
         ls_button-type = cl_thtmlb_util=>gc_icon_edit.
         ls_button-page_id = me->component_id.
         ls_button-enabled = abap_true.
        APPEND ls_button TO rt_buttons.
      ENDMETHOD.                    "if_bsp_wd_toolbar_callbacku2014get_buttons
    method IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS.
    *CALL METHOD SUPER->IF_BSP_WD_TOOLBAR_CALLBACK~GET_NUMBER_OF_VISIBLE_BUTTONS
    *  RECEIVING
        RV_RESULT = 6.
    endmethod.
    And write the event handler method for here in my case EDIT, or you can write depending on your requirement.
    Regards,
    Vishal.

  • How can I make multiple popup links on one page?

    I was wondering if anyone had a simple code that will allow me to have multiple popup links on one page? I have no idea what to do.  Any help would be greatly appreciated.

    Give each an individual id like:
    <SCRIPT language="JavaScript1.2">
    function openwindow1()
    window.open("score_popup/wbc_slalom_running_order.html",
    "mywindow","location=1,status=1,scrollbars=1,width=600,height=525");
    .......... etc.
    and then:
    <p><a href="javascript: openwindow1()">WBC Invitational Slalom Event Running Order</a></p>
    View actual working page here:
    http://www.worldbarefootcenter.com/
    scroll to bottom of page to see pop-up links. View source code for complete details:
    Best wishes,
    Adninjastrator

  • How do I create an internal link in a pages document?

    I can do external link ok (Hyerlink + enter web address) - but cant find way to link to a page within the document - an internal link.
    Thanks for your genius.
    Nick

    Bookmarks is just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu.

  • How Can I Create a Menu Link?

    Hi everyone, thanks in advance for any tips and assistance you are able to provide!
    I have very basic working knowledge of Flash and this is the first web project that I have worked on.  I have a free Flash template that I have been playing around with that contains a Flash menu.
    Because I cannot attach either the FLA or SWF to this thread I have posted them here:
    Menu.fla: http://www.jduguid.com/webdesign/menu.fla
    Menu.swf: http://www.jduguid.com/webdesign/menu.swf
    My question is simple, how and where, do I edit or add the commands that will load the pages of the same name when the animated button is clicked?
    Thanks again in advance for your assistance!
    -Jeff

    It seems like where ever I try and add the code:
    on (release)
    getURL("yourPage.html", "_self");
    in the Actions frame I get this error when publishing: Mouse events are
    permitted only for button instances.
    Am I working in the right area under the symbol definitions or how do I find
    the button instance?
    Thanks!

  • How can i create absolute symbolic links

    The question is simply the Thread Topic,
    I want to create an Absolute Symlink, I have found some Apple Scripts that i think create relative Symlinks.
    I am not that familiar with Terminal, so any recomendations to go that route nned to be fully explained please?
    Thanks
    John

    I have a couple of Partitioned disks on my system and i need to make symbolic links for a number of folders that are on those Partitions.
    I could not get to te partitions via terminal, i now understand i have to use the /Volumes/Folder name in my ln command.
    thx
    John

  • How can I create an event log

    I want to look at the URL's that are accessed by the various devices connected wirelessly through my Airport Extreme Router? Thanks.

    Apple has only the most basic of log info. I doubt that you will find what you are looking for.
    If you are using AirPort Utility for Windows......
    Open AirPort Utility, click the AirPort, and click Manual Setup
    Click the Advanced (gear) icon
    Click the Logging & Statistics tab
    Click Logs and Statistics near the bottom of the window
    If you are asking about AirPort Utility in Lion or Mountain Lion......there are no logs.

  • Indesign CS4- how can I create a document with more 10 pages?

    Hi,
    I have just begun to practise with Indesign. I want to create a tale with 22 pages. My question is how?
    At the moment it's half solved, because I have done 10 sheets and each is 2 pages, but I need 2 more.
    When I want to add more pages, alert message advise me that's no possible. The maxium is 10.
    Thisaction have donetrough page menu.
    Do it exist any trick?
    _ other question: edit maestra page:
    How is the procedure forediting maestra page? I want to add number page, a headline.
    Urgent! It's a delivery extra urgenT!
    Thanks a lot

    I'm not sure if I understand the way your document is set up currently. It sounds to me like you have created single InDesign pages that each contain a two-page spread for your finished document. This is not a good method for laying out anything longer than will fit on the front and back of a single sheet of paper.
    Instead you should be making your InDesign document using the "facing pages" option and setting the page size the same as the folded size of the finished booklet. If you have color that bleeds, add a bleed allowance in the document setup dialog (click the show more options dialog). When your booklet is printed the pages need to be arranged back cover/front cover, inside front/inside back, page last/page 1 and so forth so they appear inthe correct order after binding. This is easily automated if the pages are separate, but if they start out on the same sheet it is up to you to get the order right from the beginning, and it is difficult to do design work in printer's spreads layout. Keeping pages in consecutinive order allows you to design in the same view that your readers will see.
    I'm not sure what the error message about the limit of 10 is, but it sounds like you are trying to make a single spread for the whole document. You can have a maximum of 10 pages in a single spread. The question is why do you want so many pages next to each other? Does the document fold out this way? A "normal" book uses many two-page spreads. You can add pages normally by dragging a master page icon into the live page area in the panel, or using the "insert pages" command from the panel menu.
    To edit a master page, double-click its name. Add your page number in a text frame by inserting a "current page marker" special character in the frame.
    Peter

  • How can I middle-click a link and have a tab open next to the parent?

    Ctrl-T opens a new, blank tab at the end of my tab list, which I like. In IE 11 middle-clicking on a link in a web page opens that new progeny tab next to the parent tab, rather than at the end of the list, and groups them if you have more than one parent-and-progeny tab groups. IE 11 goes so far as to assign tab title background colors to such groups (which isn't as important to me as the functionality). Tweaking Tab Mix Plus just resulted in modifying where Ctrl-T puts a blank tab. Is there a way to make my FF parent-progeny tabs work like IE 11?

    If you use Tab Mix Plus then you need to check its settings where links are opened.
    The basic Firefox has these prefs to control this feature.
    *browser.tabs.insertRelatedAfterCurrent
    *browser.tabs.selectOwnerOnClose
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

Maybe you are looking for