Not Yet Documented Array Example as JSP doesn't work.

Example:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
Steve, in the Not yet documented examples, you have an Array of String Domain Example. We tried to modify this to create a simple struts flow that sets up the view with some parameters and then shows a datapage of the results.
When run in batch mode, you get:
Validation Error
You must correct the following error(s) before proceeding:
JBO-28302: Piggyback write error
oracle.sql.CharacterSet1Byte
JBO-29000: Unexpected exception caught: oracle.jbo.InvalidOperException, msg=JBO-25063: Operation getCurrentRowSlot cannot be performed because the working set object is not bound.
JBO-25063: Operation getCurrentRowSlot cannot be performed because the working set object is not bound.
the 28302 and 25063 errors are undocumented.
If you switch to Immediate mode, it works.
Similarly, we tried to use a numeric Array in our current project to filter a view of records to a specific client list (client and his associations). The view renders OK the first time, but when you click a setCurrentRowWithKey hyperlink, the view ends up getting "refreshed" so that our JSTL expressions that point back to this "master page" bindings, i.e. ${data.MasterPageUIModel.ViewPfRptsDueView1} show incorrect data.
Normally, if you drop a view object on the page, and have a setCurrentRowWithKey, then navigate to a detail set, it RETAINS the row selected when you return to this view. Without changing ANYTHING else, other than the where clause to read: client_id in (' || my_client_list ||')', it worked perfectly. It also worked perfectly if we switched our sync mode to: Immediate instead of batch.
Can you/anyone elaborate why it works in one mode and not in another?

Repost.
Here's a section of the batch mode bc4j.log:
[221] Array.getInternalArray(281) Warning:No element type set on this array. Assuming java.lang.Object.
[222] RuntimeViewRowSetIteratorInfo.rangeRefreshed(1266) [RangeRefreshEvent: EmpArrayView1 start=0 count=3]
[223] Diagnostic.printStackTrace(405) java.io.NotSerializableException: oracle.sql.CharacterSet1Byte
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
=====> at oracle.jbo.domain.Array.writeObject(Array.java:748)
... [ much removed ] ...
NOTE [221] and [223].
It appears to work in batch mode, if you make a call to the array method: useElementType, i.e.
arr = new Array(descriptor,conn,names);
arr.useElementType( java.lang.String.class);
However, this method appears to be written incorrectly. IF I just change the array.java useElementType method to read:
public void useElementType( Class claz )
if ( mElemType == null )
mElemType = claz;
instead of:
public void useElementType(Class claz)
if (mElemType != null)
mElemType = claz;
it works.
I'm just trying to get some closure on this.

