Using "Spelling Check and Search & Replace" in Orbeon

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Using "Spelling Check and Search & Replace" in Orbeon

joyce.wang
Hi,
I am doing a research on Orbeon to see how to use it in our softwares (Java application). I saw the XFroms sample application, HTML Area is using the "format tool" for the text. But for our softare, I need "spelling check and search & replace" for the text as well. Could someone let me know how can I implement these founctions in Orbeon? Or any suggestions?

Thanks,

Joyce



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Using "Spelling Check and Search & Replace" in Orbeon

Alessandro Vernet
Administrator
Hi Joyce,

I assume you want to add buttons to the HTML area toolbar for search &
replace and spell checking. To do this:

1. Get the file http://localhost:8080/of/ops/fckeditor/fckconfig.js
and put it in your resource directory under ops/fckeditor.
2. Edit the file: the toolbar is define with the variable
FCKConfig.ToolbarSets["OPS"]. See FCKConfig.ToolbarSets["Default"] for
the names of toolbar button you can have (there is Replace and
SpellCheck).
3. Empty the cache of your browser.
4. Reload the page where the HTML area is used.

Alex

On 5/1/07, [hidden email] <[hidden email]> wrote:

> Hi,
> I am doing a research on Orbeon to see how to use it in our softwares (Java application). I saw the XFroms sample application, HTML Area is using the "format tool" for the text. But for our softare, I need "spelling check and search & replace" for the text as well. Could someone let me know how can I implement these founctions in Orbeon? Or any suggestions?
>
> Thanks,
>
> Joyce
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Using "Spelling Check and Search & Replace" in Orbeon

joyce.wang
Hi Alex,
Thanks.

Alessandro Vernet wrote:

> Hi Joyce,
>
> I assume you want to add buttons to the HTML area toolbar for search &
> replace and spell checking. To do this:

In my XForms, I need it has "SpellCheck and Search & Replace"
founctionilites, so the user can do spelling check or search & replace
in the XForms; there may be more than one text area in it.  I saw  one
Orbeon sample XForms - "HTML Area" is using a format tool bar for a text
area to do formating, but there are no "SpellCheck and Search & Replace"
on the format tool bar. How can I add "SpellCheck and Search & Replace"
to the format tool bar?

>
> 1. Get the file http://localhost:8080/of/ops/fckeditor/fckconfig.js
> and put it in your resource directory under ops/fckeditor.

I installed the OPS 3.5 on Tomcat 6.0 based on the instruction provided
from here: http://www.orbeon.com/ops/doc/intro-install. So I don't have
this file: http://localhost:8080/of/ops/fckeditor/fckconfig.js.
I do find "fckconfig.js" from here:
http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/src/examples/web/ops/fckeditor/editor/_source/internals/fckconfig.js?only_with_tag=TAG_OPS_3_5_rc2_200702201934.
Is this file right file? If my XFroms directory is: ops/XFroms-test, do
I just put fckconfig.js inside this dir?

> 2. Edit the file: the toolbar is define with the variable
> FCKConfig.ToolbarSets["OPS"]. See FCKConfig.ToolbarSets["Default"] for
> the names of toolbar button you can have (there is Replace and
> SpellCheck).

I did not see the var FCKConfig.ToolbarSets["OPS"] in the fckconfig.js,
so I guess this file is not the file you mentioned. Could you let me
know where I can find this source files? Is there a sample XFroms using
fckconfig.js to do "SpellCheck and Search & Replace"?

> 3. Empty the cache of your browser.
> 4. Reload the page where the HTML area is used.

Thank you so much.

Joyce

>
> Alex
>
> On 5/1/07, [hidden email] <[hidden email]> wrote:
>
>> Hi,
>> I am doing a research on Orbeon to see how to use it in our softwares
>> (Java application). I saw the XFroms sample application, HTML Area is
>> using the "format tool" for the text. But for our softare, I need
>> "spelling check and search & replace" for the text as well. Could
>> someone let me know how can I implement these founctions in Orbeon?
>> Or any suggestions?
>>
>> Thanks,
>>
>> Joyce
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [hidden email] mailing list.
>To unsubscribe: mailto:[hidden email]
>For general help: mailto:[hidden email]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

