JSP problem..... + Dynamic Content

Hello to all,
In the Jsp page i am adding some dynamic content through JAVAScript.
but after clicking back and forward on the browser it doesnot retaining that content.
Can anyone give idea how to restore that dynamic content..
Please its urgent..
abhishek

generate the dynamic content using the JSP, not javascript. What happens on the client side has absolutely nothing to do with JSP's and it is completely up to the browser how it handles the page state when going back and forward.

Similar Messages

  • Problem with "PL/SQL Dynamic Content" and displaying rows

    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    however, i think i can getting working with a little bit of help but im stumbling around in the dark a bit here.
    ok so this is the pl/sql ive come up with to show three example values on page 23 of my aplplication:
    BEGIN
    SELECT ID, NAME, OWNER
    FROM COM_MAILSHOTS
    INTO :P23_ID, :P23_NAME, :P23_OWNER;
    END;
    im getting the error:
    1 error has occurred 
    ORA-06550: line 5, column 21: PL/SQL: ORA-00933: SQL command not properly ended ORA-06550: line 4, column 1: PL/SQL: SQL Statement ignored
    thanks for reading!

    Metabaron wrote:
    hi,
    im new to APEX, and pl/sql [but not web dev or sql].
    ive found the bit in APEX that lets you add data from your DB using the 'CREATE' > 'PL/SQL Dynamic Content'.
    maybe there's a better option for people who dont know pl/sql? i dont know?
    The easiest (and best) way to "display rows" is using a report. Dynamic PL/SQL regions are more complex and are required much less frequently.
    The Oracle® Database 2 Day + Application Express Developer's Guide tutorial explains how to create reports and other basic APEX techniques.

  • Mixing static and dynamic content in a single outputText value causes NPEs

    Hi,
    I am having a problem and I'm wondering if it is a result of my error or if this is a bug.
    I am mixing dynamic and static content in the value attribute of tags (e.g., outputText). On initial page load, everything works fine. However, if the same view is reloaded (e.g., after a failed validation) I get an NPE from JSF:
    [#|2006-10-24T08:49:03.756-0500|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
            at com.sun.faces.el.MixedELValueParser.getNextToken(MixedELValueParser.java:140)
            at com.sun.faces.el.MixedELValueParser.parse(MixedELValueParser.java:123)
            at com.sun.faces.el.MixedELValueBinding.getValue(MixedELValueBinding.java:60)
            at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
            at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:201)
            at com.sun.faces.renderkit.html_basic.LabelRenderer.encodeBegin(LabelRenderer.java:128)
            at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:130)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:445)
            at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
            at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
            at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:609)
            at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
            at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
            at org.apache.jsp.registration_jsp._jspx_meth_h_panelGrid_0(registration_jsp.java:324)
            at org.apache.jsp.registration_jsp._jspx_meth_h_form_0(registration_jsp.java:223)
            at org.apache.jsp.registration_jsp._jspx_meth_f_view_0(registration_jsp.java:157)
            at org.apache.jsp.registration_jsp._jspService(registration_jsp.java:118)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
            at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
            at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
            at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:326)
            at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
            at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:194)
            at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
            at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
            at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
            at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
            at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)My code looks like this:
    <h:outputText escape="false"
              value='<link href="#{myBean.styleSheet}" rel="stylesheet" type="text/css"  />' />If I replace this with a much more convoluted set of tags, it works:
    <h:outputText escape="false"
              value='<link href="' /><h:outputText escape="false" value="#{myBean.styleSheet}"
              /><h:outputText escape="false" value='" rel="stylesheet" type="text/css" />' />So is the problem that I am mixing dynamic and static content with a single value? If so, why does it work on the first view, and not after?
    If it matters, I'm using the reference implementation version 1.1 (as included with NetBeans 5.5RC2) on SuSE 10.0 w/ JDK 1.5_09.
    Thanks,
    Bill

    Yes, that's how I originally had it, but then changed it to the outputText approach since a single tag could do what I wanted, as long as I was allowed to mix static and dynamic content within a single value.
    I think this is a bug in JSF 1.1, since if what I am doing is illegal, it should throw an exception on the first page view, not work on first view and throw an exception on subsequent views. I'm guessing that this has something to do with the fact that on first page view it only runs the restore view and render response JSF phases, while on subsequent requests all of the phases will be run, and it's in one of those other phases that the exception is thrown.
    For now, multiple tags is the work-around, I guess.
    Thanks,
    Bill

  • Why jws doesn't start when i use jsp as dynamic jnlp?

    hello everyone,
    i use a jsp as dynamic jnlp to resolve the relative codebase problem,but jws can not start. while i use jnlp, there is no problem.i check the http head the jsp reterned,it seems no problem (it returns "application/x-java-jnlp-file" content type), but jws does not start and the browser opens it as a plan text. below is the http head the jsp and jnlp returned, i can not see any obvious difference that prevent jws start. hope somobody can help me, thanks.
    the jsp http head:
    HTTP/1.1 200 OK
    Content-Type: application/x-java-jnlp-file
    Date: Wed, 07 Aug 2002 02:52:31 GMT
    Server: Apache Tomcat/4.0.2 (HTTP/1.1 Connector)
    Connection: close
    Set-Cookie: JSESSIONID=EDAB1A3175B3D319BA33AE090EB973BF;Path=/webims
    the jnlp http head:
    HTTP/1.1 200 OK
    Content-Type: application/x-java-jnlp-file
    Content-Length: 372
    Date: Wed, 07 Aug 2002 02:49:58 GMT
    Server: Apache Tomcat/4.0.2 (HTTP/1.1 Connector)
    Connection: close
    Last-Modified: Wed, 07 Aug 2002 02:35:19 GMT
    ETag: "372-1028687719000"
    the response body is same. here is part of the jsp file:
    <%@ page contentType="application/x-java-jnlp-file"%>
    <%
    StringBuffer codebaseBuffer = new StringBuffer();
    codebaseBuffer.append(!request.isSecure() ? "http://" : "https://");
    codebaseBuffer.append(request.getServerName());
    if (request.getServerPort() != (!request.isSecure() ? 80 : 443))
    codebaseBuffer.append(':');
    codebaseBuffer.append(request.getServerPort());
    codebaseBuffer.append(request.getContextPath());
    %>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="<%=codebaseBuffer.toString()%>" href="<%=request.getRequestURI()%>">

    I get the same problem since I moved to Tomcat 4.1.18.
    The difference is that when I look at a jnlp, I get
    Date: Tue, 18 Mar 2003 10:58:25 GMT
    Server: Apache/1.3.26 (Unix) mod_jk/1.2.0 mod_ssl/2.8.10 OpenSSL/0.9.6b PHP/4.2.3 FrontPage/5.0.2.2510
    Content-Length: 1355
    Content-Type: application/x-java-jnlp-file
    Last-Modified: Mon, 17 Mar 2003 15:58:46 GMT
    Client-Date: Tue, 18 Mar 2003 10:58:25 GMT
    Client-Peer: 192.197.110.222:80
    and at a jsp:
    Date: Tue, 18 Mar 2003 11:06:10 GMT
    Server: Apache/1.3.26 (Unix) mod_jk/1.2.0 mod_ssl/2.8.10 OpenSSL/0.9.6b PHP/4.2.3 FrontPage/5.0.2.2510
    Content-Type: application/x-java-jnlp-file;charset=ISO-8859-1
    Client-Date: Tue, 18 Mar 2003 11:06:10 GMT
    Client-Peer: 192.197.110.222:80
    Set-Cookie: JSESSIONID=026BF3209EC094A4045F1D37C2A0E98B;Path=/
    Could the difference be ;charset=ISO-8859-1
    How to remove that, in my jsp I just have :
    <% response.setContentType("application/x-java-jnlp-file"); %>
    Help
    Benoit

  • Programm an static Design with dynamic Content

    Hello... I have an problem. I want programm an static design and and static menue, but the content must be dynamic. I know how it work with frames, but how does it work with an site only with tables... like this:
    http://www.galaxy-news.de/
    The menu is static but the content is dynamic and is work without frames.. But how? In the faces-config.xml is just an frame value:
    <navigation-case>
    <from-outcome>ok_next</from-outcome>
    <to-view-id>/masterDetail.jsp</to-view-id>
    </navigation-case>
    How does it work without frames. Here an example what I mean. It is an site with JSF without frames, but static design and dynamic content:
    http://www.irian.at/open_source.jsf
    Thanks for help

    <select name="gallerySelect" id="gallerySelect" onchange="dsGalleries.setCurrentRowNumber(this.selectedIndex);" spry:repeatchildren="dsGalleries" spry:choose="choose">
            <option spry:when="{ds_RowNumber} == {ds_CurrentRowNumber}" selected="selected">{sitename}</option>
            <option spry:default="default">{sitename}</option>
          </select>
    If i understand you correctly you want to use links, instead of a select.. You can do it like this:
    <ul spry:repeatchildren="dsGalleries">
         <li><a href="#{ds_RowNumber}" onclick="dsGalleries.setCurrentRowNumber(this.href.replace(/\#/g,''));">{sitename}</a></li>
    </ul>

  • Adding pagination in report build from PL/SQL dynamic content using htp.p

    Hi,
    I have a requirement for which i used PL/SQL dynamic content to build my report and i displayed my report using a cursor and loop by HTP.P function.
    Now problem is I have report with more than 500 rows and I want to add pagination concept for this report.
    How can i do that?
    Thanks in advance.
    Regards,
    Smith

    To preserve heading on each page for a HTML table you can use the THEADER, TFOOTER and TBODY tags (see example). To force page breaks, try experimenting with these style attributes:
    <STYLE TYPE="text/css">
         tr.breakhere {page-break-before: always}
    </STYLE>
    <tr class="breakhere">Table Example:
    htp.tableopen;
    htp.print('<THEAD style="display:table-header-group">');
    ... your table headers here
    htp.print('</THEAD>');
    htp.print('<TFOOT style="display:table-footer-group"><TR><TD></TFOOT>');
    htp.print('<TBODY>');
    ... your rows here
    htp.print('</TBODY>');
    htp.tableclose;Edited by: crokitta on Apr 8, 2009 2:07 PM

  • Adding PHP pages, not showing dynamic content?

    Hi all,
    I'm new and hoping I don't get ripped apart for a question that seems simple. I've looked a lot though and can't seem to find an exact scenario like this. I recently took over a PHP site for a friend that was built in Dreamweaver CS3.
    There's a master page (main.php) that includes a header and footer and middle area of dynamic content. Thus, all of the pages appear like: http://www.SITENAME.com/main.php?mod=about (for the 'about' page) or www.SITENAME.com/main.php?mod=welcome (for the landing/home page), etc.
    In main.php, there's a section of: // Include Multiple Static Pages that looks like this:
    $mxiObj->IncludeStatic("about", "about.php");
    for every static page.
    All of this makes sense to me. Here's my problem:
    When adding a new page now, I can't get it to show any of the dynamic content on the live site. I just get the static header and footer to show.
    In the main.php file, there's this section:
    </div>
      <div id="mainContent">
        <p> 
          <?php
      $incFileName = $mxiObj->getCurrentInclude();
      if ($incFileName !== null)  {
        mxi_includes_start($incFileName);
        require(basename($incFileName)); // require the page content
        mxi_includes_end();
    ?></p>
    </div>
    that's supposed to pull in the dynamic content. It's doing this just fine on the older pages, but not on the ones I'm trying to build now.
    I guess I'm asking if there's some type of file in an 'includes' folder that I'm missing where I need to make sure the FileName is also listed (not just in the static section on main.php)? What's the mising link that will get this dynamic content to show up?
    Thanks for any help in advance and for reading this!

    The quickest way to add new pages is to
    copy the template (index.php) to a new document (newdoc.php or similar)
    remove the PHP stuff - stuff that is not required for the new content
    if there are inludes for the menu, header, footer or similar, then you can link those back into the document using standard includes
    add the new content to the newly created document
    This will give you a stand-alone document. At a later stage you can convert these documents into a DW-template system.

  • Error in displaying dynamic contents in tableview?

    Hi Experts,
                     I am developing a jspDynpage which displays dynamic contents in a tableview. ie, the contents are retrieved from LDAP  Active directory. But i am getting wrong number of results. For example,
    If i give last name as Name1,
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company1       Fnm,Name1        +1 23456 397                                                                               
    Line 1 / 1
    Displays the name one time.
    first name - name2
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397                                                                               
    Line 1 / 4
    Repeating  the name 4 times.
    Lastname - name3
    MAIL          COMPANY           NAME             PHONE
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356                                                                               
    Line 1 / 10
    Repeating  the name 10 times.
    But in Active directory the names are unique .Please Guide me.
    Thanks in advance.
    Regards,
    Krishnan

    Hi
        The problem is with Vector which i used to store the retirved information.
    After cleared that i got the proper result.
    I thought the problem is with tableview.But it is not.
    Note: To clear the vector i used Vec.clear() method. It doesn't work. So i created that vector newly inside the loop.
    Regards,
    Krishnan

  • PHP dynamic content for form list field on tabbed panel

    I have been trying to use PHP dynamic content to populate a
    form list field. Works fine on a regular page, but doesn't seem to
    work (or works very erratically) if the form is on a tab of a Spry
    tabbed panel. Erratically means (as I've observed) the values will
    appear if the list field is the second on a tab but not the first.
    Haven't tried three on a tab... Anyone know if this is supposed to
    work?

    Thank You !!! to both of you above.
    Shant,
    The scheme youv'e proposed makes sense and I had thought of the same before posting the question. I already did a little POC on it but then realised this works if I can use complete list of values of 1st Field to decide the value of 2nd and so forth. But I rather need to know which one among those was clicked. Moreover, my right side list is usually not null when page loads for the first time (bcoz Field name is a path exp).
    Also, the real problem here is that, when I click on different values on the right side of multi-select(already selected values) of 1st Field, allowedValues and Derivation of 2nd should change. That GUI event is not capturable from whatever I've been able to read (onClick is not applicable for MultiSelect, and onChange doesn't serve my purpose, coz I need to know what value was clicked on).
    The solution I thought and implemented was to take the right side of multi-select, into an extra (read redundant), single-select Field. And then have the 2nd multi-select depend on it via Derivation and allowedValues.
    Having two redundant single-selects, isn't the most elegant solution but I can't think of anything better. Any thoughts ???
    If I'm not really overlooking something MultiSelect class should have an extra Property exposed....
    - AndyDev
    Edited by: AndyDev on Nov 6, 2007 2:04 PM

  • Alternative scrollpane to load dynamic content

    I'm trying to load jpgs to my scrollpane dynamically. I
    noticed the compiled scrollpane component in flash 8 is very large
    in size (> 130kb) which i cannot afford to use. Instead I'm
    using the flash 6 scrollpane which is not precompiled and only
    several kbs after compiling to swf. However, I have problem
    rendering loaded dynamic contents onto the pane. The first load
    after starting flash 8 was always successful. After that, it fails.
    In case anyone's interested, I have simple test code to demonstrate
    the problem, and have uploaded it to
    http://www.filesend.net/download.php?f=1c5d80093f0b68cdcf7fe4cca0e0c923
    (you'll need to wait for 10 secs before the download button appears
    on that linked page)
    I'm just wondering what is the best choice of a small size
    scrollpane that handles dynanimic MovieClip.loadMovie() well. Any
    suggestions?

    i just found out that scrollpane component is not that huge
    (only 38kb). Does anyone know why when I add it to my project my
    swf increases by 130kb?

  • Caching dynamic content?

    any one checked out this dynamic content caching engine called
    'dynamai'?
    customer (ipix.com) claims 35X performance increase and insures no
    browser gets stale content....w/o any mods to his existing web
    infrastructure.. and he's already on the akamai net.... expects no less
    than a 10X ROI in <1yr... just started reading the whitepaper... very
    interesting stuff...
    http://www.dynamai.com
    b.t.

    I am confused by your comment. But, version 5.1.1 is expected in June with
    this feature.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Olivier Brand <[email protected]> wrote in message
    news:[email protected]..
    Do you know when will be released this version ? Other J2EE compliantservers
    like iPlanet 6 offers this tag already. The same product has a cachingmechanism
    at the servlet level too. Will you plan to have something similar ? Ifnot, all
    the business logic will have to be moved in the JSP page itself, whichdoesn't
    follow the path of separating the content from the presentation...
    Any idea ?
    Olivier
    Michael Girdley wrote:
    You should also note a new piece of functionality that will be coming
    out in
    version 5.1.1 (as planned).
    This is a special tag extension for JSP that allows you to cache entireJSP
    segments/output.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    b.t. buxsnard <[email protected]> wrote in message
    news:[email protected]..
    any one checked out this dynamic content caching engine called
    'dynamai'?
    customer (ipix.com) claims 35X performance increase and insures no
    browser gets stale content....w/o any mods to his existing web
    infrastructure.. and he's already on the akamai net.... expects no
    less
    than a 10X ROI in <1yr... just started reading the whitepaper... very
    interesting stuff...
    http://www.dynamai.com
    b.t.

  • DataGrid Not Resizing to Dynamic Content

    Hello,
    I'm using Flex 3.2. I have an editable DataGrid with no with
    and height specified. I do specify rowCount to something like
    rowCount="dataProvider.length". Everything looks good when the
    datagrid is first rendered with data in it. However, if the data in
    it changes after rendering, then the grid doesn't resize
    accordingly. Actually the grid may resize, but the border/frame
    doesn't.
    Example:
    I have a special TextArea component that grows (vertically)
    as the user types in more lines of text. I use this component as
    one of my item editors. If a cell is first rendered with only one
    line of text, then the user goes in and types additional lines, the
    grid row grow within it's border, but the not the border itself...
    causing some undesired scrollbars.
    I need a way to tell the datagrid to re-calibrate sizing just
    like it does when it's first created. Is there a way to do this? I
    tried datagrid.invalidateSize() and related procedures, but nothing
    happens. What do you think?
    Thanks

    "bfargo" <[email protected]> wrote in
    message
    news:gmcsal$34d$[email protected]..
    >I finding this datagrid sizing to be extremely
    frustrating as to say, HTML
    > tables. I just want it to look good. Anytime I do
    anything with dynamic
    > content, it doesn't size right, or I end up with a bunch
    of ugly
    > scrollbars,
    > etc. I just want to be able to add some content, and
    have the datagrid
    > grow
    > with it.. at least in height.
    > VariableRowHeight is set to true, I try setting rowcount
    to my
    > dataprovider
    > length. Event though the length may be 5, it'll randomly
    throw a bunch of
    > other rows in there. The behavior is just completely
    incoherent (at
    > least to
    > me). Nobody else has these problems? .
    Post code

  • Writing dynamic content using JspWriter

    In my jsp I call a java object this java object calls jspWrtiter.print("some string");
    this prints string that is fine.Suppose I want to write any taglibrary or include another jsp this way is it possible ?
    for example below is my jsp
    <%@ taglib uri="/tld/struts-bean" prefix="bean"%>
    <% myobject..generate(new MyPageContext(pageContext)); %>
    <!-- jsp END -->
    <! -- inside myObject -->
    JspWriter out = getPageContext().getOut();
    out.print("<html></html>");
    out.print("<jsp:include page='jsp/include.jsp' />");
    the second line where I say jsp:include, prints as it is, it does not include that jsp.Is there any way I can have dynamic content not just html through JspWrite print method ?
    miro.

    out.print("<jsp:include page='jsp/include.jsp' />");this is perfectly iilegal as jsp tags are always executed at the server side but not at the client side.
    therefore that would only print something like
    <jsp:include page='jsp/include.jsp' /> in the client broswer page.
    the other way which i can think of is using iframes if you wanna do it @client side.
    something like
    out.println("<iframe src='jsp/include.jsp'  width='100' height='100'  scrollable='no' />");and the other way is making use of AJAX calling the JSP and getting back the content from the JSP and then updating a DIV / SPAN field accordingly.
    Hope this might help :)
    REGARDS,
    RaHuL

  • Sporadic issues uploading large dynamic content blocks using REST API

    I have been using calls to endpoints like https://secure.eloqua.com/API/REST/1.0/assets/dynamicContent/157 (where "157" is a content block ID) to update existing dynamic content blocks. This has generally worked well for about a month and a half. Starting Saturday morning around Midnight, though, the majority of these calls started failing, with socket error "connection was forcibly closed by remote host".
    That's the .NET verbiage; at a lower level, this is socket error #10054. When using CURL, I get the result pictured below:
    This is sporadic; over the course of today, maybe 25% of these calls have succeeded and 75% have failed. The calls are mostly identical. At other times, we've gone days, maybe weeks without an issue, and I figured that the isolated failures of this sort that we did get related to scheduled downtime, loss of connectivity, and other transient conditions.
    The payload (PUT data) I'm sending up is ~450KB of JSON. It contains the top-level details about the block itself, plus all of the dynamic content / rules criteria, including the default.
    At first, I wondered if some sort of weird character (ampersand, less than / greater than...) had entered my data, flowed into the API call unescaped, and created a problem (e.g. invalid JSON). However, I did some troubleshooting, and the failure we're seeing does not seem to correlate with the absence or presence of any one content / rule item in particular. Rather, it seems to be volume related, i.e. I can send any one of the rules I want to create, or just a few, and that will succeed. But I cannot send all (or most) of the rules at once without experiencing failures most of the time (lately).
    So, if there were a way for me to split up the creation of the block over multiple API calls (one call to create the block, another to add the default content rule, yet another for the first non-default content rule, and so on), I think that would work. I find no indication on Topliners or in the Eloqua API documentation to indicate that this is possible, though.
    It has occurred to me that we are over some API call threshold. I know that some Eloqua installations have a per-day API call limit as low as 20,000. My question is, what do I see when I exceed the limit? Do I get the "forcibly closed" error, or another error perhaps, or is my activity simply throttled by the server? And is there somewhere in Eloqua that I can see where I stand with respect to this limit?
    Finally, I know we've done some things recently that have increased our overall processing load on the Eloqua servers. In particular, a larger number of contacts than previously have been flowing in from our CRM system. One theory I had was that we're allocated a certain amount of total processing power, and that if we overload this capacity complex API calls are subject to timing out. (My communications timeout is set to 10 minutes, and the error message comes up after about 2-3 minutes, but I don't know what kind of timeouts Oracle might have set up on their own equipment.) That being said, my code needs to basically wait indefinitely for this data, and certainly not give up after 2-3 minutes. If there's a way to indicate this fact to Oracle, I'd certainly like to know about that.
    Thank you all for reading and attempting to help!

    Hi James,
    As far as I have been told (by Support) is that the API Limit is a soft limit that is not currently enforced.
    I have seen other API endpoints failing from time to time (mostly on the BULK API) and have had to write logic to redo calls that fail. My failures seems to occur primarily due to server load and I can force them by making allot of exports at the same time.
    In regards to the Dynamic Content Rules I think that you might be able to make the rules one/two rules at the time. What I would test is to make a Dynamic Content with only the default content. Then loop through your rules and only have new rules in the Rules section of the Dynamic Content.
    One more thing. Try using the REST/2.0 endpoint.

  • Need some help with dynamic content

    Okay so I have made a whole site design from the ground up, yea I know thats the easy part haha. Well now we have came into a problem in the coding aspect of the design. For the site we have dynamic content involved that is coded with PHP/HTML. The website contains a user system that requires them to log into view the content of the page.
    Well the issues I am having is I can not get flash to load this external file into a frame I have designated for it. Im not sure if flash can load external PHP/HTML and I need help to figure this issue out since I am new to Flash.
    Thank you for your time,
    Chris.

    One other thing you might try searching for, though to me it's just vague hearsay...  Someone may have written a class that can be use which enhances Flash's limited html capabilities and allows for thml content to be displayed (possibly being its own version of a browser of sorts)... but like I said, it's only hearsay to me, assuming I'm remembering the right hear.

Maybe you are looking for

  • Sun Java System Application Server 9.1  errors

    Hi Please asiste me ,I am getting this errors from : |WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=29;_ThreadName=Timer-31;orcale_sage_live;Connection could not be allocated because: Io exception: Socket is not connect

  • Airport card - will it fit an older model iMac?

    in order to save me running another ethernet cable to add my old G3 400mhz imac (summer 2000 model) to my home network, is it possible the airport card that resides presently in my Intel Core2Duo iMac (2.16 ghz) would physically fit in the G3? Airpor

  • Account Balance Sheet x Inventory Cube BW

    Hi Gurus, Need a cube o extractor with  account Balance Sheet x inventory(materials). I have 0FIGL_C10 0figl_c10 has all the accounts but not for material balance and 0ic_c03 have all the materials but not the balance sheet accounts, expense accounts

  • Properties of column values in a query

    Hi all, I am interested in knowing, how can we remove the rounding off of a value to its nearest integer, for a selection. Let me be more clear. I use a variable for alternate unit of measure. When I use some higher unit, then my value is getting rou

  • Windows Starter sticker countaining a key, but no installation CD

    I have recently bought an IdeaPad Z570. I bought one taht does not come with a Windows 7. But I discovered that i has a Windows 7 Starter key on a sticker but no Windows 7 DVD. My question is: how can I use this key? Is it possible to install Seven f