Similar Messages

  • Not Yet Documented ADF Sample Applications download link not working

    Steve Muench Not Yet Documented ADF Sample Applications located at http://blogs.oracle.com/smuenchadf/examples/
    The download link for the samples does not work. It directs us to Oracle JDeveloper Products Page instead.
    Clicking on the title of any sample application used to enable the download of the sample file. Now it points to http://www.oracle.com/technetwork/developer-tools/jdev/overview/index.html
    Is there an alternative way to download the sample applications?
    Thanks in advance for your help.
    Mitesh

    Unfortunately the link https://smuenchadf.samplecode.oracle.com/samples does not work. It gives message URL is not valid.
    Your samples are a very important source of reference for us. Hopefully all the samples can be migrated to the new site soon.
    I am using JDev 11.1.1.2. I am using editable checkboxes is a table with RowSelection = Single. When I click on a selectBooleanCheckbox on a different row other than the current table row, the checkbox value changes at first but immediately reverts back to the previous state. It works fine so long as I remain on current row of the table. If I turn RowSelection off then I don't face this issue.
    For information, I wanted to take a look at your sample 145. Using a CheckBox in an Editable Table with Boolean/Button Binding.
    Thank you for your help.
    Mitesh.

  • Parsing in Weblogic/jsp doesn't work; application-mode (command-line) works

    Hello-
    Parsing my XML file in Weblogic/jsp doesn't work, whereas it works
    in application-mode... (albeit on two different machines)
    Here are the parameters:
    server1:
    weblogic 6.0
    win2k server
    jre1.3
    my personal machine:
    ***no weblogic***
    win2k server
    jre1.3
    When I run my code as an application (command-line style) on my machine,
    parsing in my xml file works fine, and I can do a root.toString() and it
    dumps out the entire xml file, as desired.
    However, running my code inside weblogic (on server1) in JSP, parsing in
    my file and doing a root.toString() results in the following: [dmui: null]
    (where dmui is my root)
    (even though i'm running it on two different machines, i'm positive its the
    same code (the servers share a mapped drive)...
    So, I think its probably because I'm using a different parser, as
    specified by weblogic? There are no exceptions being thrown. Here's my
    (abbreviated) code, which is called either command line style or in a JSP:
    // Imports
    import org.w3c.dom.*;
    import org.w3c.dom.Document;
    import javax.xml.parsers.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    DocumentBuilderFactory docBuilderFactory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    mDocument = docBuilder.parse (inFile);
    myRoot.toString()
    -END
    Doing a System.getProperty("javax.xml.parsers.DocumentBuilderFactory")
    results in:
    server1 (weblogic/jsp):
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
    my machine (application-mode):
    null
    Does anyone have any ideas about how to get this work? Do I try to set it
    up so that they both use the same parser? Do I change the Weblogic parser?
    If so, to what? And how?
    Am I even close?
    Any help would be appreciated..
    Thanks, Clint
    "[email protected]" <[email protected]> wrote in message
    news:[email protected]...
    No problem, glad you got it worked out :)
    ~Ryan U.
    Jennifer wrote in message <[email protected]>...
    I completely missed setting the property(:-o), foolish mistake. That wasit. Thanks.
    "j.upton" <[email protected]> wrote:
    Jennifer,
    Personally I would get rid of import com.sun.xml.parser.* and use xerces
    which comes with WLS 6.0 now, unless like I said earlier you have a need
    to
    use the sun parser :) Try something like this with your code --I've put
    things to watch for as comments in the code.
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.w3c.dom.*;
    import java.io.FileInputStream;
    public class BasicDOM {
    public BasicDOM (String xmlFile) {
    try{
    FileInputStream inStream;
    Document document;
    /*You must specify a parser for jaxp. You can in a simple view
    think
    of this as being analogous to a driver used by JDBC or JNDI. If you are
    using this in the context of a servlet or JSP and have set an XML
    registry
    with the console this happens automatically. You can also invoke it in
    the
    context of an application on the command line using the -D switch. */
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
    >>>
    "weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    // create a document factory
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    // specify validating or non-validating parser
    dbf.setValidating(true);
    // obtain a factory
    DocumentBuilder db = dbf.newDocumentBuilder();
    // create a document from the factory
    inStream = new FileInputStream(xmlFile);
    document = db.parse(inStream);
    }//try
    catch (Exception e)
    System.out.println("Unexpected exception reading document!"
    +e);
    System.exit (0);
    }//catch
    }//BasicDom
    // Main Method
    public static void main (String[] args) {
    if (args.length < 1)
    System.exit(1); file://or you can be more verbose
    new BasicDOM(args[0]);
    }//class
    =============================================
    That will give you a basic DOM you can manipulate and parse it fromthere.
    BTW this code
    compiled and ran on WLS 6.0 under Windows 2000.
    Let me know if this helped or you still are having trouble.
    ~Ryan U.
    "Jennifer" <[email protected]> wrote in message
    news:[email protected]...
    Actually I included com.sun.xml.parser.* as one last febble attempt toget
    it working.
    And as for source code, I included the code. If I just put that oneline
    of code
    in, including the imports, it fails giving me an error listed above inthe
    subject
    line. Here is the code again:
    package examples.xml.http;
    import javax.xml.parsers.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.*;
    import java.util.*;
    import java.net.*;
    import org.xml.sax.*;
    import java.io.*;
    public class BasicDOM {
    static Document document;
    public BasicDOM (String xmlFile) {
    try {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    } catch (FactoryConfigurationError e){
    System.err.println(e.getException());
    e.printStackTrace();
    // Main Method
    public static void main (String[] args) {
    BasicDOM basicDOM = new BasicDOM (args[0]);

    Hi, Rob
    Does it work in WL9.2?
    It seems I do it exactly as the explained at http://edocs.bea.com/wls/docs81/programming/classloading.html - and it fails :o(.
    I try to run my app.ear with WL9.2 There are 2 components in it: webapp and mdb. The webapp/WEB-INF contains weblogic.xml:
    <weblogic-web-app>
    <container-descriptor>     
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    </weblogic-web-app>
    Mdb is expected to run in the same mode, i.e. to prefer the webapp/WEB-INF/*.jar over the parent Weblogic classloader. To do so I add the weblogic-application.xml to the app.ear!/META-INF:
    <weblogic-application>
    <classloader-structure>
    <module-ref>
    <!-- reminder: this webapp contains
    prefer-web-inf-classes -->
    <module-uri>webapp</module-uri>
    </module-ref>
    <classloader-structure>
    <module-ref>
    <module-uri>mdb.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </weblogic-application>
    Now, when classloader-structure specified, both webabb and mdb prefer the weblogic root loader as if prefer-web-inf-classes not defined at all.

  • JSP Doesn't work on Apache

    I installed Oracle Portal Early Adoptor edition to Windows 2000. I noticed that the Oracle HTTP server has Apache/Jserv. The servlet sample works, however the JSP doesn't work. There aren't any documentation about JSP. Do I have to install a 3rd party JSP web server such as JRUN to run JSP? Thanks.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sir Gawin:
    I installed Oracle Portal Early Adoptor edition to Windows 2000. I noticed that the Oracle HTTP server has Apache/Jserv. The servlet sample works, however the JSP doesn't work. There aren't any documentation about JSP. Do I have to install a 3rd party JSP web server such as JRUN to run JSP? Thanks.<HR></BLOCKQUOTE>
    I would also be interested in this answer.I had test site running on a win2000 server with Apache/Jserv until I installed WebDB. Now I can connect via a web browser to the default WebDB site but the Apache HTTP sevices refuse to start up giving an error message 1069( or something like that). WebDB is configired to a different port( not 80)than Apache http
    null

  • My ipod touch 5th generation will not turn on and the home button doesn't work. what do i do?

    Hello my name is Leslie and i would like to ask you guys a question on how to fix my ipod or what is wrong with it. My ipod touch 5th generation will not turn on and the home button doesn't work. what can i do to fix it ?

    Has the home button worked in the past, or is this been something that hasn't worked for some time? The only way to reset the device is with the sleep/wake (power) and home buttons together. Without it, you would have to wait until the battery dies and then plug it in to try and reset it. The Home button is used for several user troubleshooting steps. Without it, you cannot perform a reset, put the device into recovery mode, or place it in DFU mode. You need to get the home button repaired.

  • Viewing document (blob) in JSP doesn't work

    I am currently supporting an application which talks to an Oracle 11gR1 database using several application servers. Our application is working on the following application servers:
    - Apache Tomcat 5 and 6
    - Oracle Application Server 10gR3
    - WebLogic (configuration 1)
    We have an second server which has WebLogic (configuration 2); however, we cannot get the JSP to display on that server. The same WAR file has been deployed to all four application servers, yet only the WebLogic Server configuration 2 doesn't work.
    WebLogic Server (configuration 2) appears to work (doesn't give an error message); however, the web-page tries to show a document (which appears to be a copy/representation of the existing HTML web page - i.e. a form filter screen). Any insight into the possible problem?
    The code we are using is shown below:
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws Exception {
    String fileIdString = request.getParameter("fileIdString");
    try {
    // Get the File to send to the client
    int fileId = Integer.parseInt(fileIdString);
    CustomFile file = fileService.loadFileById(fileId);
    if (file == null) {
    log.error("The fileId (" + fileId + ") could not be found - DNE.");
    int lastDot = file.getFilename().lastIndexOf('.');
    String fileExtension = (lastDot!=-1 ? file.getFilename().substring(lastDot) : "" );
    FileType fileType = fileService.loadByFileExtension(fileExtension);
    if (fileType == null) {
    log.error("The system could not find the file extension (" + fileExtension + ").");
    // Setup the response header so a file can be streamed to the client
    response.setHeader("Content-disposition", "attachment; filename=" + file.getFilename());
    response.setContentLength((int) file.getFile().length());
    response.setContentType(fileType.getWebContent());
    // Break the file down into its bytes so it can be streamed
    ServletOutputStream outputStream = response.getOutputStream();
    InputStream inputStream = file.getFile().getBinaryStream();
    byte[] buffer = new byte[2048];
    int bytesRead = inputStream.read(buffer);
    while (bytesRead >= 0) {
    if (bytesRead > 0) {
    outputStream.write(buffer, 0, bytesRead);
    bytesRead = inputStream.read(buffer);
    // Garbage collection
    outputStream.flush();
    outputStream.close();
    inputStream.close();
    return null;
    } catch (Exception exception) {
    log.error(exception.getMessage());
    return mapping.findForward("failure");
    We had a siimilar issue with some displaying RTF documents and the solution was to remove ALL whitespace characters in the JSP (which seemed to work). I don't see how we can remove the whitespace in the above ActionServlet code.
    Thanks in advance for the help!

    Hi Peter,
    Sorry i am not able to understand what u want to say.If u give some more details it will be useful.
    If i understand u correctly u want the button to be hidden initially and visible after some contidion becomes true right?
    If yes call a javascript function as soon as ur condition becomes true and inside that function make the span visible by writting the following code.
    document.getElementById('id of span').style.visibility='visible';
    Dont forget to give an id to span. it is necessary.
    U can use span itself no need of going for div
    If my view is wrong tell me detaily what is ur ultimate aim?
    Regards,
    Tamil K
    Message was edited by:
            Tamil Venthan

  • Hidden button in jsp doesn't work

    Hi SDN.
    In jsp (jspdynpage) I would like to get to the server after showing a "Confirm" dialog box.
    I have tried with a hidden button like this:
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
    <%
         String setShowFlag = null;
    %>
    <SPAN STYLE="visibility: hidden">
         <hbj:button id='showFlag'
               text=""
               onClick="setShowFlagFalse"
               jsObjectNeeded="true">
               <% setShowFlag = myContext.getParamIdForComponent(showFlag); %>
         </hbj:button>     
    </SPAN>
    <Script language="JavaScript">
         var agree=confirm("Move to incoming");
         if (agree) {
              do something     }
            else {
              document.all.<%=setShowFlag%>.click();
    </Script>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Do anyone know why this doesn't work?
    Thanks in advance
    Peter

    Hi Peter,
    Sorry i am not able to understand what u want to say.If u give some more details it will be useful.
    If i understand u correctly u want the button to be hidden initially and visible after some contidion becomes true right?
    If yes call a javascript function as soon as ur condition becomes true and inside that function make the span visible by writting the following code.
    document.getElementById('id of span').style.visibility='visible';
    Dont forget to give an id to span. it is necessary.
    U can use span itself no need of going for div
    If my view is wrong tell me detaily what is ur ultimate aim?
    Regards,
    Tamil K
    Message was edited by:
            Tamil Venthan

  • Simple struts example but it doesn't work

    Hello everybody,
    I'm new in struts technology and I wanted try a simple struts example, but it didn't work. Here are listings of code:
    *** struts-config .xml (is located in WEB-INF/) :
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="registerForm" type="app.RegisterForm"/>
    </form-beans>
    <action-mappings>
    <action path="/register"
    type="app.RegisterAction"
    name="registerForm">
    <forward name="success" path="/success.html"/>
    <forward name="failure" path="/failure.html"/>
    </action>
    </action-mappings>
    </struts-config>
    *** RegisterAction.java (located in WEB-INF/classes/app):
    package app;
    import org.apache.struts.action.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class RegisterAction extends Action {
         public ActionForward perform(ActionMapping mapping, ActionForm form,
                   HttpServletRequest req, HttpServletResponse res) {
              // b Cast the form to the RegisterForm
              RegisterForm rf = (RegisterForm) form;
              String username = rf.getUsername();
              String password1 = rf.getPassword1();
              String password2 = rf.getPassword2();
              // c Apply business logic
              if (password1.equals(password2)) {
                   return mapping.findForward("success");
              // E Return ActionForward for failure
              return mapping.findForward("failure");
    *** RegisterForm.java (located in WEB-INF/classes/app):
    package app;
    import org.apache.struts.action.*;
    public class RegisterForm extends ActionForm {
    protected String username;
    protected String password1;
    protected String password2;
    public String getUsername() {return this.username;};
    public String getPassword1() {return this.password1;};
    public String getPassword2() {return this.password2;};
    public void setUsername(String username) {this.username = username;};
    public void setPassword1(String password) {this.password1 = password;};
    public void setPassword2(String password) {this.password2 = password;};
    *** faulire.html ( located webapps/NAME_APPLICATION/ )
    <HTML>
    <HEAD>
    <TITLE>FAILURE</TITLE>
    </HEAD>
    <BODY>
    Registration failed!
    <P>try again?</P>
    </BODY>
    </HTML>
    *** success.html ( located webapps/NAME_APPLICATION/ )
    <HTML>
    <HEAD>
    <TITLE>SUCCESS</TITLE>
    </HEAD>
    <BODY>
    Registration succeeded!
    <P>try another?</P>
    </BODY>
    </HTML>
    *** register.jsp ( located webapps/NAME_APPLICATION/ )
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <html:form action="register.do">
    UserName:<html:text property="username"/><br>
    enter password:<html:password property="password1"/><br>
    re-enter password:<html:password property="password2"/><br>
    <html:submit value="Register"/>
    </html:form>
    *** web.xml (located in WEB-INF/)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>
         org.apache.struts.action.ActionServlet
         </servlet-class>
    <init-param>
    <param-name>application</param-name>
    <param-value>ApplicationResources</param-value>
    </init-param>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>validate</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- Struts Tag Library Descriptors -->
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    </web-app>
    After start of NAME_APPLICATION it show register form (register.jsp) but when I fill out all information and submit those information it show empty window in internet browser and in url box is something like this:
    http://localhost:8084/StrutsTest/register.do;jsessionid=2304C0A9820E7FCC23106C16564D51A8
    where is a problem? Thank you

    Employing a descendent of the Action class that does not implement the perform() method while using the Struts 1.0 libraries. Struts 1.1 Action child classes started using execute() rather than perform(), but is backwards compatible and supports the perform() method. However, if you write an Action-descended class for Struts 1.1 with an execute() method and try to run it in Struts 1.0, you will get this "Document contained no data" error message in Netscape or a completely empty (no HTML whatsoever) page rendered in Microsoft Internet Explorer.
    Also check this URL http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html

  • Why passing string from applet to jsp doesn't work?

    Hi,all:
    I have a application requires applet to get client side info, then pass this "info"--string to the JSP.
    Applet code:
    try{
         URL url = new URL(getCodeBase(),"test.jsp?
    java.version=1.2.2&java.vendor=Sun);
         URLConnection conn = url.openConnection();
         conn.setDoOutput(true);
         conn.setUseCaches(false);
         conn.setRequestProperty("Content-Type", "application/octet-stream");
         conn.connect();
    } catch (Exception e) {
         System.out.println("The error is at URL:"+e.getMessage());
    My jsp code is:
    <%
    String java_version=request.getParameter("java.version");
    String java_vendor=request.getParameter("java.vendor");
    %>
    However, it doesn't work. Could anybody help me figure out?
    Thanks in advance.
    Paul

    Request Jsp with
    test.jsp?URLEncoder.encode("java.version")=URLEncoder.encode("java.version.value")&URLEncoder.encode("java.vendor")=
    URLEncoder.encode("java.vendor.value")

  • Where are steves "not yet documented example file"

    hello
    i am tryin go test some of the examples that are demonstrated in http://blogs.oracle.com/smuenchadf/resource/examples page
    One of them for example is #113. It URL is broken as are all other examples that i have tried (http://java.net/projects/smuenchadf/sources/samples/content/BindVariablesAppliedToDetail.zip)
    where can i find them please
    m. bani yanseen

    mohammad,
    I know that Oracle is in the process of migrating stuff from samplecode.oracle.com to the java.net infrastructure - apparently those haven't been moved yet, but the links are pointing to where they should eventually end up.
    John

  • Can't download file from Steve Muench not yet documented examples

    I'm trying to download example 64 - Recalc Sum of Salary at the view object level but the link is broken? Can someone provide me the file?
    Thanks.

    Thanks for reporting the issue. We have been able to reproduce it at our end and shall let you know when this gets fixed in one of the future releases.
    Thanks,
    Adobe Reader Team

  • Not Yet Documented ADF Ex 9 Dynamically Binding to Dynamically Created View

    I have dynamically created a View Object and would like to build a dynamic HTML Table on a web page based upon my view. I think something similar is done in Steve Muench's sample #9. My problem is I am new to ADF and the example was done in an earlier version of JDev (I am using 10.1.3.0.4) and the JSP page in the example will not compile. I get an error at:
    <textarea style="width: 100%" name="sql" rows="3" ><c:out value="${param.sql}"/></textarea><br>
    Saying required param "cols" is missing. I also get a nesting error in this code:
    <tr>
    <c:forEach var="attributeLabel" items="${bindings.DynamicViewObject.labelSet}">
    <th>
    because (I think) the compiler expects a </tr> and it is seeing the <c:forEach var="attributeLabel"> tag.
    Is there a setting in JDeveloper I can use to allow this application to compile? Is there a similar example done in JSF as that is what my current application is being developed using.
    TIA,
    Jeff

    Any help on this? Kind of Urgent...
    Thanks,
    Jeff

  • Cannot download Not Yet Documented ADF Sample Applications

    Hi:
    I am having problems to download the examples in this page:
    http://blogs.oracle.com/smuenchadf/examples/
    When clicking on a link to download a sample I get asked my user name and password and after that I get an internal server error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    I've asked some colleagues to try the procedure to see if it is a problem with my account, but they get the same result, we are all Oracle employees.
    Regards,
    Cesar

    hi Cesar
    I must say that the RestoreCurrentRowAfterRollback.zip file I downloaded looks a little strange
    see http://www.consideringred.com/files/oracle/img/2011/RestoreCurrentRowAfterRollback-zip-20110118.png
    It is a ZIP file with one single file inside it "RestoreCurrentRowAfterRollback" (no extension) which seems to be a ZIP file (add ".zip" extension).
    success
    Jan

  • Not Yet Documented ADF Sample Applications #113.Apply Bind Varible Val @11g

    Hi ,
    I am trying to apply this to 11g but I am facing some weird issues. I am using an editable inline detail table and when I edit a row and refresh the page it adds a new row with the updated value to the table.
    Should I use a different way to Apply Bind Varible Values to Filter View Link Accessor RowSets in 11g ?
    113.Apply Bind Varible Values to Filter View Link Accessor RowSets
    Thanks

    Hi Frank,
    Would really apprecaite your feedback and Muhammad has same issue and he is
    trying work around for this issue using view accessor.
    I read your wonderful blog everytime, I am stuck in problem , I would appreciate ,if you can give me answer to my issue.
    Let us consider : Item , SubItem relationship.
    Component : Item VO , SubItemVO , Item can have many subitem.
    1.Created ItemVO
    2.Create SubItemVO
    3.Create View Link based on ItemVo-ItemId that is FK in SubItem table.
    4.Created JSF page and Dragged ItemVO from Datacontrol to JSF Pagen as ADF ReadOnly Table.
    5.Expanded Item table structure in Structure window and open the detailstamp.
    6.Dragged SubItemVO in detailstamp as ADF ReadOnly table.
    Expected Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO Second Row
    Current Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    Description: Second ItemVO when expanded shows first ItemVO SUBITEMS.
    Thanks,

  • What is the best way to shut down an iMac that has frozen during a data transfer? The disk I was writing to will not eject. Stopping "copy items to" doesn't work either_ it is frozen as well. Is there a way to force eject the disk so I can shut down?

    Some more information on the above: OS: 7.2
    1. None of the shutdown commands would work so I held the power button down and received a prompt that asked if I wished to force eject the drive, I selected
    the force eject and then shut down.
    2. Just recently I installed an eSATA _ Thunderbolt_ port multiplier compliant PCIe card (Seritek Q6G) into a thunderbolt external chassis (OWC Helios) (seritek Q6G).
    This freeze data transfer also happened when I connected a Firmtek 5PM external tower to the iMac via thunderbolt cable.
    The driver for the seritek Q6G was installed in the iMac previous to connection of any of the devices.
    Both external towers mount ok on the iMac but have frozen during data transfer.
    The initial freeze was with the Firmtek 5PM which is (JBOD)_ I thought that might have had something to do with the freeze_ it being JBOD_ so next I tried the Mercury Elite AL Pro Q2- which is formated in RAID 5. But then froze too.
    Anybody have any experience with this?
    Maybe I need another driver?
    Or maybe some update to my OS?
    Any suggestions welcomed.
    Thank you

    Hello BDAqua, thanx for the suggestions. Before I saw this reply I tried to first quit the finder and then to relaunch the Finder but that resulted was a blank gray screen.
    In the end I ended up having to power down the iMac.
    Fortunately the RAID array that was "active" seems to be fine and also has a firewire 800 connection so I can use it_ just not with thunderbolt until this issue is solved.
    I'm going to check in the Applications>Utilities>system log to see if any clues are evident_ thank you for the suggestion.
    PS: Nothing of note was obvious as a root cause in the Activity Monitor though.
    hmmm....I was told that the Helios and seritek card were compatable and that the Helios didn't require any drivers..it will be a drag if there isn't an easy fix for this since this new PCIe card from seritek is the first to offer port multiplier compatibility for eSATA to thunderbolt...since they are both new I'm hoping that an OS upgrade will be the fix (presently7.2)...we shall see.

Maybe you are looking for

  • Error while executing a command from TOOL on a NodeAgent

     

  • Jsp:useBean and assigning a value to that bean

    Hello, I have a type called Country and I have declared a bean using the "jsp:useBean" syntax. I then try to assign a value to that bean in a scriptlet. Eventually I try to retrieve the values using "jsp:getProperty". The problem is that it appears t

  • Reverse photo order in iMovie

    Hi, I am making a photo slide show with iMovie, and i have imported 240 photos into the project. Now the problem is that i want to reverse the order of the photos, so to play slide show from the last photo to the first photo (an anti-chronological or

  • Finder Crash when launched by iTunes

    After upgrading to Mavericks: Launch iTunes Select "File->Add to Library" Finder opens and suddenly close by itself This issue happens also in Safe Mode I've never had this kind of problem with Mountain Lion Any suggestion ?

  • Combining iTunes libraries from two users.  Will this work...

    My wife and I have use separate Macs in the past but have lately decided to combine into one iMac and keep our Macbook as a computer either can use. We use the same iTunes account, but she has her purchases, I have mine and we have the stuff we both