Displaying Refresh, Edit Page, Customize Page buttons from Banner Template

I have built a customized banner template which displays button images for refresh, edit page, and customize page. The functions all work well, but these functions should not be invisible to the user when they do not have the proper privileges
For Example, when page caching is enabled, I need to see the Refresh Link (icon), or when the user cannot edit the page, then the icon for page editing should not be displayed.
What are the API calls that I can make from a banner template to decide if the page is cached or not?
How do I tell whether the user had edit page privilege? Customize Page?
null

All these solutions offered above are correct related to the refresh of the page, but it seems to be other problem, it seems that when the Save button is pressed, the commit is done(after I press Save I checked the database and the row is updated), but the transaction is not ended, it seems to get stuck, this is the reason why a refresh is not done on the page, only when Cancel is pressed, the transaction finishes and the page refreshes.
Is this possible for the inline popup, not to end the transaction even if on the task flow I have a task flow return for Save, where at the End Transaction property I have Commit?
I have changed the task flow by setting Behaviour to <No Controler Transaction>, for the task flow returns I changed End Transaction from Commit/Rollback to none and added on the jspx page of the inline popup the Save and Cancel buttons, with actionListener="#{bindings.Commit/Rollback.execute}" but the problem remains the same.
I suppose that it's a problem with the way I use the VO instance in the popup. Do you have any idea in what situations this can happen or did you encounter similar situations?
Thanks,
Georgiana

