Re: ERDEditHTML and tiny_mce
Re: ERDEditHTML and tiny_mce
- Subject: Re: ERDEditHTML and tiny_mce
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 21 Jul 2012 12:28:07 -0700 (PDT)
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@hidden> wrote:
> From: David Holt <email@hidden>
> Subject: Re: ERDEditHTML and tiny_mce
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden
> Date: Friday, July 20, 2012, 10:19 PM
>
> On 2012-07-20, at 6:55 PM, Theodore Petrosky <email@hidden>
> 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@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden