Using Template information in dynamic pages

Having created some interface templates for my current project, I find I am not able to readiily use them in dynamic pages.
Is there a technique for this, that allows me to get the details from my page styles / Interface templates and combine them with output dynamic pages?
I am able to associate backgrounds ( for example ) with customization forms, but not output.

I understand the desire to not use an applet. Have you tried an html pop-up? This will create a separate http request through to your server on the user's same session. This allows your server to do the required processing to display the data to the user via html.
Use the target="_blank" attribute of the anchor tag, or a window.open JavaScript method.

Similar Messages

  • Unable to enforce a UI Template for a Dynamic Page

    Hi,
    I have a problem ,am unable to enforce a UI Template for a Dynamic page.As I want to modify the background color and font for the contents of the Dynamic page.I have tried to specify these in the htp functions,which works fine but when I expose the dynamic page as a portlet and drop it in a page ,the background color and font modifications do not show up.
    Any idea as to how the modifications can be done to show up in the page?

    I changed the pref.js file and that fixed the problem. thanks to those who responded to this question and for the quick replies. jjg18

  • Using .js file in dynamic page

    In 9.02 i created a portal dynamic page. I would like to include .js file (overlib.js). Can you do this?
    I have tried using the "src=" but it did not work.
    If I try to include the .js code directly in the dynamic page, I get an error. I assume it is a size limitation.
    Help.

    When you say "source=", are you talking about this usage for instance?
    <script type="text/javascript" language="JavaScript1.2"
    src="http://mysite.com/js/myjavascript.js">
    </script>
    Did you get a runtime error after putting that in the dynamic page?

  • 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.

  • Passing URL's as Parameters to Dynamic Pages

    Hi Everyone,
    I'm trying to pass a full URL (including protocol http:// or https://) to a dynamic page as a parameter. The problem is that when the customization form is submitted, the ":" character in the URL is changed to "*!" and the page won't display. I tried using "REPLACE" in my dynamic page PL/SQL code to change the "*!" back into a ":" but to no avail.
    Any suggestions?
    Thanks in advance,
    Wayne

    I have the same issue... Did you find a way to do this?

  • DW CC Not applying template updates to ASP pages

    HI,
    Im having a problem with DW CC
    I have added the server behavours back in so I can work with my asp pages and it seems to be ok.
    BUT  if i use Templates to make the pages when I update the template if the pages that were created have .asp extensions the template doesnt update it only updates the .htm or .html files.
    Can someone suggest what I can do?
    I have no other issues with my .asp pages, but I have to manually update by foing to the menu and " Modify> Apply Template To Page "  and its fine but this is tiresome if there are a few pages..
    Thanks in advance for any thoughts or adviice as to where im going wrong.
    Regards
    Tag

    Thanks Ben..
    Its a thought for sure , I just hoped that I could get it to work the way It did for me in CS6.
    Thanks again :-)

  • Why is the template not being used when dynamic page called ?

    Hi,
    I have created a dynamic page and assigned a template to it. When I call the dynamic page using the 'show' procedure from a form, I do not see the template.
    Why is the template not being used ? How can I get the template working when I call the dynamic page ?
    I even tried to show the page from the dynamic page's manage components tab and there is same problem. Template is not being used.
    thanks,
    Mainak

    You can alter the generated package body to include the following function in the header and footer sections.
    Header:
    PORTAL.wwv_headings.show_header(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_heading => 'Dynamic Page',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help',
    p_about_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.about');
    Footer:
    PORTAL.wwv_headings.show_footer(
    p_template => 'PUBLIC.TEMPLATE_3',
    p_help_link => 'PORTAL_DEMO.EXAMPLE_DYNAMIC_PAGE.help');
    where
    <PORTAL_DEMO> indicates application schema
    <PORTAL> indicates the name of the portal (normally this will be portal30 by default).

  • ORACLE tags in Templates vs Dynamic Pages

    Hello all,
    I have a procedure that prints the Portal version:
    Create or Replace PROCEDURE MATSTESTSCHEMA.SHOW_PORTAL_VERSION
    as
    l_ver varchar2(20);
    BEGIN
    l_ver := portal30.wwctx_api.get_product_version();
    htp.print(l_ver);
    END;
    I can call this procedure successfully from a Dynamic Page with
    the following embedded syntax in the HTML code:
    <ORACLE>
    BEGIN
    MATSTESTSCHEMA.SHOW_PORTAL_VERSION;
    END;
    </ORACLE>
    I want to use some procedure calls in my templates as well.
    Tried to use the same syntax as above but it does NOT work.
    The whole code block between the <ORACLE>-tags seems to be
    ignored as soon as a procedure call is included.
    A simple syntax like this DOES work in a template:
    <ORACLE>
    BEGIN
    htp.p('hello');
    END;
    </ORACLE>
    Why doesn't it work to call procedures from the templates???
    Has anyone alse run into this?
    PS! I'm using Portal version 3.0.7.6.2
    Will soon upgrade to the latest version...

    What I'm trying to do is to do a redirect of a page depending on
    some conditions which my PL/SQL procedure can determine. So I
    hoped that I could call my procedure from the page template
    header and the procedure would print a redirect tag, if
    appropriate. Something like this:
    Page template (part of..)
    <HTML>
    <HEAD>
    <ORACLE>
    BEGIN
    MYSCHEMA.DO_REDIRECT;
    END;
    </HEAD>
    The DO_REDIRECT procedure prints the META tag for a redirect of
    the browser if it finds it necessary. otherwise it would do
    nothing..
    <META     HTTP-EQUIV="Refresh"
         Content     = "30;
         URL=http://www.oracle.com">
    But calling procedures from templates as described above does
    not seem to work, at least in version 3.0.7.6.2.
    (We're in the process of upgrading to the latest version)
    Does this work in 3.0.9 ?
    ...or does anyone know a better way to do this?
    Any advice is really apreciated.

  • Can u create a fill-in document template usig apple iPhone pages? If it is created on ms word, can it be used/edited on pages?  Thx

    Can u create a fill-in document template usig apple iPhone pages? If it is created on ms word, can it be used/edited on pages?  Thx

    Hi,
    If you want to add fields to a list, as you have written your form in JavaScript, you can take consideration of using JavaScript Client Object Model to add/delete fields dynamically.
    How to: Create, Update, and Delete Lists Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185005(v=office.14).aspx
    If you want to achieve it with Form7, it is recommended to post the question to its forum to get quick and confirmed answer.
    Thanks
    Patrick Liang
    Forum Support
    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]
    Patrick Liang
    TechNet Community Support

  • Managing recorded files using dynamic page.

    Hi all,
    I have an app that record the user's voice, each time in one
    different file
    adding an index to the end of the file name.
    rec_tom1.flv, rec_tom2.flv....
    I'm having some problems trying to recover this names
    I need to know if it's possible list this recorded files
    using a dynamic
    page. I have a web host at host A that will have an asp page
    pointing to my
    FMS host B, this page will list the flies and return it to my
    flash app,
    then I 'll load this in a list box.
    in the dynamic page at some point I'll need the PATH to the
    FMS server....
    this is where thigns fail....
    I've tried to point using as path the "rtmp + account name"
    without success.
    So, I need to know if first this is possible, then if so, try
    to figure out
    the correct path to it.
    best
    rodrigo.

    Central comes with predefined tasks PGCNTGET and PGCNTSET (see below). Create a job that includes both thses JFMERGE steps. PGCNTGET will run through the job, count pages and direct output to -zNUL. PGCNTSET will run through the job again and this time have the number of pages stored in variable @pagecount and direct the output to -z@PhysicalDev
    If you create a data field PAGES on your template you can pass this into the field:
    ^GLOBAL PAGES
    Page @$PAGE. of @PAGECOUNT
    Tasks:
    PGCNTGET "@MDFName." "@InFile." -l -apr"@PreambleName." -all"@LogFileName." -asl@SkipLines -amq@ManagedMem -ams"@MSTName." -m@Macro#.@LoadFlag -z"@PhysicalDev." @PrintDirectorParms. @OtherJobTokens. -aii"@IniFileName."
    PGCNTSET "@MDFName." "@InFile." -l -apr"@PreambleName." -all"@LogFileName." -asl@SkipLines -amq@ManagedMem -ams"@MSTName." -m@Macro#.@LoadFlag -z"@PhysicalDev." @PrintDirectorParms. @OtherJobTokens. -aii"@IniFileName." -advglobal:pagecount=@NumberPages.

  • 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

  • How to create a MD form using dynamic page ?

    Rahul and Sharmila,
    You have answered several of my queries earlier and I am thankful for them.
    I have been trying to creating a MD form using dynamic page and I haven't fiqured it out. I need help. You both advised me on creating a simple form using dynamic page. The complexity changes drastically when I have to create a MD form. Has no body ever tried to create a MD form with dynamic page?
    I haven't heard from you anything either. I am stuck with this and I need help urgently. Would you kindly tell me if this is possible and how ? Otherwise, I will stop crying for help on this.
    Thanks for your kind attention.
    Mainak

    Hi,
    I have replied to this in the morning.
    Re: Oracle portal and JSR 168 compliance
    Hope it helps.
    Thanks,
    Sharmila

  • Form in Dynamic page not working when checkbox is used.

    I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
    When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
    Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
    Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
    Can you please tell me how to use a checkbox for a database field using dynamic page ?
    thanks,
    Mainak

    Sharmila,
    When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
    May be you can make this work. I am hopeless about this.
    Here is the code for the procedure sumbit_form:
    NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
    create or replace procedure sumbit_form
    (p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
    is
    begin
    if p_action = 'save' then
    for i in 1..p_empno.count LOOP
    update scott.promotemp
    set promot = p_promot(i)
    where empno = p_empno(i);
    END LOOP;
    end if;
    commit;
    htp.p('<b>Saved Successfully</b>');
    htp.p('<table border=1 bordercolor="red">');
    for c1 in (select * from promotemp where promot='Y')
    LOOP
    htp.p('<tr><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.sal);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    EXCEPTION
    when others then
    raise;
    end;
    Here is the code for the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Promot Emp</TITLE>
    <script language="JavaScript1.1">
    function include(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements.type == 'checkbox') {
              if (thisform.elements[i].checked) {
                   thisform.elements[i].value = 'Y'; }
              else { thisform.elements[i].value = 'N'; }
    form.submit();
    function show(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements[i].type == 'checkbox') {
              if (thisform.elements[i].value = 'Y') {
                   thisform.elements[i].checked = true; }
              else { thisform.elements[i].checked = false; }
    </script>
    </HEAD>
    <BODY>
    <FORM action="scott.sumbit_form" method="post">
    <table border=1 bordercolor="red">
    <tr>
    <td> </td>
    <td>Name</td>
    <td>Job</td>
    <td>Manager</td>
    <td>Hire Date</td>
    <td>Commission</td>
    <td>Department#</td>
    <td>Include</td>
    </tr>
    <ORACLE>declare
    i number;
    begin
    i := 0;
    for c1 in (select * from scott.promotemp where promotid = :promotid)
    loop
    htp.p('<tr><td>');
    htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
    htp.p('</td><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.hiredate);
    htp.p('</td><td>');
    htp.p(c1.comm);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td><td>');
    if (c1.promot = 'Y') then
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">Yes
    <OPTION VALUE="N">No
    </SELECT>');
    else
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">No
    <OPTION VALUE="Y">Yes
    </SELECT>');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('<input type="submit" value="save" name="p_action">');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    thanks,
    Mainak

  • Dynamic page in region as a portlet not displaying in portal template

    As the title suggests I have a portal template that contains a region at the top . within this region i have included 2 portlets, first is a dynamic page (a simple banner title ) then a navigation page beneath them .
    when I am logged in as a specific user it displays correctly , when I log onto the page without logging in - the dynamic page does not display ,yet the navigation page does . I have clicked on every display to public check box , assigned public user with view privilege and everything else along those lines . Any ideas ??
    thanks in advance , Chris

    Hi Chris: Just to be specific, did you go to the providers tab in Navigator, the locally built providers link then the provider which contains your dynamic page and check the access set directly on that page? You can either set the dynamic page to have its own access (overriding that of the provider) or set the provider itself to be public.
    Rgds/Mark M.

  • How to send an entire HTML, PHP dynamic page using phpmail()?

    How to send an entire HTML, PHP dynamic page using phpmail()
    from PHP website, similar to mail this page or send to a friend
    link?

    Hello,
    Please change the mail address
    "info[at]furkids[dot]co[dot]za" from this thread ^^^look above^^^
    to "[email protected]"
    Thank you

Maybe you are looking for