Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Iulian Costan
there are two ways to use tinymce:
1) TinyMCEPanel - does add static tinymce capabilities to the page/textarea
2) TinyMCEBehaviour - it is a try to make tinymce/ajax load/work together,
but it seems that tinymce library is not ajax ready (if you look at how they
lazy-load JS files in background you'll see what i mean, there are all kind
of loading/synchronization issues, etc).

so far i didnt find a reliable way to load tinymce using ajax, if anybody
has any idea, please jump in, i'll be happy to hear.

/iulian

On 9/14/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
>
> Well ... it didn't. And the strangest thing is that when working with the
> previous CVS sources from tinymce, it does.. Can it have something to do
> with those changes for internet explorer or ajax? I can go back to the
> previous release, but then internet explorer doesn't work...
>
>
> Marieke Vandamme wrote:
> >
> > I did some more 'research' on this, and this is what i came up with :
> > http://trac.dojotoolkit.org/ticket/233
> > I'm using a dojodatepicker on the same page of my tinymcepanel.
> > I haven't checked if the position of the js-includes will solve my
> > problem, but i hope so..
> >
> >
> > Iulian Costan wrote:
> >>
> >> my guess is that you load tinymce using ajax, where tinymce area is
> >> placed
> >> in a panel that is loaded dynamically.
> >> if the above is true then there (TinymceBehaviour constructor) is a
> >> boolean
> >> parameter called 'ajax' that you have to set to true.
> >>
> >> /iulian
> >>
> >> On 9/14/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> I had the same problem with tinymce in internet explorer. I was glad
> to
> >>> read
> >>> this thread and downloaded the latest sources from CVS. But now I get
> a
> >>> firefox error saying : tinyMCE.baseURL has no properties
> >>> (tiny_mce_src.js:88). Am i the only one getting this error or is it a
> >>> common
> >>> error?
> >>>
> >>>
> >>> Iulian Costan wrote:
> >>> >
> >>> > the fix is committed, let me know if is works as expected.
> >>> >
> >>> > good to be back to wicket ;)
> >>> >
> >>> > /iulian
> >>> >
> >>> > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
> >>> >>
> >>> >> Hi,
> >>> >>
> >>> >> I solved the problem by changing the TinyMceBehavior.renderHead
> >>> ()-method.
> >>> >>
> >>> >> It now looks like this:
> >>> >>
> >>> >> /**
> >>> >>  * @see
> >>> org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead(
> >>> >> org.apache.wicket.markup.html.IHeaderResponse)
> >>> >>  */
> >>> >> public void renderHead(IHeaderResponse response)
> >>> >> {
> >>> >> // add wicket-ajax support
> >>> >> super.renderHead(response);
> >>> >>
> >>> >> // since wicket modifies the src attribute of a pre-loaded
> >>> script
> >>> >> tag
> >>> >> // then we
> >>> >> // need this workaround to safely import tinymce script
> >>> >>
> >>> >> // import script
> >>> >> // IS NOT NEEDED ANY LONGER
> >>> >> //StringBuilder importBuilder = new StringBuilder();
> >>> >> //importBuilder.append("var script = document.createElement
> >>> >> ('script');\n");
> >>> >> //importBuilder.append("script.id='tinyMCEScript';\n");
> >>> >> //importBuilder.append("script.src='" +
> >>> >> RequestCycle.get().urlFor(reference)
> >>> >> + "';\n");
> >>> >> //importBuilder.append("script.type='text/javascript';\n");
> >>> >> //importBuilder.append("document.getElementsByTagName
> >>> >> ('head')[0].appendChild(script);\n");
> >>> >> //response.renderJavascript(importBuilder.toString(),
> >>> "import");
> >>> >>
> >>> >>   // THE NEW LINE
> >>> >> response.renderJavascriptReference(reference);
> >>> >>
> >>> >> // init script
> >>> >> StringBuilder initBuilder = new StringBuilder();
> >>> >> initBuilder.append("tinyMCE.init({" + settings.toJavaScript
> >>> (ajax)
> >>> >> +
> >>> >> "\n});\n");
> >>> >> initBuilder.append(settings.getLoadPluginJavaScript());
> >>> >> initBuilder.append(settings.getAdditionalPluginJavaScript
> ());
> >>> >> response.renderJavascript(initBuilder.toString(), "init");
> >>> >> }
> >>> >>
> >>> >>
> >>> >> I don´t really know why the script was not imported this way.
> >>> >> But now it works fine in IE6.
> >>> >>
> >>> >>
> >>> >> Benjamin
> >>> >>
> >>> >> 2007/9/3, Benjamin Ernst <[EMAIL PROTECTED]>:
> >>> >> >
> >>> >> > Hi Iulian,
> >>> >> >
> >>> >> > I just want to check if there is any progress with this issue?
> Did
> >>> you
> >>> >> > find anything?
> >>> >> >
> >>> >> > Benjamin
> >>> >> >
> >>> >> > 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>:
> >>> >> > >
> >>> >> > > hey guys,
> >>> >> > >
> >>> >> > > i am supposed to be the maintainer of tinymce module but lately
> i
> >>> >> didnt
> >>> >> > > put
> >>> >> > > much effort into it.
> >>> >> > > let me take a look and see how i can fix that issue.
> >>> >>

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Marieke Vandamme

