cancel
Showing results for 
Search instead for 
Did you mean: 

spell check in webdynpro

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

i have already downloaded the eclipse plugin needed to enable the spell check. Now my doubt is how to use it.

regards

vln

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

thats simply great, points for sure. Thanks.

regards

vln

Former Member
0 Kudos

Here it is

/people/valery.silaev/blog/2005/07/05/the-quik-brouwn-fox-jamps-ovrr-the-laizy-dog

VS

Former Member
0 Kudos

hi

thank you again. 10X to u.

regards

vln

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

thanks again and i m going to study the code and do it myself.

regards

vln

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

<a href="/people/valery.silaev/blog/2005/07/05/the-quik-brouwn-fox-jamps-ovrr-the-laizy-dog is a blog that describes how to implement spell checking in Web Dynpro.

Thanks,

Jennifer