spellchecker

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

spellchecker

bwallis42
I have added the spell checker to a text area like so (the text area was added in the builder then I used the edit source button to add the spell checker).

    <xh:body>
        <fr:view>
            <fr:body xmlns:xbl="http://www.w3.org/ns/xbl"
                     xmlns:oxf="http://www.orbeon.com/oxf/processors"
                     xmlns:p="http://www.orbeon.com/oxf/pipeline">
                <fr:section id="section-1-control" bind="section-1-bind">
                    <xf:label ref="$form-resources/section-1/label"/>
                    <fr:grid>
                        <xh:tr>
                            <xh:td>
                                <xf:textarea id="control-2-control" bind="control-2-bind">
                                    <xf:label ref="$form-resources/control-2/label"/>
                                    <xf:hint ref="$form-resources/control-2/hint"/>
                        
                                    <xf:alert ref="$fr-resources/detail/labels/alert"/>
                                </xf:textarea>
                                <fr:spell-checker ref="."/>                                
                            </xh:td>
                            <xh:td/>
                        </xh:tr>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xh:body>

but when i test the form (Test button in the builder) I get the following error. I've tried this with 4.6.2, 4.8.1 and 4.9.0 with the same result.

Is this the correct way to add the spellchecker to a text area?

thanks,
brian...