Well ... it didn't. And the strangest thing is that when working with the
previous CVS sources from tinymce, it does.. Can it have something to do
with those changes for internet explorer or ajax? I can go back to the
previous release, but then internet explorer doesn't work...


Marieke Vandamme wrote:
> 
> I did some more 'research' on this, and this is what i came up with :
> http://trac.dojotoolkit.org/ticket/233
> I'm using a dojodatepicker on the same page of my tinymcepanel.
> I haven't checked if the position of the js-includes will solve my
> problem, but i hope so..
> 
> 
> Iulian Costan wrote:
>> 
>> my guess is that you load tinymce using ajax, where tinymce area is
>> placed
>> in a panel that is loaded dynamically.
>> if the above is true then there (TinymceBehaviour constructor) is a
>> boolean
>> parameter called 'ajax' that you have to set to true.
>> 
>> /iulian
>> 
>> On 9/14/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> Hello,
>>>
>>> I had the same problem with tinymce in internet explorer. I was glad to
>>> read
>>> this thread and downloaded the latest sources from CVS. But now I get a
>>> firefox error saying : tinyMCE.baseURL has no properties
>>> (tiny_mce_src.js:88). Am i the only one getting this error or is it a
>>> common
>>> error?
>>>
>>>
>>> Iulian Costan wrote:
>>> >
>>> > the fix is committed, let me know if is works as expected.
>>> >
>>> > good to be back to wicket ;)
>>> >
>>> > /iulian
>>> >
>>> > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> I solved the problem by changing the TinyMceBehavior.renderHead
>>> ()-method.
>>> >>
>>> >> It now looks like this:
>>> >>
>>> >> /**
>>> >>  * @see
>>> org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead(
>>> >> org.apache.wicket.markup.html.IHeaderResponse)
>>> >>  */
>>> >> public void renderHead(IHeaderResponse response)
>>> >> {
>>> >> // add wicket-ajax support
>>> >> super.renderHead(response);
>>> >>
>>> >> // since wicket modifies the src attribute of a pre-loaded
>>> script
>>> >> tag
>>> >> // then we
>>> >> // need this workaround to safely import tinymce script
>>> >>
>>> >> // import script
>>> >> // IS NOT NEEDED ANY LONGER
>>> >> //StringBuilder importBuilder = new StringBuilder();
>>> >> //importBuilder.append("var script = document.createElement
>>> >> ('script');\n");
>>> >> //importBuilder.append("script.id='tinyMCEScript';\n");
>>> >> //importBuilder.append("script.src='" +
>>> >> RequestCycle.get().urlFor(reference)
>>> >> + "';\n");
>>> >> //importBuilder.append("script.type='text/javascript';\n");
>>> >> //importBuilder.append("document.getElementsByTagName
>>> >> ('head')[0].appendChild(script);\n");
>>> >> //response.renderJavascript(importBuilder.toString(),
>>> "import");
>>> >>
>>> >>   // THE NEW LINE
>>> >> response.renderJavascriptReference(reference);
>>> >>
>>> >> // init script
>>> >> StringBuilder initBuilder = new StringBuilder();
>>> >> initBuilder.append("tinyMCE.init({" + settings.toJavaScript
>>> (ajax)
>>> >> +
>>> >> "\n});\n");
>>> >> initBuilder.append(settings.getLoadPluginJavaScript());
>>> >> initBuilder.append(settings.getAdditionalPluginJavaScript());
>>> >> response.renderJavascript(initBuilder.toString(), "init");
>>> >> }
>>> >>
>>> >>
>>> >> I don´t really know why the script was not imported this way.
>>> >> But now it works fine in IE6.
>>> >>
>>> >>
>>> >> Benjamin
>>> >>
>>> >> 2007/9/3, Benjamin Ernst <[EMAIL PROTECTED]>:
>>> >> >
>>> >> > Hi Iulian,
>>> >> >
>>> >> > I just want to check if there is any progress with this issue? Did
>>> you
>>> >> > find anything?
>>> >> >
>>> >> > Benjamin
>>> >> >
>>> >> > 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>:
>>> >> > >
>>> >> > > hey guys,
>>> >> > >
>>> >> > > i am supposed to be the maintainer of tinymce module but lately i
>>> >> didnt
>>> >> > > put
>>> >> > > much effort into it.
>>> >> > > let me take a look and see how i can fix that issue.
>>> >> > >
>>> >> > > /iulian
>>> >> > >
>>> >> > > On 8/21/07, Benjamin Ernst < [EMAIL PROTECTED]> wrote:
>>> >> > > >
>>> >> > > > Hi Thijs,
>>> >> > > > Thank you for opening the JIRA. At least there is someone who
>>> has
>>> >> the
>>> >> > > same
>>> >> > > > error.
>>> >> > > >
>>> >> > > > So let's hope for the best.
>>> >> > > >
>>> >> > > > Benjamin
>>> >> > > >
>>> >> > > > 2007/8/20, Thijs <[EMAIL PROTECTED]>:
>>> >> > > > >
>>> >> > > > > He Benjamin,
>>> >> > > > >
>>> >> > > > > I have the same problem. I have opened a JIRA issue for it:
>>> >> > > > > http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no
>>> response
>>> so
>>> >> > > far. I
>>> >> > > > > can't help you any further but lets hoop the maintainer of
>>> the
>>> >> > > tinymce
>>> >> > > > > project picks it up...
>>> >> > > > >
>>> >> > > > > Thijs
>>>

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Marieke Vandamme

