How to refresh a "SSWA jsp function" ?

Dear all:
I change sth in a package "HR_LOA_SS" (the package is "SSWA jsp function" ). What steps should I do to relink the package than make it available?
Regards
Edited by: Terry Chen on 2009/12/14 下午 11:06

Hi,
Submit "Compile Security" concurrent program from System Administrator responsibility and check then. Bouncing Apache is not required, but you may need to do so in case you cannot see the updated code.
Regards,
Hussein

Similar Messages

  • How to make a "SSWA JSP Function"  as query Only in Oracle 11i or R12

    Please someone help me in making a SSWA JSP Page as read only..
    For "forms" we use a parameter QUERY_ONLY="YES",what is the procedure for making a JSP as read only?

    All the enterable fields of an OA Framework Page can be made Read Only via personalization. Also you can disable/hide the transaction buttons. This way the page would become query only.

  • How to use sswa jsp function in personalization?

    I have a question. When I add a custom item of type link in a region using personalization, how can i access the click of the link as an event in that region';s controller.
    Also if I want to use the "destination function" field of the new Link created with an existing seeded SSWA JSP function, how do i pass url parameter values to this function.
    The function name is IMC_NG_PER_SOURCE_VIEW and the HTML call is OA.jsp?page=/oracle/apps/imc/ocong/mosr/webui/ImcPerMosrViewPage&ImcPartyId={@ImcPartyId}&ImcPartyName={@ImcPartyName}&ImcMainPartyId={@ImcMainPartyId}
    Now when I click the link on the Page the HTML call is made as is, i.e. the target Page ImcPerMosrViewPage gets the value for ImcPartyId = "{@ImcPartyId}" instead of the real Party ID.
    Whereas on the same Page there is a side bar Menu, and one of the Menu item makes a call to the same sswa jsp function and when we click the menu item the target page is rendered successfully.
    So my question is how do I make the link on the region to work the same way as the Menu item.
    It would be great of you could share some tips to resolve this issue of mine.
    Many Thanks!
    Jay

    Just set the fire Action property of that link and capture that in controller PFR.
    Thanks
    --Anil                                                                                                                                                                                                           

  • How to refresh image component JSP?

    hi i am using Netbeans 6.01 and developing a web project.
    I need to do some manipulation on an image according to input and save the image at address in the project/build/resources/image with the same name when user press a button but sometimes page refreshes the image and sometimes it does not refresh.I don't know what to do
    thank you for your interesting and help if u need more details about the problem please just ask me.

    I have just discovered something this is not about the code that i wrote
    double x=0;
    while(x<=1000000000)
    x++;
    super.init();
    init();
    i delete this code when i reload page once after that all of my requests works properly.I mean when i press reload button of the browser once then page works and image is resfreshes.
    Now i can solve the issue if anybody can tell me how to reload a page when i press a button
    i don't wanna use the javascript onclick() window.location.reload().
    Edited by: maniacneron on Dec 24, 2008 2:34 PM

  • How to refresh frame1.jsp from frame2.jsp?

    Hi,
    I have main.jsp that holds frameset that contains "frame1.jsp" and "frame3.jsp".
    on submit at "frame3.jsp" it goes to "frame2.jsp", now I want to refresh "frame1.jsp"
    p.s.
    I don't mind to refresh the "main.jsp", I guess that will refresh the frames inside him too - include "frame1.jsp".
    BUT, how can I do it?

    Hi,
    this seems to be a HTML/JavaScript problem, not JSP related.
    The file frame2.jsp could refresh frame1.jsp using "onLoad" on the <body> tag.
    You could also do this before loading frame2.jsp, while pressing the submit button. Instead of using a submit buton you could use a JavaScript function that would submit the form and reload another frame.
    Good Luck!
    PS: If this isn't enough help, plese post the contents of main.jsp (the frameset) so you can get some real code back.

  • How to use session variable in JSP function  & How to use both JSP  Servlet

    Hi,
    I am new to JSP and servlets
    Still I am devloping a website in JSP. I am not mixing JSP with servlets, but I do create Java files for bean, logic and database works.
    I try to keep the hard coding part out of JSP.
    I dont how to use both JSP and Servlets in combination.
    Hence If needed I write some functions in JSP.
    but it gives me error
    +<%! public void abc()+
    +{+
    int intUserId = Integer.valueOf((Integer) session.getAttribute("MySession_UserID"));
    +}+
    +%>+
    Saying cannot find symbol session
    1) So can u please tell how can I access session variables within JSP function
    2) And also give me some links/tutorials about useing both JSP and Servlets in combination.
    Thanks
    Venkat

    The application architecture when you use Servlets and JSP in a standard MVC pattern is explained here (under the heading "Integrating Servlets and JSP Pages") and here ...

  • How to create SSWA plsql function in Oracle Apps of HTML call .html

    Hello Team,
    I am working on Oracle Apps 11i (11.5.10.2)
    I want to know , what is the process to create a , "SSWA plsql function" in Oracle Apps of type "HTML" and html call tab.
    How to create that Function and how to attach the PL/SQL code to these functions.
    How it works.
    Please help me to understand this concept from basics.
    Kind Regards

    Hi;
    Please review:
    how to setup a forms function in R12 to launch an URL?
    http://www.trutek.com/serendipity/index.php?/archives/15-An-Example-of-How-to-Create-Custom-Functions,-Menus,-and-Responsibilities.html
    Regard
    Helios

  • How to call JSP function from onClick Action

    Hi
    I am trying to call a jsp function, onclick of a checkbox. This jsp function will in turn connect to the database and gets related information. I dont want to submit the data inorder to avoid posting and getting of huge data. Is there a simple way to call a jsp function from the users onClick action.
    Appreciate anyones help!!!
    Thanks alot
    Joe

    So, i have to submit the form to call the jsp function. Basically yes.
    Sorry for the shortness of the answer, but I am pretty sure we have had this conversation (or one very much like it) before.
    Java/JSP runs on the server, generates an html page, and stops running.
    Javascript runs on the client in the web browser, once the page is loaded.
    You cannot call java code from javascript.
    The only way you can run java code again is to make a request - either by submitting a form, or clicking a link.
    If you don't want to refresh the current page, you CAN get tricky with javascript and multiple frames. You submit to another frame, and when it loads, it uses javascript onload event to call back and modify the main frame. Its tricky to get going, and very easy to break, so I don't normally recommend it.
    Good luck,
    evnafets

  • HOW DO I STOP MY JSP PAGE FROM INSERTING DATA IN DATABASE EACH TIME REFRESH

    Hi,
    HOW DO I STOP MY JSP PAGE FROM INSERTING DATA IN DATABASE EACH TIME REFRESH?
    Thanks

    emekaco wrote:
    Hi,
    HOW DO I STOP MY JSP PAGE FROM INSERTING DATA IN DATABASE EACH TIME REFRESH?
    ThanksSTOP SHOUTING!
    now, while displaying the form generate some random number, or take the current time in millis or whatever. Put that number in a hidden field. Insert that unique number along with the real data into the database, but before you do check if the number already exists. If it does you can be pretty sure this is a resubmit of the same data, so don't allow it. This is one way of many to prevent resubmission of existing data.
    A good way to prevent a refresh from resubmitting altogether is to do a redirect to a result page right after you deal with the POST request. When the user presses refresh then, he/she will refresh the redirect and not the form submit.

  • How to call a jsp function on a java script event 'onchange'

    hi all,
    i m in trouble, iwant to call a jsp function on occurance
    of a javascript event onchange
    actully i want to refresh my one text field at every change
    in a select option of a form
    plz tel me any othr method if i m wrong.
    thnx in adv.

    as the form submition is a POST operation u can use some
    if{} else{} construct to handle this. u can check the value of some POST variable to identify whether its the first loading or refresh. got it
    regards
    aleens

  • Refresh dataTable for Search function

    Hi,
    I have a page that contains a dataTable and search function for the dataTable. Basically once i clicked into that page it will display the current day records for me. At the below of the dataTable, it have a search function. So once i click the search button with my search criteria, how i refresh my dataTable to display the records?
    My dataTable already bind with the current day
    <h:dataTable id="outbound" value="#{Outbound.current}" var="sms" bgcolor="#F1F1F1" border="1" cellpadding="0" cellspacing="0" first="0" rows="10" width="100%" columnClasses="outcol1,outcol2,outcol3">
                                        <h:column>
                                            <f:facet name="header">
                                                <h:outputText value="Date-In" />
                                            </f:facet>
                                             <h:outputText value="#{sms.datein}" /> 
                                        </h:column>
                                        <h:column>
                                            <f:facet name="header">
                                                <h:outputText value="SMS Date" />
                                            </f:facet>
                                             <h:outputText value="#{sms.smsdate}" /> 
                                        </h:column>
                                        <h:column>
                                            <f:facet name="header">
                                                <h:outputText value="Del Date" />
                                            </f:facet>
                                             <h:outputText value="#{sms.dndate}" /> 
                                        </h:column>
                                        <h:column>
    </h:dataTable>So how to refresh the dataTable? Unless I do a rebind where I have one dataTable is for current day and another one is for search?
    Thanks.

    adrianclw wrote:
    Yup. I would like to re-render my dataTable after i clicked Search button. So the dataTable will display my search result.
    So existing dataTable unable to do it? Currently I'm using Apache Tomahawk for my dataTable.
    If you want to re-render the datatable without submitting the page, you will have to use Ajax. If you can allow submitting of page, then just change(refresh) the list in the backing bean that you have value-bound to the h:datatable in jsp.
    Another thing, I'm not sure i'm doing it correct or not. Now my dataTable is bind with the getCurrentDay function. So can i re-render it? Will it re-render and getting the same output since it already tied with current day function.
    See the above comment.

  • How to open a new JSP as a Popup

    Hello everybody,
    I have quite some experience working with java web dynpros, however I now have a requirement to work on an existing JSP page to add some new functionality, and I'm  a little bit lost since this is the first time I work with JSPs in SAP portal.
    What I need to do is that when an user clicks on a button on page1.jsp, a new jsp (that didn't exist before, since I've just created it) called page2.jsp has to open as a popup with a selection list. After the user selects a value from this list, this value has to be sent to an input field in page1.jsp.
    I've can do this in regular JSPs running on tomcat, with no problems ;).... However, when I try to do this in SAP portal, I get an error and the following exception in the logs, when I click on the button in page1.jsp:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: page2.jsp
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:222)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)
    I'm not sure what I have to do to fix this... do I need to ask the portal guys to create a new iview for the new jsp and treat it as a new app? Or is there a simplier solution?
    Any help will be greatly appreciated, and of course points awarded accordingly
    Cheers!

    Hi Ventsi,
    Sure, it is:
    In page1.jsp I use this code to open the pop-up:
    <td>
    <input type="text" name="details" value="">
    </td>
    <td align="center">
    <input type="button" name="choice"
    onClientClick="window.open('page2.jsp','popuppage','width=850,toolbar=1,
    resizable=1,scrollbars=yes,height=700,top=100,left=100');" value="Open">
    </td>
    In page2.jsp I use this code:
    I have this javascript function for passing the value to page1.jsp:
        function setValue (s){
            window.opener.document.getElementById('details').value = s;
            window.close();
    that i call using this line:
    javascript:window.setValue('test')
    and this is the code of the portalapp.xml, but I'm not sure if there's anything missing or wrong here:
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="Page1">
          <component-config>
            <property name="ClassName" value="com.test.firstapp"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/page1.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
          </component-config>
          <component-profile>
            <property name="SAP_MANDANT" value=""/>
            <property name="SAP_USER" value=""/>
            <property name="SAP_PASSWORD" value=""/>
            <property name="SAP_LANGUAGE" value=""/>
            <property name="SAP_HOST" value=""/>
            <property name="SAP_SYSTEM_NUMBER" value=""/>    
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    Please let me know if you need more information regarding the code.
    Cheers!
    Edited by: amore82 on Apr 1, 2010 8:18 PM

  • How to Refresh a WAD Template

    Hi...i have a WAD template wih 6 queries on it....i want to know how to refresh all the template ...or i have to refresh every query one by one...i try to put a command button but it appears inactive and i dont konw how to actiavte it...
    Regards

    Hi,
    Please try with CMD: REFRESH_DATA. You can find this under 'Commands for Planning Application'.
    Otherwise, you can take Action as : SCRIPT_FUNCTION and give "javascript:location.reload(true)" under Script Function.
    Regards,
    -Vj

  • How to Refresh a Page once saved to database in ADF.

    Hi,
    I created a JSF page using project template as "JSF,ADF,business components".
    There is a List of values displayed in a dropdown list,
    User can create new value and once it is saved to the database it should reflect in the list of values.But it is not displaying in the LOV and it is happening only when i close that page and open a new one.
    Can u please tell me how to refresh a page without closing the current page once save button is clicked.
    Thank you,
    Harika.

    Mini wrote:
    Hi Hari,
    Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
    However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
    Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
    The refresh has to be only once if the page is loaded.
    or is it possible to Refresh the page based on the application page item through DA
    Thanks
    Brgds,
    MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
    <li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
    <li> If you directly log-in to APEX (not via EBS), do you still face this issue?
    Regards,
    Hari

  • How to refresh after delete the records in ALV report ?

    Hi Friends,
    How to refresh after delete the records in ALV report.
    I am deleting records in ALV report .
    After successful delete the screen should refresh.
    u201C Deleted records should not appear in the screen u201C.
    Please guide me.
    Regards,
    Subash

    Hi subhash,
    FORM user_command USING r_ucomm LIKE sy-ucomm      rs_selfield TYPE slis_selfield.
    WHEN 'BACK'.
    Refresh the internal table from the ALV grid
          PERFORM update_alv_tab.
    ENDFORM.                    "user_command
    FORM update_alv_tab .
      DATA :  e_grid TYPE REF TO cl_gui_alv_grid.
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = e_grid.
      CALL METHOD e_grid->check_changed_data.
      "update_alv_tab
      CALL METHOD e_grid->refresh_table_display.
    ENDFORM.                    " UPDATE_ALV_TAB
    Then see in Debug mode is it updating or not..
    Please confirm .
    And please paste the code if you can.
    Regards.

Maybe you are looking for