2015-05-07 11:45:04,148 158972 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -   start handling external event {target id: "section-1-control?xf-383?xf-396?spell-check?xf-463", event name: "DOMActivate"}
2015-05-07 11:45:04,149 158973 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -     start dispatching {name: "DOMActivate", target: "section-1-control?xf-383?xf-396?spell-check?xf-463"}
2015-05-07 11:45:04,149 158973 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -       start handler {name: "DOMActivate", phase: "bubbling", observer: "section-1-control?xf-383?xf-396?spell-check"}
2015-05-07 11:45:04,150 158974 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -         observing event in different scope (issue #243) {target id: "section-1-control?xf-383?xf-396?spell-check?xf-463", handler id: "section-1-control?xf-383?xf-396?spell-check?xf-468", observer id: "section-1-control?xf-383?xf-396?spell-check", target scope: "section-1-control?xf-383?xf-396", handler scope: "", observer scope: "section-1-control?xf-383?xf-396", effective handler id: "section-1-control?xf-383?xf-396?xf-468"}
2015-05-07 11:45:04,151 158975 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -       end handler {time (ms): "2"}
2015-05-07 11:45:04,152 158976 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -     end dispatching {time (ms): "3"}
2015-05-07 11:45:04,152 158976 DEBUG [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer -   end handling external event {time (ms): "4"}
2015-05-07 11:45:04,216 159040 ERROR [http-0.0.0.0-8080-7] org.orbeon.oxf.xforms.processor.XFormsServer - 
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|assertion failed                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: java.lang.AssertionError                                                                                   |
|----------------------------------------------------------------------------------------------------------------------|
|scala.Predef$                                      |assert                        |Predef.scala                  | 165|
|scala.Predef$Ensuring$                             |ensuring$extension2           |Predef.scala                  | 244|
|ms.event.EventHandlerImpl$$anonfun$resolveHandler$1|apply                         |EventHandlerImpl.scala        | 385|
|ms.event.EventHandlerImpl$$anonfun$resolveHandler$1|apply                         |EventHandlerImpl.scala        | 385|
|scala.Option                                       |map                           |Option.scala                  | 145|
|org.orbeon.oxf.xforms.event.EventHandlerImpl$      |resolveHandler                |EventHandlerImpl.scala        | 385|
|org.orbeon.oxf.xforms.event.EventHandlerImpl       |handleEvent                   |EventHandlerImpl.scala        | 241|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply$mcV$sp                  |Dispatch.scala                |  93|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                         |Dispatch.scala                |  92|
|$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$1|apply                         |Dispatch.scala                |  92|
|org.orbeon.oxf.util.Logging$class                  |withDebug                     |Logging.scala                 |  50|
|org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                     |Dispatch.scala                |  23|
|nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                         |Dispatch.scala                |  92|
|nfun$$doPhase$1$1$$anonfun$apply$2$$anonfun$apply$4|apply                         |Dispatch.scala                |  86|
|ollection.TraversableLike$WithFilter$$anonfun$map$2|apply                         |TraversableLike.scala         | 722|
|scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
|scala.collection.TraversableLike$WithFilter        |map                           |TraversableLike.scala         | 721|
|tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                         |Dispatch.scala                |  86|
|tch$$anonfun$$anonfun$$doPhase$1$1$$anonfun$apply$2|apply                         |Dispatch.scala                |  85|
|scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
|scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
|scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
|scala.collection.TraversableLike$class             |flatMap                       |TraversableLike.scala         | 251|
|scala.collection.AbstractTraversable               |flatMap                       |Traversable.scala             | 105|
|forms$event$Dispatch$$anonfun$$anonfun$$doPhase$1$1|apply                         |Dispatch.scala                |  85|
|forms$event$Dispatch$$anonfun$$anonfun$$doPhase$1$1|apply                         |Dispatch.scala                |  84|
|scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
|scala.collection.TraversableLike$$anonfun$flatMap$1|apply                         |TraversableLike.scala         | 251|
|scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
|scala.collection.TraversableLike$class             |flatMap                       |TraversableLike.scala         | 251|
|scala.collection.AbstractTraversable               |flatMap                       |Traversable.scala             | 105|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|org$orbeon$oxf$xforms$event$Di|Dispatch.scala                |  84|
|t$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$6|apply                         |Dispatch.scala                | 121|
|t$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$6|apply                         |Dispatch.scala                | 121|
|scala.Option                                       |foreach                       |Option.scala                  | 236|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp                  |Dispatch.scala                | 121|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply                         |Dispatch.scala                |  74|
|ch$$anonfun$dispatchEvent$1$$anonfun$apply$mcV$sp$1|apply                         |Dispatch.scala                |  74|
|org.orbeon.oxf.util.Logging$class                  |withDebug                     |Logging.scala                 |  50|
|org.orbeon.oxf.xforms.event.Dispatch$              |withDebug                     |Dispatch.scala                |  23|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp                  |Dispatch.scala                |  74|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                   |Dispatch.scala                |  38|
|org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                |  72|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
|org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                | 146|
|org.orbeon.oxf.xforms.event.ClientEvents$          |org$orbeon$oxf$xforms$event$Cl|ClientEvents.scala            | 532|
|f.xforms.event.ClientEvents$$anonfun$processEvent$1|apply$mcV$sp                  |ClientEvents.scala            | 576|
|f.xforms.event.ClientEvents$$anonfun$processEvent$1|apply                         |ClientEvents.scala            | 539|
|f.xforms.event.ClientEvents$$anonfun$processEvent$1|apply                         |ClientEvents.scala            | 539|
|org.orbeon.oxf.util.Logging$class                  |withDebug                     |Logging.scala                 |  50|
|org.orbeon.oxf.xforms.event.ClientEvents$          |withDebug                     |ClientEvents.scala            |  37|
|org.orbeon.oxf.xforms.event.ClientEvents$          |processEvent                  |ClientEvents.scala            | 539|
|.xforms.event.ClientEvents$$anonfun$processEvents$1|apply                         |ClientEvents.scala            | 144|
|.xforms.event.ClientEvents$$anonfun$processEvents$1|apply                         |ClientEvents.scala            | 143|
|scala.collection.immutable.List                    |foreach                       |List.scala                    | 318|
|org.orbeon.oxf.xforms.event.ClientEvents$          |processEvents                 |ClientEvents.scala            | 143|
|org.orbeon.oxf.xforms.event.ClientEvents           |processEvents                 |ClientEvents.scala            |    |
|org.orbeon.oxf.xforms.processor.XFormsServer$2     |run                           |XFormsServer.java             | 271|
|ion.XFormsAPI$$anonfun$withContainingDocumentJava$1|apply$mcV$sp                  |XFormsAPI.scala               |  55|
|ion.XFormsAPI$$anonfun$withContainingDocumentJava$1|apply                         |XFormsAPI.scala               |  55|
|ion.XFormsAPI$$anonfun$withContainingDocumentJava$1|apply                         |XFormsAPI.scala               |  55|
|org.orbeon.oxf.util.DynamicVariable                |withValue                     |DynamicVariable.scala         |  42|
|org.orbeon.oxf.xforms.action.XFormsAPI$            |withContainingDocument        |XFormsAPI.scala               |  60|
|org.orbeon.oxf.xforms.action.XFormsAPI$            |withContainingDocumentJava    |XFormsAPI.scala               |  54|
|org.orbeon.oxf.xforms.action.XFormsAPI             |withContainingDocumentJava    |XFormsAPI.scala               |    |
|org.orbeon.oxf.xforms.processor.XFormsServer       |doIt                          |XFormsServer.java             | 254|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.xforms.processor.XFormsServer       |doIt                          |XFormsServer.java             | 386|
|org.orbeon.oxf.xforms.processor.XFormsServer       |access$000                    |XFormsServer.java             |  63|
|org.orbeon.oxf.xforms.processor.XFormsServer$1     |readImpl                      |XFormsServer.java             |  90|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 257|
|eteRuntimeOutputFilter$ForwarderRuntimeOutputOutput|read                          |ProcessorOutputImpl.java      | 218|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|n.oxf.processor.validation.MSVValidationProcessor$3|readImpl                      |MSVValidationProcessor.java   | 221|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 257|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 394|
|mpl.ProcessorOutputImpl$ConcreteRuntimeOutputFilter|read                          |ProcessorOutputImpl.java      | 241|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 394|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|rg.orbeon.oxf.processor.converter.TextConverterBase|readInput                     |TextConverterBase.java        | 113|
|rg.orbeon.oxf.processor.converter.TextConverterBase|access$000                    |TextConverterBase.java        |  39|
|.orbeon.oxf.processor.converter.TextConverterBase$1|readImpl                      |TextConverterBase.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 257|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 394|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.serializer.HttpSerializer |readInput                     |HttpSerializer.java           |  42|
|.orbeon.oxf.processor.serializer.HttpSerializerBase|start                         |HttpSerializerBase.java       | 205|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|f.processor.pipeline.choose.ConcreteChooseProcessor|start                         |ConcreteChooseProcessor.java  | 231|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|f.processor.pipeline.choose.ConcreteChooseProcessor|start                         |ConcreteChooseProcessor.java  | 231|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|org.orbeon.oxf.pipeline.InitUtils$                 |runProcessor                  |InitUtils.scala               |  82|
|beon.oxf.webapp.ProcessorService$$anonfun$service$1|apply$mcV$sp                  |ProcessorService.scala        |  45|
|beon.oxf.webapp.ProcessorService$$anonfun$service$1|apply                         |ProcessorService.scala        |  40|
|beon.oxf.webapp.ProcessorService$$anonfun$service$1|apply                         |ProcessorService.scala        |  40|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEvent                     |LifecycleLogger.scala         | 124|
|org.orbeon.oxf.logging.LifecycleLogger$            |withEventAssumingRequest      |LifecycleLogger.scala         | 117|
|org.orbeon.oxf.webapp.ProcessorService             |service                       |ProcessorService.scala        |  40|
|nServlet$$anonfun$service$1$$anonfun$apply$mcV$sp$1|apply$mcV$sp                  |OrbeonServlet.scala           |  79|
|nServlet$$anonfun$service$1$$anonfun$apply$mcV$sp$1|apply                         |OrbeonServlet.scala           |  72|
|nServlet$$anonfun$service$1$$anonfun$apply$mcV$sp$1|apply                         |OrbeonServlet.scala           |  72|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              |  83|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply$mcV$sp                  |OrbeonServlet.scala           |  72|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  72|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  72|
|org.orbeon.oxf.util.DynamicVariable                |withValue                     |DynamicVariable.scala         |  42|
|org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  71|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 847|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 324|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 242|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 275|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 161|
|.jboss.web.tomcat.security.SecurityAssociationValve|invoke                        |SecurityAssociationValve.java | 181|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                        |AuthenticatorBase.java        | 501|
|uster.catalina.CatalinaContext$RequestListenerValve|event                         |CatalinaContext.java          | 285|
|uster.catalina.CatalinaContext$RequestListenerValve|invoke                        |CatalinaContext.java          | 261|
|org.jboss.web.tomcat.security.JaccContextValve     |invoke                        |JaccContextValve.java         |  88|
|b.tomcat.security.SecurityContextEstablishmentValve|invoke                        |SecurityContextEstablishmentVa| 100|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 159|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         | 102|
|org.jboss.web.rewrite.RewriteValve                 |invoke                        |RewriteValve.java             | 466|
|.jboss.web.tomcat.service.jca.CachedConnectionValve|invoke                        |CachedConnectionValve.java    | 158|
|.jboss.web.tomcat.service.sso.ClusteredSingleSignOn|invoke                        |ClusteredSingleSignOn.java    | 735|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 109|
|cat.service.request.ActiveRequestResponseCacheValve|invoke                        |ActiveRequestResponseCacheValv|  53|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 362|
|org.apache.coyote.http11.Http11Processor           |process                       |Http11Processor.java          | 877|
|oyote.http11.Http11Protocol$Http11ConnectionHandler|process                       |Http11Protocol.java           | 654|
|org.apache.tomcat.util.net.JIoEndpoint$Worker      |run                           |JIoEndpoint.java              | 951|
|java.lang.Thread                                   |run                           |Thread.java                   | 680|
+----------------------------------------------------------------------------------------------------------------------+
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Alessandro  Vernet
Administrator
Hi Brian,

Indeed, I am able to reproduce this, and we'll look into it. For now,
I've created the following issue:

https://github.com/orbeon/orbeon-forms/issues/2213

Alex

On Wed, May 6, 2015 at 6:35 PM, bwallis42 <[hidden email]> wrote:

> I have added the spell checker to a text area like so (the text area was
> added in the builder then I used the edit source button to add the spell
> checker).
>
>
>
> but when i test the form (Test button in the builder) I get the following
> error. I've tried this with 4.6.2, 4.8.1 and 4.9.0 with the same result.
>
> Is this the correct way to add the spellchecker to a text area?
>
> thanks,
> brian...
>
>
>
>
> --
> View this message in context: http://discuss.orbeon.com/spellchecker-tp4659882.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Erik Bruchez
Administrator
I fixed the XForms error. Note that this spell checker component would need some love ;)

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Alessandro  Vernet
Administrator
Hi Brian,

The spell checking is a "forgotten feature" at this point; it most
likely hasn't been working for a while, and we're only aware of 1
customer who used it, and this was a number of years ago. So we're
thinking of removing that (non-working) (non-)feature ;) from the
product.