I did some more 'research' on this, and this is what i came up with :
http://trac.dojotoolkit.org/ticket/233
I'm using a dojodatepicker on the same page of my tinymcepanel.
I haven't checked if the position of the js-includes will solve my problem,
but i hope so..


Iulian Costan wrote:
> 
> my guess is that you load tinymce using ajax, where tinymce area is placed
> in a panel that is loaded dynamically.
> if the above is true then there (TinymceBehaviour constructor) is a
> boolean
> parameter called 'ajax' that you have to set to true.
> 
> /iulian
> 
> On 9/14/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I had the same problem with tinymce in internet explorer. I was glad to
>> read
>> this thread and downloaded the latest sources from CVS. But now I get a
>> firefox error saying : tinyMCE.baseURL has no properties
>> (tiny_mce_src.js:88). Am i the only one getting this error or is it a
>> common
>> error?
>>
>>
>> Iulian Costan wrote:
>> >
>> > the fix is committed, let me know if is works as expected.
>> >
>> > good to be back to wicket ;)
>> >
>> > /iulian
>> >
>> > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I solved the problem by changing the TinyMceBehavior.renderHead
>> ()-method.
>> >>
>> >> It now looks like this:
>> >>
>> >> /**
>> >>  * @see
>> org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead(
>> >> org.apache.wicket.markup.html.IHeaderResponse)
>> >>  */
>> >> public void renderHead(IHeaderResponse response)
>> >> {
>> >> // add wicket-ajax support
>> >> super.renderHead(response);
>> >>
>> >> // since wicket modifies the src attribute of a pre-loaded
>> script
>> >> tag
>> >> // then we
>> >> // need this workaround to safely import tinymce script
>> >>
>> >> // import script
>> >> // IS NOT NEEDED ANY LONGER
>> >> //StringBuilder importBuilder = new StringBuilder();
>> >> //importBuilder.append("var script = document.createElement
>> >> ('script');\n");
>> >> //importBuilder.append("script.id='tinyMCEScript';\n");
>> >> //importBuilder.append("script.src='" +
>> >> RequestCycle.get().urlFor(reference)
>> >> + "';\n");
>> >> //importBuilder.append("script.type='text/javascript';\n");
>> >> //importBuilder.append("document.getElementsByTagName
>> >> ('head')[0].appendChild(script);\n");
>> >> //response.renderJavascript(importBuilder.toString(),
>> "import");
>> >>
>> >>   // THE NEW LINE
>> >> response.renderJavascriptReference(reference);
>> >>
>> >> // init script
>> >> StringBuilder initBuilder = new StringBuilder();
>> >> initBuilder.append("tinyMCE.init({" + settings.toJavaScript
>> (ajax)
>> >> +
>> >> "\n});\n");
>> >> initBuilder.append(settings.getLoadPluginJavaScript());
>> >> initBuilder.append(settings.getAdditionalPluginJavaScript());
>> >> response.renderJavascript(initBuilder.toString(), "init");
>> >> }
>> >>
>> >>
>> >> I don´t really know why the script was not imported this way.
>> >> But now it works fine in IE6.
>> >>
>> >>
>> >> Benjamin
>> >>
>> >> 2007/9/3, Benjamin Ernst <[EMAIL PROTECTED]>:
>> >> >
>> >> > Hi Iulian,
>> >> >
>> >> > I just want to check if there is any progress with this issue? Did
>> you
>> >> > find anything?
>> >> >
>> >> > Benjamin
>> >> >
>> >> > 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>:
>> >> > >
>> >> > > hey guys,
>> >> > >
>> >> > > i am supposed to be the maintainer of tinymce module but lately i
>> >> didnt
>> >> > > put
>> >> > > much effort into it.
>> >> > > let me take a look and see how i can fix that issue.
>> >> > >
>> >> > > /iulian
>> >> > >
>> >> > > On 8/21/07, Benjamin Ernst < [EMAIL PROTECTED]> wrote:
>> >> > > >
>> >> > > > Hi Thijs,
>> >> > > > Thank you for opening the JIRA. At least there is someone who
>> has
>> >> the
>> >> > > same
>> >> > > > error.
>> >> > > >
>> >> > > > So let's hope for the best.
>> >> > > >
>> >> > > > Benjamin
>> >> > > >
>> >> > > > 2007/8/20, Thijs <[EMAIL PROTECTED]>:
>> >> > > > >
>> >> > > > > He Benjamin,
>> >> > > > >
>> >> > > > > I have the same problem. I have opened a JIRA issue for it:
>> >> > > > > http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response
>> so
>> >> > > far. I
>> >> > > > > can't help you any further but lets hoop the maintainer of the
>> >> > > tinymce
>> >> > > > > project picks it up...
>> >> > > > >
>> >> > > > > Thijs
>> >> > > > >
>> >> > > > > Benjamin Ernst wrote:
>> >> > > > > > Hi,
>> >> > > > > >
>> >> > > > > > has nobody an idea? Any help would be great!
>> >> > > > > >
>> >> > > > > > Thanks,
>> >> > > > > > Benjamin
>> >> > > > > >
>> >> > > > > > 2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
>> >> > > > > >
>> >> > > > > >> Hi,
>> >> > > > > >>
>> >> > > > > >> I have a problem with the wicket-stuff Tinymce-Editor in
>> the
>> >> > > > > >> InternetExplorer:
>> >> > > > > >>

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Iulian Costan
my guess is that you load tinymce using ajax, where tinymce area is placed
in a panel that is loaded dynamically.
if the above is true then there (TinymceBehaviour constructor) is a boolean
parameter called 'ajax' that you have to set to true.