joyce.wang.vcf (217 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using "Spelling Check and Search & Replace" in Orbeon

joyce.wang
Hi,
As I explained in the last post, I am new to Orbeon and I am doing
research to see we can use Orbeon in our software. We need "SpellCheck
and Search & Replace" founctionilites, so I am trying to figure out how
to implement them in Orbeon. Based on Alex mentioned, I need a file -
"fckconfig.js" to do this. But I don't know where I can find this file.
I just followed the Orbeon User Guide to do the installation on Tomcat
6.0. Could someone let me know where I can find this file-"fckconfig.js"?
And also, Could someone let me know where I can find more information
about how to use the Orbeon's namespaces, for example,
http://orbeon.org/oxf/xml/formatting or widget.
I need your help because I need to report to my boss to make our decision.

Thanks.

Joyce


Joyce Wang wrote:

> Hi Alex,
> Thanks.
>
> Alessandro Vernet wrote:
>
>> Hi Joyce,
>>
>> I assume you want to add buttons to the HTML area toolbar for search &
>> replace and spell checking. To do this:
>
>
> In my XForms, I need it has "SpellCheck and Search & Replace"
> founctionilites, so the user can do spelling check or search & replace
> in the XForms; there may be more than one text area in it.  I saw  one
> Orbeon sample XForms - "HTML Area" is using a format tool bar for a
> text area to do formating, but there are no "SpellCheck and Search &
> Replace" on the format tool bar. How can I add "SpellCheck and Search
> & Replace" to the format tool bar?
>
>>
>> 1. Get the file http://localhost:8080/of/ops/fckeditor/fckconfig.js
>> and put it in your resource directory under ops/fckeditor.
>
>
> I installed the OPS 3.5 on Tomcat 6.0 based on the instruction
> provided from here: http://www.orbeon.com/ops/doc/intro-install. So I
> don't have this file:
> http://localhost:8080/of/ops/fckeditor/fckconfig.js.
> I do find "fckconfig.js" from here:
> http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/ops/orbeon/src/examples/web/ops/fckeditor/editor/_source/internals/fckconfig.js?only_with_tag=TAG_OPS_3_5_rc2_200702201934.
> Is this file right file? If my XFroms directory is: ops/XFroms-test,
> do I just put fckconfig.js inside this dir?
>
>> 2. Edit the file: the toolbar is define with the variable
>> FCKConfig.ToolbarSets["OPS"]. See FCKConfig.ToolbarSets["Default"] for
>> the names of toolbar button you can have (there is Replace and
>> SpellCheck).
>
>
> I did not see the var FCKConfig.ToolbarSets["OPS"] in the
> fckconfig.js, so I guess this file is not the file you mentioned.
> Could you let me know where I can find this source files? Is there a
> sample XFroms using fckconfig.js to do "SpellCheck and Search & Replace"?
>
>> 3. Empty the cache of your browser.
>> 4. Reload the page where the HTML area is used.
>
>
> Thank you so much.
>
> Joyce
>
>>
>> Alex
>>
>> On 5/1/07, [hidden email] <[hidden email]> wrote:
>>
>>> Hi,
>>> I am doing a research on Orbeon to see how to use it in our
>>> softwares (Java application). I saw the XFroms sample application,
>>> HTML Area is using the "format tool" for the text. But for our
>>> softare, I need "spelling check and search & replace" for the text
>>> as well. Could someone let me know how can I implement these
>>> founctions in Orbeon? Or any suggestions?
>>>
>>> Thanks,
>>>
>>> Joyce
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the
>>> [hidden email] mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the
>> [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>  
>>
>
>--
>You receive this message as a subscriber of the [hidden email] mailing list.
>To unsubscribe: mailto:[hidden email]
>For general help: mailto:[hidden email]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

joyce.wang.vcf (217 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Using "Spelling Check and Search & Replace" in Orbeon

fl.schmitt(ops-users)
Hi Joyce,

> Could someone let me know where I can find this file-"fckconfig.js"?

This file is contained in the jar file
WEB-INF/lib/ops-resources-public.jar - after unzipping that archive, you
will find it in the subdirectory ops/fckeditor. More about the
configuration and customisation of the editor can be found here:
http://www.fckeditor.net/ and http://wiki.fckeditor.net/

HTH
florian




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Using "Spelling Check and Search & Replace" in Orbeon

joyce.wang
Thanks, Alex and Florian. My Spelling Checker and Replace are working
for text area in XForm.

Joyce

Florian Schmitt wrote:

>Hi Joyce,
>
>  
>
>>Could someone let me know where I can find this file-"fckconfig.js"?
>>    
>>
>
>This file is contained in the jar file
>WEB-INF/lib/ops-resources-public.jar - after unzipping that archive, you
>will find it in the subdirectory ops/fckeditor. More about the
>configuration and customisation of the editor can be found here:
>http://www.fckeditor.net/ and http://wiki.fckeditor.net/
>
>HTH
>florian
>
>
>  
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [hidden email] mailing list.
>To unsubscribe: mailto:[hidden email]
>For general help: mailto:[hidden email]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

joyce.wang.vcf (217 bytes) Download Attachment