Deactivate page-input in TableView?

Hi everybody!
On the paginator of a standard TableView
you have this input field for entering
a specific pagenumber.
Is there a way to deactivate this field?
And if that's not possible: How can I
catch the entered value?
Markus

it disable the inputfield (for page number in the tableview pager) (assuming your tableview id is tv1)
place the following code in onManipulation event.
data: httpbody type string .
CALL METHOD response->if_http_entity~get_cdata
  receiving
    data   = httpbody .
replace all occurrences of 'name="tv1_pager_Index"' in httpbody with 'name="tv1_pager_Index"  disabled="X"' ignoring case .
CALL METHOD response->if_http_entity~set_cdata
  EXPORTING
    data   = httpbody .
to read the value entered by user in the inputfield in tablveiw pager (when its not disabled using the above method).
place the following code in the oninputprocessing event. this will get triggered only when the user manually enters value and not when page down or up button is clicked.
DATA: lt_3 TYPE string .
DATA: event TYPE REF TO cl_htmlb_event.
event = cl_htmlb_manager=>get_event( runtime->server->request ).
DATA: table           TYPE REF TO cl_htmlb_tableview .
DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
table ?= cl_htmlb_manager=>get_data( request = request
                                           name    = 'tableView'
                                           id      = 'tv1' ).
if not event is initial and event->server_event eq 'tvNavigator' .
clear tv_data .
if table is not initial .
tv_data = table->data .
if tv_data->navigationtype = 'Index' .
  lt_3 =   request->GET_FORM_FIELD( name = 'tv1_pager_Index' ).
endif .
endif .
endif .
Regards
Raja

Similar Messages

  • Thinkpad Yoga: Digitizer only? Deactivate finger input

    Hi everybody,
    quick question: my Thinkpad x201 Tablet provided the option to deactivate finger input, i.e. use only the digitizer, which I quite like when making presentations, as this way no accidential input occurs when resting your hand on the screen while writing.
    I now bought a Thinkpad Yoga 2. Couldn't figure out yet how to deactivate finger input there. Any ideas? Any workarounds?
    Thanks a lot.

    Okay guys, I just figured it out: finger input is automatically disabled as long as the digitizer is near the screeen. Quite fancy...
    Rainer6767 wrote:
    Hi everybody,
    quick question: my Thinkpad x201 Tablet provided the option to deactivate finger input, i.e. use only the digitizer, which I quite like when making presentations, as this way no accidential input occurs when resting your hand on the screen while writing.
    I now bought a Thinkpad Yoga 2. Couldn't figure out yet how to deactivate finger input there. Any ideas? Any workarounds?
    Thanks a lot.

  • Apex Page Input Item Label Conditional Style at run time

    Hi,
    Apex version 4.2.1.00.08
    We have an issue after migrating to apex 4.2.1. We have a select list and use another couple of dummy items to be used as its label instead of giving the text value to the LABEL control. Only one of the dummy items is shown as a label for the select list conditionally based on another value. It was working fine with the earlier versions upto 4.1, but with the introduction of grid in 4.2, its now displaying the select list on a new row (ie the lable in one row and the select list on the next row).
    However, we really would like to solve this by having a way to display the label of the select list either in "required format style" or as an "optional style". The display style should be determined only at runtime.
    Example. Say P100_MY_SELECT_LIST is the select list
    The label for this item is "My Select List Label"
    I have another dummy item P100_DUMMY
    if P100_dummy = 1 then the label "My Select List Label" should be displayed in red and with an * *My Select List LabelOtherwise it should be in black and without * My Select List LabelPlease help how to do this.
    Thanks in advance.
    Regards,
    Natarajan

    Well, I deviated with the various other things, and finally needed to get it fixed now. I find my own solution by having a Label Template which creates an ID for every label of the input item and calling a couple of javascript functions thro dynamic action.
    1) Create a label template "FormFieldDynamic" as follows
    In the template definition "Before Label"
    <img src="#IMAGE_PREFIX#requiredicon_status2.gif" alt="Required Field Icon" /><label for="#CURRENT_ITEM_NAME#" id="#CURRENT_ITEM_NAME#_LABEL" tabindex="999" class="itemLabel">in the "after label"
    </label>Note, I am having the image for the * always with the laebl and creating an ID for the label with id="#CURRENT_ITEM_NAME#_LABEL" .
    I have created a couple of javascript function to show the label dynamically as required or optional.
    function setLabelRqd(item) {
         var v = item+'_LABEL';
         var pid = document.getElementById(v);
         if (!((pid===null)||(pid===undefined))){
              pid.style.color = "red";
              $('#'+v).prev().show();
    function setLabelOpt(item) {
         var v = item+'_LABEL';
         var pid = document.getElementById(v);
         if (!((pid===null)||(pid===undefined))){
              pid.style.color = "black";
              $('#'+v).prev().hide();
    }Use the template if the input item (label) is dynamically set as Required or Optional at runtime based on a value of another item.
    How to:
    1.     Select the template FormFieldDynamic for the input item.
    2.    Create a dynamic action triggering on the change event of the page item which holds the conditional value to set the input item label as required or as optional.
    Under the When Section
    a.     Event => Change
    b.    Selection Type => Item(s)
    c.     Item(s) => PXXX_ITEM_NAME (The item that holds the conditional value to set the label for the input item
    d.    Condition => equal to
    e.     Value => Enter the value  for which the label needs to be displayed in Required format.
    f.     Set True Action
                                                              i.    Action => Execute Javascript Code  (Identification)
                                                             ii.    Fire on Page Load => checked (Execution Option)
                                                           iii.    Code => setLabelRqd(‘PXXX_ITEM_NAME’);  (Settings)  /*Call the javascript function to set the label as required*/
                                                            iv.    Selection Type => Item(s) (Affected Elements)
                                                             v.    Item(s) => PXXX_INPUT_ITEM1[,PXXX_INPUT_ITEM2]…
    g.     Set False Action
                                                              i.    Action => Execute Javascript Code  (Identification)
                                                             ii.    Fire on Page Load => checked (Execution Option)
                                                           iii.    Code => setLabelOpt(‘PXXX_ITEM_NAME’);  (Settings) /*Call the javascript function to set the label as optional*/
                                                            iv.    Selection Type => Item(s) (Affected Elements)
                                                             v.    Item(s) => PXXX_INPUT_ITEM1[,PXXX_INPUT_ITEM2]…It finally works for me :) and hope this will be helpful to others too. I will greatly appreciate anyone to mention it here if this helps for him.
    Thanks,
    Natarajan

  • How to get the page number when click the(Next page) Icon on Tableview

    Hi all,
           I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
    Let us assume when we execute the BSP and a table view got 11 pages.
    How I can keep track of the page number when we click the  (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that  corresponding page number of the tableview when we click the corresponding Icon's??
    I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
    Any help will be appreciated.
    Thanks in advance.
    Thanks,
    Greetson

    Hi Greetson,
      I was thinking to write a weblog about that.
      But now I would like to have your opinion:
      I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class  me->firstvisiblerowlist (that is a table)
      DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
      DATA: ff  TYPE ihttpnvp,
            ffs TYPE tihttpnvp.
      me->request->get_form_fields( CHANGING fields = ffs ).
      LOOP AT ffs INTO ff.
        IF ff-name CP 'f*visiblefirstrow'.
          READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
          CASE sy-subrc.
            WHEN 0.
              l_firstvisiblerowlist-name  = ff-name.
              l_firstvisiblerowlist-value = ff-value.
              MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
            WHEN 4.
              IF sy-tabix = 0.
                l_firstvisiblerowlist-name  = ff-name.
                l_firstvisiblerowlist-value = ff-value.
                APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
              ELSE.
                l_firstvisiblerowlist-name  = ff-name.
                l_firstvisiblerowlist-value = ff-value.
                INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
              ENDIF.
            WHEN 8.
              l_firstvisiblerowlist-name  = ff-name.
              l_firstvisiblerowlist-value = ff-value.
              APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    Than you have to provide a generic method to read the firstvisiblerow for each tableview
    GET_FIRSTVISIBLEROW
    *IM_TABLENAME
    *RE_VALUE
      DATA: l_firstvisiblerow  TYPE zmmsp_tableview_1st_visi_row.
      READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
      IF sy-subrc = 0.
        re_value =  l_firstvisiblerow-value.
      ELSE.
        re_value =  1.
      ENDIF.
    And in the DO_REQUSET of each controller you could write something like:
    * Paginator
      DATA: l_tab1_visiblefirstrow TYPE sytabix.
      l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow'    ).
    As usual pass the value to the view via:
      o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
    Did you get it?

  • Looking for a way to "deselect all" and "hold page" for bsp tableview

    Hallo Experts,
    I'm quite new to bsp programming. My first application is nearly complete, but I'd like to add some more convenience. I got two issues to solve, both connected with the tableview element.
    1) User is clicking through the pages of the table control, marks some lines and hits submit button. After the submit, the table is back to page 1. Is there a way to keep the page that was last viewed?
    2) Same situation. After the user has hit the submit button, I retrieve a list of all marked table lines. After I'm done, I'd like all lines to be unmarked. Does anyone know how to achieve that?
    Any help or hints are highly appreciated.
    Christian

    Hi Chris,
    1)User is clicking through the pages of the table control, marks some lines and hits submit button. After the submit, the table is back to page 1. Is there a way to keep the page that was last viewed?
    declare a global variable gv_visiblefirstrow.
    In EventHandler
    when 'submit'.
    gv_visiblefirstrow = request->get_form_field( 'your_tableview_id_visiblefirstrow' ).
    In Layout:
    Add the below line to code of your tableview
    visibleFirstRow     = "<%= gv_visiblefirstrow %>"
    2) Same situation. After the user has hit the submit button, I retrieve a list of all marked table lines. After I'm done, I'd like all lines to be unmarked. Does anyone know how to achieve that?
    After you are done..just add the code..
    Data: lv_total_rows type i.
          describe table itab lines lv_total_rows.
          cl_htmlb_manager=>check_tableview_all_rows(
          rowcount = lv_total_rows
          request = request
          id = 'tableview_id'
          check = ' '
    As suggested by Raja,pls search the forum before posting a new thread.
    Regards,
    Anubhav

  • Save page input to a file

    Hi,
    I have a task where a user should be able to save the nput on a page to a file.
    The page contains a form and a tabular form.
    The user must also have the possibility to upload the saved files and save the corresponding data to the database.
    This operation is needed for possible shortcomings in internet connection and it is used in laptops.
    I wonder what would be the most simple way to do this.
    I thought that maybe it could be done so that the whole page is copied as HTML and saved to a file. Then on upload the corresponding input values of the objects are copied to the page and the page is then submitted. But how to copy the values from a blob?
    And I guess there is a better way to do this ?
    Any tips or comments would be really helpfull, because I must get this ready soon.
    Tiina

    Hmmm.. so your users want to start modifying the report in the apex page itself, but want to continue modifying the same even after the network connection is lost ?
    I was thinking of asking them to download the excel first,modify it(the excel) and then upload it later.
    If this is the case , irrespective of what you do in apex the values entered are going to be staying in the user's browser. Of course you can use a tabular form based on a collection and use ajax to autosave the data once in a while but even thats not going to be very effective.
    Saving the HTML would probably be the only way (if they don't want to upload an excel) . As I mentioned earlier , upload that HTML file to an XML column and extract the values from there. You can also combine the approaches , by having a Javascript on the page which dumps all the data into a textarea in a comma separated structure which the users can save into a csv file,open it in excel modify i and then upload it too.
    Irrespective of the method used, you have a slight problem (which you have overlooked). Once the connection is lost, Pagination request from the tabular form do not work anymore, so users can only work on one page(the one which is loaded), same is the case with downloading the report to excel even that needs a request to the server(so the javascript method I mentioned would have this problem again). Saving the complete report together in an HTML page(using a large pagination value) or modifying an excel would probably be the only way then.

  • Can pages input into microsoft dot format document?

    trying to input into a template created in Microsoft word with dot extension

    To clarify:
    Pages Exports to .doc/x files, it does not save to Word templates because it does not use Word files as native files.
    If you want the .dot file to be a .dot file you will need to resave a .doc/x file in Word as a template.
    Peter

  • BSP - TableView overwritten by input fields in same page

    Hi everybody!
    We try to implement a page with a tableview, loading datas in the onCreate with a CallFunction, and then looping on itself to modify the datas before saving in a cookie:
    OnCreate
    OnInitialize <--
    Layout          |
    Processing -
    The tableView is displaying a table "T".
    There is an input field "F" in the table.
    We have a "reset to 0" button in the page affecting the field F of table T.
    The reset is done in OnInputProcessing.
    Problem : when reseting, the TableView displays the input field value, and not 0. Yet, when debugging, I can see that T contains 0, in the Layout execution.
    So I guess the page input fields are overwritting the  table of the tableView.
    Thanks a lot in advance, best regards
    François

    Thanks a lot for your reply
    This is what happens more in details:
    In my page, I have a table with a modifiable column, that maybe I want to reset:
    Let's suppose I have typed "1" in many rows, but aftewards, I want to reset to 0.
    Layout:
            <htmlb:groupBody>
              <%-- TableView with columns description table  --%>
              <htmlb:tableView id              = "tvX"
                               table           = "<%= requisition %>"
                               design          = "ALTERNATING"
                               headerVisible   = "TRUE"
                               keepSelectedRow = "TRUE"
                               visibleRowCount = "15"
                               fillUpEmptyRows = "true"
                               onHeaderClick   = "MyEventHeaderClick"
                               onRowSelection  = "MyEventRowSelection"
                               selectionMode   = "LINEEDIT"
                               width           = "100%"
                               iterator        = "<%= tv_iterator %>" >
                <htmlb:tableViewColumns>
                  <htmlb:tableViewColumn columnName = "BANFN"
                                         title      = "N° Demande d'achat"
                                         sort       = "true" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn columnName = "MENGE_VAL"
                                         title      = "Quantité modifiée"
                                         type       = "INPUT" >
              <htmlb:button id      = "init"
                            text    = "Init"
                            onClick = "onInputProcessing(init)" />
    OnInputProcessing :
    Nothing (so when clicking on "Init", we come back on the same page into OnInitialization)
    OnInitialization:
        loop at requisition into wa_requisition.
          wa_requisition-menge_val = 0.
          modify requisition from wa_requisition.
        endloop.
    The page still displays the "1" whereas I see "0" in debug in the Layout.
    I suppose the tableView is displayed not only from the table "requisition" but from a table corresponding to the inputs in page, which is initialized in the OnCreate part, but not in the On Initialization.
    The iterator is the standard one.
    Do you have an idea?
    Best regards

  • Unable To Pass Input Page Parameter Using PageDef File.

    Dear All,
    I am currently exploring task flows as I dont have that much knowledge in it.
    Here's my use case
    1. I setup a taskflow which has a Method Call and a View Activity in it.
    2. The method call is a default activity which just calls a web service.
    3. After execution, I just wanted to display the result of the method.
    I used input page parameters to pass data between the method call and the view activity.
         (I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
         my self exercise so that I could understand ADF fully );)
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ManageEmployeeTaskflow">
        <view id="viewEmployee">
          <page>/viewEmployee.jsff</page>
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>
        </view>
        <method-call id="EmployeeSetup">
          <method>#{bindings.EmployeeSetup.execute}</method>
          <outcome id="__12">
            <fixed-outcome>viewEmployee</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Problem is, when I display the data. Nothing is being displayed.
    <af:inputText value="#{bindings.name.inputValue}"
                      label="#{'Name'}"/>          I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
    Any idea please?
    Edited by: Marky on May 15, 2011 11:25 PM

    Hi,
    I've been thinking... Is this way of passing parameters not possible?
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>Thanks.

  • Error in check_tableview_all_rows for a page with more than 1 tableview

    Hello Gurus,
    I have already seen few postings on the same issue but still couldnt find solution to my problem.
    I have a page with 3 tableviews. My requirement is to select entries across the 3 tables, change the values and then save all the entried selected across the 3 tableviews and then they should all be unselected again as soon as the save is done.
    I managed to do all but when I am using the method shown below in a loop^of that 3 tables or outside the loop onlmy the 3 rd table which is last field in the loop is getting unselected rest all still appears to be in selected state.
    cl_htmlb_manager=>check_tableview_all_rows(
    rowcount = wa_lines
    request = runtime->server->request
    id = 'table1'
    check = ' ' ).
    Could anyone of you help me on this or let me know if anyof you ever faced such issues.
    Thanks,
    Naveen.

    Hello Raja,
    Thanks for the reply. I am passing on the correct ID.
    Whats the problem am facing is I am using this statement in a loop and then I am passing the corresponding ID ...It works but I guess its kind of behaving like over writing the previous.
    I also tried using the same statement 3 times separately one after the other with each table id and still its happening the same with only the last table getting unselected and rest being the same as selected.
    Thanks for your reply on this as am facing a lot of problem due to this.
    Naveen.

  • Problems with page and event paramters in java portlets

    Hi there!
    Following the documentation in "A primer on Portlet Parameters and events" and "Adding Parameters an Events to Portlets" I tried to develop two portlets (who will be at the same page), one showing some content of a repository (with possibilities to browse throw it) and another showing a sitemap of the repositories whole content, presenting links to the content's pages to be shown in the content portlet.
    So I added:
    1. a page parameter called pageMenuID to identify the current content page to be shown in the content portlet
    2. an input parameter for content portlet called portletMenuID. This input parameter is mapped to the page parameter pageMenuID
    3. an event for content portlet called changeContent with output parameter contentMenuID. When this event rises, "go to page" is set to the current page and the output parameter contentMenuID is mapped to the page parameter pageMenuID.
    4. an event for sitemap portlet called changeContentFromSitemap with output parameter sitemapMenuID. When this event rises, "go to page" is set to the current page and the output parameter sitemapMenuID is mapped to the page parameter pageMenuID.
    This is the code for some constants and a function to build the links in the content portlet, that I want to use:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // portlet input parameter
    private final static String inputParamMenuID = "portletMenuID";
    // event name
    private final static String eventName = EventUtils.eventName("changeContent");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("contentMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    This is the analog code from the sitemap portlet:
    // page parameter defined on "edit page mode" (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    But what actually happens is nothing. I also tried to construct the links with EventUtil.constructEventLink() with the same result. Checking the produced html-code in the browser shows that the same URLs are produced. So I'm of the opinion, that proper event links are created.
    After checking the sent and received request parameters I came to the conclusion, that the event output parameters are never mapped to the page input paramters, as they should. So I changed the code to the following:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    eventParams[1] = new NameValuePair(pageParamMenuID, "" + menuID); <-- Note that the page parameter and not the event output parameter is used here -->
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    Now everything works fine, including addition of persistent private portlet parameters and further input/page/event parameters as well as working with a third portlet with performs a search (and presents the search results as links which change the content in content portlet).
    But this is actually NOT the way it should work: The names of the page parameters are hard-coded in the portlets, so the roles of page designer and portlet developer are not separated in the way it is presented in the documentation. I coulnd't find a way to map the event output parameters to the page parameters to work this out.
    Now I wonder whether there's some known bug in PDK or perhaps a mistake in the documentation or wether I'm just missing doing the right things. I've already read some postings in this forum concerning this problem (for example how to change the query??? but I think I've done all the things that are suggested there (checked the entries in provider.xml and the proper mapping of page parameters, public (input) portlet parameters and event output parameters, also the way I read the received request parameters and build the links)
    Has anybody an idea what's wrong here?
    Best regards
    Torsten

    Hi Amjad,
    thank you very much for time and effort you spent on helping me solving this problem.
    Unfortunately, I think I already tried what you suggest in your answer, but without success. From my experience, the following two calls:
    1.
    <%!
    private static String eventName = "changeContent"
    private static String eventParamID = "menuID"
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    // no addition of eventName in the array
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    return EventUtils.constructEventLink(prr, eventName, eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    2.
    <%!
    private static String eventName = EventUtils.eventName("changeContent");
    private static String eventParamID = EventUtils.eventParameter("menuID");
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    eventParams[0] = new NameValuePair(eventName,"");
    return PortletRendererUtil.constructLink(prr, prr.getRenderContext().getEventURL(), eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    produce identical links. I took the second way because it is easer to add private portlet parameters to the link: just as additional NameValuePairs in the eventParam- Array (name constructed with HttpPortletRendererUtil.portletParameter()), instead of constructing the link "by hand" as mentioned in the javadoc for constructEventLink(). I have to add these private portlet parameters here because when an event from a private parameters owning portlet is fired, the private parameters are lost (in difference to when an event from ANOTHER portlet is sent).
    So I think, when you also look closely to the code snippet I added in the first posting, I made shure that I added the name of the event and not just the event parameters to the link.
    I hope that I understood your answer right. Perhaps you have another idea what might be wrong. Thank you again,
    best regards
    Torsten

  • High Page Reads/Sec on Windows 2008 R2 64-bit running on VMware but very low Real Memory & Page file Usage.

    Hello All,
    Below is the server configuration,
    OS: Windows 2008 R2 Enterprise 64 Bit
    Version: 6.1.7601 Service Pack 1 Build 7601
    CPU: 4 (@ 2.93 GHz, 1 core)
    Memory: 12 GB
    Page file: 12 GB
    1. The actual utilization, be it a 15 minute sample, hourly, weekly etc, the utilization of real memory has never crossed 20% and the page file usage is at 0.1%. For some reason, the Pages/Sec>Limit% counter reports 100% continuously regardless of the
    sampling intervals. Upon further observation, the Page Reads/Sec value is somewhere between 150~450 and Page Input/Sec is somewhere between 800~8000. Does this indicate a performance bottleneck? (I've in the interim asked the Users, App. Owners to see if they
    notice any performance degradation and awaiting response). If this indicates a performance issue, please could someone help list down how to track this down further to which process/memory mapped file is causing it? and what I should go about performing to
    fix this problem please?
    p.s., initially the Security logs were full on this server and since page file is tied to Application, Security and System logs, this was freed up to see if this is causing the high page reads but this doesn't.
    2. If the above does not necessarily indicate a performance problem, please can someone reference few KB articles that confirms this? Also, in this case, will there be any adverse effects if attempting to fine tune a server which is already running fine?
    assuming App. Owners confirm there isn't any performance degradation.
    Thanks in advance.

    Hi,
    Based on the description, we can try to download Server Performance Advisor (SPA) to help further analyze the performance of the server. SPA can generate comprehensive diagnostic reports and charts and provides recommendations to help you quickly analyze
    issues and develop corrective actions.
    Regarding this tool, the following articles can be referred to for more information.
    Microsoft Server Performance Advisor
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn481522.aspx
    Server Performance Advisor (SPA) 3.0
    http://blogs.technet.com/b/windowsserver/archive/2013/03/11/server-performance-advisor-spa-3-0.aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to put an image in the popup help of a page item?

    I am using APEX 2.2. I want to put an image in the help text of a page input item.
    This is the help text:
    Some help text....
    <p><img src="&APP_IMAGES.auto_lov.jpg" /></p>This is rendered as:
    <p><img src="wwv_flow_file_mgr.get_file?p_security_group_id=0&p_flow_id=103&p_fname=auto_lov.jpg" /></p>As you can see, the application id is not returned.
    If I put exactly the same text in a html region, the image is correctly displayed:
    <p><img src="wwv_flow_file_mgr.get_file?p_security_group_id=844129086577364&p_flow_id=103&p_fname=auto_lov.jpg" />So, is it possible at all to put in image in the popup help text of a page item?

    I solved it by putting the jpg file in an images directory on the web server instead of in the database. Not really what I want, but it works.
    <p><img src="&IMAGE_PREFIX./apps/auto_lov.jpg" /></p>

  • How do I stop Pages from opening when I log back in? Login items are not ticked.

    Prior to Yosemite I had trouble with Pages where it closed down the app when I closed a document.
    I was given a command line to put in the 'Terminal' to deactivate Pages. This worked.
    That command was -  -g NSDisableAutomaticTermination -bool TRUE/False.   But that isn't recognised any longer when I reverse the True/False.
    But I now don't want Pages to open automatically when I Log in.
    The box is not ticked for Pages in System Preferences- Users- Login Items.

    It needs to be removed from the list, not just unticked.
    (124669)

  • Carousel don't show images, only the page name and a "read more" link

    Good morning.
      I'm trying to get a carousel in my page. I already set a image to one page and on my carousel component, I selected that page.
      When I see the carousel, it shows me the page inputed name and a "read more" link instead of the image.
      Can anyone tell me what's wrong or missed?
      Heres a print screen:
    Thanks.

    What did I do to correct this problem:
       When I create a page renderer component, the same automatically creates a jsp file, with the same name as the component. In my Geometrixx copy sites, there's always a "content.jsp" file in the components, despite of the one with the same name of the component. So, instead of build my pages in the componentname.jsp, i'm doing this is these content.jsp. Just doing this, the carroussel works perfectly. For sure is something that I miss in my own jsp files, but even with the same code (copy > paste), in my jsp the carroussel don't work. Anyway, now I can use it.

Maybe you are looking for

  • HP Officejet Pro 8600 Wireless - Where are the printing shortcuts?????

    HP Officejet Pro 8600 Wireless Printer Windows 7 Where are the printing shortcuts????? I just replaced a canon printer that died that had the concept of PROFILES, so that I could setup a PROFILE for each type of printing, i.e. 4X6 photos/documents/5X

  • What to do with js, css files

    I hope this question is appropriate for this forum because I have scratched my head for hrs. I am in the mission of finding a simple drop down menu and came across to this site http://css-tricks.com/simple-jquery-dropdowns/ It uses minimum jquery and

  • Importing Data Clusters

    Dear All, How do I import data clusters from a database table to view the data it contains. I know, or at least I think, I have to use the IMPORT command which has the following syntax: IMPORT parameter_list FROM medium [conversion_options]. But how

  • FDM Like Mapping Script for Account

    I am using the following script as a "Like" map for the Account. The import file has account in this format: 123456-Description. I would like to remove everything after the "-" and set the result to just the account number; however, I keep getting an

  • Remove special characters in xml

    hi all, i have a problem with special char. in my data few records have special char like ' or " because of that xml file gives error. let me know the solution to this . thanks in advance Edited by: 836924 on Mar 8, 2011 1:41 AM