/iulian

On 9/14/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> I had the same problem with tinymce in internet explorer. I was glad to
> read
> this thread and downloaded the latest sources from CVS. But now I get a
> firefox error saying : tinyMCE.baseURL has no properties
> (tiny_mce_src.js:88). Am i the only one getting this error or is it a
> common
> error?
>
>
> Iulian Costan wrote:
> >
> > the fix is committed, let me know if is works as expected.
> >
> > good to be back to wicket ;)
> >
> > /iulian
> >
> > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >> I solved the problem by changing the TinyMceBehavior.renderHead
> ()-method.
> >>
> >> It now looks like this:
> >>
> >> /**
> >>  * @see org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead(
> >> org.apache.wicket.markup.html.IHeaderResponse)
> >>  */
> >> public void renderHead(IHeaderResponse response)
> >> {
> >> // add wicket-ajax support
> >> super.renderHead(response);
> >>
> >> // since wicket modifies the src attribute of a pre-loaded
> script
> >> tag
> >> // then we
> >> // need this workaround to safely import tinymce script
> >>
> >> // import script
> >> // IS NOT NEEDED ANY LONGER
> >> //StringBuilder importBuilder = new StringBuilder();
> >> //importBuilder.append("var script = document.createElement
> >> ('script');\n");
> >> //importBuilder.append("script.id='tinyMCEScript';\n");
> >> //importBuilder.append("script.src='" +
> >> RequestCycle.get().urlFor(reference)
> >> + "';\n");
> >> //importBuilder.append("script.type='text/javascript';\n");
> >> //importBuilder.append("document.getElementsByTagName
> >> ('head')[0].appendChild(script);\n");
> >> //response.renderJavascript(importBuilder.toString(),
> "import");
> >>
> >>   // THE NEW LINE
> >> response.renderJavascriptReference(reference);
> >>
> >> // init script
> >> StringBuilder initBuilder = new StringBuilder();
> >> initBuilder.append("tinyMCE.init({" + settings.toJavaScript
> (ajax)
> >> +
> >> "\n});\n");
> >> initBuilder.append(settings.getLoadPluginJavaScript());
> >> initBuilder.append(settings.getAdditionalPluginJavaScript());
> >> response.renderJavascript(initBuilder.toString(), "init");
> >> }
> >>
> >>
> >> I don´t really know why the script was not imported this way.
> >> But now it works fine in IE6.
> >>
> >>
> >> Benjamin
> >>
> >> 2007/9/3, Benjamin Ernst <[EMAIL PROTECTED]>:
> >> >
> >> > Hi Iulian,
> >> >
> >> > I just want to check if there is any progress with this issue? Did
> you
> >> > find anything?
> >> >
> >> > Benjamin
> >> >
> >> > 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>:
> >> > >
> >> > > hey guys,
> >> > >
> >> > > i am supposed to be the maintainer of tinymce module but lately i
> >> didnt
> >> > > put
> >> > > much effort into it.
> >> > > let me take a look and see how i can fix that issue.
> >> > >
> >> > > /iulian
> >> > >
> >> > > On 8/21/07, Benjamin Ernst < [EMAIL PROTECTED]> wrote:
> >> > > >
> >> > > > Hi Thijs,
> >> > > > Thank you for opening the JIRA. At least there is someone who has
> >> the
> >> > > same
> >> > > > error.
> >> > > >
> >> > > > So let's hope for the best.
> >> > > >
> >> > > > Benjamin
> >> > > >
> >> > > > 2007/8/20, Thijs <[EMAIL PROTECTED]>:
> >> > > > >
> >> > > > > He Benjamin,
> >> > > > >
> >> > > > > I have the same problem. I have opened a JIRA issue for it:
> >> > > > > http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response
> so
> >> > > far. I
> >> > > > > can't help you any further but lets hoop the maintainer of the
> >> > > tinymce
> >> > > > > project picks it up...
> >> > > > >
> >> > > > > Thijs
> >> > > > >
> >> > > > > Benjamin Ernst wrote:
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > > has nobody an idea? Any help would be great!
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > Benjamin
> >> > > > > >
> >> > > > > > 2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
> >> > > > > >
> >> > > > > >> Hi,
> >> > > > > >>
> >> > > > > >> I have a problem with the wicket-stuff Tinymce-Editor in the
> >> > > > > >> InternetExplorer:
> >> > > > > >>
> >> > > > > >> the first time the page is loaded, there are no tool-icons,
> >> just
> >> > > the
> >> > > > > >> text-area. And IE gives the following Error:
> >> > > > > >>
> >> > > > > >> Error: 'tinyMCE is undefined'
> >> > > > > >>
> >> > > > > >> It' s an Java-Script-Error and it might be, that the scripts
> >> are
> >> > > not
> >> > > > > >> loaded the right way. But I don´t know how to fix this. Here
> >> are
> >> > > the
> >> > > > > scripts
> >> >

Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-09-14 Thread Benjamin Ernst
Hi

