Help! dynamic page content - how to handle?

Hi !
How do I handle dynamic page content, where for example my jsp page does a post and updates some data, and I dont want the user to use "back" button to go back onto it.
Hints appreciated
Cheers
Steve

Yes, you can create links for columns in the sql query of a portal report using htf.anchor/htf.anchor2 or just put in your own html code between single quotes. See the [PL/SQL Web Toolkit|http://download-west.oracle.com/docs/cd/B14099_10/web.1012/b15896/toc.htm] for info on the HTF package. There is also a portal Link component which can be created separately and then selected for use on a column in a portal report.

Similar Messages

  • How to display dynamic page content in an external application (MS Word)?

    I have a portal that generates a CV from info stored by various forms. The CV displays fine in a dynamic page, but when I add javascript to launch MS Word with a call to the dynamic page portlet, only the hard coded html displays - nothing between the <ORACLE> tags is loaded.
    I had the idea of updating the dynamic page with hard coded html prior to each export - but I can't find where the dynamic page definition is stored in the database.
    Any ideas/better solutions out there?

    dynamic page:
    <ORACLE>
    DECLARE
    theUser varchar2(30) := portal30.COE_GET_CV_PERSON;
    v_output varchar2(6) := portal30.COE_GET_CV_OUTPUT;
    v_no number;
    v_url varchar2(500):= 'http://oraclecoedb.asiapacific.cgey.com:7779/pls/portal30/PORTAL30.wwv_component_control.run_as_portlet?p_module_id=1934976747';
    BEGIN
    IF v_output = 'WORD' THEN htp.script('startWord('||''''||v_url||''''||');','Javascript');
    ELSE null;
    etc ...
    javascript:
    <script language="JavaScript">
    function startWord(strFile)
    var myApp = new ActiveXObject("Word.Application");
    if (myApp != null)
    myApp.Visible = true;
    myApp.Documents.Open(strFile);
    </script>

  • Need Help Centering Page Content

    Hi, I have added a white box behind my main page content but the content is not centered within the box. It seems to be on the left. There are a number of different style sheets and I need to find out which style is affecting how the content is positioned.
    1. In this link below I’m not sure what is making the content go to the “left”. I need all of the thumbnails to be centered in the white area. That is what I need to find out first. What is the best way to find what is causing the thumbnails to go to the left? Is there an easy way to narrow down what is causing the thumbnails to go to the left?
    If I select “ul.work li” I notice it is set to (float: left). If I change it to (float: right) the thumbnails all move to the right. but if I set it to (float: none) the thumbnails all line up vertically. Not what I want.
    http://www.buzzfx.ca/2d_character.html
    In the homepage I also need to have all of the content centered.
    http://www.buzzfx.ca
    2. Also, how would I move the white box up to align with (touch the bottom) of the grey header?

    Thanks John, I managed to watch a good tutorial that set me straight.
    So back to the initial question. I am trying to center the content in the body but it seems to be aligned "left". Using Firebug, I think I have found the part that needs changing.
    1. At this link: http://www.buzzfx.ca/2d_character.html
    2. I hovered over the thumbnails until I found: <ul class="work fullwork clearfix">
    3. I then looked in the style and I believe it is this code below in "bold italics" that I need to edit to get the "content" to be centered but I am not sure how specifically to fix it/
    Q. Why does "margin-left: 40px;" have a strike through it?
    Q. Is "margin-left: 40px;" the reason the content is aligned "left"?
    Q. Could I not just "center" the contents instead of have it positioned from the "left"? Please explain!
    I would be very grateful if someone could look at my page in Firebug to tell what the best way is to center the body content.
    .clearfix:after {   clear: both;
       content: ".";
        display: block;
        height: 0;
        line-height: 0;
        visibility: hidden;
    ul.work {
    margin: 0 -15px;
    ul, ol {
    margin-left: 40px;
    h1, h2, h3, h4, form, table, ul, ol, p, dl, blockquote, hr {margin-bottom: 30px;
    text-align: left;
    ol, ul {
    list-style: none outside none;

  • Dynamic page content update.

    Is it possible to do that without reloading the whole page?
    Can someone give me any ideas how to update, let?s say table content, once user clicks a button.
    Thanks,
    TM.

    i dunno what software(s) ur using, but i have done the same bit, its easy infact. i m sending a link here which solves ur problem.its excellent...
    http://opensymphony.com/oscache/
    enjoy
    Cva

  • Need help with pages.  How do I remove the " " from my flyer that are around  the text box

    How do I remove the blue + on this???????? HELP please!!!!!!!!!! This is done on pages for IOS
    <Edited by Host>

    Hi Baurhouse,
    I case you are wondering why your post was <Edited by Host> I reported your post for your own protection. It showed an email address and a postal address. Not good to show personal details on this public forum .
    Regards,
    Ian.

  • Word ducuments in different languages/dictionaries to Pages - for Lion will need to transfer files to Pages, but how to handle texts in different languages?

    As Lion does no longer support 'Rosetta" I will need to import my WORD files. I am using several languages (E, D, F, I) and would like to also write/check the texts before sending. I have not found any way to do this in Pages. Have I overlooked something? Thanks for guidance. Gottfried

    I guess that you would get better results with libreOffice which is really designed to clone Office which is not the case for iWork.
    Yvan KOENIG (VALLAURIS, France) mercredi 20 juillet 2011 16:32:16
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    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 to create a form based on table using dynamic page?

    Hi,
    I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
    thanks,
    Mainak

    Hi,
    Something seems to get added to the form action because of "http". Hence I am removing it.
    You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
    table then
    Dynamic page code
    <html>
    <body>
    <form action="portalschema.insert_dept">
    <input type="text" name="p_deptno">
    <input type="text" name="p_dname">
    <input type="submit" name="p_action" value="save">
    </form>
    </body>
    </html>
    Procedure code.
    create or replace procedure insert_dept
    (p_deptno in number,
    p_dname in varchar2,
    p_action in varchar2)
    is begin
    if p_action = 'save' then
    insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
    commit;
    end if;
    end;
    grant execute on insert_dept to public;
    Hope this helps.
    Thanks,
    Sharmila

  • Displaying data on a Dynamic page.

    Hi,
    I know i had asked a similar question before of creating a multiple record form. I was given an
    answer that i could create a dynamic page. I am trying to create a dynamic page based on a table
    but most of the fields that i will display on the form are non database fields like description
    and all. All the fields will be display only.
    On the Dynamic page content where we can write the pl/sql code and HTML Code i am under HTML code
    creating a table because i need to show the data in the form of grid and inside oracle tag i have
    open some cursors and all to get the value for my non database fields.
    The problem i am facing is how to pass those values to the HTML table and display on the form.
    Please Help.
    Thanks,
    Amit.

    Hi,
    You can refer to this answer. It is a similar one.
    Re: .NET application works OK on infrastructure, but has problems on midtie
    Thanks,
    Sharmila

  • Set mixed content false or handle it

    Hi guys, I´m having some troubles with a 3rd party webservice, the webservice is suposed to return items for the same type, some like this :
    this is awfaul, because i need to parse the string to XML and maybe the complete response can´t be set in a string variable because the length, i need it parsed in items like the first approach but without a mixed set to "true", I´m not a .NET expert but if someone can help me about this, how to handle mixed content in SAP or even better how to return items in .NET without using mixed content, with that i will explaint how they can achieve this.

    The issue is that the code in VB is creating the XML manually returning a XmlDocument.

  • Dynamic pages / parameter and navigation links

    hi all!
    my goal is to develop a portal page , with a naviagtion region on the left side (this is a dynamic page in which links are defined) and on the right side there should be the main region (also a dynamic page , with parameter input). Now, it should be possible to pass different parameters to the main region dynamic page, by clicking on the different links in the menu region. Each link should pass an other parameter to the main dynamic page. How is that possible ? (using as10g)
    regards,
    katharina

    I don't realy get the requirement...
    Basicly each space has their own navigation model. I don't know if it's possible to share navigation models from one space to another...

  • Dynamic Page Numbers

    Dynamic Page Numbers
    How do I make dynamic page numbers? So that for each record it will have its own page number?
    i.e.
    record 001 is 3 pages, at the bottom of its pages it says 1 of 3, 2 of 3 and 3 of 3.
    record 002 is 1 pages, at the bottom of its pages it says 1 of 1.
    record 003 is 4 pages, at the bottom of its pages it says 1 of 4, 2 of 4 , 3 of 4 and 4of 4.
    Is there a way to do this??
    Thanks,
    Rob

    Hi Robert
    This is how:
    Create a "Page Number" field, say PN, and a "Total Pages" field, say TP, in the margin.
    Set "Visible" to no for both the fields.
    Create a Boilerplate in margin with text:
    Page &<PN> of &<TP>
    Against both the fields, set "Reset At" property in "Page Numbering dialog" to the Repeating frame that surrounds record00?
    Regards
    Sripathy

  • Better documentation of how LR handles metadata

    I would like the on-line help to accurately describe how LR handles metadata, especially writing them in files like DNG and TIFF, the usage of sidecar files (.XMP), and how all of that interacts with Adobe Photoshop CS and its Browser, and Photoshop CS2 and CS3 and Bridge.

    The short answer is that the IPTC, EXIF and other built-in core metadata is written to DNG and TIFF and JPEG and travels with the file and can be viewed in any application that provides xmp functionality to view it - like a File Info... menu item. Metadata about changes made to the file and how it looks is not carried as embedded metadata when the image is exported. There is no functionality in CS2 or CS3 to view a sort of history file with images alterations.

  • How to save the web page content? help!

    i'm doing 'saveAs' button in order to save all the web content. I'm using ole automation. Can help me to check how to modify my code in order to run 'saveAs' function'? I'm stucked at the code shown below as i would like to insert the web content instead of "tre" tat i assigned. how to do that? thanks
    // Enter text
    dispIDs = objSelection.getIDsOfNames(new String[] {"TypeText"});
    System.out.print(dispIDs.toString());
    objSelection.invoke(dispIDs[0], new Variant[] {new Variant("tre")});
    the save method is as shown below:
    public void save(){
              String fileName = "c:\\test\\tmpdoc01.doc";
              OleClientSite site = new OleClientSite(webFrame, SWT.NONE, "Word.Application");
              OleAutomation objApplication = new OleAutomation(site);
    // Get Documents object
    int[] dispIDs = objApplication.getIDsOfNames(new String[] {"Documents"});
    Variant varResult = objApplication.getProperty(dispIDs[0]);
    if (varResult != null && varResult.getType() != OLE.VT_EMPTY) {
    OleAutomation objDocuments = varResult.getAutomation();
    varResult.dispose();
    // Add Document file
    dispIDs = objDocuments.getIDsOfNames(new String[] {"Add"});
    varResult = objDocuments.invoke(dispIDs[0]);
    if (varResult != null && varResult.getType()!= OLE.VT_EMPTY) {
    OleAutomation objDocument = varResult.getAutomation();
    varResult.dispose();
    // Get Selection object
    dispIDs = objApplication.getIDsOfNames(new String[] {"Selection"});
    varResult = objApplication.getProperty(dispIDs[0]);
    if (varResult != null && varResult.getType() != OLE.VT_EMPTY) {
    OleAutomation objSelection = varResult.getAutomation();
    varResult.dispose();
    // Enter text
    dispIDs = objSelection.getIDsOfNames(new String[] {"TypeText"});
    System.out.print(dispIDs.toString());
    objSelection.invoke(dispIDs[0], new Variant[] {new Variant("tre")});
    objSelection.dispose();
    // Save Document file
    dispIDs = objDocument.getIDsOfNames(new String[] {"SaveAs"});
    objDocument.invoke(dispIDs[0], new Variant[] {new Variant(fileName)});
    // Close Document file
    dispIDs = objDocument.getIDsOfNames(new String[] {"Close"});
    objDocument.invoke(dispIDs[0]);
    objDocument.dispose();
    objDocuments.dispose();
    // Quit Application
    dispIDs = objApplication.getIDsOfNames(new String[] {"Quit"});
    objApplication.invoke(dispIDs[0]);
    objApplication.dispose();
         }

    import java.io.*;
    import java.net.*;
    class SiteSaver {
         public static void main(String[] argv) throws Exception {
              if( argv.length != 2 ) usage();
              BufferedWriter bw = new BufferedWriter(new FileWriter(argv[0]));
              URL url = new URL(argv[1]);
              BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
              String input;
              while( (input = br.readLine()) != null ) {
                   bw.write(input);
              br.close();
              bw.close();
              System.out.println("Contents of \"" + argv[1] + "\" have been saved to the file \"" + argv[0] + "\"");
         private static void usage() {
              System.out.println("usage: java SiteSaver [filename] [url]");
              System.exit(1);
    }

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • Dynamic pages created from content stored in relation db - suggestions?

    I'm involved in the early stages of a project and need some guidance on the best approach
    to solve it. The idea is fairly simple. Users will access data stored in a relational database
    and see the data presented to them as conventional web pages. The only dynamic part
    of the web page is the query results returned to the user. The results will be wrapped in
    HTML and JavaScript also stored in the database.
    I've assumed that we'd just be using the browser, start page, Java applets, a JDBC and
    the relational database to handle this.
    Questions:
    1. Once the applets have received all of the content back, in the correct order, from the
    database, how is this fed to the browser so that it can be interpreted as a page?
    2. Will be necessary to use servlets, and if so, at what point does this become a good idea?
    I'm comfortable with the database issues, and have written a lot of HTML by hand. The part
    I'm fumbling with here is the stuff in between. All suggestions are welcome, even those that
    suggest that I RTFM - as long as the manual is named.
    Thanks.

    hi,
    1. Once the applets have received all of the content back, in the correct order, from the
    database, how is this fed to the browser so that it can be interpreted as a page?
    Well you dont actually need to use a Applet if you are just going to retrieve data from the Database for presentation in a Web page, you could use either Servlets or JSP for that, given that you already know HTML and java i dont think either of them is going to take time to learn.
    Well you could a Servlet for eg and in the Servlet write the server-side logic for generating the dynamic html content which is to be presented in the client side, if you are doing lotz of HTML work in the Servlet, you could write a JSP (a JSP will allow you to embed java code along with HTML tagz, much like ASP). I would suggest you use servlets initially though and when you become comfortable enough with servlets, you could also use JSP with JavaBeans.
    2. Will be necessary to use servlets, and if so, at what point does this become a good idea?
    I think itz a better idea to use Servlets to Applets for what you have in mind, for you can get inherant support for sessions, etc also if you write an applet with all that logic, itz going to take time to download that. Also the applet will be only a part of the page, all HTML for eg will be outside of the applet, if you plan to do output using HTML, i think you should use Servlets/JSP instead of Appletz.
    hope that helpz
    cheerz
    ynkrish

Maybe you are looking for

  • Usb 6009....mx base....and other musings

    I've recently received a few usb-6009 devices, and, like most of the other people here on the boards, have had my share of problems getting the things up and going. If I understand correctly.... I can create an empty task in LabView with a VI.  This

  • Purchase Order Commitment Item

    Hi, Could you please help us to solve this issue When we trying to business completion of Maintenance Order the system is giving the error message "There is still a Purchase Order commitment for Order". We have seen there is one Purchase order create

  • Name of column to function

    Can I refer name of column to function oblicz pasted below? How can I do this? nazwa - name of column from table pracownicy witch some float variables PS:thanks 4 every help. Greets Mike. ------begin function----- create or replace function oblicz (n

  • Dynamic Approval Level in OTL Approvals

    Hi.. We have the following requirement:- For each employee there is an EIT against which a number is stored (1,2,3). Based on the number, the approvals for timecard should flow. Can anybody please help regarding this requirement. We tried the below a

  • How to pass one value from method 1 to method 2 in BADI...

    Hello Experts, How do I pass a custom variable from lets say method 1 to method 2 in BADI? Do I need to enhance it? For example, I need to pass my flag variable which contains 'X' from method as exporting and importing in method 2.