Would you be able to use some other alternative? E.g. using the
TinyMCE (which is supported!) and its spell checker plugin?

Alex

On Thu, May 7, 2015 at 12:15 PM, Erik Bruchez <[hidden email]> wrote:

> I fixed the XForms error. Note that this spell checker component would need
> some love ;)
>
> -Erik
>
> --
> View this message in context: http://discuss.orbeon.com/spellchecker-tp4659882p4659893.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

bwallis42
Alessandro Vernet wrote
Hi Brian,

The spell checking is a "forgotten feature" at this point; it most
likely hasn't been working for a while, and we're only aware of 1
customer who used it, and this was a number of years ago. So we're
thinking of removing that (non-working) (non-)feature ;) from the
product.
I think we are that customer.

We have a number of our customers who are using the spell check feature. So we sort of need it.

Would you be able to use some other alternative? E.g. using the
TinyMCE (which is supported!) and its spell checker plugin?
I'll look into that. We us a lot of textareas with spell checking so we would need to be able to get tinyMCE to do that. No formatting controls at all just allowing spellcheck.

This would also add to our migration effort as there are 100's of templates across our customer base.

Is the problem to do with having one control referencing the internals of another one (ticket https://github.com/orbeon/orbeon-forms/issues/243 ?) because this is something I want to do in an unrelated control. I want one control to be able to set the value of attributes in the model of a second control, these attributes are metadata additions to the value managed by the second control.

thanks,
brian...

Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Alessandro  Vernet
Administrator
Hi Brian,

Got it, then that makes 2 customers :). Are you using it with a custom spell checker that implements the expected API? Would it be a something open source we can bundle with the product? I am asking, as we would need to find a replacement for the Google API, which, AFAIK, isn't accessible anymore.

