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:01:11 -0700 (PDT)
if I read the link you referred to correctly, then in MY rules, I need to:
first:
0 : *true* => cmsRichTextMode = "mode : 'textareas', theme: 'advanced', plugins: 'paste', theme_advanced_buttons1: 'pastetext,pasteword,bold,italic,formatselect,justifyleft,justifycenter,justifyright,bullist,numlist,undo,redo,link,unlink,code', theme_advanced_buttons2 : '', theme_advanced_buttons3 : '', theme_advanced_toolbar_location : 'top', theme_advanced_toolbar_align : 'left', theme_advanced_statusbar_location : 'bottom', theme_advanced_resizing : true" [com.webobjects.directtoweb.Assignment],
second:
100 : *true* => richTextMode = "cmsRichTextMode" [er.directtoweb.ERDKeyValueAssignment],
and C:
101 : (pageConfiguration = 'EditProject' and properKey = 'projectDescripton') => componentName = "ERDEditHTML" [com.webobjects.directtoweb.Assignment],
no joy!!!
I examined the rules in your simple blog example and I don't get it. I also tried to screw thing up by altering the path to tiny_mce.js to see what errors would appear in my console. to my surprise no errors were listed. it was as if tiny_mce.js wasn't even looked for.
I am lost.
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