i don't get this error in firefox. And I configured TinyMCE just like in the
examples.

Benjamin

2007/9/14, Marieke Vandamme <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> I had the same problem with tinymce in internet explorer. I was glad to
> read
> this thread and downloaded the latest sources from CVS. But now I get a
> firefox error saying : tinyMCE.baseURL has no properties
> (tiny_mce_src.js:88). Am i the only one getting this error or is it a
> common
> error?
>
>
> Iulian Costan wrote:
> >
> > the fix is committed, let me know if is works as expected.
> >
> > good to be back to wicket ;)
> >
> > /iulian
> >
> > On 9/10/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >>
> >> I solved the problem by changing the TinyMceBehavior.renderHead
> ()-method.
> >>
> >> It now looks like this:
> >>
> >> /**
> >>  * @see org.apache.wicket.behavior.AbstractAjaxBehavior#renderHead(
> >> org.apache.wicket.markup.html.IHeaderResponse)
> >>  */
> >> public void renderHead(IHeaderResponse response)
> >> {
> >> // add wicket-ajax support
> >> super.renderHead(response);
> >>
> >> // since wicket modifies the src attribute of a pre-loaded
> script
> >> tag
> >> // then we
> >> // need this workaround to safely import tinymce script
> >>
> >> // import script
> >> // IS NOT NEEDED ANY LONGER
> >> //StringBuilder importBuilder = new StringBuilder();
> >> //importBuilder.append("var script = document.createElement
> >> ('script');\n");
> >> //importBuilder.append("script.id='tinyMCEScript';\n");
> >> //importBuilder.append("script.src='" +
> >> RequestCycle.get().urlFor(reference)
> >> + "';\n");
> >> //importBuilder.append("script.type='text/javascript';\n");
> >> //importBuilder.append("document.getElementsByTagName
> >> ('head')[0].appendChild(script);\n");
> >> //response.renderJavascript(importBuilder.toString(),
> "import");
> >>
> >>   // THE NEW LINE
> >> response.renderJavascriptReference(reference);
> >>
> >> // init script
> >> StringBuilder initBuilder = new StringBuilder();
> >> initBuilder.append("tinyMCE.init({" + settings.toJavaScript
> (ajax)
> >> +
> >> "\n});\n");
> >> initBuilder.append(settings.getLoadPluginJavaScript());
> >> initBuilder.append(settings.getAdditionalPluginJavaScript());
> >> response.renderJavascript(initBuilder.toString(), "init");
> >> }
> >>
> >>
> >> I don´t really know why the script was not imported this way.
> >> But now it works fine in IE6.
> >>
> >>
> >> Benjamin
> >>
> >> 2007/9/3, Benjamin Ernst <[EMAIL PROTECTED]>:
> >> >
> >> > Hi Iulian,
> >> >
> >> > I just want to check if there is any progress with this issue? Did
> you
> >> > find anything?
> >> >
> >> > Benjamin
> >> >
> >> > 2007/8/21, Iulian Costan <[EMAIL PROTECTED]>:
> >> > >
> >> > > hey guys,
> >> > >
> >> > > i am supposed to be the maintainer of tinymce module but lately i
> >> didnt
> >> > > put
> >> > > much effort into it.
> >> > > let me take a look and see how i can fix that issue.
> >> > >
> >> > > /iulian
> >> > >
> >> > > On 8/21/07, Benjamin Ernst < [EMAIL PROTECTED]> wrote:
> >> > > >
> >> > > > Hi Thijs,
> >> > > > Thank you for opening the JIRA. At least there is someone who has
> >> the
> >> > > same
> >> > > > error.
> >> > > >
> >> > > > So let's hope for the best.
> >> > > >
> >> > > > Benjamin
> >> > > >
> >> > > > 2007/8/20, Thijs <[EMAIL PROTECTED]>:
> >> > > > >
> >> > > > > He Benjamin,
> >> > > > >
> >> > > > > I have the same problem. I have opened a JIRA issue for it:
> >> > > > > http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response
> so
> >> > > far. I
> >> > > > > can't help you any further but lets hoop the maintainer of the
> >> > > tinymce
> >> > > > > project picks it up...
> >> > > > >
> >> > > > > Thijs
> >> > > > >
> >> > > > > Benjamin Ernst wrote:
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > > has nobody an idea? Any help would be great!
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > Benjamin
> >> > > > > >
> >> > > > > > 2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
> >> > > > > >
> >> > > > > >> Hi,
> >> > > > > >>
> >> > > > > >> I have a problem with the wicket-stuff Tinymce-Editor in the
> >> > > > > >> InternetExplorer:
> >> > > > > >>
> >> > > > > >> the first time the page is loaded, there are no tool-icons,
> >> just
> >> > > the
> >> > > > > >> text-area. And IE gives the following Error:
> >> > > > > >>
> >> > > > > >> Error: 'tinyMCE is undefined'
> >> > > > > >>
> >> > > > > >> It' s an Java-Script-Error and it might be, that the scripts
> >> are
> >> > > not
> >> > > > > >> loaded the right way. But I don´t know how to fix this. Here
> >> are
> >> > > the
> >> > > > > scripts
> >> > > > > >> from generated the HTML-Source:
> >> > > > > >>
> >> > > > > >>  >> > > > id="import">]]>*/
>> > > > > >>
>> > > > > >> > > > id="init">]]>*/
> > > > > >>
> > > > > >>  > > id="init">]]>*/
> > > > > >>
> > > > > >>  > > id="init">]]>*/
> > > > >>
> > > > >>  > id="init">]]>*/
> > > >>
> > > >>  id="init">]]>*/
> > > >>
> > > >> Sometimes when the page is loaded again, the tool-icons are there.
> In
> > > >> FireFox it works fine, but unfortunately I have to use IE for this
> > > project.
> > > >>
> > > >> Thanks in advance,
> > > >> Benjamin
> > > >>
> > > >>
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>


Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-21 Thread Iulian Costan
hey guys,

