Error using selectmany tags with backing beans - Beta 1

Hi All,
I'm not having any luck getting any of the selectmany tags working with back-end beans. I've concluded it just doesn't work. My example is derived from the selectmany sample in the tutorial, which also just doesn't work (there are 4 or 5 problems with the sample in the tutorial, including the fact that there's no tag called 'selectmany_checkbox' in Beta 1, it's renames to selectmany_checkboxlist. But I digress).
Anyway, the following is the relevant JSP snippet:
<html:selectmany_menu value="#{facesTest.items}">
<faces:selectitem itemValue="foo" itemLabel="foo" />
<faces:selectitem itemValue="bar" itemLabel="bar" />
</html:selectmany_menu>
Here's the relevant backing bean snippet:
protected ArrayList items = null;
public Object[] getItems() {
System.out.println("getItems():ENTRY");
if (items != null)
return items.toArray();
else
return null;
public void setItems(Object[] items)
System.out.println("setItems():ENTRY");
int len = 0;
if (null == items ||(len = items.length) == 0) {
return;
if (this.items != null)
this.items.clear();
this.items = new ArrayList(len);
for (int i = 0; i < len; i++) {
this.items.add(items);
I've declared the bean as follows in the face-config.xml:
<managed-bean>
<managed-bean-name>facesTest</managed-bean-name>
<managed-bean-class>ipt.faces.FacesTest</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
The errors vary, but basically when I don't select anything from the multi-select menu, all is fine. When I do select something I get one of two messages returned thru the messages tag, either "Conversion Error setting value 'null' for 'expression'" when I select one item or " Conversion Error setting value '[Ljava.lang.String;@397d4e' for 'expression'." when I select two items.
Turning on 'FINEST', I get the output below:  Any ideas?  I've noticed several posting regarding the selectmany tags, any response on getting these to work?
thanks!
Steve
FINE: Exiting RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINE: Begin executing lifecycle phases
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Entering RestoreViewPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getMappingForR
equest
FINEST: servletPath /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getMappingForR
equest
FINEST: pathInfo null
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl convertViewId
FINE: viewId after appending the context suffix /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl restoreView
FINE: Begin restoring view from response /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl restoreView
FINE: End restoring view from response /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl restoreView
FINEST: set character encoding on request to ISO-8859-1
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Postback: Restored view for /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RestoreViewPhase execute
FINE: Exiting RestoreViewPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=RESTORE_VIEW 1)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl hasPostDataOrQuery
Params
FINEST: Request Method: POST/PUT
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
FINE: Entering ApplyRequestValuesPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue(ref=facesTest.items)
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
getItems():ENTRY
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue Result:[Ljava.lang.Object;@11fb68f
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINEST: -->Returning [Ljava.lang.Object;@11fb68f
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getType
FINE: isReadonly result:class [Ljava.lang.Object;
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue(ref=facesTest.items)
Jan 9, 2004 10:11:52 AM com.sun.faces.el.VariableResolverImpl resolveVariable
FINE: resolveVariable: Resolved variable:ipt.faces.FacesTest@f97d27
getItems():ENTRY
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINE: getValue Result:[Ljava.lang.Object;@1262667
Jan 9, 2004 10:11:52 AM com.sun.faces.el.ValueBindingImpl getValue
FINEST: -->Returning [Ljava.lang.Object;@1262667
Jan 9, 2004 10:11:52 AM com.sun.faces.context.FacesContextImpl addMessage
FINE: Adding Message[sourceId=_id0:_id7,summary=Conversion Error setting value '
[Ljava.lang.Object;@1262667' for 'expression'.)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
FINE: Exiting ApplyRequestValuesPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=APPLY_REQUEST_VALUES 2)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: Begin execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ProcessValidationsPhase execute
FINE: Entering ProcessValidationsPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.ProcessValidationsPhase execute
FINE: Exiting ProcessValidationsPhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINEST: End execute(phaseId=PROCESS_VALIDATIONS 3)
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.LifecycleImpl execute
FINE: Skipping to RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: Entering RenderResponsePhase
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: About to render view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINE: About to render view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINE: Found URL pattern mapping to FacesServlet .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINEST: Before dispacthMessage to newViewId /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getFacesMappin
g
FINE: URL pattern of the FacesServlet executing the current request .jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl getViewIdPath
FINEST: viewId after modifications /hello.jsf
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ApplicationImpl createConverte
r
FINEST: Created converter of type javax.faces.convert.BooleanConverter
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl writeState
FINEST: Begin writing state to response for viewId/hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl writeState
FINEST: End writing state to response for viewId/hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl saveSerialize
dView
FINE: Begin creating serialized view for /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.StateManagerImpl saveSerialize
dView
FINE: End creating serialized view /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.application.ViewHandlerImpl renderView
FINEST: After dispacthMessage to newViewId /hello.jsp
Jan 9, 2004 10:11:52 AM com.sun.faces.lifecycle.RenderResponsePhase execute
FINE: Exiting RenderResponsePhase

Could you post your code example? I am having the same problem. And I am wondering how you can set the value, label and description using the String[] return type. I thought the object[] would basically be a SelectItem Array...
thanx!

Similar Messages

  • HT3486 can I use my ipad with back to my mac?

    can I use my ipad with back to my mac?

    No, because you have to use AFP file protocol and it is difficult to get going, although one file app does offer it, I have not seen or heard anyone that managed it. You should look in the ipad area.. as this really has little to do with Time Capsule.

  • Possible bug using go tag with redirection under SSL?

    I've been testing an application under SSL and have noticed that some links "pop-out of SSL". Upon further inspection I noticed the links were using <go> tags with redirect set to true.
    Does anyone know where <go> gets the URL it uses? I'm wondering if this might be a webcache configuration issue or appserver config issue.
    note: using AS 10g 9.0.4.1.1
    Thanks in advance!
    /SFL

    Hi all,
    Just thought I'd update on resolution. As suspected, an AS config issue was responsible for this glitch. Long story short WebCache can communicate in 2 ways w/ an origin server (HTTP or HTTPS). You can have WebCache use SSL w/ the client and still communicate with the origin server using HTTP (which was our case). PITFALL: the origin server is unaware of the use of SSL by the client (WebCache only "knows"). SINCE THE ORIGIN SERVER IS THE ONE EXECUTING THE <GO> TAG, when using redirect=true attribute with the tag, the URL generated by the rewrite routine is HTTP and not HTTPS as one might expect when accessing the app via SSL.
    Hope I can spare someone else the headache...
    Cheers!
    /SFL

  • Anyone use cfdocument tag with a cfloop

    Anyone use <cfdocument> tag with a <cfloop>
    I am trying to generate multiple documents like this -
    <cfloop query="myquery">
       <cfdocument type=pdf>
            <html>...html code here...<html>
      </cfdocument>
    </cfloop>
    But only the first document is generated in the browser?
    my requirement i wnat to create multiple PDF and upload in to folder then zip folder so user can able to download ZIP file
    thanks in advance

    my requirement i wnat to create multiple PDF and upload in to folder then zip folder so user can able to download ZIP file
    1) Create a folder named, say, docsDir, in the currect directory.
    2) Create the PDFs, using Eddie Lotter's suggestion, naming each file dynamically, and storing each in the folder docsDir.
    <cfloop query="myquery">
        <!--- Use row number to create filename dynamically --->
       <cfset filename='doc' & myquery.currentRow & '.pdf'>
       <cfdocument format="pdf" filename="#expandPath('docsDir\#filename#')#" overwrite="true">
            <html> Code to generate content of <cfoutput>#filename#</cfoutput> goes here. </html>
      </cfdocument>
    </cfloop>
    3) Zip the folder, docsDir, storing the resulting file, docsDir.zip, in the current directory.
    <cfzip action="zip" file="#expandPath('.')#/docsDir.zip"   source="#expandPath('docsDir')#">

  • JSPs using Custom Tag with Boolean attribute cannot compile

    Hi,
    In Oracle9iAS(9.0.3), a jsp using a tag extension, which has a Boolean attribute, caused the following compile error, although the jsp is valid in other web containers.
    ERROR:
    /opt/oracle/j2ee/home/application-deployments/simple/simple/persistence/_pages/_test.java:56: Method toBoolean(java.lang.Boolean) not found in class _test.
    __jsp_taghandler_1.setExists( OracleJspRuntime.toBooleanObject( toBoolean( b)));
    JSP:
    <%@ page language="java" %>
    <%@ page errorPage="error.jsp" %>
    <%@ taglib prefix="jnpr" uri="/WEB-INF/testtag.tld" %>
    <%
    Boolean b = Boolean.valueOf("true");
    %>
    <jnpr:TestTag exists="<%= b%>"/>
    The boolean value is <%= b %>
    Tag Handler:
    package defaultpak;
    import javax.servlet.jsp.tagext.*;
    import javax.servlet.jsp.*;
    public class TestTag extends TagSupport{
    private Boolean exists = null;
    private java.lang.Boolean getExists() {
    return exists;
    public void setExists(java.lang.Boolean newExists) {
    exists = newExists;
    public int doStartTag() throws JspException {
    return super.doStartTag();
    Is this a known problem? Is there a way to get around this?
    Thanks in advance.
    Fred

    This is a known issue with 903, fixed in coming 904.
    In 903 the workaround is to use primitive type "boolean" instead of Object type "java.lang.Boolean" in user's getter and setter code for the taglib.
    -Prasad

  • JDeveloper, ADF, Quartz: Quartz Using different Classpath than Backing bean

    Hi,
    I have an ADF 10g application. When i get an Application module using Configuration.createRootApplicationModule, it works fine in normal java class or backing bean.
    Now i have an quartz configured in this project. The same code does not work in Quartz Job class.
    When i print the classpath using System.getProperty("java.class.path") in normal java class or backing bean, then it considers everything along with BC4J jar files. But when i print the same thing in quartz job, it has only two jar files inside its class path: C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j-embedded.jar.
    Can anyone let me know what could be the issue if someone has configured Quartz with JDeveloper and ADF application.
    --Chintan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi!
    Have you solved this problem? If yes, can you share the solution.
    Regrads,
    Sašo

  • Populating InputText with Backing Bean

    Hi All,
    I'm hoping this is a simple question. I have a backing bean called from a af:serverListener. I get the right value I want as i see the System.out.println. I have attached the binding to my InputText and set the partial trigger. When I click the button my field doesn't get updated.
    I have attached the code of my backing bean.
    package google;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.render.ClientEvent;
    public class backing {
        private RichInputText polygonResponse;
        public backing() {
        public void setPolygonResponse(RichInputText polygonResponse) {
            this.polygonResponse = polygonResponse;
        public RichInputText getPolygonResponse() {
            return polygonResponse;
        public void polygonResponse(ClientEvent clientEvent){
          String polygon = (String) clientEvent.getParameters().get("polygon");
          System.out.println("Polygon: " + polygon);
          this.getPolygonResponse().setValue(polygon);
    }

    I had tried that without success, so I removed that line. It was good to know that was what I needed to do so it was helpful.
    The actual issue was with the line
    this.getPolygonResponse().setValue(polygon);I changed it to
    getPolygonResponse().setSubmittedValue(polygon);  and it worked, not sure what the difference is between setValue() and setSubmittedValue(), but at least im working.
    for those that are interested here is my complete code.
    package google;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import oracle.adf.view.rich.render.ClientEvent;
    public class backing {
        private RichInputText polygonResponse;
        public backing() {
        public void setPolygonResponse(RichInputText polygonResponse) {
            this.polygonResponse = polygonResponse;
        public RichInputText getPolygonResponse() {
            return polygonResponse;
        public void getPolygonDetails(ClientEvent clientEvent){
          String polygon = (String) clientEvent.getParameters().get("polygon");
          System.out.println("Polygon: " + polygon);
          getPolygonResponse().setSubmittedValue(polygon);
          AdfFacesContext.getCurrentInstance().addPartialTarget(polygonResponse);
    }thanks for your help.
    cheers
    James

  • N95 will crash when using voice tags with HS-4W

    When I try and use my Nokia Bluetooth Head Set HS-4W to access voice tags it always resets!
    Anybody else got this problem?

    I finaly got it to work by resetting the headset.
    No problem whatsoever with voice dialing.
    I have firmware V30.0.15
    Do you have the problem when using voice tags on the phone alone?

  • Error using a tag query

    We have a tag query that works in our sandbox environment, but not in dev.  I loaded the same JDBC drivers on both systems.
    The project was exported from the sandbox, and imported into dev.
    I have verified the Data Server set up is identical in both environments.  Connection status in both environments is identical - running, same number of connections, etc.
    When I try to run the query on sandbox in workbench, the query returns data.  I get this error on the dev system -
    SQL error has occurred on query java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'tag'.
    Detailed error -
    java.lang.Exception: SQL error has occurred on query [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'publicgrouptag'.
         at com.sap.xmii.Illuminator.gui.workbench.populators.IlluminatorPopulator.get(IlluminatorPopulator.java:114)
         at com.sap.xmii.Illuminator.gui.workbench.populators.TagListPopulator.get(TagListPopulator.java:47)
         at com.sap.xmii.Illuminator.gui.workbench.components.desktop.custom.TagQueryBuilderPanel$6.construct(TagQueryBuilderPanel.java:723)
         at com.sap.lhcommon.gui.ThreadCreator$2.run(ThreadCreator.java:94)
         at java.lang.Thread.run(Unknown Source)
    Any suggestions??

    One of your included JDBC driver archives has a class that matches the path provided by the JDBCDriver setting for the data server (likely the sqljdbc.jar file).
    If you take the JDBCDriver setting: 
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    and replace the periods for sub directories and add a .class on the end you'll have:
    com\microsoft\sqlserver\jdbc\SQLServerDriver.class
    So if you unpacked the jar file you'd find this java class (and the other ones included with the driver).
    Do you get the same error about 'publicgrouptag' and 'tag' objects when you test a tag query request for GroupList mode?  These tables/views would be used by the underlying queries used to populate the tag details tab in the WB.  Do you see these tables or view within the SQL Server?  Does the sa user have appropriate permissions?

  • Error Using Custom Tag

    I am trying to use a custom tag but receive an error when I use it on a jsp page.
    I have a tag handler class file, tag library descriptor file, specified the path to the .tld in the web.xml file.
    The error implies that it cannot find the SimpleTag.class file, though I put it in the \webapps\examples\WEB-INF\classes\ directory.
    Here is the error. Does anyone know what else it could be?
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\jakarta-tomcat-4.0.1\work\localhost\examples\jsp\jspVisual\ch10\using_0005ftag$jsp.java:63: Class org.apache.SimpleTag not found.
    SimpleTag_jspx_th_myFirstTag_SimpleTag_0 = new SimpleTag();

    I could not see any obvious mistakes. But what you could try, in order to isolate the problem, is to bypass the web.xml. In other words access the TLD directly by doing this in your JSP
    <%@ taglib uri="/WEB-INF/jsp/tag_library_descriptor.tld" prefix="myFirstTag" %>
    if that does work then move the your TLD out of the jsp folder and into WEB-INF , then try
    <%@ taglib uri="/WEB-INF/tag_library_descriptor.tld" prefix="myFirstTag" %>
    Maybe someone else has better idea.

  • Error using Data Tags

    I am working with the example explained in http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html using the Row Data Tag to make a search, but I found an error message: 0. Why?
    The source code for search.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "JSP_bc4j_Bc4jModule");
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>Search </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsmaster" >
    <TR>
    <TD>">See this record</a></TD>
    <TD>Nombre del Empleador:</TD><TD><jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></TD>
    </TR>
    </jbo:RowsetIterate>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateless" />
    And the source code for search2.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Busqueda finalizada
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <jbo:Row id="masterRow" datasource="dtsmaster" rowkeyparam="RowKeyValue" action="Find" ></jbo:Row>
    <jbo:RefreshDataSource datasource="dtsmaster" />
    <jbo:DataSource id="dtsDetail" appid="Bc4jModule" viewobject="KspcotemplocView" ></jbo:DataSource>
    <h2> Nombre del Empleador: <jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></h2>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsdetail" >
    <TR><TD>Employee Name</TD><TD><jbo:ShowValue datasource="dtsdetail" dataitem="Empdir" ></jbo:ShowValue></TD></TR>
    </jbo:RowsetIterate>
    </HTML>
    Please could anybody help me with this??

    I looked at this thread
    Update XML doc
    But this thread is more to do with the problem associated with setting the current row.
    My problem is in the first step i.e retreiving the RowKey value.
    ODRApplications ->Master View created by query on one table
    ODRUserReportList -> Detail View created by query joining various tables
    Here is my Jsp Code
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%
         oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "odr_fe_real_odrn_ODRMenuModule");
    %>
    <jbo:ApplicationModule configname="odrn.ODRMenuModule.ODRMenuModuleLocal" id="ODRMenuModule" username="portal_apps" password="portal_apps" />
    <jbo:DataSource id="ODRApplications" appid="ODRMenuModule" viewobject="ODRApplications" rangesize="1" ></jbo:DataSource>
    <jbo:DataSource id="ODRUserReportList" appid="ODRMenuModule" viewobject="ODRUserReportList" rangesize="10" ></jbo:DataSource>
    <script>
    function execq(RV){
    alert(RV);
    window.location="menu1.jsp?RowKeyValue="+RV;
    </script>
    <BODY>
    <% if (request.getParameter("RowKeyValue") !=null) { %>
    <jbo:Row id="masterRow" datasource="ODRApplications" action="Find" rowkeyparam="RowKeyValue" >
    </jbo:Row>
    <% } %>
    <select onchange="execq(this.value)">
    <jbo:RowsetIterate datasource="ODRApplications" >
    <option VALUE="<jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" ></jbo:ShowValue>">
    <jbo:ShowValue datasource="ODRApplications" dataitem="ApplicationName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" > </jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    </OPTION>
    </jbo:RowsetIterate>
    </select>
    </jsp:useBean>
    <jbo:RowsetIterate datasource="ODRUserReportList" >
    <br>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="DisplayName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="RowKey" ></jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    <br>
    </jbo:RowsetIterate>
    </jsp:useBean>
    <BODY>
    </HTML>
    Thanks in advance

  • Error using Seagate Central with Mavericks as a Time Machine backup drive.

    I am trying to use a Seagate Central as a backup drive with Mavericks. After a while, I started getting a sparsebundle in use error. Time Machine does not backup to the drive as it keeps asking me to eject the drive, but I can't see it connected. How do I get the drive to start backing up again?

    Thanks for the reply, I had done all of the above but that did not help solve the issue.
    I finally deleted the sparsebundle using this: http://hints.macworld.com/article.php?story=20120709152257934
    After this, I reconnected the Seagate Central Drive to time machine and the wireless backup worked!
    Shrinath    

  • When trying to generate pdf file from firefox 7.0.1 , getting corrupt content error, used to work with previous versions of firefox

    We have done toleration testing on firefox version 5 thru 6 and haven't got an issue with our website generating pdf files for our users. One of our users upgraded to firefox version 7.0.1 and they tried to generate a pdf report, now a screen pops up with Corrupted Content Error The page you are trying to view cannot be shown because an error in the data transmission was detected. I recreated this issue on my pc yesterday by installing firefox 7.0.1. Any hints as to what I need to look at would help. Cannot provide the url because it is a secure website for law enforcement. Thanks.

    You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
    Hi Mark,
    See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • Error using Database addons with SQL query.

    I get a LabVIEW error when I provide the following SQL query to the NI database VI: ..vi.lib\addons\database\Connection.llb\Conn Execute.vi. 
    declare @SR_ID table ( script_result_id uniqueidentifier )
    insert into @SR_ID
    select script_result_id from SCRIPT_RESULT
    where script_result.software_name = '%s'
    SELECT distinct STEP_RESULT.STEP_TYPE
    FROM STEP_RESULT INNER JOIN @SR_ID s ON
    STEP_RESULT.SCRIPT_RESULT_ID = s.script_result_id
    The error is:
    Error -2146824584 occurred at NI_Database_API.lvlib:Rec Destroy - Connection.vi->Database_Query Database with flattened string reply.vi->ADUTS-RPT Query DB.vi->ADUTS-RPT Get Step Names.vi->ADUTS-RPT Top.vi
    Possible Reason(s): Exception occured in ADODB.Recordset: Operation is not allowed when the object is closed.
    The query works fine when given directly to my SQL server.
    Any ideas on this problem would be most appreciated.

    It looks like the bug is related to ADODB objects. I found a related KnowledgeBase article that was written about the same issue, but never published for some reason. Here's what it has to say about your error:
    "This error occurs when a query is run on the database that does not return any recordset data, such as a delete command.  In this case, when you encounter the DB Tools Fetch Recordset Data VI, the state of the recordset is "closed" and produces the error.
    To avoid the error, you can check for the state of the recordset and make sure that it isn't closed. To do this, use the DB Tools Get Properties VI and check the state from the properties cluster.  An additional, or alternate, check would be to check for the beginning of file and end of file properties.  If both BOF and EOF are both true, there is no data in the recordset.  
    If you open the example program, Database Fetching, you can see that they are using both of these checks.
    In versions of the toolset prior to version 1.0.2, these checks were built in.  This causes code without the checks to return this error if the toolset is updated from a previous version."
    Tim W.
    Applications Engineering
    National Instruments
    http://www.ni.com/support 

  • Error using custom tag library

    Hi All,
              I am getting the following error:
              On the browzer page when I invoke the foo.jsp page containing a tag
              library.
              Parsing of JSP File '/jsp/foo.jsp' failed:
              /jsp/foo.jsp(7): Could not parse deployment descriptor:
              org.xml.sax.SAXParseException: Could not parse taglib, starting at
              line 5
              probably occurred due to an error in /jsp/foo.jsp line 7:
              <%@ taglib uri="example-taglib.tld" prefix="eg" %>
              Wed Mar 27 13:17:49 PST 2002
              The configutation is as follows
              Foo.jsp in documentRoot/jsp
              tld file in documentRoot/WEB-INF
              class files in documentRoot/WEB-INF/classes/examples.
              The server is spitting out the following code:
              weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descript
              or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
              line 5
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
              Can anyone help me with this ?
              Thanks for your help!!
              SundayFunday!
              

    Could anyone please let me know what is going on here?
              SundayFunday!
              [email protected] (SundayFunday) wrote in message news:<[email protected]>...
              > Can anyone help me with this?!!
              >
              > Thanks!
              >
              > Sundayfunday.
              >
              > [email protected] (SundayFunday) wrote in message news:<[email protected]>...
              > > Hi All,
              > >
              > > I am getting the following error:
              > >
              > > On the browzer page when I invoke the foo.jsp page containing a tag
              > > library.
              > >
              > > Parsing of JSP File '/jsp/foo.jsp' failed:
              > > --------------------------------------------------------------------------------
              > > /jsp/foo.jsp(7): Could not parse deployment descriptor:
              > > org.xml.sax.SAXParseException: Could not parse taglib, starting at
              > > line 5
              > > probably occurred due to an error in /jsp/foo.jsp line 7:
              > > <%@ taglib uri="example-taglib.tld" prefix="eg" %>
              > > --------------------------------------------------------------------------------
              > > Wed Mar 27 13:17:49 PST 2002
              > >
              > >
              > >
              > > The configutation is as follows
              > >
              > > Foo.jsp in documentRoot/jsp
              > >
              > > tld file in documentRoot/WEB-INF
              > > class files in documentRoot/WEB-INF/classes/examples.
              > >
              > >
              > >
              > > The server is spitting out the following code:
              > >
              > > weblogic.servlet.jsp.JspException: (line 7): Could not parse
              > > deployment descript
              > > or: org.xml.sax.SAXParseException: Could not parse taglib, starting at
              > > line 5
              > > at java.lang.Throwable.fillInStackTrace(Native Method)
              > > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > > at java.lang.Throwable.<init>(Compiled Code)
              > > at java.lang.Exception.<init>(Compiled Code)
              > > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              > > at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)
              > >
              > >
              > > Can anyone help me with this ?
              > >
              > > Thanks for your help!!
              > >
              > > SundayFunday!
              

Maybe you are looking for