Nesting a BC4J JSP data tag within a Struts tag?

Has anybody tried nesting a BC4J JSP data tag within a Struts JSP tag? I can't get it to work. For example,
<logic:equal name="sort" value="<jbo:ShowDefinition datasource='ds' dataitem='CustomerName' definition='ColumnName' />">
blah blah blah
</logic:equal>

Try using single quotes in the value=' ' and double quotes in the jbo tag usage.

Similar Messages

  • Can a BC4J-JSP App live within a Portlet

    I've read the posts AND the docs AND still do not have a clear idea if a BC4J-JSP application can live within Portal. I DO NOT WANT to click on a link from Portal and open a * NEW * window, I want the BC4J App to be contained within the Portal.
    Can anyone from Oracle Portal answer this **** AND *** can you show a working example of a BC4J application. HelloWorld.jsp is not a multi-page application.
    Thanks,
    Bill G...

    Hi Bill,
    1. Yes, you can access the userid from your partner app.
    2. Do you want to make your code appear on a portal page, and re-render it within the portlet container, rather than have your application replace the portal page? If this is what your question is, then:
    a) You may run your app in an iframe as Subramanyam has recommended. The first issue with this: ns 4.x doesn't support it. The second one, the request is sent to your app from the browser iframe, it doesn't go through the parallel page engine, thus your application is not being cached along with the page. Also, end users can't access a particular page of your application, they can only bookmark the portal page, which will always display the initial page of your application.
    b) You can run your app as it is, taking advantage of the renderers of PDK, capable to render JSPs. In this case, you need to modify your code, at least the links and forms, so that the portal page URL is used as the target url (extra parameters appended to it, or implemented in hidden fields).
    You find a sample portlet (Flights of Fancy External Application) implemented as a partner application in the PDK.
    This is a PDK article worth to check out: Using PDK-Java to Integrate a Partner Application with Oracle9iAS Portal (V2)
    And finally, you find the Administration Guide, the Appliation Developre's Guide, and the API Reference in the Oracle9iAS Documentation Library under Oracle9iAS Single Sign-On on the Management and Security tab.
    Peter

  • BC4J, jsp data tags, jbo tags , documentation

    Hi everybody
    Would you please advise me where I can find information and documentation preferably in .pdf format about jbo jsp tags for working with BC4J?
    Thanks in advance

    Hello
    .CHM (or "chum") are Microsoft's way of bundling help files, and require Internet Explorer to be installed on your system. If you want to view the chum files without starting up JDeveloper, you can double-click a .chm file (start with jdeveloper.chm to work with the entire set).
    As an additional solution, we've provided HTML versions of the docs which are viewable between the major browsers on the different platforms (you'll need javascript enabled).
    The doc set was not designed to be compiled/distilled into pdf and is not recommended.
    Thanks for your comments!
    orlando

  • BC4J/JSP: Missing navigation values in table tag

    We are using BC4J view objects, overriding the native functionality of the view object to call PL/SQL APIs plus JSPs with UIX/Cabo tags to render output for BC4J.
    Within the JSP the dataSource/view object rangesize is set to 6 and we are using the table tag.
    When rendering a page for the first time, the table tag navigator correctly shows the number of records eg. 1-6 of 100 and navigation through the record set works perfectly eg. next set is 7-12 of 100.
    If you exit that page (to display another page) then return to it, the table tag navigator in the first page contains no values and it is not possible to navigate through the record sets. This happens to all our pages when rendering them more than once.
    The log file shows that on the initial rendering of the first page, the Estimated Row Count is set correctly, and continues to be correct whilst navigating through the data. When returning to the first page after showing another page, the Estimated Row Count is 0.

    I assume this doesn't happen in the non-overriden view objects. Can you provide more information on what functionality you have overriden since getEstimatedRowCount() doesn't seem to work in your version of the view object?

  • JSF tags within normal HTML tags (jsfc attribute)

    Hi all,
    I was just browsing some JSF and Acegi information and I found the following tutorial:
    http://www.javakaffee.de/blog/2006/07/04/jsfacegi-authentication-with-a-backing-bean/
    In it, the author uses regular html tags but with attributes that allow JSF functionality.
    <input jsfc="h:inputText" id="inputUsername" value="#{authenticationController.username}" />I have never seen JSF done like this, could anyone inform me as to what is the jsfc property is?
    Thanks!
    Illu

    Ah, I found out my query. It's a feature in Facelets I believe. The link below has the info.
    Cheers,
    Illu
    http://www.jsftoolbox.com/documentation/facelets/06-CodeView/jsfc-feature.jsf

  • Use Transformer tag within HTML tag

    Does anyone know how to use the transformer tag within the HTML tag? I couldn't get it to work...
    I.e <input type="hidden" name"id" value="<pt:userInfo name='EmployeeID' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>">
    The example above didn't give the actual value...the <pt> tag never got parsed...
    I even tried with the <c:set> JSTL tag as well, same result...the <pt> tag never got parsed...
    Please advise!
    Thanks
    BC

    You can work around this with JavaScript:
    <input type=&#034;hidden&#034; id=&#034;myHiddenField&#034; value=&#034;&#034; />
    <script type=&#034;text/javascript&#034;>
    var employeeID = &#034;<pt:userInfo name='EmployeeID' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>&#034;;
    document.getElementById('myHiddenField').value = employeeID;
    </script>

  • Uix:train within a Struts Form v. UIX form

    I'm trying to implement the uix:train component within several of my JSP's. All of these JSP's are using Struts forms rather than UIX forms.
    Is it possible to use the uix:train tag within a Struts form or must I use a uix:form ?
    If I need to use a UIX form, can someone help me understand how to get the tag to actually submit the form to the destination that I am specifying rather than submitting back to itself?
    I can get the train tag to work regardless of form type if I don't specify true for the formSubmitted property of the train tag. However, I need to actually submit the form because there are form values other than "goto" and "source" and "id", that I need access to when going to the designated JSP.
    Thanks!
    -Teri

    I'm using 9.0.3, and I do see a marlinCore.js reference in the source.
    Here's what's displayed when I view source:
    <html>
    <head><title>Archipelago's ArcaVision</title>
    <link rel="stylesheet" charset="UTF-8" type="text/css" href="/ARCA-ArcaVision-context-root/cabo/styles/cache/blaf-en-ie-6.css">
    <body>
    <table id="piTrain" cellpadding="0" cellspacing="0" border="0" summary="" align="center"><script>function _navBarSubmit(formName, navBar, vld, val, sze, partialTargets){var i = val.indexOf(',');if (i >= 0){sze = val.substring(i+1);val = val.substring(0, i);}var submitFunc = (partialTargets == (void 0)) ? submitForm : _submitPartialChange;return submitFunc(formName,vld,{event:'goto',source:navBar,value:val,size:sze,partialTargets:partialTargets});}function _navChoiceSubmit(choice, formName, navBar, vld, size, partialTargets){if (!_navBarSubmit(formName, navBar, vld, choice.options[choice.selectedIndex].value, size, partialTargets)){choice.selectedIndex = choice._lastValue;}}</script><tr><td width="20"></td><td align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trasl-1.gif" alt="Account Search: Active step" width="12" height="23"></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trasr-1.gif" alt="Account Search: Active step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>function t(width,height){document.write('<img alt="" src="/ARCA-ArcaVision-context-root/cabo/images/t.gif"');if (width!=void 0)document.write(' width="' + width + '"');if (height!=void 0)document.write(' height="' + height + '"');document.write('>');}t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Basic Account Detail: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Basic Account Detail: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Distribution Detail: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Distribution Detail: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Data Permissions: Next step" width="12" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Data Permissions: Next step" width="11" height="23"></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif" height="23"><tr><td><script>t(20,1)</script></td></tr></table></td><td><table cellpadding="0" cellspacing="0" border="0" width="100%" summary="" background="/ARCA-ArcaVision-context-root/cabo/images/cache/c-truj-1.gif"><tr><td height="23" align="right"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusl-1.gif" alt="Report Permissions: Next step" width="12" height="23"></td></tr></table></td><td align="left"><img src="/ARCA-ArcaVision-context-root/cabo/images/cache/c-trusr-1.gif" alt="Report Permissions: Next step" width="11" height="23"></td><td width="20"></td></tr><tr><td></td><td colspan="2" class="x2m">Account Search</td><td></td><td colspan="2" class="x2o"><a onclick="_navBarSubmit('PersonalInfoForm','piTrain',1,'2');return false" href="#">Basic Account Detail</a></td><td></td><td colspan="2" class="x2o">Distribution Detail</td><td></td><td colspan="2" class="x2o">Data Permissions</td><td></td><td colspan="2" class="x2o">Report Permissions</td><td></td></tr></table>
    <script src="/ARCA-ArcaVision-context-root/cabo/jsLibs/MarlinCore.js"></script><form id="PersonalInfoForm" name="PersonalInfoForm" style="margin:0px" method="POST" action="personalInfoSearch.do">
    <input type="hidden" name="event">
    <table align="center" cellpadding="1" cellspacing="4" border="0" width="100%">
    <tr>
    <td align="right" width="25%">First Name:</td>
    <td align="left">
    <input type="text" name="firstName" size="45">
    </td>
    </tr>
    </table>
    <input type="hidden" name="source"><input type="hidden" name="value"><script>var resetPersonalInfoFormNames=["source","value"];</script><script>function PersonalInfoFormValidater(form){return true;}</script></form>
    </body>
    </html>

  • Struts tag not working with Jbo Tag-BUG??

    Hi
    I am developing application using Struts with BC4J and encountered this problem.
    In a JSP page if I have &lt;jbo:DataScroller&gt; tag and &lt;html:cancel /&gt; button, the button is not working.
    If I remove the datascroller tag cancel button works fine (the way it should).
    Not sure why this is happening, can Jdev team look into this.
    Thanks

    Sashi N Ravipati wrote : "Not using a DataScroller tag within a form tag is impossible. If u have an example of it let me know."
    File > New > Web Tier > Struts-Based JSP for Business Components > Complete Struts-Based JSP Application
    One of the files it generated for me was EmpView1_Browse.jsp:
    <%@ page language="java" import="oracle.jbo.*" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld"  prefix="jbo" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE><bean:message key="browse.title"/></TITLE>
    </head>
    <body>
    <jbo:DataTransaction appid="JdevModuleDataModel" />
    <h3><bean:message key="browse.header" arg0="EmpView1"/></h3>
    <table border="0">
      <tr>
        <td ALIGN="right"><jbo:DataScroller datasource="JdevModuleDataModel.EmpView1"/></td>
      </tr>
      <tr>
        <td><jbo:DataTable datasource="JdevModuleDataModel.EmpView1" edittarget="/edit_EmpView1.do"/></td>
      </tr>
    </table>
    </body>
    </html>A jbo:DataScroller tag is used and it is not within a form tag.
    success
    -Jan

  • Help! Problem with Struts tag html:errors/

    Hi everybody,
    In my JSP page called addUser.jsp, i have the different Struts Tag
    <html:errors/>
    <html:form action="/addUser" focus="firstName">
    </html:form>
    I have of course the ApplicationResources.properties file with differents Struts properties:
    errors.footer=</ul><hr>
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    errors.ioException=I/O exception rendering error messages: {0}
    and an other one:
    error.fieldsNeeded=<font color="#FF0000">Some fields are missing.</font>
    when I call the addUser form, my JSP page display:
    null Some fields are missing. null
    Have u any suggestion about my prob?
    tx a lot
    s.

    Hi,
    can u post the java code where u are actually adding the error to the action errors. may be there is something wrong with that. I dont see any problem with the jsp or the applicationsResources.properties.
    Thanks
    Latha

  • Error with bc4j input date tag running a Jsp file.

    when im running the bc4j input date tag in a form, a jscript error comes up (object not found error)-> When i pick the date control. I have already checked the cabo directory and all files is there. The same enviroment in other developers PC�s works well.
    Have you got that error?
    how can i fix it?
    The calendar never comes up.
    Thank u

    The none value is only shown when the field accepts null values.

  • How can I nest tag within each other

    Hello,
    I am trying to nest a tag within another tag as follows:
    <h:selectitem itemValue="<fmt:formatDate value="${d}" pattern="yyyy-MM-dd hh:mm:ss" type="both"/>" itemLabel="Today"/>d is a java.util.Date variable.
    Tomcat won't accept that. What am I getting wrong?
    Thanks in advance,
    Julien.

    I don't think taglibs could be other's attribute value.
    Try using attributes:
    <fmt:formatDate value="${d}" pattern="yyyy-MM-dd hh:mm:ss" type="both" var="anyDate"/>
    <!-- Is a custom tag lib? Use pageContext.findAttribute("anyDate"); -->
    <h:selectitem itemValue="anyDate" itemLabel="Today"/>
    <!-- Does your container accept EL? (Tomcat 5 does) -->
    <h:selectitem itemValue="@{anyDate}" itemLabel="Today"/>

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • JDeveloper 903 BC4J JSP Layout Customerization

    BC4J is so powerful that enabled me to built an application in minutes. I used the JDeveloper903 this week built a BC4J JSP Application pulling data from a single table on Oracle9i
    and wanted display the search summary result's lables and their corresponding data fields in a html table in the following ways:
    record 1
    Lable1 data 1
    Lable2 data 2
    Lable3 data 3
    record 2
    Lable1 data 1
    Lable2 data 2
    Lable3 data 3
    Not the default way:
    Lable1, lable2, lable3
    data1 data2 data3
    data1 data2 data3
    data1 data2 data3
    Also need a link to its detail page from data1.
    How can I customerize the layout based on the existing application or I have to re-build the application with new design?
    Any sample can show me step by steps?
    Appreciate your ideas!

    Is "Inserting BC4J Data Tags from the JDSP Data Binding Tool" in the JDeveloper903 the right direction to go?
    Thanks

  • Tomcat4: Illegal to flush within a custom tag

    I tried to deploy to Tomcat4.1.18 a jsp-struts application developed with JDeveloper 9.0.3.1, simply obtained using the "Complete Struts-Based JSP Application" Wizard.
    When I access to a page containing the
    "jbo:DataRecord" tag or the "jbo:DataTable" I get this exception in the error log file (I do not know if other tags give this same error, but for example "jbo:DataScroller" does not):
    2003-04-15 09:28:35 ApplicationModule release mode is: Stateful
    2003-04-15 09:28:36 jsp: init
    2003-04-15 09:28:37 jsp: init
    2003-04-15 09:28:37 IO Error
    java.io.IOException: Illegal to flush within a custom tag
         at javax.servlet.jsp.tagext.BodyContent.flush(BodyContent.java:115)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:69)
         at org.apache.jsp.PazientiDateEventiViewLink1_0005fDateEventiEventiViewLink1$jsp._jspService(PazientiDateEventiViewLink1_0005fDateEventiEventiViewLink1$jsp.java:157)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1014)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:417)
         at org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:390)
         at oracle.jbo.html.struts11.BC4JRequestProcessor.processActionForward(BC4JRequestProcessor.java:98)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:271)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
         at java.lang.Thread.run(Thread.java:484)
    2003-04-15 09:28:46 jsp: init
    2003-04-15 09:28:46 ApplicationModule release mode is: Stateful
    Deploying on a standalone OC4J everything works.
    Is there some configuration to add to the web.xml file or somewhere else? I tried also on Tomcat 4.0.3 with same results.
    I added this lines in web.xml to avoid the problems descripted in thread BC4J entity objects vs EJB2.0 entity beans
    <init-param>
    <param-name>enablePooling</param-name>
    <param-value>false</param-value>
    </init-param>
    Other non-struts-based webapps developed with JDev 9.0.2 and 9.0.3 were deployed correctly on Tomcat 4.1.18.
    Thanks,
    Marco.

    Hi Steve,
    I looked better at my page and it has been modified from that produced by the wizard. In fact, the problem arises substituting a DataTable tag with a RowsetIterate in which I put a DataRecord.
    Here there is a simple page which produces this error (I see the error only in the error log of Tomcat localhost_log.txt, not on the page):
    <%@ page language="java" import="oracle.jbo.*" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE><bean:message key="browse.title"/></TITLE>
    </head>
    <body>
    <jbo:DataTransaction appid="Test3Module" />
    <h3><bean:message key="browse.header" arg0="CategoryView1"/></h3>
    <table border="0">
    <tr>
    <td ALIGN="right"><jbo:DataScroller datasource="Test3Module.CategoryView1"/></td>
    </tr>
    <tr>
    <%-- REPLACED DataTable WITH a RowsetIterate in which I put a DataRecord --%>
    <jbo:RowsetIterate datasource="Test3Module.CategoryView1" userange="true" >
    <td>
    <jbo:DataRecord datasource="Test3Module.CategoryView1" />
    </td>
    </jbo:RowsetIterate>
    <%--
    <td><jbo:DataTable datasource="Test3Module.CategoryView1" edittarget="/edit_CategoryView1.do"/></td>
    --%>
    </tr>
    </table>
    </body>
    </html>
    In this case, it is not so hard to avoid to put in the pages such a code.
    Thanks,
    Marco.

  • Master Detail BC4J /JSP

    Hi all,
    I am busy developing a small search application.
    For this application I use a Oracle View. This Oracle View has no reference to a primary key. In BC4J I created a entity object and view out of this Oracle View and named one of the attributes as a primary key. I also added a entity object and view out of an oracle table.
    I created a viewlink to display a master detail relationship. When I test the BC4J module I can see the master detail relationship, but when I want to create this master detail with the use of data tags (as the examples in How to Navigate Master and Detail JSP using data tags) I get the error RowkeyValue is Null.
    If I am using the original table as a master which has a primary key everything works.
    I know that Oracle also reference the Primary Key to a RowID.
    Is there any solution to use an Oracle View without a reference to be used in a master- detail relationsship in JSP?
    Thanks in advance
    Email: [email protected]

    You might want to try generating a Complete master detail BC4J JSP application on your BC4J logic
    which contains a view link.
    Once the app is generated you'll see a working example of how to do a master detail BC4J JSP..
    Basically the app will generate a JSP page for your viewlink..
    Here's a real simple example of how to do a master detail BC4J JSPs where you pass the Rowkey as a parameter to a detail page which uses the JBO:Row tag to locate the Master dept record, which then drives
    the detail record location..(since it is bound..)
    This uses a default Emp and Dept tables. Also EmpView3 is a ViewObject which is bound via a link to
    the master DeptView1 View Object.
    Master.jsp
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <jbo:ApplicationModule id="Mypackage1Module" definition="Project2.Mypackage1Module" releasemode="Stateless" />
    <jbo:DataSource id="dept" appid="Mypackage1Module" viewobject="DeptView1" />
    <table border="1">
    <jbo:RowsetIterate datasource="dept" >
    <tr>
    <td><jbo:ShowValue datasource="dept" dataitem="Dname" ></jbo:ShowValue>
    </td>
    <td>">detail</a></td>
    </tr>
    </jbo:RowsetIterate>
    </table>
    </body>
    </html>
    <jbo:ReleasePageResources />
    Detail.jsp
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <jbo:ApplicationModule id="Mypackage1Module" definition="Project2.Mypackage1Module" releasemode="Stateful" />
    <jbo:DataSource id="dept" appid="Mypackage1Module" viewobject="DeptView1" />
    <jbo:DataSource id="emp" appid="Mypackage1Module" viewobject="EmpView3" />
    <p>
    Notice I bind this page to both master "DeptView1" and the linked detail "EmpView3"..
    </p>
    <jbo:Row id="deptrow" datasource="dept" action="find" rowkeyparam="deptrowkey" ></jbo:Row>
    <jbo:ShowValue datasource="dept" dataitem="Dname" />
    <br>
    <table border="1">
    <jbo:RowsetIterate datasource="emp" >
    <tr>
    <td><jbo:ShowValue datasource="emp" dataitem="Ename" />
    </td>
    <td><jbo:ShowValue datasource="emp" dataitem="Deptno" />
    </td>
    </tr>
    </jbo:RowsetIterate>
    </table>
    </body>
    </html>
    <jbo:ReleasePageResources />
    Hope this helps....
    -Chris

Maybe you are looking for

  • Assistance in configuring suspend

    I recently installed Arch, and I disliked the suspend-on-lid-close feature. I tried fiddling with settings in GNOME, but to no avail. Then I tried fiddling with a login.d to get it to work, and after a few restarts and much fiddling, it worked. Howev

  • Flash not working in Firefox / Windows Update

    Flash content is not displaying at all for me in Mozilla Firefox (1.5.0.3, no extensions). I don't get the "additional plug-ins are required", and I don't even see the space displayed that the Flash object would take up on the screen. Flash content w

  • Using XMLReader in a VB Script

    Hi, The code below works well for me in VB.NET, however, I need to perform this using VBScript. I have been unable to find any documentation or examples of how to create an object that references the XMLTextReader. All I can find is examples using th

  • How to automatically delete archivelogs on standby using RMAN?

    Hello team. I just setup a physical standby on windows environment. The primary database is been backed up via RMAN and everything works fine except that the archivelogs moved to standby site are not been deleted. I couldn't find some rman option to

  • Portal Event name and namespace (ECM)

    Hi Experts I want to register for the Portal Event that gets triggered when an employee is selected. In the Compensation Information page, there is an employee search iview. I need to know what Portal Event name and namespace is triggered when an emp