i am supposed to be the maintainer of tinymce module but lately i didnt put
much effort into it.
let me take a look and see how i can fix that issue.

/iulian

On 8/21/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote:
>
> Hi Thijs,
> Thank you for opening the JIRA. At least there is someone who has the same
> error.
>
> So let's hope for the best.
>
> Benjamin
>
> 2007/8/20, Thijs <[EMAIL PROTECTED]>:
> >
> > He Benjamin,
> >
> > I have the same problem. I have opened a JIRA issue for it:
> > http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response so far. I
> > can't help you any further but lets hoop the maintainer of the tinymce
> > project picks it up...
> >
> > Thijs
> >
> > Benjamin Ernst wrote:
> > > Hi,
> > >
> > > has nobody an idea? Any help would be great!
> > >
> > > Thanks,
> > > Benjamin
> > >
> > > 2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
> > >
> > >> Hi,
> > >>
> > >> I have a problem with the wicket-stuff Tinymce-Editor in the
> > >> InternetExplorer:
> > >>
> > >> the first time the page is loaded, there are no tool-icons, just the
> > >> text-area. And IE gives the following Error:
> > >>
> > >> Error: 'tinyMCE is undefined'
> > >>
> > >> It' s an Java-Script-Error and it might be, that the scripts are not
> > >> loaded the right way. But I don´t know how to fix this. Here are the
> > scripts
> > >> from generated the HTML-Source:
> > >>
> > >>  id="import">]]>*/
> > >>
> > >> ]]>*/
> > >>
> > >> Sometimes when the page is loaded again, the tool-icons are there. In
> > >> FireFox it works fine, but unfortunately I have to use IE for this
> > project.
> > >>
> > >> Thanks in advance,
> > >> Benjamin
> > >>
> > >>
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-21 Thread Benjamin Ernst
Hi Thijs,
Thank you for opening the JIRA. At least there is someone who has the same
error.

