Reportmill RMPDFPage fails with pageWithName

From: David LeBer (dlebe..odeferous.com)
Date: Wed Mar 15 2006 - 23:28:44 EST

  • Next message: Chuck Hill: "Re: Reportmill RMPDFPage fails with pageWithName"

    Hello all,

    I'm using WOLips 2.0.0.86 / Eclipse 3.1.1 and I've just added the
    ReportMill 9 WO classes to my project (RMPDFPage.java,
    RMWebObjects.java, RMWODocument.java).

    RMPDFPage.java inherits from WOComponent. But has no .wo bundle
    or .api file (it loads the template from a string instead). When I
    call (RMPDFPage) nextPage = (RMPDFPage)pageWithName("RMPDFPage"); my
    app (SCTools) throws an exception:

    Java.lang.IllegalStateException: Unable to find framework named
    "SCTools"

    When I add an empty RMPDFPage.wo bundle and .api file everything
    works fine. Is there anyway I can tell WOLips that RMPDFPage.java
    should be treated like a WOComponent without having to add a dummy wo
    bundle?

    Thanks,

    --
    ;david
    

    -- David LeBer Codeferous Software 'co-defer-ous' adj. producing or containing code site: http://www.codeferous.com blog: http://david.codeferous.com




    This archive was generated by hypermail 2.0.0 : Wed Mar 15 2006 - 23:28:53 EST