Protlet with URL to a page or a book

We have been trying to create a start page with some small advertisement portlets.
And now we want it to call a new page that will be shown on the whole page.
I attached a word document that illustrates what we want to do.
[portletlink.doc]

You can use the PageURL tag for this purpose. For example, you can add
the following HTML to the portlet in the Start Page:
">Go to Page 1</a>
where page1 is the instanceLabel of Page 1.
Hope this helps.
Subbu
Henrik S Poulsen said the following on 12/18/2003 05:28 AM:
We have been trying to create a start page with some small advertisement portlets.
And now we want it to call a new page that will be shown on the whole page.
I attached a word document that illustrates what we want to do.

Similar Messages

  • Static html with url to apex pages

    I have a table with html content that contains url's to apex pages similar to
    <a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:test_page>test page</a>
    <a href=f?p=115:300:???:PAGE:::P300_PAGE_NAME:another_test_page">another test page</a>
    Where ??? needs to be the session id.
    I could use wwv_flow.do_substitutions to render the content and use &SESSION. in place of the question marks. Did not like this option as my content is in a CLOB and didn't want to parse all the content if the links are never clicked, also the content could be very large.
    I don't have much control on how the url is generated, only the base path.
    I also thought about building my own procedure to change the link value and then call the original f procedure, similar to:
    <a href="set_session?p=115:300:#SESSION#:PAGE:::P300_PAGE_NAME:another_test_page>another test page</a>
    This set_session procedure would get the session using plsql and then do the substitution and then call the existing f function.
    Is there another solution to have static url's and render the content in an html region so that when clicked the session id is maintained?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    mwooldridge wrote:
    I have a table with html content that contains url's to apex pages similar to
    <a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:test_page>test page</a>
    <a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:another_test_page>another test page</a>
    Always post HTML code using <tt>\...\</tt> tags to prevent it being rendered by the forum software.
    Where ??? needs to be the session id.
    I could use wwv_flow.do_substitutions to render the content and use &SESSION. in place of the question marks.How do you retrieve and render the content?
    Did not like this option as my content is in a CLOB and didn't want to parse all the content if the links are never clicked, also the content could be very large.I don't like that option because it uses an undocumented, unsupported API call.

  • Is there a tutorial/primer for working with conditional text and page numbering in book folders?

    I'm ramping up on FrameMaker 9 and have been experimenting with using folders in book files. I like being able to add Frame files to the folder to organize content. But I also need to use conditional tags. In one version of my book, the entire contents of some files in one folder are hidden using conditional text. I can't figure out how to set the numbering for each file so that the page numbers adjust appropriately in this scenario. Or is it even possible to do this?
    Can anyone recommend an advanced tutorial for using folders in Frame 9?

    Michelle,
    It would be easier to maintain if you create a different book file that omits the entire "conditionalized" set of files.
    See these Adobe TechComm blogs for some more background info on using hierarchical books and numbering behaviour:
    http://blogs.adobe.com/techcomm/2009/05/xml_authoring_projects_using_hierarchical_books.ht ml
    http://blogs.adobe.com/techcomm/2009/06/numbering_in_hierarchical_books.html

  • Still Can't Figure Out Returning to Page with URL Parameters

    Hi,
    I am trying to figuring out how after submitting a form to
    return to a previous webpage with URL parameters in it.
    Any ideas?
    Thanks,
    Craig

    I am using dreamweaver and coldfusion. I have been searching
    everywhere for the answer so if you can shed some light on this
    that would be great.
    Thanks,
    Craig

  • How do I find out the URL of the page a document was downloaded from?

    I downloaded a PDF several months ago; I can see it in my downloads history. When I right click it there, I see the link to the PDF itself, but I need to know the actual page it came from.
    I've checked my History, but cannot identify the page.
    Is there a definitive way of determining the URL of the page that linked to the document?

    Open the Download Manager window and select that file.
    Copy and paste this code in the Code field in the Error Console and click the Evaluate button.
    *Firefox/Tools > Web Development > Error Console
    The code adds a tooltip to the area with the file type icon at the left hand side of each entry in the DM window and shows a tooltip when you hover that area.<br />
    It only works for entries that are currently visible in the DM and not for new entries that are added by downloading files and only as long as the DM window is kept open, so you need to rerun the code in the Error Console to get a tooltip.
    <pre><nowiki>const Cc=Components.classes, Ci=Components.interfaces;
    var enumerator=Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator).getEnumerator(null);
    while(enumerator.hasMoreElements()){var win=enumerator.getNext();
    if(win.location=="chrome://mozapps/content/downloads/downloads.xul"){
    var i,r,R,C='';
    r=win.document.getElementById("downloadView").getElementsByTagName("richlistitem");
    for(i=0;R=r[i];i++){
    var fP=R.getAttribute("path");
    var fU=R.getAttribute("uri");
    var sT=parseInt(R.getAttribute("startTime"));
    var eT=parseInt(R.getAttribute("endTime"));
    var cB=parseInt(R.getAttribute("currBytes"));
    var mB=parseInt(R.getAttribute("maxBytes"));
    var rU=R.hasAttribute("referrer")?R.getAttribute("referrer"):"<no referrer>";
    var sD=cB/(eT-sT);
    var tT=[];
    tT.push("FILE: "+fP);
    tT.push("URI: "+fU);
    tT.push("REF: "+rU);
    tT.push("");
    tT.push("Total Time: "+((eT-sT)/1E3)+" sec.");
    tT.push("Curr Bytes: "+cB+" bytes"+((cB==mB)?" (OK)":"(part)"));
    tT.push("Max Bytes: "+mB+" bytes");
    tT.push("Download speed: "+sD.toFixed(3)+" KB/sec");
    R.setAttribute("tooltiptext",tT.join("\n"));
    if(R.getAttribute("selected")=="true"){C=tT;}
    if(C)prompt(C.join("\n"),C);
    </nowiki></pre>

  • Problem with URL File download

    Hi every one i am facing a problem with URL File read Technique
    import java.awt.Color;
    import java.io.DataOutputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JProgressBar;
    public class JarDownloader
         boolean isSuccess = false;
         public JarDownloader(String url)
              downloadJar(url);          
         public boolean isDownloadingSuccess()
              return isSuccess;
         private File deleteExistingFile(String filename)
              File jarf = new File(filename);
              if(jarf.exists())
                   jarf.delete();
              return jarf;
         public static void main(String args[]){
              new JarDownloader("url/filename.extension");
         private void downloadJar(String url)
              try
                   URL jarurl = new URL(url);
                   URLConnection urlc = jarurl.openConnection();
                   urlc.setUseCaches(false);
                   urlc.setDefaultUseCaches(false);
                   InputStream inst = urlc.getInputStream();
                   int totlength = urlc.getContentLength();
                   System.out.println("Total length "+totlength);
                   // If the size is less than 10 kb that means the linkis wrong
                   if(totlength<=10*1024)throw new Exception("Wrong Link");
                   JFrame jw =new JFrame("Livehelp-Download");
                   JPanel jp =new JPanel();
                   jp.setLayout(null);
                   JLabel jl = new JLabel("Downloading required file(s)...",JLabel.CENTER);
                   jl.setBounds(10,10,200,50);
                   jp.add(jl);
                   JProgressBar jpbar = new JProgressBar(0,totlength);
                   jpbar.setBorderPainted(true);
                   jpbar.setStringPainted(true);
                   jpbar.setBounds(10,70,200,30);
                   jpbar.setBackground(Color.BLUE);
                   jp.add(jpbar);
                   jw.setContentPane(jp);
                   jw.pack();
                   jw.setResizable(false);
                   jw.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
                   jw.setLocationRelativeTo(null);
                   jw.setSize(220,150);
                   jw.setVisible(true);
                   int readlngth=0;
                   int position=0;
                   byte[] readbytes = new byte[totlength];
                   while(totlength-position > 0)
                        readlngth = inst.read(readbytes,position,totlength-position);
                        position+=readlngth;
                        jpbar.setValue(position);
                   File jarf = deleteExistingFile(filename);
                   jarf.createNewFile();
                   //FileWriter fwriter=new FileWriter(jarf,true);
                   FileOutputStream fout = new FileOutputStream(jarf,true);
                   DataOutputStream dout = new DataOutputStream(fout);
                   dout.write(readbytes);
                   dout.flush();
                   dout.close();
                   inst.close();
                   jw.setVisible(false);
                   jw.dispose();
                   isSuccess=true;
              }catch(Exception ex)
                   isSuccess=false;
    }From the above code i received the total length of the PAGE content (i.e here url is a file) when i tried to find the size of that file it return -1.
    please help me

    I think the real problem is that you don't check the return value from read (it's probably less than data.length indicating an incomplete read). Isn't there a readFully somewhere?

  • Code to call another Page Flow URL from one page flow URL

    Can anyone send me the code to call another pageflow url from one page flow URL.

    thanks...
    In my appication there is no Form page. Only based on Canvas in that ,
    i implemented Text box, Text Field And Drop down list etc..by own coding without using any abstract methods.
    I did every thing with in single Midlet file.While developng goes on i got the problem ,
    Like "your application exceeds the memorylimit you cant
    use more than 32Kb of byte code in Canvas"...
    So the application is not opened.
    I tried to call the next file in same package to proceed, i got it. codition goes to next file, but its not return back to the Main(MIDlet) file, throws the excepton as "Security exception".
    How to solve this problem,is any other way? please...

  • Passing data and command in url of the page

    Hi,
    I have a developed a page which has material as input field on first page
    now on press of button on that page ,it feteches the data related to that material in the input processing of that page and display output on other page.
    now i want to display out directly ,supressing the first page.
    so is there a way where i can pass data + command (button press) in the url of that page so it will execute on i/p processing of this page directly and displays the o/p on other page.
    for eg...  ?matnr=x.....(what to write for button click so it executes on i/p processing directly)
    Remember my code for fetching the data is on the first page in input processing,so i need to call this page itself.

    Hi Sushi,
    I wouldn't do it quite the way you are - I would only build one page.
    Make MATNR an auto page attribute. Then in <i>onInitialization</i> you can test
    if MATNR is not initial.
    and then fetch the data.
    In the layout you can either display the input field, call it MATNR, and any error messages from the fetch data code or if the data was fetched okay display the results.
    Now you can call the page with <i>?matnr=X</i> and it will work.
    Cheers
    Graham Robbo

  • URL Iview in Page

    Hi,
    I have a page having two iview
    1. JSP Dyn Page Iview - static content
    2) JSP Dynpage  Iview - redirect the new url
    when I open the page, I get the content of second url that is comming by redirect url i.e. redirection refereshes the complete page and first iview content vanished.
    Note: I am using window.open(URL,"_self") in redirection JSP dyn Page
    Kindly let me know is there any setting at the page level property or iview to restrict the content to be displayed in the page itself.
    Regards,
    Sanjeev

    Hi,
    I have few drop down list boxes, which are displaying when I execute an url.
    ex: url like http://countrystates.com and drop down list country displays 10 countries and states will be displayed base on selection of country
    When I execute this with URL iView I am getting same content what I expected but after assigning this iView to page I am getting wrong content mean country dropdown size is 10 but with wrong data (same some text is displaying 10 times in dropdown)
    I hope u understood the problem
    Thanks

  • Call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent

    Hello,
    I have problem: call service with url /sap/opu/odata/SAP/GBAPP_POAPROVAL is intermittent, same times it works and same times not work to any type the Approve Orders.
    We are Fiori SAP NetWeaver 7.40 and mobile client is version 1.2.4.
    I used in IOS.
    We are SAML2 using ADFS with Fiori. 'Using SAML 2.0 Authentication to Access Fiori Apps from the Public Internet' in
    SCN:http://scn.sap.com/docs/DOC-42915.
    I try to run like example and the same 1797736 - Troubleshooting Guidefor SAP NetWeaver Gateway,
    and I tested this URL in the SAP Netweaver Gateway Client (http://scn.sap.com/docs/DOC-47626), but appears "HTTP Open falied: INTERNAL_ERROR"
    How to solve this problem?
    Thanks,
    Sandra

    hi,
    if you got 2004s preview from this page
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    then it does not contain XI
    REgards,
    michal

  • Use of variable passed with url

    hi ,
    i am new user for this forum.
    i have one problem. i call the html page resides in
    coldfution directory from the another web server. now my problem is
    that how can i get the variable which are passed with URL ? for
    example i call page x.x.x:8500//temp/test.html?id=2 from other
    windows web server ie x.x.x.//temp1/test1.php.
    now my problem is that is there any facility in coldfusion to
    get the value of the variable which are passed with URL . in this
    case it is ID

    Hi
    do you mean accessing the URL varialbes in CF?
    if it is you can say #URL.varname#.

  • Converting to PDF issue with URLs

    I've edited a file for a client that was originally created in Adobe Illustrator and added phone numbers and URLs to each coupon.  When I open the PDF of the coupons and click on any of the links on the second row of Page 2 with florists, the "fl" in florist in each URL is converted to "%CB%9C". I realize these are encoded characters, but they are the wrong ones and the links don't open up correctly as a result.  All other links in all 3 pages of coupons open up correctly except for these three....HELP!!
    http://gallery.mailchimp.com/9948dc9b0f4637762c82e0a7f/files/Coupons.pdf

    Try turning off Standard Ligatures in the Opentype panel. I don’t usually use Illustrator to make PDFs with URLs, but I think what’s happening is Acrobat is just reading the text as a URL and assuming it is a link. I don’t think you can make a URL link from selected text in Illustrator. Really. Fracking ridiculous.
    You can open the PDF in Acrobat Pro and add he links there, without worrying about the actual text on the screen.

  • Load page in popup window with different (from parent page) browser

    Hi,
    Environment: Windows XP or Windows 7, Visual Studio 2010, Internet Explorer 8 (IE)
    I have an application which opens page containing HTML editor.  Here you can edit a document (pooled from db). Next, btnPreview opens a new popup window and shows changes you made via Internet Explorer (IE - default browser).
    Here is original code - works OK when you run from both - VS 2010 (http://localhost:50827/NCSite/MenuEditor.aspx) or via browser IE (http://localhost/NCSite/MenuEditor.aspx).
    Please pay attention - with VS2010 was used a dynamic address (localhost:50827) created by VS2010
    Here is a code I used for that:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL;
    ClientScriptManager cs = Page.ClientScript;
    cs.RegisterStartupScript(this.GetType(),
    "NewWindow",
    "<script>window.open('" + URL +
    "', 'New')</script>");
    Now I have a request to add two more buttons to preview in Google Chrome (GC) and Mozilla Firefox (FF).
    I used next code:
    using System.Diagnostics;
    //for btnIE:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL;
    Process.Start("iexplore",
    URL);
    //for btnGC:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL; 
    Process.Start("chrome",
    URL);
    //for btnFF:
    URL = Request.Url.Scheme +
    "://" + Request.Url.Host + appPath + URL; 
    Process.Start("firefox",
    URL);
    It works OK when you run from VS2010 (http://localhost:50827/NCSite/MenuEditor.aspx)
    but when you open application via default browser (IE) and after editing document press btnIE, btnGC, or btnFF it is not creating a new popup window and simply replacing existing window
    and shows updated document via IE.  Processes for GC and FF not even started (looked through Task Manager).
    Is it any way to solve that issue?
    Thanks,
    Dm
    dmirkin

    Hi dmirkin,
    If Andy's suggestion still cann't resovle your issue.
    You are more likely to get more efficient responses to
    ASP.NET issues at http://forums.asp.net where you can contact ASP.NET
    JavaScript experts. This forum is for web application.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Urgent!! url of bsp page

    Experts,
    ERP2005
    I am creating bsp applications in dev system and each page in the application has the url of dev. system. if i transport the application to Q and then Prod systems, do the URLs be automatically be adjusted according to hostname or it should be done manually? if it is a manual process, should I go for using external aliases?
    Regards!

    Hi Graham,
    let me explain again. i am not a big programmer of BSP applications. I am a HR functional guy. I am trying to use the features of Web AS to create BSP HTML pages easily.
    I am not trying to create a complex application. a simple application which contains 40-50 HTML pages which are independent of each other. no navigation is needed.
    for example:
    dev system hostname is   somehost<b>dev</b>.
    Q system hostname is   somehost<b>q</b>.
    Prod system hostname is   somehost<b>prod</b>.
    say I have a BSP application in DEV as http://<somehost<b>dev</b>>.<domain>.........../startpage.htm
    In HR configuration, above URL is used in one field like this:
    <b>URL: http://<somehost<b>dev</b>>.<domain>.........../startpage.htm </b>  (URL of above BSP page)
    Description: Description for Medical Plan
    So If the transport request is moved to Q system, i see above entry in the configuration. but it does not have host name of the Q system (obvious from the above entry). it has host name of the dev system. so, in Q ESS portal if I click the link, it is accessing the link from BSP page from DEV system not the one from Q R/3 system. it is because of above configuration.
    It seems to me at this moment, to put the URL of BSP Page in the configuration field, and transport the customizing request. with this solution, there is lot of manual process.
    first,
    1. put the URL of BSP page with Q system host name in the DEV system, and transport the request to Q. Do the testing
    2. change the URL of BSP page with P system hostname in the DEV system, and transport it to Q and then P.
    there is lot of manual processing involved.
    is there any way to get around this?

  • Need help with an "exit door" page

    My office has a page on our webserver that serves as an "exit door". It basically tells you when you're leaving our site (they do this because it's a gov't site, and thus rquired) and you have to click on a link to confirm that you want to leave.
    The way it works is that when you code a page with a link that needs an exit door, you prepend the url with "exit.cfm?link=" and then the URL. It works adequately on simple URLS that pass no parameters. Where it has a problem is when a URL has GET arguments like ?page=23&item=43.
    The original coder used URL.link, which of course only captures the first GET argument. As a work-around, we're required to edit the target URLS being passed to the exit door and replace things like &amp; and # with [amp], [pound], etc. Needless to say, this gets rather tedious, so I decided to have a look at that old exit door page to see what I could do with it.
    After playing around a bit, I achieved  a reasonable level of success by using the following:
    #xmlformat(ListDeleteAt(CGI.QUERY_STRING,1,"="))#
    This gives me a properly encoded full URL to use as a link on the exit door page. But there's one problem. If there's a link that contains an anchor (like foo.com#section1) it doesn't capture the anchor. The # and what's after it isn't being passed.
    I'm trying to figure out how to make this work.  Has anyone else here had to make an exit door, and if so, how did you do yours?

    Thanks mack.  I'm starting to think the answer to this is "it can't be done".  Which is probably why my predecessor was replacing &amp;s with [amp]s.
    What led me to try to change this was that I was trying to build a regex for Dreamweaver that changed things like &amp; and # to [amp] and [pound], but only when the URL began with the exit door page URL.  I was only able to get my regex to replace one occurance of an item per pass, which sort of defeated its purpose.  So I decided to change the exit door page instead.
    Maybe I'll go back to trying to get the regex to work.
    Ian, thanks for your help as well.

Maybe you are looking for