So let's hope for the best.

Benjamin

2007/8/20, Thijs <[EMAIL PROTECTED]>:
>
> He Benjamin,
>
> I have the same problem. I have opened a JIRA issue for it:
> http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response so far. I
> can't help you any further but lets hoop the maintainer of the tinymce
> project picks it up...
>
> Thijs
>
> Benjamin Ernst wrote:
> > Hi,
> >
> > has nobody an idea? Any help would be great!
> >
> > Thanks,
> > Benjamin
> >
> > 2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
> >
> >> Hi,
> >>
> >> I have a problem with the wicket-stuff Tinymce-Editor in the
> >> InternetExplorer:
> >>
> >> the first time the page is loaded, there are no tool-icons, just the
> >> text-area. And IE gives the following Error:
> >>
> >> Error: 'tinyMCE is undefined'
> >>
> >> It' s an Java-Script-Error and it might be, that the scripts are not
> >> loaded the right way. But I don´t know how to fix this. Here are the
> scripts
> >> from generated the HTML-Source:
> >>
> >> ]]>*/
> >>
> >> ]]>*/
> >>
> >> Sometimes when the page is loaded again, the tool-icons are there. In
> >> FireFox it works fine, but unfortunately I have to use IE for this
> project.
> >>
> >> Thanks in advance,
> >> Benjamin
> >>
> >>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-20 Thread Thijs

