I don't know what I was doing wrong, but I got it to work. just for giggles I tried pageConfiguration = 'EditProject'
with no propertyKeys and voila all the text fields showed up as ERDEditHTML fields. so I added the correct propertyKey and it is working. Don't know what I did. Ted --- On Fri, 7/20/12, David Holt <[email protected]> wrote: > From: David Holt <[email protected]> > Subject: Re: ERDEditHTML and tiny_mce > To: "Theodore Petrosky" <[email protected]> > Cc: [email protected] > Date: Friday, July 20, 2012, 10:19 PM > > On 2012-07-20, at 6:55 PM, Theodore Petrosky <[email protected]> > wrote: > > > I am looking at the D2WPresentation by David Holt > WOWODC11. > > > > he is using tiny_mce.js in the edit page of a d2w app. > I thought I set it up but I can not seem to get it to work. > > > > in my properties file: > > > > I copied the tiny_mce folder from the > WebServerResources folder of the SimpleBlog example into my > WebServerResources folder. > > > > > > # Where is tiny_mce located? > > > er.directtoweb.ERDEditHTML.tinyMceSourceFileName=tiny_mce/tiny_mce.js > > > er.directtoweb.ERDEditHTML.tinyMceSourceFrameworkName=app > > > > > > in my rules file: > > > > 101 : (task = 'edit' and property = > 'projectDescription') => componentName = "ERDEditHTML" > [com.webobjects.directtoweb.Assignment], > > 101 : ((task = 'inspect' or task = 'list') and > propertyKey = 'projectDescripton') => componentName = > "ERD2WDisplayHTML" [com.webobjects.directtoweb.Assignment] > > > > I am beginning to think my problems lies in the LHS of > my rule. > > when I click the 'edit' button on a row, I get an edit > page. the page is listed as "Edit Project". I have tried: > > > > 101 : (pageConfiguration = 'EditProject' and property = > 'projectDescription') => componentName = "ERDEditHTML" > [com.webobjects.directtoweb.Assignment], > > > > still no joy and no error messages. > > > > am I missing a rule? > > http://lists.apple.com/archives/webobjects-dev/2011/Dec/msg00039.html > > > > > > Ted > > > > > > _______________________________________________ > > Do not post admin requests to the list. They will be > ignored. > > Webobjects-dev mailing list ([email protected]) > > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > > > This email sent to [email protected] > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