I haven't investigate the issue, so I'm not sure if this is related to 243. About setting the value of something internal to another control, if this is something that can happen "dynamically" (i.e. as users interact with the form), I would use events.

Alex

On Mon, May 11, 2015 at 5:28 PM bwallis42 <[hidden email]> wrote:
Alessandro  Vernet wrote
> Hi Brian,
>
> The spell checking is a "forgotten feature" at this point; it most
> likely hasn't been working for a while, and we're only aware of 1
> customer who used it, and this was a number of years ago. So we're
> thinking of removing that (non-working) (non-)feature ;) from the
> product.

I think we are that customer.

We have a number of our customers who are using the spell check feature. So
we sort of need it.


> Would you be able to use some other alternative? E.g. using the
> TinyMCE (which is supported!) and its spell checker plugin?

I'll look into that. We us a lot of textareas with spell checking so we
would need to be able to get tinyMCE to do that. No formatting controls at
all just allowing spellcheck.

This would also add to our migration effort as there are 100's of templates
across our customer base.

Is the problem to do with having one control referencing the internals of
another one (ticket https://github.com/orbeon/orbeon-forms/issues/243 ?)
because this is something I want to do in an unrelated control. I want one
control to be able to set the value of attributes in the model of a second
control, these attributes are metadata additions to the value managed by the
second control.

thanks,
brian...



--
View this message in context: http://discuss.orbeon.com/spellchecker-tp4659882p4659906.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

bwallis42
Alessandro Vernet wrote
Hi Brian,

Got it, then that makes 2 customers :).
Good, safety in numbers :-)