Similar Messages

  • Email button from Order template conformation page.

    hi,
    I got new requirement.in that i have to give give email button on Order template conformation page.
    if i click on email button new popup page will come and it will contain from email id,CC and messege.
    and i have to add entire item list in email.
    please guide me something for this requirement.
    Thanks in advance,
    jayesh talreja

    Hi Jayesh,
    Its an interesting scenario .Anyways to add an email link to the confirm.jsp all you need to do is to add the below javascript and html to confirm.jsp
    function email() {
               var url='<isa:webappsURL name="/ecall/customer/interaction0.do?interactionType=email"/>';
               var spd=window.open(url,"compareWindow","menubar=no,      directories=no, height=600 width=750, scrollbars=yes, status=no, toolbar=no, top=84, left=212");
               spd.focus();
    <tr>
         <td class="value">
            <a hre="javascript:email()"><b><isa:translate key="cic.prompt.index.mail"/></b></a>
         </td>
    </tr>
    Adding these lines will you a link for email on confirm.jsp on clicking on which you will get a new window with the Cc and all
    the required fields and it is used for sending the mails. But your issue for sending the item data from confirm page is still left.
    I will also try to find out the easiest way to send this data.
    Regards,
    Arshi
    Edited by: Arshi Arshi on Oct 6, 2009 3:15 PM

  • How to display and edit the clob datatype column from Data base

    Hi ,
    I have a requiremsnt as below
    1) One Table having some columns with CLOB data type along with varchar columns
    2) need to display the data from DB in search screen and need to be edited clob column in edit screen
    I created EO and VO with that Table and how to display the clob value into the input box for editing.
    using Jdev 11.1.1.5.0 version.
    Can you please help on this.
    THanks & REgards,
    Madhu

    Hi,
    If you are using an inputText component to display a Character Large Object (CLOB), then you will need to create a custom converter that converts the CLOB to a String.
    For custom convertor refer below link,
    http://docs.oracle.com/cd/E2438201/web.1112/e16181/af_validate.htm#BABGIEDH
    (section7.4 Creating Custom JSF Converters)
    Thanks,
    Santosh M E

  • How do I display Canvas Graphic image (Not Iconic button) from jar file

    Hi all,
    I am currently using Forms 10g.
    I have gone through the tutorials on how to add Button Icons into Jar files for web enables forms .....so far so good
    This however does not explain what I actually want to do... since "graphic images are by nature embeded in the for rather than referenced ......so here goes ..
    I have a forms 10g application where all the individual form modules/canvases display a big banner (covering top 20% of the screen). This was done by importing the image straight unto the content canvases. As you know this now becomes a "graphic Image" now embeded(& not referenced by file name) on the canvas. Also bear in mind that this is actually different from an "Image Item" which is a block object.
    I dont know if this is possible, but what steps do i follow to make the image part of a jar file as opposed to my current situation. Please let me know if possible or not so I stop waisting development time looking for answers :)
    Another question is how do i make this jar file a library object so that we can vary the image as we wish
    NB: one other trick which i can think of is to create a giant push button across the screen to display the image and then stick it in a jar file !
    Cheers
    css_jay99

    I don't know about embedded images imported in from the builder, but there is a way to use READ_IMAGE_FILE into a BLOCK.IMAGE_ITEM where the images are all in a jar file stored on the OAS.
    Metalink Note:137397.1 explains it in details.
    Tony

  • Unable to display Refreshed editable alv

    hi
    I have developed editable alv which contains 7 colums. the final column is the addition of 4th n 5th cplumn. when i refresh after changing the values, the final column is not changing. but while debugging the changed values are reflected in internal table but its reflected in alv.
    help me out

    in the user_comand form you have to put rs_selfield-refresh = 'X'.
    like this:
    *& Form user_comand
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    rs_selfield-refresh = 'X'.

  • Footer content only on the second page of output document from rtf template

    I have a requirement for which my output document should contain signature section (possibly footer ) that needs to be only in second page of output document. As you see in the template has xml data that gets passed and the length of the document is based on amount of data that gets passed. Irrespective of the length of the document. Only and Only on second page of the output I should see the signature section. I am not able to use native Word session break etc.
    Is there a way to use XDO api etc to accomplish this ?

    probably a difference in height between the 2 columns of the left and of the right (check paragraph and character formats, cell margins, borders, etc.)

  • Newbie question: How do I cange text on the buttons from a template?

    I don't mind when it takes a while to figure out stuff that's really complicated, but it kills me when I can't get something that should be (and I'm sure is) easy. I have my first downtime since getting my Final Cuts bundle and am trying to figure out DVDSP using a menu template to start. I've managed to import all my assets, manage the navigation, change the title, add a slideshow, do looping and linking, and everything plays fine in the simulator. What I can't do is change the names from "Button 1" etc to appropriate names, ie "contact". I'm sure it's something really simple, but I'm not finding it. Any help out there?
    G5 Quad   Mac OS X (10.4.5)  

    Oh, inspector - text. OK, second time I've posted a question here after working forever on it then found it as soon as I posted.
    G5 Quad   Mac OS X (10.4.5)  

  • Customize page

    since the customize page is provided by oracle portal, is there a way to edit the customize page with my own tools such as JAVA or JSP (or servlet) or is there existing another oracle portal to edit the customize page?

    Yes, you could do this. First set the banner on and display the page. Copy the link location on customize link. Then create your HTML portlet which includes the link. Then turn the banner off again. The downside is that you do it for each page individually.
    Moving forward, we are adding page template capabilities which will make this a little easier and more robust.

  • How to remove the EDIT button from Overview Page

    Hi,
    I have a overview page for Service Request(SRQM_INCIDENT_H - component). Now, I want to remove the EDIT button from the overview page and want to place it for each assignment block.
    I have seen the there is concept calles VIEW_GROUP_CONTEXT. However, I am not sure how exactly I need to apply that and what code and where I need to write.
    Please help me.
    Thanks,
    Sandeep

    Hello Sandeep,
    we removed in our system a lot of the standard buttons in this overview page like this:
    METHOD in IMPL-Class: IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS
    Coding example:
    CALL METHOD super->if_bsp_wd_toolbar_callback~get_buttons
        RECEIVING
          rt_buttons = lt_buttons.
      CLEAR rt_buttons.
    * Alle Buttons außer die genannten werden an RT_Buttons angehängt und damit angezeigt.
      LOOP AT lt_buttons INTO wa_buttons.
        CASE wa_buttons-on_click.
          WHEN 'NEW_FROM_TEMPLATE' OR 'DIV_CREATE_COPY' OR 'AUTO_COMPLETE' OR 'AUTO_SUGGEST_PROBLEM'
                OR 'AUTO_SREACH_KNOWART' OR 'SENDEMAIL' OR 'PRINT_PREVIEW' OR 'OUTPUT' OR 'DISPLAY_OBJ_REL' .
    *     Do nothing
          WHEN OTHERS.
            APPEND wa_buttons TO rt_buttons.
        ENDCASE.
      ENDLOOP.
    Kind regards
    Manfred

  • How to remove buttons from standard check in page

    Hi,
    Can any one tell me how to hide buttons from the standard check in page and re-arrange field in UCM. I want to just display Check In, Reset and Quick Help.
    Thanks,
    Abhijit
    Edited by: AbhijijitPr on Sep 6, 2010 2:28 PM

    Hey Tim,
    Even i am facing a similar situation but i have to hide the field on the selection of an option list
    How can i do it through profile and rules?
    Can it be done by using custom includes in the fields?
    if yes how?
    Thanks,

  • Help in retrieveing Blob from Oracle db and display it on a web page

    I am using Sun Studio creator2 and this is what I want to achieve:
    When I click on "Load" button, the image is displayed on the web page(the application is a web application)
    I have dropped the "image" object from the pallette
    Having the database image displayed in the image field, when I enter the image ?Id? and click on the ?Load? button.
    Here is my piece of code:
    public String loadButton_action() {
    HttpServletRequest request = null;
    HttpServletResponse response = null;
    String connectionURL = "jdbc:oracle:thin:@//localhost:1521/cdecentre1";;
    /*declare a resultSet that works as a table resulted by execute a specified
    sql query. */
    ResultSet rs = null;
    // Declare statement.
    PreparedStatement psmnt = null;
    // declare InputStream object to store binary stream of given image.
    InputStream sImage;
    Connection connection = null;
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String dbName = "cdecentre1";
    String userName = "christian";
    String password = "cc";
    String theid = (String)idField.getValue(); //reading the image id
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    connection = DriverManager.getConnection(connectionURL, userName, password);
    /* prepareStatement() is used for create statement object that is
    used for sending sql statements to the specified database. */
    psmnt = connection.prepareStatement("SELECT image FROM CHRISTIAN.PICTURES WHERE id = ?");
    psmnt.setString(1, theid);
    rs = psmnt.executeQuery();
    if(rs.next()) {
    byte[] bytearray = new byte[1048576];
    int size=0;
    sImage = rs.getBinaryStream(1);
    //response.reset();
    response.setContentType("image/jpeg");
    while((size=sImage.read(bytearray))!= -1 ){
    response.getOutputStream().write(bytearray,0,size);
    rs.close();
    psmnt.close();
    connection.close(); } }
    } catch(Exception ex){
    System.out.println("error :"+ex);
    return null; }
    At the moment, when I click on the ?Load? button, the image is not present in the image field.
    I am only obtaining a message inside the message component.
    What should I do to have the image displayed in on the web page?
    Your help will be highly appreciated.

    A comprehensive dissertation from Javaworld: http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
    Published 05/05/2000, ergo Java 1.0/1 era... still a valid explanation of the problem and the fundamental solution, but take the code (esp ImageIO) from here
    http://blog.codebeach.com/2008/02/creating-images-in-java-servlet.html
       1. package com.codebeach.servlet; 
       2.  
       3. import java.io.*; 
       4. import javax.servlet.*; 
       5. import javax.servlet.http.*; 
       6. import java.awt.*; 
       7. import java.awt.image.*; 
       8. import javax.imageio.*; 
       9.  
      10. public class ImageServlet extends HttpServlet 
      11. { 
      12.     public void doGet(HttpServletRequest req, HttpServletResponse res) 
      13.     { 
      14.         //Set the mime type of the image 
      15.         res.setContentType("image/jpeg"); 
      16.  
      17.         try 
      18.         { 
      19.             Create an image 200 x 200 
      20.             BufferedImage bufferedImage = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB); 
      21.  
      22.             //Draw an oval 
      23.             Graphics g = bufferedImage.getGraphics(); 
      24.             g.setColor(Color.blue); 
      25.             g.fillOval(0, 0, 199,199); 
      26.  
      27.             Free graphic resources 
      28.             g.dispose(); 
      29.  
      30.             //Write the image as a jpg 
      31.             ImageIO.write(bufferedImage, "jpg", res.getOutputStream()); 
                        ////////////// NICE !!!! //////////////
      32.         } 
      33.         catch (IOException ioe) 
      34.         { 
      35.            e.printStackTrace();
      36.         } 
      37.     } 
      38. }  Edited by: corlettk on 19/01/2009 23:22 ~~ {color:#FF0000}Never{color} eat an exception!

  • How to Navigate from Graph page to Customization page?

    Hi All
    If i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed?
    Also in that customization page i need to make changes in the SQL statement for graph also the type of graph( Pie or Bar).... when i provide this changes it needs to be saved. And when i save it has to provide me the new graph according to the edited SQL Statement...
    How to achieve this?
    Can anyone pls pls help me out in resolving this issue???
    Ganesh

    If i need to navigate from Graphs page to customization page on clicking the graph, What are the steps to be followed? Destination URI
    You can programmatically define a destination URI on a graph, that allows users to drill down to additional information. If the Destination URI property is defined on a graph, the URI specified is used as the drill-down URL. The Destination URI can be an absolute URL or a relative URL to an OA Framework page. The group and series values for each data point are appended to the specified destination URI, so that the resulting URL is specifically associated to a particular data point plotted in the graph. The group and series values can be obtained by the destination page using the parameters OAGgroup and OAGseries.
    For the drill down feature to work, you must also set the Display Data Bubble Text property on the graph to True. Enabling this property generates an image map, which is required for the drill-down feature to work. When a user selects any data point in the graph, the specified URL is launched.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • Problems displaying and editing long documents on small pages sizes

    Problems displaying and editing long documents on small page sizes
    I read this problem have called with the helpdesk they didn't know the solution but how can I find the solution:
    In Pages 09, I can't scroll down andand click on text to edit it!! All the mouse will do is draw gray transparentboxes and not place the cursor in the text. Again, like the display problem, itdoesn't happen at the beginning of the doc, but starts showing up around 50 to60 pages in ... I can't select text at the bottom of pages ... at 50 pages, thecursor can be clicked into anyplace on a page. Further and further down, the unselectablearea on any particular page creeps up from the bottom line by line: at 175pages in the unselectable area is 12 lines high; at 360 pages in theunselectable area is 25 lines high. and finally at around 440 pages down, Icannot place the cursor anywhere on any page all the way to the end of thedocument.
    I have Page versie 4.1

    What you get was described here several times.
    As we are end users like you, we can't change the app behavior.
    Under 10.6.8 you have the buttons allowing you to scroll one line up or one line down.
    Under Lion they are no longer available.
    Yvan KOENIG (VALLAURIS, France) jeudi 18 août 2011 17:53:12
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I create a navigation bar in the template so I can change the down state of a button on a page made from the template in DW3?

    We're creating pages from a template in DW3. The template includes a header, footer and a navigation bar. We've made the navigation bar an editable region so that we can change the down state of the buttons on pages where it is required. However, when we make a new page from the template and try to change the behaviors of the buttons in the navigation bar it will not allow us to make those changes. 

    Have you considered using CSS styled text/list menus instead of image rollovers.  It isn't hard really and it's actually a much better choice for   web accessibility and for search engines to find and follow your links.   Here are some links to several CSS menu systems you can try:
    CSS Express Drop-Down Menus (tutorial)
    http://www.projectseven.com/tutorials/navigation/auto_hide/
    CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus  (download)
    http://www.highdots.com/css-tab-designer/
    List-O-Rama  (DW Extension)
    http://www.dmxzone.com/go?5618
    CSS  Menu Maker (On-Line Menu Generator)
    http://www.cssmenumaker.com/
    Pop-Menu  Magic2 by PVII (DW extension purchase)
    http://www.projectseven.com/products/menusystems/pmm2/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How do I refresh a chart in Pages copied from Numbers?

    How do I refresh a chart in Pages (v.5) copied from Numbers (v.3)?  After updating and saving the chart in Numbers, I get no "refresh" button in Pages when I click on the chart.  Or has this very useful feature been eliminated?

    It isn't as easy as it should be.  Here is a way to get a good copy of it:
    Print the page that has the chart but choose  "Open PDF in Preview" instead of sending it to your printer.
    In Preview, using the rectangular selection tool, select the chart and whatever other elements you might want to include (title, legend, anything else nearby).
    Copy
    New from Clipboard to create a new document from it. Or you can paste it in another app.
    This should give you an exact copy of what you had in Numbers and it will not be pixelated.

Maybe you are looking for

  • I want re-format my PC, how do I back up my itunes before I format. The same PC is also used to back-up my iPhone4

    Hi all, Hope you can help. I have a desktop PC which I want to reformat and reinstall Windows XP because I think I have a virus on it, I have also had the PC for 5 years and never done this opperation but I feel I should now. I have also backed up my

  • How to delete more than one photo at a time

    Apparently there is no longer an iPhoto trash. So you don't drag photos to the trash. Instead you hit the delete key and then a second click on delete when you get the message "Are you sure you want to delete this photo." Has anyone found a way to de

  • Balance in transaction currency in J1IS

    I have did migo with 101 mov type and later, client has returned the same material and qty via 122. In this, I have did J1IS , where i'm getting an error msge "Balance in transaction currency" Balance in transaction currency Message no. F5702 Diagnos

  • Post Moved Cannot-connect-through-anonymous-prox...

    Post moved to Other BB Queries  http://community.bt.com/t5/Other-BB-Queries/Cannot-connect-through-anonymous-proxy/td-p/650446 If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers

  • MacBook won't start in any kind of mode

    Hello, My MacBook Pro won't start up in any mode (recovery, internet recovery, safe mode, new external HD) This is wat happened until now: - I was doing an update for the newest version of iOS In the Mac App Store. - While the System was downloading