Re: Reportmill RMPDFPage fails with pageWithName

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Mar 15 2006 - 23:40:58 EST

  • Next message: David LeBer: "Re: Reportmill RMPDFPage fails with pageWithName"

    WOLips is rather unlikely to cause a runtime exception. I'd guess
    that the problem is due to some bad assumptions in the RM* classes.
    The last time I worked with ReportMill (um, that would be version 6 I
    think), I recall that I needed to patch how it was loading some
    things. It is all rather vague now, but that is where I would look.

    I, and I'm sure many others, also have components without templates
    and there has never been a problem.

    Chuck

    On Mar 15, 2006, at 8:28 PM, David LeBer wrote:

    > 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
    >
    >
    >
    >

    -- 
    Coming in 2006 - an introduction to web applications using WebObjects  
    and Xcode     http://www.global-village.net/wointro
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



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