"must choose at least one" validation in dataTable?

Hello, group,
How do you validate a set of checkboxes, one per table row, in which the user must select at least one?
We have a page containing a dataTable, each row of which represents an object, one of whose attributes is "active". Our requirement is that at least one object must be selected as "active" by the user.
How do we validate this?
I'm considering the following:
(1) Put a validator on each checkbox that simply increments a count in a request-scoped bean if the checkbox is checked (and always returns success).
(2) Put a validator on a hidden field at the bottom of the form that requires the count be greater than zero.
Is there a better way? (Will this even work at all? :) )
Thanks.
John.

Looks interesting, thank you very much.
I would actually need the multiple row selector, I think, since the requirement is at least one. I see there's no "validator" attribute, but I assume we could just hang a f:validator off of it (or write our attribute and submit a patch!).
That jenia component set looks good for some other requirements we have.
John.

Similar Messages

  • Background job getting cancelled : Choose at least one scope of list

    Hello to all,
    I am trying to Run on Z report in background which conatins SUBMIT statement to standard progarm for MB5B .This report already programmed to call a report in background.It takes stocks for given period,I am taking the values using "import memory-id" statement.It gives an error log in SM37 as:
    Choose at least one scope of list
    Message no. M7829
    Can we call a submit stmt in a report that is to run in background?? or pls provide any alternative for this problem??
    Thnax & Regards
    Sonal

    Hi Sonal,
    1. This is happening because there are some checkboxes on the selection screen
       which are ticked by default when we run in fore ground
       and are blank when run in  background.
      Hence the system gives the error meaning to select atleast one of them.
    2. We can simulate this error in foreground also.
       There is one button on selection screen in the middle frame.
       "> Category"
       Just push it.
       Some checkboxes will appear now.
       Untick all of them and run the report. You will get the same error
    Choose at least one scope of list
    3. So while doing SUBMIT in the z report, you can pass the values of those checkboxes (which ever you require) as 'X'.
    eg.
    report abc.
    submit RM07MLBD
    with matnr = '3'
    with pa_wdzer = 'X'.
    4. The checkboxes field names are:
    PARAMETERS : pa_wdzer    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdzew    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwiz    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwuw    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_wdwew    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_ndzer    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    PARAMETERS : pa_ndsto    LIKE AM07M-MB5B_XONUL
                              modif id liu.
    regards,
    amit m.

  • Bursting Error : ZIP file must have at least one entry

    Hai All,
    I am trying to Burst report in 11.5.10.2 instance. When tried bursting it the it got the following error.
    XML Publisher: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 04-JUN-2009 12:40:16
    XML/BI Publisher Version : 5.6.3
    Request ID: 387463
    All Parameters: ReportRequestID=387460:DebugFlag=Y
    Report Req ID: 387460
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:ERP
    Preparing parameters
    null output =/d02/appluat/uatcomn/admin/out/UAT_erp/o387463.out
    inputfilename =/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
    Data XML File:/d02/appluat/uatcomn/admin/out/UAT_erp/o387460.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [060409_124018651][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [060409_124018653][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=387460, user-variable:cp:language=en, user-variable:cp:responsibility=50352, user-variable.OA_MEDIA=http://erp.adgs.ae:8030/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=387460, user-variable:cp:locale=en-US, user-variable:cp:user=GVU, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=387463, user-variable:cp:org_id=103, user-variable:cp:reportdescription=Pension Fund}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:292)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Can anyone please help me on this..
    Regards

    Pl help me is there any way to overcome this error, when supplier email address is present then , bursting file works fine, if supplier address is null , then it is giving me error , please find the error also.........
    Bursting XML File ...........
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXDBD_POPRPOP_SA/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email server="mailgate.XXX.com" port="25" from="[email protected]">
    <xapi:message id="emailpo" to="${CP_VENDOR_EMAIL}" cc="[email protected],[email protected]" attachment="true"
    subject="Purchase Order No: ${POH_PO_NUM}">
    Please find attached PO ${POH_PO_NUM}.
    Regards,
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Purchase Order ${POH_PO_NUM}" output-type="pdf" delivery="emailpo">
    <xapi:template type="rtf" location="xdo://XXDBDPO.XXDBD_POXPRPOP_SA1.en.US/?getSource=true" filter=".//G_HEADERS[CP_VENDOR_EMAIL !='']"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    ERROR Generated from bursting file ............Pl help me...........its urgent .............
    XML/BI Publisher Version : 5.6.3
    Updating request description
    Retrieving XML request information
    Preparing parameters
    Set Bursting parameters..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=529232, user-variable:cp:language=en, user-variable:cp:responsibility=20707, user-variable.OA_MEDIA=http://usncx054.XXX.com:8015/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=529232, user-variable:cp:locale=en-US, user-variable:cp:user=RAJULAT, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=529233, user-variable:cp:org_id=84, user-variable:cp:reportdescription=DBD Printed Purchase Order Report English, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
    at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Thanks

  • Query SQL code gets deleted after export to Excel. "Query must have at least one destination field"

    Hi all,
    I'm getting really frustrated by this Access error. It happens when I export the result of a query through an Access macro to Excel, the first time it runs well but the next time, there is a chance that the query won't run and the error "Query
    must have at least one destination field" will be displayed. After that, I try to check the query SQL code and discover the code has vanished. I'm using simple Select query without joins, only "where", "group by" and "order by"
    statements.
    Thank you in advance for your help,
    Jesus 
    Edit:
    One of these queries are like the following (all of them are of this type):
    SELECT Field1, field2, field3, field4, field5, Sum(Field6) AS SumOfField6, Sum(Field7) AS SumOfField7
    FROM Table1
    WHERE Field6 is not null
    GROUP BY Field1, field2, field3, field4, field5
    Order By Sum(Field6) desc

    Hi Peter, 
    Thank you for your response, I updated the original question with one of the codes.
    Thanks,
    Jesus

  • Adobe Acrobat 8 Professional cannot be launched at this time. You must launch at least one other suite component (such as Adobe Photoshop) before launching Acrobat 8 Professional

    Adobe Acrobat 8 Professional cannot be launched at this time. You must launch at least one other suite component (such as Adobe Photoshop) before launching Acrobat 8 Professional

    Hey Sue,
    Considering this error, I would suggest you to please refer the KB doc link given below:
    Error "Acrobat 8 Professional cannot be launched" | CS3
    Hope it helps.
    Regards,
    Anubha

  • Adobe Acrobat 8 Professional cannot be launched at this time. You must launch at least one other Suite component before launching Adobe Acrobat 8 Professional. I do exactly this with not positive result.

    Adobe Acrobat 8 Professional cannot be launched at this time. You must launch at least one other Suite component before launching Adobe Acrobat 8 Professional. I do exactly this with not positive result.

    Hey Sue,
    Considering this error, I would suggest you to please refer the KB doc link given below:
    Error "Acrobat 8 Professional cannot be launched" | CS3
    Hope it helps.
    Regards,
    Anubha

  • Burn CD: must contain at least one track-error

    In Waveburner, when I click burn CD I get an error: "A project must contain at least one track"
    I selected 8 tracks in my saved project and clicked Burn CD. I did the same unselected.
    I get the same error every time. Why?
                                                               W.W.

    Thank you kcstudio for responding.
    In the meantime I figured out why I was getting this error. Although I don't understand why I even got this.
    The existing 8 tracks I imported with Import from the desktop into this WaveBurner project. Working in Regions tab all the time I did not realize that when I switched to the CD tracks tab there was nothing there. No regions and title list. So I made a new project and imported the audio files again making sure the CD tracks tab was selected refore. After that regions and listings were there both in regiones and CD tracks tab. I think Import
    should have taken care of that. I don't get it why there was nothing when I clicked the CD track tab.
                                                                                                                                                       W.W.

  • FRM-30100: Block must have at least one primary key item.

    Hi,
    I am customizing a form in 6i. I added one database column to one block using data block wizard. Form Compiled successfully. But when I compile the form in Unix, it compiled the form and created the .fmx file but gave the below error.
    FRM-30100: Block must have at least one primary key item. Can you please help me what needs to be done to fix this.
    Thanks,
    HC

    Please see if these docs help.
    Troubleshooting: FRM-30085 [ID 783768.1]
    Basing a Block on a Stored Procedure - Sample Code [ID 66887.1]
    Thanks,
    Hussein

  • CHILD form error FRM-30100: Block must have at least one primary key item.

    Hi friends,
    I have increased the DML array of the child block from 1 to 10, but it throws me error:
    FRM-30100: Block must have at least one primary key item.
    Block: CEC_ADJUSTMENT_RECON
    Form: CEC_ADJ
    FRM-30085: Unable to adjust form for output.
    How does a form know that the table does not have primary key? Is it referring to it?
    Thanks a lot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I dont understand why do you increase the DML array size..
    Because it says in the HELP
    Specifies the maximum array size for inserting, updating, and deleting records in the database at one time.
    A larger size reduces transaction processing time by reducing network traffic to the database, but requires more memory.  The optimal size is the number of records a user modifies in one transaction.
    The FRM-30100 comes not because of the above property..
    If your query data source type is other than TABLE, it is a must to set at least one database field's PRIMARY KEY ITEM PROPERTY in the block to be a YES.

  • ZipException: ZIP file must have at least one entry

    When I place a security constraint on jar files in a Tomcat server to prevent unauthenticated access to the jar files
    <security-constraint>
    <display-name>Security Constraint</display-name>
    <web-resource-collection>
    <web-resource-name>ee</web-resource-name>
    <url-pattern>*.jnlp</url-pattern>
    <url-pattern>*.jar</url-pattern>
    </web-resource-collection>
    our jnlp applications can no longer download the needed jar resources and I get the following exception. ( It works fine when I take jar files out of the security-constraint list.) Any suggestions on why this is happening and how to get this to work?
    Thanks.
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(Unknown Source)
         at java.util.zip.DeflaterOutputStream.close(Unknown Source)
         at java.util.zip.ZipOutputStream.close(Unknown Source)
         at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
         at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
         at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    What am i missing here???
    ZipOutputStream zos = new ZipOutputStream(new FileOutputStream("out.zip"));
    void goDir(String dirName) {
    File dirObj = new File(dirName);
    if (dirObj.exists() == true) {
    if (dirObj.isDirectory() == true) {
    // create an array of File objects
    File[] fileList = dirObj.listFiles();
    for (int i = 0; i < fileList.length; i++) {
    if (fileList.isDirectory()) {
    goDir(fileList[i].getPath());
    else if (fileList[i].isFile()) {
    goZip(fileList[i].getPath());
    } // loop
    else {
    else {
    void goZip(String filePath) {
    try {
    FileInputStream fis = new FileInputStream(filePath);
    BufferedInputStream bis = new BufferedInputStream(fis);
    ZipEntry fileEntry = new ZipEntry(filePath);
    zos.putNextEntry(fileEntry);
    byte[] buff = new byte[1024];
    int len;
    while ( (len = bis.read(buff)) > 0) {
    zos.write(buff, 0, len);
    zos.closeEntry();
    bis.close();
    catch (java.io.IOException ioe) {
    ioe.printStackTrace()

  • Problem: Stories must contain at least one entry

    Hello, I have the following problem:
    When I want to build/format a DVD project the following error message appear:
    Starting DVD Build RV_MOVIES...
    Compiler Initializing...
    Precompiling Project RV_MOVIES
    Parsing Assets...
    Story 1:Stories must contain at least one entry
    What do I need to do succeed burning the disc? How do I make an entry in the story? How do I delete a story if it is unnecessary?
    Thanks for a good forum!

    Take a look here
    http://dvdstepbystep.com/stories_details.php
    A story needs at least one marker, if not you will get that message, To delete the story highligh it in outline view and press delete key (takee a look at the last picture in that link, it shows the English Play All Story being highlighted)

  • The library must contain at least one event

    Hello everyone. Noob question here.
    How do you delete event in "All Events"? when i try to do so, it says "the operation cannot be completed. the library must contain at least one event"..
    Please, pretty please answer..
    Thank you so much.

    iMovie version 10 uses Libraries to store your data. This date is stored inside of Events. You can think of Events as folders.
    Events can contain clips and other media as well as Projects.
    Each Library must contain at least one Event.
    So the short answer to your quest is that you cannot delete because it is the only Event in the Library.
    You can delete clips and Projects that are in that Event.
    If you can describe the end result you are trying to achieve, I may be able to offer some suggestions.

  • TBridge must have at least one redirect command error!

    Hi there,
    Possibly this is a very dork question!, sorry I can't find the trick.
    We are connecting Tux8.0 and WLS7.0sp1 through WTC. and the following error is
    showed when trying to deployed WTCServer component. in the log file attached is
    showed that connecction is successfully established and the problem comes with
    Tbride.
    Any suggestions really very welcomed!
    Config info:
    <WTCServer Name="WTCServer" Targets="cfeserver">
    <WTCImport LocalAccessPoint="BEA2"
    Name="WTCImport-1044988984998"
    RemoteAccessPointList="S74DEMO" RemoteName="QUERYSAP"
    ResourceName="QUERYSAP"/>
    <WTCImport LocalAccessPoint="BEA2"
    Name="WTCImport-1044989017524"
    RemoteAccessPointList="S74DEMO"
    RemoteName="QUERYSICOM" ResourceName="QUERYSICOM"/>
    <WTCLocalTuxDom AccessPoint="BEA2" AccessPointId="BEA2"
    ConnectionPolicy="ON_STARTUP"
    NWAddr="//16.179.26.99:6550"
    Name="WTCLocalTuxDom-1044988580045"/>
    <WTCRemoteTuxDom AccessPoint="S74DEMO"
    AccessPointId="S74DEMO"
    ConnectionPolicy="ON_STARTUP" LocalAccessPoint="BEA2"
    NWAddr="//16.179.20.132:6540"
    Name="WTCRemoteTuxDom-1044988657236"/>
    <WTCResources FldTbl32Classes="fmls.cfemsgflds"
    Name="WTCResources-1044989048309"/>
    <WTCtBridgeGlobal
    JmsFactory="weblogic.jms.ConnectionFactory"
    JndiFactory="weblogic.jndi.WLInitialContextFactory"
    Name="WTCtBridgeGlobal-1044989083549"
    Transactional="NO"
    TuxFactory="tuxedo.services.TuxedoConnection"
    WlsErrorDestination="weblogic.jms.errorqueue">
    <WTCtBridgeRedirect Direction="JmsQ2TuxS"
    Name="WTCtBridgeRedirect-1044989289125"
    ReplyQ="weblogic.jms.replyq"
    SourceAccessPoint="BEA2"
    SourceName="weblogic.jms.ConsultaPedido"
    TargetAccessPoint="S74DEMO"
    TargetName="QUERYSAP" TranslateFML="FLAT"/>
    </WTCtBridgeGlobal>
    </WTCServer>
    Error:
    <Feb 11, 2003 12:31:11 PM CST> <Notice> <WebLogicServer> <000365> <Server state
    changed to RUNNING>
    <Feb 11, 2003 12:31:11 PM CST> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    <Feb 11, 2003 12:50:41 PM CST> <Error> <WTC> <180047> <tBridge must have at least
    one redirect command>
    <Feb 11, 2003 12:50:41 PM CST> <Error> <WTC> <180115> <tBridge cannot parse the
    configuration MBeans: Failure: no tbridge redirect info defined>
    [wtcdebug.txt]

    Mauricio,
    I think this is an old console error in creating this mbean. The
    WTCtBridgeRedirect
    is mistakenly defined under the scope of the WTCtBridgeGlobal mbean
    where it should be at the same level(ie a child of the WTCServer mbean).
    The WTCService expects to find it as a child of the WTCServer mbean and
    throws the exeption when it doesn't see it.
    I think the fix is to edit the config.xml and move the termination for
    WTCtBridgeGlobal("</WTCtBridgeGlobal>") to before the declaration
    of the WTCtBridgeRedirect.
    Bob Finan
    Mauricio Del Moral wrote:
    Config info:
    WTCServer Name="WTCServer" Targets="cfeserver">
    <WTCImport LocalAccessPoint="BEA2"
    Name="WTCImport-1044988984998"
    RemoteAccessPointList="S74DEMO" RemoteName="QUERYSAP"
    ResourceName="QUERYSAP"/>
    <WTCImport LocalAccessPoint="BEA2"
    Name="WTCImport-1044989017524"
    RemoteAccessPointList="S74DEMO"
    RemoteName="QUERYSICOM" ResourceName="QUERYSICOM"/>
    <WTCLocalTuxDom AccessPoint="BEA2" AccessPointId="BEA2"
    ConnectionPolicy="ON_STARTUP"
    NWAddr="//16.179.26.99:6550"
    Name="WTCLocalTuxDom-1044988580045"/>
    <WTCRemoteTuxDom AccessPoint="S74DEMO"
    AccessPointId="S74DEMO"
    ConnectionPolicy="ON_STARTUP" LocalAccessPoint="BEA2"
    NWAddr="//16.179.20.132:6540"
    Name="WTCRemoteTuxDom-1044988657236"/>
    <WTCResources FldTbl32Classes="fmls.cfemsgflds"
    Name="WTCResources-1044989048309"/>
    <WTCtBridgeGlobal
    JmsFactory="weblogic.jms.ConnectionFactory"
    JndiFactory="weblogic.jndi.WLInitialContextFactory"
    Name="WTCtBridgeGlobal-1044989083549"
    Transactional="NO"
    TuxFactory="tuxedo.services.TuxedoConnection"
    WlsErrorDestination="weblogic.jms.errorqueue">
    <WTCtBridgeRedirect Direction="JmsQ2TuxS"
    Name="WTCtBridgeRedirect-1044989289125"
    ReplyQ="weblogic.jms.replyq"
    SourceAccessPoint="BEA2"
    SourceName="weblogic.jms.ConsultaPedido"
    TargetAccessPoint="S74DEMO"
    TargetName="QUERYSAP" TranslateFML="FLAT"/>
    </WTCtBridgeGlobal>
    </WTCServer>
    Error:
    <Feb 11, 2003 12:31:11 PM CST> <Notice> <WebLogicServer> <000365> <Server>state
    changed to RUNNING>
    <Feb 11, 2003 12:31:11 PM CST> <Notice> <WebLogicServer> <000360> <Server>startedin
    RUNNING mode>
    <Feb 11, 2003 12:50:41 PM CST> <Error> <WTC> <180047> <tBridge must have at least
    one redirect command>
    <Feb 11, 2003 12:50:41 PM CST> <Error> <WTC> <180115> <tBridge cannot parse the
    configuration MBeans: Failure: no tbridge redirect info defined>
    [att1.html]

  • Erro in bursting ZIP file must have at least one entry

    Hi All ,
    i am using bursting utility for xmlp report ,but getting the following error
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    i have no clue y this error is coming ,any hint would be very helpful,
    Thanks in advance
    thanks
    Pratap

    Hi All
    i got resolved this error (Erro in bursting ZIP file must have at least one entry) ,was doing very silly mistake i was using the template name instead of Data Definition code name in location string
    location= ' '
    so the ZIP file error is removed ,now getting one more error after this ,which i am not able to under stand
    --Exception
    /tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
    java.io.FileNotFoundException: /tmp/011211_023243126/xdo1_164902_2.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Please help me on this
    Thanks
    Pratap

  • Error: Find criteria must contain at least one sort field value.

    Hi
    I am getting the followng error in Sort.as when I click on a column in a DataGrid that is bound to a nested property (e.g. parent.name)
    Error: Find criteria must contain at least one sort field value.
    I can see why this is failing.
    In the findItem function of Sort.as the code tests whether there is data in line (456) hasFieldName = values[fieldName] !== undefined. This fails and so an error is raised later in the function by:
         if (fieldsForCompare.length == 0)     {
         message = resourceManager.getString("collections", "findRestriction"); 
              throw new SortError(message);     }
     The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    In the case of a non nested property, everything works fine.
    There is lots of discussion about nested properties in DataGrid and there is this jira:
    http://bugs.adobe.com/jira/browse/SDK-9801
    There is talk of using a labelFunction or an itemRenderer and other third party solutions (extensions of DataGridColumn).
    Is this a bug?  is there a workaround using labelFunction or itemRenderer which can stop the error in Sort.as?
    James
    Here is the code of findItem in Sort.as of SDK 3..4.0.9271
    public  
    function findItem(items:Array,values:Object,
    mode:String,
    returnInsertionIndex:Boolean =
    false,compareFunction:Function =
    null):int{
    var compareForFind:Function; 
    var fieldsForCompare:Array; 
    var message:String; 
    if (!items){
    message = resourceManager.getString(
    "collections", "noItems"); 
    throw new SortError(message);}
    else if (items.length == 0){
    return returnInsertionIndex ? 1 : -1;}
    if (compareFunction == null){
    compareForFind =
    this.compareFunction; 
    // configure the search criteria
    if (values && fieldList.length > 0){
    fieldsForCompare = [];
    //build up the fields we can compare, if we skip a field in the
    //middle throw an error. it is ok to not have all the fields
    //though
    var fieldName:String; 
    var hadPreviousFieldName:Boolean = true; 
    for (var i:int = 0; i < fieldList.length; i++){
    fieldName = fieldList[i];
    if (fieldName){
    var hasFieldName:Boolean; 
    try
    hasFieldName = values[fieldName] !==
    undefined;}
    catch(e:Error){
    hasFieldName =
    false;}
    if (hasFieldName){
    if (!hadPreviousFieldName){
    message = resourceManager.getString(
    "collections", "findCondition", [ fieldName ]); 
    throw new SortError(message);}
    else
    fieldsForCompare.push(fieldName);
    else
    hadPreviousFieldName =
    false;}
    else
    //this is ok because sometimes a sortfield might
    //have a custom comparator
    fieldsForCompare.push(
    null);}
    if (fieldsForCompare.length == 0){
    message = resourceManager.getString(
    "collections", "findRestriction"); 
    throw new SortError(message);}
    else
    try
    initSortFields(items[0]);
    catch(initSortError:SortError){
    //oh well, use the default comparators...
    else
    compareForFind = compareFunction;

    I have tried a sortCompareFunction:
    var sort:Sort = new Sort();
    sort.compareFunction = compareFunction;sort.fields = [sortField];
    data.sort = sort;
    data.refresh();
    this makes no difference.
    James

Maybe you are looking for

  • 24" iMac Early 09 kernel panic

    I have been having regular kernal panics and frezes over the last few months any help would be apreicated Interval Since Last Panic Report:  690747 sec Panics Since Last Report:          12 Anonymous UUID:                    F314509E-09F8-4F35-9F0A-4

  • Keyboard not recognized in USB hub after 10.6.3 update

    After updating to 10.6.3 (using combo updater) the keys on my Apple extended keyboard that shipped with my 24" iMac (2008) no longer work when the keyboard is connected through my Belkin powered USB hub. But oddly enough, the wireless mouse that is c

  • Applying brute force on a huge problem

    hi guys , i m kinda stuck with this .. this is a project euler problem ... the problem is this The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting w

  • View temporary data in Web layout during file upload in Integrated Planning

    Hi Experts, When using File Upload funcationality, in Integrated Planning, I have a requirment, How user can view the data in the web layout? After data display user can make changes in the data and on click of Save the updated data is saved in cube.

  • How to retrieve snapshot ( only image) of videos?

    How can i retrieve on client side, snapshots of each video stored in a particular application on flash media server. So that I can use that snapshot as image thumnail while listing the available videos.