Dynamic Page Edits

anyone know how to edit the info that is returned from a dynamic search. such as font, color, style. the results that are returned when a user runs a dynamic page do not look to user friendly, and the color is goldish-brown.
any help
thanks,
Darren

Darren,
Please post this question to the Portal Applications forum.
Regards,
Jerry

Similar Messages

  • Editing Local Dynamic Pages - How To?

    I figure this should be something simple but I can't seem to figure out how to do it. In the past I believe this is something I was able to do in DW.
    I've set up my website locally running off my local server and everything there seems to be working in DW. I can view the live page and live code. However, I can't view the live page and edit that page.
    Does anyone have any recommendation on how I can best add some code into a dynamic page? I'm running CS5. Here's a screenshot of an example. Let's say I wanted to insert some simple code where the arrrow is.
    I really need some help on this as it's something I was under the impression I could do. Thanks for any help you can give.

    When I turn off Live Code and leave Live View on the code displayed is just of index.php (no matter what live page I'm on). So I can't really edit anything.
    That's right.  Those files contain nothing to edit.  It's all just PHP programming that the server parses into content from the database and countless other files (server-side includes).  
    A WordPress site really is a one page site -- index.php.  That page is re-created on the fly each time someone clicks a link or uses the search bar.
    If you have worked with WordPress before, you should know you cannot edit dynamic pages in DW.  You can only edit the parts that make up those pages.  Those parts are inside your Themes folder.
    header.php
    sidebar.php
    footer.php
    index.php
    single.php
    page.php
    archive.php
    category.php
    tag.php
    etc...
    Design View is pretty much useless.  You must be able to work with code.
    Nancy O.

  • Editing a Package - Dynamic Page

    I am a developer in Portal. I created a Dynamic page. Unfortunately there is only one way that a query could be displayed, Tabular and with colors by default. The problem comes when you want to display the fields in a diferent order and also format the HTML table where the records are being displayed. So I try to go to the "Database Objects" section and it only lets me edit the package if is less than 30K. Is there a way to raise this quota or just erase it? Does it make a diference if it gets raised to say..... 1MB?
    I know that I can always go to the SQL file and twig it there, but is there a way to do it through Portal?
    Any suggestions or comments are welcomed!

    Hi,
    The value in the textarea can go up to 32767 bytes. This is a limitation of varchar2 in plsql. If the package exceeds this
    then you will have to open it as a SQL file.
    Thanks,
    Sharmila

  • Issue in customizing ESS Dynamic Page

    Hi All,
    I am working on Customization of ESS portal.
    I am able to build and deploy application successfully .We are able to customize Detail View.
    Problem Here is , I am Supposed to modify in BIzcard Iview which is a dynamic page.
    Can any body help in understanding  how data is fetched in bizcard iview and  where the logic is to  be added to modify the page (in which method).
    Any pointer related to dynamic Customization of ESS portal is appreciated.

    Thank You staurt.
    I also got the SdnTechEd Documnet now. Was going through that.
    It Tells about the creation of Std Package.
    I need quick help  on my first Change . I.e
         for (int i = 0; i < wdContext.nodeSelectedInfotype().size(); i++)
    if(wdContext.nodeSelectedInfotype().getSelectedInfotypeElementAt(i).getBanka()== "1")
    wdContext.nodeSelectedInfotype().getSelectedInfotypeElementAt(i).setZlsch("T");
    wdContext.currentContextElement().setVa_Payment_Enable(false);
    I have requirement.
    If the Bank type is other bank (banka=1) then payment method should be of type T and non editable.
    I have wrote the above logic in Detail view init method of Controller and tried in View init too.It is making Payment method non editable in both the pages.
    Any pointer for above details.

  • Auto Query in Master Detail Form using dynamic page doesn't work

    I created a Master-Detail form, and implement AutoQuery using a dynamic page
    with the following code :
    <HTML>
    <BODY>
    <ORACLE>DECLARE
    nre_ VARCHAR2(100);
    BEGIN
    nre_ := emp_nre;
    if nre_ is not null then
    net_portal.Popula_Agregados(nre_);
    net_portal.Popula_Docs_Agregados (nre_);
    htp.p('<iframe id=myFrame name="myFrame" frameborder=0 width="250%"
    height="300"
    src="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=
    3
    388118140&p_arg_names=_show_header&p_arg_values=NO&p_arg_names=_cad_nre_cond&p_a
    rg_values=%3D&p_arg_names=cad_nre&p_arg_values='||nre_||'">
    </iframe>');
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    htp.p(SQLERRM);
    END;
    </ORACLE>
    </BODY>
    </HTML>
    It works fine when we access the first time to the page, but if i press the
    save button after inserting or updating a detail record, the header record is
    lost. How can i avoid this situation ?

    I changed query:
    select
    Replace(
    '<img src="#IMAGE_PREFIX#ed-item.gif" border="0" alt="EditMap" usemap="#editmap***id***"></img>
    <map name="editmap***id***">
    <area shape="rect" coords="0,0,16,16" href="http://apex.oracle.com/pls/otn/f?p=&APP_ID.:'
    || decode ( type, 'FOLDER', '33', '22' )
    || ':&APP_SESSION.::&DEBUG.::P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_ID,P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_CALLING_PAGE:' || id || ',&APP_PAGE_ID." ></area></map>' ,
    '***id***', id
    ) Edit,
    id,
    type,
    name,
    decode ( type, 'FOLDER', 33, 22 ) target
    from tThe idea is - each img uses its own map.
    It works now.
    Check:
    http://apex.oracle.com/pls/otn/f?p=20980:13
    Lev
    Edited by: le on Nov 3, 2010 11:11 AM

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

  • Oracle Portal Dynamic Pages?

    I grabbed this from the Primer on Portlets "<b>By simply cutting and pasting the HTML provided by affiliates into Oracle Portal dynamic pages, you can create a portlet specifically for that affiliate program and embed it into your portal.</b>"
    How is this Oracle Portal Dynamic Page created?

    The dynamic page is a portal application component. You can create one within any portal application that you have been granted edit privileges (for a sample, go to the Navigator, click on the Applications tab and open EXAMPLE APP). For additional information, check out the on-line help (search for dynamic) or glance at the components section of the product features whitepaper: http://technet.oracle.com/products/iportal/pdf/portal_twp.pdf

  • Reference Path in Dynamic Pages?

    Hi all,
    is there a possibility to use the portlet_runtime_record in an <oracle> tag within a dynamic page or a xml-component.
    I need expecially the reference_path and the page_url.
    Thanks.
    Fritjof.

    Scott,
    Here is how you can implement (without worrying about the reference paths and page_urls)
    1. Create a Dynamic Page that accepts TAB NAME as parameter.
    2. Put that on the page with TABS.
    3. Click on Edit Defaults and enter the TAB NAME and save.
    4. In your Dynamic page, refer to that parameter to know which tab you are on!!
    Hope it helps.
    - Haranadh

  • Dynamic Pages Error Took exception (WWV-01801)

    I have a dynamic page which I can save (and it runs fine). When I try to edit it, I get the error:
    Took exception (WWV-01801)
    This isn't very descriptive. Where can I start looking?

    It appears to be a bug in Portal.
    If I shrink down the size of my PL/SQL segment in the dynamic page, all is fine.
    This ultimately limits the size of PL/SQL blocks in a dynamic page. It would be nice if Portal should warn you about this.

  • Passing parameter to a dynamic page portlet

    We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
    1. Create a package and a store procedure.
    2. The store procedure creates the report and the look-and-feel of the report.
    3. Create a dynamic page with the following code:
    <ORACLE>DECLARE
    BEGIN
    mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
    END;
    </ORACLE>
    4. Set the parameter to "public" in the "customization form display option".
    5. Create a page group and a page.
    6. Clicked on properties of page and then clicked on the parameter tab.
    7. Added a parameter named "p_processor_code"
    8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
    9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
    10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
    11. Edit the page and went into layout mode.
    12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
    I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.

    I had more luck with PL/SQL items. Try something like this:
    declare
    zip varchar2(10);
    begin
    zip := portal.wwpro_api_parameters.get_value('zip', 'a');
    if zip='94065' then
       ... do something ...
    end if;
    end;Peter

  • Dynamic page number

    dynamic page number
    I am trying to print multiple documents in one report, the requirement is to reset page numbers for every document(to start counting from 1)
    I don't have control over the size of the document because it is a flow table
    I am using page conditional break to finish the document and start a new one but I couldn't change the page number.
    Plz help I am really trying to solve this for a week now.
    I am using 7.1 ADL
    thanks
    Edited by: Sami Japr on May 26, 2009 1:59 PM
    Edited by: Sami Japr on May 27, 2009 1:35 PM

    I figured it out thanks any way
    If anyone looking for a solution for the same issue
    he solution is as follows
    create 3 numeric fields in the header of the table
    total
    counter 1
    counter 2
    the total is to count the number of pages of each document
    in initialization event
    total = total + 1 ;
    the counter 1 is to make the counter of the pages from 0 to total (invisible)
    in calculate event
    if ( counter 1 < total ) then
    counter 1 = counter 1 + 1 .
    elseif( counter 1 >= total ) then
    counter 1 = 1
    counter 2 to show the page number of the document
    in layout ready
    counter 2 = 1
    in calculate event
    counter 2 = counter 1 + 1
    Note: this is the logic with little modification create the code
    Regards
    Sam or Muneer

  • Urgent: how to add dynamic page created by portal to your as a portlet in page

    i want to add a component i made by portal like dynamic page as a portlet into page in my application. please the answer is so important
    thanks

    HI,
    its easy to do.
    1.Create an application.
    2.Publish it as Application Provider.
    3.In that Application,create objects like dynamic pages,forms or report.
    4.Publish Dynamic page as a portlet.
    5.Create New Page or edit existing one.
    6.Click on add portlet tab and you will see ur dynamic page name in the portlet repository List.
    Thats it.
    null

  • Procedure in dynamic page shows only sometimes data

    Is anybody recognizing this problem:
    A stored procedure is called in a dynamic page. The procedure builds up a html form. When calling the dynamic page, sometimes the form appears, sometimes it does not appear. In the last case, even a errormessage is not shown. The portlet area in the page is just empty.
    Anybody an idea?
    Johan

    Problem solved. I changed the timeout period of the provider ('Edit a Provider Registration') and I added a timeout message.

  • Database Driven Dynamic pages

    Hi all,
    I am new to jsp/servlets but I know java. I have been teaching myself jsp for a few weeks now, but i am unclear about a few things. I figure a good exercise would be to make a ecom. website for someone i know, which would help me learn and they would get a site for free. I am just unclear on creating the dynamic pages. Say i have 6 categories. I would like to click on the link and select all the products from that category and display them in a table on the page. I know you need to create a servelet that will query the db then you can create the table adding in the data from the DB and send it back to the client side. Im just not sure what its the best way to do this. I have seen code the looks like product?productCode=123131. and i believe this calls a servelet and passes in the 123131 as a parameter. I have a pretty good idea of how to do this but i am looking for an example or some kind of tutorial to help me along. I have been searching for a while and came up with nothing. I have been using this book while teaching myself.
    Murach's Java Servlets and JSP
    They have a pretty good example of an entire site but i am just getting stuck in this spot.
    TIA
    John

    Sorry i was in rich text mode
    web.xml
    <servlet>
            <servlet-name>DisplayProducts</servlet-name>
            <servlet-class>category.DisplayProducts</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>DisplayProducts</servlet-name>
            <url-pattern>/product</url-pattern>
        </servlet-mapping>Product.java
    package ecom;
         import java.text.NumberFormat;
         import java.io.Serializable;
         public class Product implements Serializable
              private int code;
              private String style;
              private String description;
              private double price;
              private String color;
              private String size;
              private String thumb;
              private String full;
              public Product()
                   code = 0;
                   style = "";
                   description = "";
                   price = 0;
                   color = "";
                   size = "";
                   thumb = "";
                   full = "";
              public void setCode(int code)
                   this.code = code;
              public int getCode()
                   return code;
              public String getStyle() {
                   return style;
              public void setStyle(String style) {
                   this.style = style;
              public void setDescription(String description)
                   this.description = description;
              public String getDescription()
                   return description;
              public void setPrice(double price)
                   this.price = price;
              public double getPrice()
                   return price;
              public String getColor() {
                   return color;
              public void setColor(String color) {
                   this.color = color;
              public String getSize() {
                   return size;
              public void setSize(String size) {
                   this.size = size;
              public String getThumb() {
                   String imageURL = "/images/" + thumb;
                   return imageURL;
              public void setThumb(String thumb) {
                   this.thumb = thumb;
              public String getFull() {
                   String imageURL = "/images/" + full;
                   return imageURL;
              public void setFull(String full) {
                   this.full = full;
              public String getPriceCurrencyFormat()
                   NumberFormat currency = NumberFormat.getCurrencyInstance();
                   return currency.format(price);
         }ProductDB.java
    package data;
    import java.sql.*;
    import java.util.*;
    import ecom.Product;
    public class ProductDB {
        //This method returns null if a product isn't found.
        public static Product selectProduct(int productID)
            ConnectionPool pool = ConnectionPool.getInstance();
            Connection connection = pool.getConnection();
            PreparedStatement ps = null;
            ResultSet rs = null;
            String query = "SELECT A.PROD_SKU_ID, B.STYLE, B.DESCRIPTION, B.PRICE, A.COLOR, A.SIZE, C.THUMB_IMAGE, C.FULL_IMAGE "+
            "FROM TB_PRODUCT_SKU A "+
            "JOIN TB_PRODUCT B ON(A.PRODUCT_ID = B.PRODUCT_ID) "+
            "JOIN TB_WEB_IMAGE C ON(C.WEB_IMAGE_ID = B.WEB_IMAGE_ID) "+
            "WHERE A.PROD_SKU_ID = ? AND A.QUANTITY > 0";
            try
                ps = connection.prepareStatement(query);
                ps.setInt(1, productID);
                rs = ps.executeQuery();
                if (rs.next())
                    Product p = new Product();
                     p.setCode(rs.getInt("PROD_SKU_ID"));
                       p.setStyle(rs.getString("STYLE"));
                       p.setDescription(rs.getString("DESCRIPTION"));
                       p.setPrice(rs.getDouble("PRICE"));
                       p.setColor(rs.getString("COLOR"));
                       p.setSize(rs.getString("SIZE"));
                       p.setThumb(rs.getString("THUMB_IMAGE"));
                       p.setFull(rs.getString("FULL_IMAGE"));
                    return p;
                else
                    return null;
            catch(SQLException e)
                e.printStackTrace();
                return null;
            finally
                 UtilDB.closeResultSet(rs);
                 UtilDB.closePreparedStatement(ps);
                pool.freeConnection(connection);
        //This method returns null if a product isn't found.
        public static ArrayList<Product> selectProducts(String cat_id)
             ConnectionPool pool = ConnectionPool.getInstance();
             Connection connection = pool.getConnection();
             PreparedStatement ps = null;
             ResultSet rs = null;
             String query = "SELECT A.PROD_SKU_ID, B.STYLE, B.DESCRIPTION, B.PRICE, A.COLOR, A.SIZE, C.THUMB_IMAGE, C.FULL_IMAGE "+
                            "FROM TB_PRODUCT_SKU A "+
                            "JOIN TB_PRODUCT B ON(A.PRODUCT_ID = B.PRODUCT_ID) "+
                            "JOIN TB_WEB_IMAGE C ON(C.WEB_IMAGE_ID = B.WEB_IMAGE_ID) "+
                            "WHERE CATEGORY_ID = " +cat_id+ "AND A.QUANTITY > 0";
             try
                  ps = connection.prepareStatement(query);
                  rs = ps.executeQuery();
                  ArrayList<Product> products = new ArrayList<Product>();
                  while (rs.next())
                       Product p = new Product();
                       p.setCode(rs.getInt("PROD_SKU_ID"));
                       p.setStyle(rs.getString("STYLE"));
                       p.setDescription(rs.getString("DESCRIPTION"));
                       p.setPrice(rs.getDouble("PRICE"));
                       p.setColor(rs.getString("COLOR"));
                       p.setSize(rs.getString("SIZE"));
                       p.setThumb(rs.getString("THUMB_IMAGE"));
                       p.setFull(rs.getString("FULL_IMAGE"));
                       products.add(p);
                  return products;
             catch(SQLException e)
                  e.printStackTrace();
                  return null;
             finally
                  UtilDB.closeResultSet(rs);
                  UtilDB.closePreparedStatement(ps);
                  pool.freeConnection(connection);
        public static ArrayList<Product> selectProducts()
             ConnectionPool pool = ConnectionPool.getInstance();
             Connection connection = pool.getConnection();
             PreparedStatement ps = null;
             ResultSet rs = null;
             String query = "SELECT A.PROD_SKU_ID, B.STYLE, B.DESCRIPTION, B.PRICE, A.COLOR, A.SIZE, C.THUMB_IMAGE, C.FULL_IMAGE "+
                            "FROM TB_PRODUCT_SKU A "+
                            "JOIN TB_PRODUCT B ON(A.PRODUCT_ID = B.PRODUCT_ID) "+
                            "JOIN TB_WEB_IMAGE C ON(C.WEB_IMAGE_ID = B.WEB_IMAGE_ID) "+
                            "WHERE A.QUANTITY > 0";
             try
                  ps = connection.prepareStatement(query);
                  rs = ps.executeQuery();
                  ArrayList<Product> products = new ArrayList<Product>();
                  while (rs.next())
                       Product p = new Product();
                       p.setCode(rs.getInt("PROD_SKU_ID"));
                       p.setStyle(rs.getString("STYLE"));
                       p.setDescription(rs.getString("DESCRIPTION"));
                       p.setPrice(rs.getDouble("PRICE"));
                       p.setColor(rs.getString("COLOR"));
                       p.setSize(rs.getString("SIZE"));
                       p.setThumb(rs.getString("THUMB_IMAGE"));
                       p.setFull(rs.getString("FULL_IMAGE"));
                       products.add(p);
                  return products;
             catch(SQLException e)
                  e.printStackTrace();
                  return null;
             finally
                  UtilDB.closeResultSet(rs);
                  UtilDB.closePreparedStatement(ps);
                  pool.freeConnection(connection);
    }Display products.java
    package category;
    import java.io.IOException;
    import java.sql.Connection;
    import java.util.List;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import data.ConnectionPool;
    import data.ProductDB;
    import ecom.Product;
    public class DisplayProducts extends HttpServlet{
         protected void doGet(HttpServletRequest request,
                   HttpServletResponse response)
                 throws ServletException, IOException
              List<Product> products = ProductDB.selectProducts();
              HttpSession session = request.getSession();
              session.setAttribute("products", products);
              String url = "/bracelets.jsp";
              RequestDispatcher dispatcher =
                   getServletContext().getRequestDispatcher(url);
              dispatcher.forward(request, response);
    }bracelets.jsp
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <table>
      <thead>
        <tr><th>ID</th><th>Product Name</th><th>Price<th></tr>
      </thead>
      <tbody>
        <c:forEach var="products" items="${products}">
          <!-- formatting probably required for price -->
          <tr>
          <td>${product.code}</td>
          <td>${product.style}</td>
          <td>${product.description}</td>
          <td>${product.price}</td>
          <td>${product.color}</td>
          <td>${product.size}</td>
          <td>${product.thumb}</td>
          <td>${product.full}</td>
          </tr>
        </c:forEach>
      </tbody>
    </table>
    </body>
    </html>index.jsp
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <p><a href="product">Bracelets</a></p>
    </body>
    </html>Edited by: jonnyd9191 on Jul 14, 2008 1:49 PM

  • Trigger calling dynamic page

    hi! i've got a trigger that calls a dynamic page upon log in to the portal. problem is the page just doesn't show up. i'm using portal v3.0.9.8.0 and iAS R1, oracled db8.1.7.
    begin
    phang.testpage.show;
    end;
    i know the trigger is working cos if i changed it to
    begin
    insert into phang.test(qid) values(1);
    end;
    the value was inserted into the table upon logging into the portal.
    kindly advise.
    thx.

    hi! thx for the prompt reply. sorry, i should have made myself clearer. i had wanted a seperate greetings page (pop up window or not), apart from the default page after logging in to the portal.
    i've read in this forum that a user had his pop up screen from a html page - thus i improvised a bit by adding the codes in the page template that calls my procedure (combination of <oracle> tags and javascripts) and it does achieve the objective - provided the template is used or remember to copy the codes over when creating new ones.
    however, i was thinking it would be more correct to do it via the trigger way.
    the funny thing is if i had a trigger that calls the same procedure upon updating say the wwsec_person$ table. it does display the generated page when i go the the administer page and edit the user profile, only thing is it's displayed right on top of the normal page, i.e togather as one single page??!
    if what i've done is different from what you had in mind, kindly advice.
    thx again.

Maybe you are looking for