Are you using it with a custom
spell checker that implements the expected API? Would it be a something
open source we can bundle with the product? I am asking, as we would need
to find a replacement for the Google API, which, AFAIK, isn't accessible
anymore.
Yes we have our own servlet interface to jazzy. Jazzy is LGPL licensed, our code is not but I will make some queries about that. I'm actually currently in the process of pulling that out into a standalone war so it may be suitable. Trouble with Jazzy is that it seems to be a pretty inactive project and I'm not sure if it will work with JDK version 7 or 8. Haven't tried yet.

I haven't investigate the issue, so I'm not sure if this is related to 243.
About setting the value of something internal to another control, if this
is something that can happen "dynamically" (i.e. as users interact with the
form), I would use events.
Thanks, I'll keep that in mind.

brian...

Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Alessandro  Vernet
Administrator
Hi Brian,

Got it. I did some research, but I couldn't find a clear, widely used solution we would feel comfortable shipping with. See this thread where people discuss a similar issue in the context of TinyMCE, with also pointers to a couple of good commercial options:


I am thinking that this is because doing spell checking in the app isn't needed anymore, as browsers have now been able to handle spell checking for a number of years, and in general do a better job than something we could implement using a library. (I.e. integrate with the OS personal dictionary, and in the case of Chrome provide contextual, grammatical-like suggestions.) In light of this, would you be able to drop the requirement for a spell checker in your app? ;)

