Re: Compiling Apache adaptor on Mac OS X 10.8

2013-07-18 Thread Samuel Pelletier
Thanks Bastien, it worked. Has I use a apache2.4 in a custom location, I adjusted your command with my apxs to: make ADAPTORS=Apache2.4 LTFLAGS='--tag CC' APXS2.2=/Kaviju/Web/apache2/bin/apxs After spending too much time with the default Apache 2.4 configuration to get rid of the "Forbidden" e

Re: create new to-many objects in d2w

2013-07-18 Thread David Holt
Hi Ted, This is how I handled it. It isn't pretty and it was early days in my experience with D2W, so there may be a better way… David Rule 101 : ((pageConfiguration = 'EditRelationshipEmbeddedAnswer' and parentPageConfiguration = 'EditTestItem') => branchChoices = ("_scoreOptionInline") [co

Re: create new to-many objects in d2w

2013-07-18 Thread Theodore Petrosky
David, How did you do this? I have been mucking around, but have not found a solution. playing with some Logs in the submitAction() method makes me realize that the object need to be entered into the EC. I will keep playing. Ted On Jul 12, 2013, at 12:27 PM, David Holt wrote: > The trade-of

Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Andrus Adamchik a écrit : On Jul 18, 2013, at 11:38 AM, Pierre Gilquin wrote: GRAVE: Error filterStart There's some Cayenne startup error. If I had to guess, the following problems are the most common: 1. No DB driver on CLASSPATH (either in .war WEB-INF/lib/ or in Tomcat lib/) 2. No cayen

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
On Jul 18, 2013, at 11:38 AM, Pierre Gilquin wrote: > GRAVE: Error filterStart There's some Cayenne startup error. If I had to guess, the following problems are the most common: 1. No DB driver on CLASSPATH (either in .war WEB-INF/lib/ or in Tomcat lib/) 2. No cayenne-server.jar in .war WEB-I

Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
I am novice with Tomcat so I just added the cayenne part: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5" xmlns="http://java.sun.com/xml/ns

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
Yeah, feel free to take this to Cayenne list. Make sure you post the full web.xml and the stack trace. There's something in the startup order. Also consider using Cayenne 3.1 (beta). Stack bootstrap is different, and much cleaner in it. Andrus On Jul 18, 2013, at 11:13 AM, Pierre Gilquin wrot

Re: Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Thanks Andrus, I try as well with cayenne 3.0 ! It's easy to import an eomodel in cayenne. But for now I was not able to deploy in Tomcat I added CayenneFilter org.apache.cayenne.conf.WebApplicationContextFilter CayenneFilter /* in web.xml generated by gwt But it was not

Re: Pure EOF and gwt

2013-07-18 Thread Andrus Adamchik
Maybe just use Cayenne. It is trivial to bootstrap in a Java webapp: https://github.com/andrus/wowodc13 http://cayenne.apache.org/ Andrus On Jul 18, 2013, at 10:39 AM, Pierre Gilquin wrote: > Hi all, > > I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data. > > > i

Pure EOF and gwt

2013-07-18 Thread Pierre Gilquin
Hi all, I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data. in the init I did : String pathToModel = getServletContext().getRealPath("/Resources/MyModel.eomodeld"); EOModelGroup.defaultGroup().addModelWithPath(pathToModel); ec = ERXEC.newEdit