on 07-04-2005 8:18 AM
hi all
i need to do a spell check on a text edit in webdynpro.
Wat do we need to do this? ( like the one u see wen u post a new thread.).
regards
vln
http://www.google.com/search?q=javaspellchecker+server
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I do not known what exactly tool are you using, but anyway, steps should be similar:
1. Include "external library" jar into your project (search this forum for term in quotes)
2. Bind TextEdit UI control to context attribute of type string.
3. In corresponding action handler (say, either button or link2action OnAction) invoke spell checking algorithm from your library over value in context attribute.
4. This is the most complex part -- visualizing errors and providing user with suggested input. Please describe first what would you like to archive and we discuss it further.
VS
hi vs
i would describe what i wud like to do.
1. i did not get any jar related to spellcheck ( let me know if there s one), so i am not able to add on to the external library.
2. but i found an api (folder with plugins and features folders)that has to be added in the eclipse folder.
Now i would like to point out the errors in the text entered in the text edit.
regards
vln
What plugin have you found? How many dependencies it has? I'd recommend to choose some proven small third party library with minimal (none) external dependencies and use it.
And how "smart" should be error visualization? The one used on forum will require certain skills in dynamic UI programming when implementing using WD. How "good enough" should be yours? Have you any design for it?
VS
hi
1. "I'd recommend to choose some proven small third party library" it wud be great if u could name a few.
2. the error visualisation needs only to show where the error is, there is no need to suggest the corrections.
3. eSpell_3.0.4 is the one i found for use.
it has 6 more folders under its plugins.
4. Please also lemme know if there are other methods to do it.
regards
vln
1. LGPL licensed -- http://sourceforge.net/projects/jazzy/ (120K + dictionary), used by number of other projects.
2. Comercial -- jspell (if you really click on URL I provided, it would be the very first link)
3. It seems that you have detect what stuff in eSpell is core, and what is Eclipse-specific (UI mostly). So you need only core library.
4. The simpliest approach is to collect all misspelled words in 2-columns table -- first column is InputField with misspelled word, second one is combo with suggestions. After user correct all words you may apply changes to original text.
VS
Today (Jul 5, 2005) or tomorrow I plan to publish post to my weblog about implementing WD SpellCheck component using Jazzy. I need to do 2 things:
1. Have my text finished (sample is ready)
2. Have permission from authors to include Jazzy source in sample (to avoid headaches with third-party jar)
VS
hi
i was using your project but got the following error
Kind Status Priority Description Resource
Error: Web Dynpro Generation: Metadata constraint of Component SpellCheckerX is violated: ViewElementProperty "//WebDynpro/View:com.sap.sdn.samples.spell.components.sc.views.SpellCheckerXCV/RootUIElementContainer/Child:hgCommandSeparator/Property:ruleType", Role "Definition": A minimum of 1 object(s) is required SpellCheckerX.wdcomponent SDN_SPELL_CHECK/src/packages/com/sap/sdn/samples/spell/components/sc
can you please help me out on this. Thanks.
regards
vln
This is because I'm using IDE with higher version then yours. It was not my intent to provide "get-n-reuse" project -- I've just highlighted some important points in process.
Try to re-create the component on your own and study the supplied code.
As of this particular issue, try to delete horizontal ruler, and then insert new one on the same place.
VS
HI,
Could you please send me the documentation how to develop the spell check in webdynpro.
my email id is kasp_77@hotmail.com.
With Regards,
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.