Alex

On Mon, May 11, 2015 at 11:02 PM bwallis42 <[hidden email]> wrote:
Alessandro  Vernet wrote
> Hi Brian,
>
> Got it, then that makes 2 customers :).

Good, safety in numbers :-)


> Are you using it with a custom
> spell checker that implements the expected API? Would it be a something
> open source we can bundle with the product? I am asking, as we would need
> to find a replacement for the Google API, which, AFAIK, isn't accessible
> anymore.

Yes we have our own servlet interface to jazzy. Jazzy is LGPL licensed, our
code is not but I will make some queries about that. I'm actually currently
in the process of pulling that out into a standalone war so it may be
suitable. Trouble with Jazzy is that it seems to be a pretty inactive
project and I'm not sure if it will work with JDK version 7 or 8. Haven't
tried yet.


> I haven't investigate the issue, so I'm not sure if this is related to
> 243.
> About setting the value of something internal to another control, if this
> is something that can happen "dynamically" (i.e. as users interact with
> the
> form), I would use events.

Thanks, I'll keep that in mind.

brian...



--
View this message in context: http://discuss.orbeon.com/spellchecker-tp4659882p4659908.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

bwallis42
Alessandro Vernet wrote
I am thinking that this is because doing spell checking in the app isn't
needed anymore, as browsers have now been able to handle spell checking for
a number of years, and in general do a better job than something we could
implement using a library. (I.e. integrate with the OS personal dictionary,
and in the case of Chrome provide contextual, grammatical-like
suggestions.) In light of this, would you be able to drop the requirement
for a spell checker in your app? ;)
I'm looking for other options but a prime requirement for our application, which is in the medical records area, is to have custom dictionaries containing medical terms and to have these configurable by the customer and possibly even on a group of users basis (speciality). We also support at least three different browser types (at the moment, IE 8-11, Chrome and Safari on iPad) and need it to work in all of them.

I don't think I can do this easily in the browser spell checker unless there is a way to get them all to use a common spell checking service via http/rest or similar.

I'll do some more research into what the browsers offer.

thanks,
brian...

Reply | Threaded
Open this post in threaded view
|

Re: spellchecker

Alessandro  Vernet
Administrator
Hi Brian,

I see, if you want a custom dictionary, especially a shared one, I don't think you'll be able to rely on the spell checker that comes with the browser. But you'll let us know what you find.

Alex

On Tue, May 12, 2015 at 2:52 PM, bwallis42 <[hidden email]> wrote:
Alessandro  Vernet wrote
> I am thinking that this is because doing spell checking in the app isn't
> needed anymore, as browsers have now been able to handle spell checking
> for
> a number of years, and in general do a better job than something we could
> implement using a library. (I.e. integrate with the OS personal
> dictionary,
> and in the case of Chrome provide contextual, grammatical-like
> suggestions.) In light of this, would you be able to drop the requirement
> for a spell checker in your app? ;)

I'm looking for other options but a prime requirement for our application,
which is in the medical records area, is to have custom dictionaries
containing medical terms and to have these configurable by the customer and
possibly even on a group of users basis (speciality). We also support at
least three different browser types (at the moment, IE 8-11, Chrome and
Safari on iPad) and need it to work in all of them.

I don't think I can do this easily in the browser spell checker unless there
is a way to get them all to use a common spell checking service via
http/rest or similar.

I'll do some more research into what the browsers offer.

thanks,
brian...



--
View this message in context: http://discuss.orbeon.com/spellchecker-tp4659882p4659916.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet