You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Hiren Budhrani <h....@pocos.nl> on 2016/04/06 11:29:24 UTC
Summernote editor not activated
Hello all,
I am having an issue with the summenrote editor. I followed the
instructions provided on the summernote-addon github page. That is:
1. add this to the pom.xml file in the dom
<dependency>
<groupId>org.isisaddons.wicket.summernote</groupId>
<artifactId>isis-wicket-summernote-cpt</artifactId>
<version>1.11.0</version>
</dependency>
2. add this to the class that is using the editor
import org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditor;
3. add this annotation to the string property
@SummernoteEditor(height = 100,maxHeight = 300)
But when editing the String, the default editing mode is shown, not the
rich text editor.
Could you think of something I am missing or doing
http://imgur.com/a/CEdls
Thanks for any input
http://imgur.com/a/CEdls
--
Hiren Budhrani
Junior Programmer | Pocos bv
T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl | Service: servicedesk@pocos.nl
Re: Summernote editor not activated
Posted by Jeroen van der Wal <je...@stromboli.it>.
Here's [1] more on the AppManifest and how to set configuration properties
[2]
[1]
http://isis.apache.org/guides/rgcms.html#_rgcms_classes_AppManifest-bootstrapping
[2]
http://isis.apache.org/guides/rgcms.html#__code_getconfigurationproperties_code
On 7 April 2016 at 15:44, Hiren Budhrani <h....@pocos.nl> wrote:
> Hi Jeroen,
>
> I added
>
>
> isis.reflector.facets.include=org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditorFacetFactory
>
> to the isis.properties file and restarted eclipse and updated the project
> (alt+f5). Still no sign of the editor unfortunately. Any instruction on how
> to add it to the application manifest?
>
> Thanks for your help,
>
> Hiren
>
>
>
> On 04/06/2016 06:38 PM, Jeroen van der Wal wrote:
>
>> Hi Hiren,
>>
>> Welcome to this list!
>>
>> Did you add
>>
>> isis.reflector.facets.include=org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditorFacetFactory
>> to isis.properties? Or maybe your application manifest?
>>
>> Cheers,
>>
>> Jeroen
>>
>>
>>
>>
>>
>>
>> On 6 April 2016 at 11:29, Hiren Budhrani <h....@pocos.nl> wrote:
>>
>> Hello all,
>>>
>>> I am having an issue with the summenrote editor. I followed the
>>> instructions provided on the summernote-addon github page. That is:
>>>
>>> 1. add this to the pom.xml file in the dom
>>>
>>> <dependency>
>>> <groupId>org.isisaddons.wicket.summernote</groupId>
>>> <artifactId>isis-wicket-summernote-cpt</artifactId>
>>> <version>1.11.0</version>
>>> </dependency>
>>>
>>>
>>> 2. add this to the class that is using the editor
>>>
>>> import org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditor;
>>>
>>>
>>> 3. add this annotation to the string property
>>>
>>> @SummernoteEditor(height = 100,maxHeight = 300)
>>>
>>>
>>> But when editing the String, the default editing mode is shown, not the
>>> rich text editor.
>>>
>>> Could you think of something I am missing or doing
>>>
>>> http://imgur.com/a/CEdls
>>>
>>> Thanks for any input
>>>
>>>
>>> http://imgur.com/a/CEdls
>>>
>>> --
>>> Hiren Budhrani
>>>
>>> Junior Programmer | Pocos bv
>>>
>>> T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl |
>>> Service:
>>> servicedesk@pocos.nl
>>>
>>>
>>>
> --
> Hiren Budhrani
>
> Intern Service Desk Optimization | Pocos bv
>
> Pocos-Logo-Powering-briefpapier
>
> T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl | Service:
> servicedesk@pocos.nl
>
> www.pocos.nl | Croy 9c, 5653 LC Eindhoven | Kamer van Koophandel 17097024
> | btn_in_20x15twitter
>
>
Re: Summernote editor not activated
Posted by Hiren Budhrani <h....@pocos.nl>.
Hi Jeroen,
I added
isis.reflector.facets.include=org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditorFacetFactory
to the isis.properties file and restarted eclipse and updated the
project (alt+f5). Still no sign of the editor unfortunately. Any
instruction on how to add it to the application manifest?
Thanks for your help,
Hiren
On 04/06/2016 06:38 PM, Jeroen van der Wal wrote:
> Hi Hiren,
>
> Welcome to this list!
>
> Did you add
> isis.reflector.facets.include=org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditorFacetFactory
> to isis.properties? Or maybe your application manifest?
>
> Cheers,
>
> Jeroen
>
>
>
>
>
>
> On 6 April 2016 at 11:29, Hiren Budhrani <h....@pocos.nl> wrote:
>
>> Hello all,
>>
>> I am having an issue with the summenrote editor. I followed the
>> instructions provided on the summernote-addon github page. That is:
>>
>> 1. add this to the pom.xml file in the dom
>>
>> <dependency>
>> <groupId>org.isisaddons.wicket.summernote</groupId>
>> <artifactId>isis-wicket-summernote-cpt</artifactId>
>> <version>1.11.0</version>
>> </dependency>
>>
>>
>> 2. add this to the class that is using the editor
>>
>> import org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditor;
>>
>>
>> 3. add this annotation to the string property
>>
>> @SummernoteEditor(height = 100,maxHeight = 300)
>>
>>
>> But when editing the String, the default editing mode is shown, not the
>> rich text editor.
>>
>> Could you think of something I am missing or doing
>>
>> http://imgur.com/a/CEdls
>>
>> Thanks for any input
>>
>>
>> http://imgur.com/a/CEdls
>>
>> --
>> Hiren Budhrani
>>
>> Junior Programmer | Pocos bv
>>
>> T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl | Service:
>> servicedesk@pocos.nl
>>
>>
--
Hiren Budhrani
Intern Service Desk Optimization | Pocos bv
Pocos-Logo-Powering-briefpapier
T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl | Service: servicedesk@pocos.nl
www.pocos.nl | Croy 9c, 5653 LC Eindhoven | Kamer van Koophandel 17097024 | btn_in_20x15twitter
Re: Summernote editor not activated
Posted by Jeroen van der Wal <je...@stromboli.it>.
Hi Hiren,
Welcome to this list!
Did you add
isis.reflector.facets.include=org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditorFacetFactory
to isis.properties? Or maybe your application manifest?
Cheers,
Jeroen
On 6 April 2016 at 11:29, Hiren Budhrani <h....@pocos.nl> wrote:
> Hello all,
>
> I am having an issue with the summenrote editor. I followed the
> instructions provided on the summernote-addon github page. That is:
>
> 1. add this to the pom.xml file in the dom
>
> <dependency>
> <groupId>org.isisaddons.wicket.summernote</groupId>
> <artifactId>isis-wicket-summernote-cpt</artifactId>
> <version>1.11.0</version>
> </dependency>
>
>
> 2. add this to the class that is using the editor
>
> import org.isisaddons.wicket.summernote.cpt.applib.SummernoteEditor;
>
>
> 3. add this annotation to the string property
>
> @SummernoteEditor(height = 100,maxHeight = 300)
>
>
> But when editing the String, the default editing mode is shown, not the
> rich text editor.
>
> Could you think of something I am missing or doing
>
> http://imgur.com/a/CEdls
>
> Thanks for any input
>
>
> http://imgur.com/a/CEdls
>
> --
> Hiren Budhrani
>
> Junior Programmer | Pocos bv
>
> T+M: 088-0100721 | h.budhrani@pocos.nl| Sales: sales@pocos.nl | Service:
> servicedesk@pocos.nl
>
>