He Benjamin,

I have the same problem. I have opened a JIRA issue for it: 
http://wicketstuff.org/jira/browse/WCTINYMCE-2 But no response so far. I 
can't help you any further but lets hoop the maintainer of the tinymce 
project picks it up...


Thijs

Benjamin Ernst wrote:

Hi,

has nobody an idea? Any help would be great!

Thanks,
Benjamin

2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
  

Hi,

I have a problem with the wicket-stuff Tinymce-Editor in the
InternetExplorer:

the first time the page is loaded, there are no tool-icons, just the
text-area. And IE gives the following Error:

Error: 'tinyMCE is undefined'

It' s an Java-Script-Error and it might be, that the scripts are not
loaded the right way. But I don´t know how to fix this. Here are the scripts
from generated the HTML-Source:

]]>*/

]]>*/

Sometimes when the page is loaded again, the tool-icons are there. In
FireFox it works fine, but unfortunately I have to use IE for this project.

Thanks in advance,
Benjamin





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-19 Thread Benjamin Ernst
Hi,

has nobody an idea? Any help would be great!

Thanks,
Benjamin

2007/8/16, Benjamin Ernst <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have a problem with the wicket-stuff Tinymce-Editor in the
> InternetExplorer:
>
> the first time the page is loaded, there are no tool-icons, just the
> text-area. And IE gives the following Error:
>
> Error: 'tinyMCE is undefined'
>
> It' s an Java-Script-Error and it might be, that the scripts are not
> loaded the right way. But I don´t know how to fix this. Here are the scripts
> from generated the HTML-Source:
>
> ]]>*/
>
> ]]>*/
>
> Sometimes when the page is loaded again, the tool-icons are there. In
> FireFox it works fine, but unfortunately I have to use IE for this project.
>
> Thanks in advance,
> Benjamin
>


Wicket-Stuff Tinymce-Editor: No toolbars in IE6

2007-08-16 Thread Benjamin Ernst
Hi,

I have a problem with the wicket-stuff Tinymce-Editor in the
InternetExplorer:

the first time the page is loaded, there are no tool-icons, just the
text-area. And IE gives the following Error:

Error: 'tinyMCE is undefined'

It' s an Java-Script-Error and it might be, that the scripts are not loaded
the right way. But I don´t know how to fix this. Here are the scripts from
generated the HTML-Source:

]]>*/

]]>*/

Sometimes when the page is loaded again, the tool-icons are there. In
FireFox it works fine, but unfortunately I have to use IE for this project.

Thanks in advance,
Benjamin