How to use scanner ADF with SANE in linux using Morena

Hi! I'm using Morena libraries to access my scanner in my linux by the SANE backend. I'm able to scan one page, but I just can't scan all the pages on the scanner. I've tried loops and status but nothing successfull.
Using linux utility "scanadf" works great, it scans all the pages. I don't know what I'm missing.
Hope some one out there has used the Morena project to accesso SANE scanners.
Best regards!

Hope, that something of the below will help:
According to the Sane specification, Sane backend (i.e. scanner) should report the "out of paper" situation by returning SANE_STATUS_NO_DOCS status code. Some backends do it by default, some require to set a special sane option, so that they accept the fact that "application wants to use ADF". E.q. when you scan multiple papers using ADF just by default options with our scanner HP ScanJet 6300C, it will result in endless repeated scans. In that situation you need to examine the list of backend's options and find the appropriate adf option name. In case of our HP ScanJet scanner, you need to call setOption("source", "ADF");
Is is possible, that some backends need to be inform to pull the next paper into the adf (something like change document option).
How To detect out of paper using Morena
1) Morena produces acquired data via Java ImageProducer interface. When image was acquired correctly, it will send imageComplete(ImageConsumer.STATICIMAGEDONE). When some error occurs, it will send imageComplete(ImageConsumer.IMAGEERROR). Developer can track these values. MorenaImage class has it's own getStatus() method, which reflects these values. Here is an example how to:
MorenaImage image;
SaneSource source=SaneConnection.selectSource(null);
source.setResolution(100);
source.setOption("mode", "Color");
source.setOption("source", "ADF");
do
{ image = new MorenaImage(source);
System.out.println("Size of acquired image is " + image.getWidth() + " x " + image.getHeight() + " x " + image.getPixelSize() + ", image.getStatus=" + image.getStatus());
} while (image.getStatus() == ImageConsumer.STATICIMAGEDONE);
2) When developer decides not to buffer the acquired image, it is possible to omit MorenaImage class:
Image image;
SaneConnection saneConnection=null;
try
saneConnection = SaneConnection.connect("localhost");
SaneSource source=saneConnection.selectSource(null,null);
source.setOption("mode", "Color");
source.setResolution(100);
source.setOption("source", "ADF");
do
image=Toolkit.getDefaultToolkit().createImage(source);
MediaTracker tracker=new MediaTracker(this);
tracker.addImage(image, 0);
try
{ tracker.waitForAll();
catch (InterruptedException e)
{ e.printStackTrace();
tracker.removeImage(image);
System.out.println("Size of acquired image is " + image.getWidth(this) + " x " + image.getHeight(this) + ", saneConnection.getResultCode()=" + saneConnection.getResultCode());
} while (saneConnection.getResultCode() != SaneConstants.SANE_STATUS_NO_DOCS);
catch (Exception e)
{ e.printStackTrace();
finally
{ if(null!=saneConnection)
try
{ saneConnection.close();
catch (Exception e)
{ e.printStackTrace();
3) Quit simple solution is to detect a size of the acquired images. If the size = 0 (or -1 in some scanners), stop the scanning.
Martin Motovsky

Similar Messages

  • How do I integrate adf with peoplesoft and deploy it on psft ?

    I am planning to use adf faces for customization on peoplesoft. How do I do that using the present adf version? Is there documentaion or demo for usage of adf with psft?
    Thanks,
    Pradeep

    The online files cannot be opened in iWeb — only iWeb's Domain file can be opened in iWeb. See this Apple doc on How to back up MobileMe data. It says:
    Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but there is no way to import published pages back into iWeb. You can manually back up the Domain file, or use Backup to back it up.
    Paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWebBackupretrieve.html

  • ADF:How to use NavigationHandler in Phase-Listener with adfc-config.xml

    Hi,
    in our application a user should be navigated to the login-page, when he tries to navigate directly to a page where he has no right for or if the session is expired.
    Our navigation is complete in the adfc-config.xml. So I created a phase-listener, which is called by the adf-settings.xml.
    Inside the phase-listener I'm checking the rights. If the user doesn't have the needed rights, he should be linked to the login page. But how can I do that?
    Some days ago our navigation has been complete in the faces-config.xml. But now we moved the navigation to the adfc-config.xml, because we are sure that it's better. E.g. for using the dialog framework.
    In the face-config.xml we had also the call of the phase-listener. There we did the forwarding like this and it worked:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, null, "login_page");But now I think I have to use the ADFContext somehow, or?
    So how can I do that with the adfc-config.xml?
    Thanks a lot for your help,
    Bastian
    I'm using JDeveloper 11g Release 1 (11.1.1.3.0)

    Hello Frank,
    thanks for your answer, but it doesn't really help me, because I'm a newbie, sorry.
    Does your answer mean, that I should leave the call of the phase-listener in the faces-config and then I would also have access to the login-page, which is in the adfc-config?
    Or does it mean, that I call now my phase-listener by adf-settings but don't have to change the phase-listener itself and can still use my code (FacesContext...)? But that's not working. I get no error but he is also not redirecting.
    Maybe my problem starts on an earlier point.
    Is it better to create all pages in the adfc-config or faces-config? (Maybe you have a good reference for reading about such a basic discussion)
    I thought adfc-config would be the better one. But there I'm not able to redirect to another page (login) if somebody calls a special page without rights for example.
    So my second basic question would be about the relation of adfc-config, faces-config and ADFContext and FacesContext.
    Because I think it's not a short answer I hope you could give me also for this a reference so that I can read these basics myself.
    Thanks a lot for helping a newbie becoming better :-)
    Bastian

  • How to use ADF Faces with struts1.3.8

    Hi
    Can anybody guide us how to use ADF faces with Struts 1.3.8.
    Your help will be appreciated.
    Thanks
    Chetan

    Xpp,
    Have a look at the ADF Developer's Guide for specific instructions on menus (the ADF Developer's Guide for Forms/4GL Developers has the information in section 19.2).
    You can put javascript handlers on the components to get keyboard event handling.
    John

  • How to use ADF with weblogic Portal 10.3.2

    Hello All,
    I want to use ADF with Weblogic Portal 10.3.2. Can anyone guide me ?
    Thanks,
    *(' ')sman*

    Hello,
    To use ADF with WLP 10.3.2 you will need a WebCenter WSRP producer running the portlet, which you can then consume as a remote portlet in WLP. The documentation on how to do that is here:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14235/chap_webcenter_interop.htm#BABDBJBD
    Kevin

  • How to use tree tables with CRUD operation for begineers ADF 11g

    This is Friday night call for help.
    This is only few sample ressources on the web for tree table and only one with CRUD operation.
    I used this one http://jobinesh.blogspot.com/2010/05/crud-operations-on-tree-table.html because this is the only one that address CRUD.
    And it is shaky. Deletion works fine but insertion not very well. This is working using custom code provided below.
    Depending if the user selection in the tree, the code insert from the master node to the children node.
    Any other options because it is not working well.
    Also where Oracle describes how to use the row, rowset, itorator API? This is really hard to understand like almost if we should not use it.
    then if not how can I insert in tree with two nodes and insert in the parent or children depending the users selection.
    Lately I 'been posting questions on this forum with no response. This hurts. I understand developers cannot spend their time on this but People from Oracle, please help. We pay licenses...
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "model.DepartmentsView";
    final String empViewDefName = "model.EmployeesView";
    if (ri != null && selectedNodeKey != null) {
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    Row foundRow = found[0];
    String nodeDefname =
    foundRow.getStructureDef().getDefFullName();
    if (nodeDefname.equals(deptViewDefName)) {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    parents.insertRow(childrow);
    } else {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    childrow.setAttribute("DepartmentId",
    foundRow.getAttribute("DepartmentId"));
    parents.insertRow(childrow);
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    }

    I am looking for a sample that describe how to design a jsf page with a tree table.
    So you have Department and employees. In the tree first comes Department and if you click the node you see the employees assigned to this department.
    I need to be able to insert a new department or a new employee from the tree table by clicking on a insert button in the panel collection toolbar depending on user selection in the tree.
    I got part of it working but not good enough.
    By problem is the get insertion working
    I have a createChildren method in my AM implementation that get in input a RowIterator and selected node key.
    To goal is to create new records depending of the user selection and the input parameters get populated by the binding like this:
    #{backing_treeSampleBean.selectedNodeRowIterator} #{backing_TreeSampleBean.selectedNodeRowkey} via method binding with parameters.
    Is it the right approach?
    First to be able to insert a parent record, I select nothing in the tree and ri and selectedNodeKey comes to null
    we run this code
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    //ViewObjectImpl vo = getDepartmentsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    A new blank entry appears in the parent node and we enter a value.
    The the problem starts when we want to add a child to this parent.
    We select the created parent and press the insert button, this code get executed
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    childRows.insertRow(childrow);
    But the new entry does not appear, it is almost like it would be created for a different parent because this is a mandatory field that is not feel in yet and the interface complaints of a missing value. It is created somewhere just not a the right place... This is my guess.
    Do you see something wrong with the code?
    The full code og my create children method is there below
    I am using jdeveloper 11.1.1.3.0 any issues with tree table to know about with this version?
    Thanks for your help
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidaySchedExceptionsView";
    final String empViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidayExceptionDatesView";
    if (ri != null && selectedNodeKey != null) {
    // last row
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    // foundRow is the row selected
    Row foundRow = found[0];
    // The row selected can be the parent node or the child node
    String nodeDefname = foundRow.getStructureDef().getDefFullName();
    // if parent row
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    //works but we try to resolve the creation of a parent
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    //childrow.setAttribute("HolidayDate", new java.util.Date().getDate());
    System.out.println("insert child row from master");
    childRows.insertRow(childrow);
    } else
    //RowSet ParentRow = (RowSet)foundRow.getAttribute("SchHolidaySchedExceptionsView");
    //RowSet childRows = (RowSet)ParentRow.first().getAttribute("SchHolidayExceptionDatesView");
    Row childrow = ri.createRow();
    System.out.println("insert child row from child ");
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    } else {
    System.out.println(" param null try creating for first row : " +
    ri + " * " + selectedNodeKey);
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    }

  • How-to use captcha with ADF Faces 10g (10.1.3)

    Hi All,
    Could You Pls tell me how to use the captcha using 10g currently i am using the jdeveloper version of 10.1.3. I have found the link for using the *[captcha using 11g|http://www.oracle.com/technology/products/jdev/tips/fnimphius/captcha/captcha.html]* but some of the components here such as af:panelFormLayout and af:panelGroupLayout are not available in 10g.Are there are any alternative components Availablel for the 10g
    regards
    Yeshwant

    Hi John ,
    Thankx for the reply ..
    i am getting the following compilation error *(Error: Attribute: halign is not a valid attribute name)* while doing that .
    i have written the code as follows...
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:panelForm id="pfl1">
    <f:facet name="footer"/>
    <af:objectImage source="/captchaservlet" id="i1"
    inlineStyle="width:251px; height:76.0px;"/>
    <af:commandButton text="can't read image" id="cb2"
    partialSubmit="false"/>
    <af:panelLabelAndMessage label="Are U a robot?" id="plam1">
    <af:panelGroup id="pgl1" layout="horizontal" halign="left">
    <af:inputText id="it1" value="#{requestScope.bestGuess}"/>
    <af:commandButton text="try" id="cb1"
    actionListener="#{HandleCaptchaBean.verifyAnswer}"
    partialSubmit="true" immediate="false"/>
    </af:panelGroup>
    <af:message id="m1" messageType="info" for="it1"/>
    </af:panelLabelAndMessage>
    </af:panelForm>
    </af:form>
    </af:document>
    </f:view>
    Thankx
    Regards
    Yeshwant

  • Need pointers on how to use SQLite in  ADF Mobile applications

    Hey,
    I am trying to develop an ADF mobile App. I am new to ADF mobile. I went through some of the tutorials but still need some clarification on how to use SQLite inside the application. Can i get a Data control out of it? Or is it just to read and write data .
    that brings me to the other question, Is the 'demo.db' i.e the db file which represents the Database, supposed to be packaged as a resource with the application?
    Pls give me some info abt this.. If you can provide me links with this information, it would be of great help.
    Thanks,
    Jithesh

    You can expose a java class containing methods (select, update, ...) as a Data Control.
    Yes, you need to add your .db as a resource.
    Here a blog post about SQLite in ADF Mobile:
    http://adf4beginners.blogspot.be/2013/03/adf-mobile-sqlite-in-adf-mobile.html

  • How to  use  Stylesheet (XSL) with JSPX ?

    Hi!
    How to use XSL stylesheets with JSPX pages?
    I want use an xsl transformations with jspx pages, I tried using the following syntax, but it didn't work....
    <?xml version='1.0' stylesheet type="text/xsl" href="mathml.xsl" encoding='UTF-8'?>
    <tr:html xmlns="http://www.w3.org/1999/xhtml">
    what is the best way to use xslt with jspx pages?
    Thanking you in advance,
    Samba

    Thanks Ric,
    But My problem is not solved..
    I'm getting the transformation working in plain HTML
    The file given below :
    <?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
    <!--
    Copyright David Carlisle 2001, 2002.
    Use and distribution of this code are permitted under the terms of the <a
    href="http://www.w3.org/Consortium/Legal/copyright-software-19980720"
    W3C Software Notice and License</a>.-->
    <html xmlns="http://www.w3.org/1999/xhtml"
    >
    <head>
    <title>Content MathML Examples</title>
    </head>
    <body>
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </div>
    </body>
    </html>But the same thing is not working when put in jspx page..
    And I tried to use JSTL as you have suggested :
    But the content is not getting transformed.
    Here is the jspx page :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:x="http://java.sun.com/jsp/jstl/xml"
              xmlns:m="http://www.w3.org/1998/Math/MathML"
              xmlns:xh="http://www.w3.org/1999/xhtml">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document binding="#{backing_xsltTest.document1}" id="document1">
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <f:verbatim>
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    </f:verbatim>
    <c:import var ="mathml" url="/mathml.xsl"/>
    <x:transform  xslt="${mathml}">
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </x:transform>
    </div>
          <af:form binding="#{backing_xsltTest.form1}" id="form1">
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_xsltTest-->
    </jsp:root>Can you please suggest where I'm doing wrong?
    Thanking you in advance,
    Samba

  • How to format a form with adf

    Hi,
    I want to format an adf form like this :
    http://dl.dropbox.com/u/33421977/adf_form.PNG
    To do this I have used af:panelDashboard and af:panelBox with af:panelFormLayout inside.
    Now I don't want to use panelBox anymore, but I don't know how to achieve this without panelDashboard/panelBox.
    What is th best aproach to do this? Can you send me some links which explain how to format a form with adf?
    Thanks.

    Is just a question of style. In the real application this form is included in another panelBox. So it looks too... I don't know how to say it... too heavy?
    In fact I don't want to see these panelBoxe's borders. Maybe I have just to change the style of these boxes? Do you know if it is possible?
    But more generally, what is the right way to format adf forms? Can I achieve this sort of formatting just using panelFormLayout?

  • What does findObject() method do, How to use it with changeObject() method?

    Hi all,
    Can anyone tell me what is the use of findObject() method can i use it to find and replace actual pageItems.
    Thanks

    The ADF is used to automatically feed a number of pages for scanning, copying or faxing.  Paper is loaded into the ADF with the printed side facing up.  When you then copy (or scan or fax) the pages will be automatically pulled into the scanner mechanism one at a time and then deposited in the output tray. 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How can use my Wireless Location Appliance to work with RF ID's?

    How can use my Wireless Location Appliance to work with RF ID's for Asset Tagging.
    It seems Smartcard used for ID cards have a small RF ID, can I use this for Asset Tagging?
    Thanks in Advance

    There are two kinds of RFID tags: Active tags, which have a battery or other internal power source, and passive tags, which have no power source and work by reflecting the energy from an RFID scanner (basically). At the energy levels and distances used for WiFi location detection, passive tags will not return a detectable signal.
    Take a look at http://www.aeroscout.com/ for more info on WiFi RFID tagging.

  • Oracle ADF RichSelenium class - any examples on how to use this?

    Digging around the net and found that there is a class for Selenium testing ADF Rich components, namely oracle.adf.view.rich.automation.selenium.RichSelenium located in oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar.
    I've been searching for half a day now and cannot find any example code on how to use RichSelenium class for the life of me.
    There are examples of using Selenium with ADF (http://www.oracle.com/technetwork/articles/adf/part6-094560.html) but not using RichSelenium.
    Any lead or information would be highly appreciated, thanks in advance.

    OK figured out how to start using this RichSelenium class and thought I'd post my findings on this thread for the sake of anyone else who wants to know. Here's my code:
    -- START OF CODE
    package my.richselenium.test;
    import java.util.concurrent.TimeUnit;
    import org.junit.After;
    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.WebDriverCommandProcessor;
    import org.openqa.selenium.firefox.FirefoxDriver;
    * Base test class for handling common functionality across tests - setting up web driver, retrieving URL and cleaning
    * up and resources.
    public class myTest {
    public void runTest() {
    // Create WebDriver
    WebDriver myWebDriver = new FirefoxDriver();
    // Setup Web Driver Command Processor
    WebDriverCommandProcessor wdcp = new WebDriverCommandProcessor("http://www.google.com", this.driver);
    // Instantiate RichSelenium class object
    RichSelenium rs = new RichSelenium(wdcp);
    // Load specific URL
    rs.open("http://www.oracle.com");
    // Let's do some RichSelenium specific processing
    String [] someArray = rs.getAllFields();
    List<String> someList = Arrays.asList(someArray);
    // for loop advance
    for (String temp : someList ) {
    System.out.println(temp);
    rs.close();
    -- END OF CODE
    -----------------------------------------------------------------------------------------------------------------------------------------

  • How to use Connection Pool in ADF ear file creaion from jDev 10.1.3

    Hi,
    We are developing big application in ADF with 10 different modules. We are creating ear file with data source setting.
    How to use connection pool while creating ear file from jDev. Connection pool is alreday created in Application Server 10g.
    What all the setting we need do to make use of connection pool while creating ear file jDev.
    Thanks

    User,
    If you are using ADF Business Components, you can right-click each application module, select "configurations" and edit the configuration you are using. On the initial page of the configuration dialog, you can specify to use either a JDBC URL or a Datasource - you just need to choose Datasource and then provide the name by which to access it.
    John

  • How to use ADF variables in C:when test?

    I have a <af:iterator in my page fragment as follows
    <af:iterator id="i1" value="#{queryModel.currentDescriptor.conjunctionCriterion.criterionList}" var="criterion" varStatus="vs">
    Within this iterator, I want to make a decision absed on the index of the iterator. To do this test, I am using jstl as follows
    <c:when test="${vs.index == '0' or vs.index == '2' or vs.index == '4'}">
    This test is however always evaluating to false. I have tried cahnging my code using various combiantion as below ...
    <c:when test="#{vs.index == '0' or vs.index == '2' or vs.index == '4'}">
    <c:when test="${vs.index == 0 or vs.index == 2 or vs.index == 4}">
    <c:when test="${vs.index == '0' || vs.index == '2' || vs.index == '4'}">
    But nothign seems to be working fine.
    Can some one help me with what I am doing wrong?
    Thanks.

    How to use ADF variables in <C:when test?

Maybe you are looking for

  • I often get a "Page No Found" error when I click links.

    After the last upgrade of Firefox, I am having problems with links in emails or websites. When I click them, I often get a 404 error, and the webmasters frequently say that they have tested the links and they are working fine. I am starting to think

  • Deleting Photos from iPhoto doesn't return hard drive memory

    Hi, I need more room on my hard drive. I have needed to pare down my photos for awhile, so I got information on my iPhoto library which was about 40gb and had about 12,500 photos. I spent hours deleting about 2500 photos and movies last night to try

  • File to IDoc ( sequential processing )

    Hi All,    I need a clarification for one of  my scenario.. The scenario is about PO create, PO change and PO del. We receive a flat file with all the above mentioned in the same file in any order.. But we need to ensure that we <b>post and process a

  • Connecting two large FAT32 drives - one doesn't mount

    I have two WD 2TB HDDs formatted as FAT32. One is in a 4-bay external box connected via eSATA, the other in a WD case connected via USB. My computer is a Powermac Dual G5 2.0GHz running 10.4.11 Connecting either box individually leads to no problems,

  • Youtube stops playing

    Afte ronly loading a smidge, Youtube stops playing the vids, and won't buffer in more.  It MGIHT resume in 30 seocnds. MIGHT resume after 2 minutes. Or not at all. I'm nto sure why every new version makes vidoe playing worse and worse.  I've had thsi