Btw. guys since I am working currently on the dojo integration you now
also can use dojo for using the html editor (latest trunk)

following code should give you a working html editor just to give you
the idea:

<s:dojoInitializer require="dojo.widget.Editor"/>       

<h:form>
<h:inputTextarea id="editarea2" styleClass="dojo-Editor" value="hello
world">
                        
</h:inputTextarea>
<h:commandLink action="submitted" id="submitted" value="[Submit]"/>
</h:form>

A working example can be found in the sandbox examples (not linked yet)
under the subdir dojo.
More to follow soon.



Werner




[EMAIL PROTECTED] schrieb:
> Hi all!
> 
> I have added the wiki: http://wiki.apache.org/myfaces/WYSIWYG_Editor
> Hope it's ok for you!
> 
> Regards,
> Andy
> 
> -----Ursprüngliche Nachricht-----
> Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz
> Gesendet: Montag, 6. Februar 2006 20:13
> An: [email protected]
> Betreff: Re: AW: Re: AW: Re: AW: Re: AW: Re: AW: AW: inputHtml broken in
> IE?
> 
> 
> Go ahead... the wiki is for everyone to use ;-)
> 
> and thanks for everything...
> 
> Werner
> 
> 
> 
> [EMAIL PROTECTED] schrieb:
>> I don't know if I should add it to sourceforge, because you only have to 
>> download the zip File from http://tinymce.moxiecode.com/, extract the 
>> tiny_mce directory from within tinymce/jscripts/tiny_mce and put it in the 
>> root of your web directory
>>
>> and but the following code into the JSF Page:
>>  
>> <script src="tiny_mce/tiny_mce.js" 
>> type="text/javascript"></script>
>>             <script type="text/javascript">
>>                 tinyMCE.init({
>>                     mode : "textareas",
>>                     theme : "simple",
>>                     width : "640",
>>                     height : "480"
>>                 });
>> </script>
>>
>> Then every h:inputTextarea will be a TinyMCE editor itself.
>> Of course, more configuration can be done, but basically this would work.
>>
>> But I can do a wiki on the Myfaces Homepage, but I don't now if it's is 
>> allowed, because of the Apache license problems...
>>
>> Regards,
>> Andy
>>
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz
>> Gesendet: Montag, 6. Februar 2006 17:06
>> An: [email protected]
>> Betreff: Re: AW: Re: AW: Re: AW: Re: AW: AW: inputHtml broken in IE?
>>
>>
>> Superb, we cannot put it into myfaces, but you it would be great
>> if you could donate the component (for jsf-comp on sourceforge, which is
>> our non apache side codebase for stuff which is not apache compliant or
>> extremely experimental)
>>
>> Werner
>>
>>
>> [EMAIL PROTECTED] schrieb:
>>> Hi Werner!
>>>
>>> With the help of Mike Litherland I implemented the TinyMCE EDitor. This 
>>> works fine with JSF and so I'm satisfied with it.
>>>
>>> Regards,
>>> Andy
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: news [mailto:[EMAIL PROTECTED] Auftrag von Werner Punz
>>> Gesendet: Montag, 6. Februar 2006 15:16
>>> An: [email protected]
>>> Betreff: Re: AW: Re: AW: Re: AW: AW: inputHtml broken in IE?
>>>
>>>
>>> [EMAIL PROTECTED] schrieb:
>>>> I have now tried to implement the Xinha Editor, but it doesn't work.
>>>> The problem seems to be the f:view Tag.
>>>> If I remove it, the editor works (but no buttons work anymore of course), 
>>>> if I add it, the editor doesn't work..
>>>> As anybody already achieved to solve this problem?
>>>>
>>> You cannot remove the f:view tag because it is the root element of a jsf
>>> page, the problem is very likely a conflict between the jsf form submit
>>> and the xhinha form submit (I ran into the same problem with the dojo
>>> html editor which I testwise pushed into a jsf form via the dojo
>>> htmledit style)
>>>
>>>
>>> ______________________________________________________________________
>>>
>>> Diese Nachricht ist fuer die MAGNA STEYR Fahrzeugtechnik AG & Co KG 
>>> rechtsunverbindlich! 
>>> - This message is not legally binding upon MAGNA STEYR Fahrzeugtechnik AG & 
>>> Co KG! 
>>>
>>> This email and any files transmitted with it are confidential and
>>> intended solely for the use of the individual or entity to whom they
>>> are addressed. If you have received this email in error please notify
>>> your system manager.
>>>  
>>> This footnote also confirms that this email message has been swept
>>> for the presence of computer viruses. 
>>> ______________________________________________________________________
>>>
>>
>> ______________________________________________________________________
>>
>> Diese Nachricht ist fuer die MAGNA STEYR Fahrzeugtechnik AG & Co KG 
>> rechtsunverbindlich! 
>> - This message is not legally binding upon MAGNA STEYR Fahrzeugtechnik AG & 
>> Co KG! 
>>
>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the individual or entity to whom they
>> are addressed. If you have received this email in error please notify
>> your system manager.
>>  
>> This footnote also confirms that this email message has been swept
>> for the presence of computer viruses. 
>> ______________________________________________________________________
>>
> 
> 
> ______________________________________________________________________
> 
> Diese Nachricht ist fuer die MAGNA STEYR Fahrzeugtechnik AG & Co KG 
> rechtsunverbindlich! 
> - This message is not legally binding upon MAGNA STEYR Fahrzeugtechnik AG & 
> Co KG! 
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> your system manager.
>  
> This footnote also confirms that this email message has been swept
> for the presence of computer viruses. 
> ______________________________________________________________________
> 

Reply via email to