[Yanel-dev] Editing XML files

simon simon at 333.ch
Wed Apr 8 08:41:31 EDT 2015


Hi Michael

Am 03.04.2015 um 14:33 schrieb Michael Wechner:
> Hi Simon
>
> Do you intend to use and improve jquery.xmleditor?
Not sure yet.
>
> I would be happy to help improve it. At the moment I am struggling a bit
> to set the editPath, because the matcher-extension property is not
> really documented and I get the following WARNING
>
> 97162 2015-04-03 14:26:35,187 +0200 [http-bio-8443-exec-1] WARN
> com.litwan.yanel.impl.resources.jqueryxmleditor.JqueryXmleditorResource.init():85
> [] {id=127.0.0.1_9E3C} - Could not get Resource Configuration Property
> 'matcher-extension'. Fallback to previous version ...
>
> Can you give me an example of a matcher-extension?
It is the same mechanism as in yanels tinymce resource.
>
> Shall I do  a pull request with my changes or could you give me write
> access to the source of this resource?
Not sure yet. Do you have something to check in?

Cheers
Simon
>
> Thanks
>
> Michael
>
> Am 03.04.15 um 12:05 schrieb simon:
>> Hi Michael
>>
>> Sorry Michael you just found one of the resource-types which is more a
>> sketch. don't think this resource-type is working. i just started it.
>> I'm certainly glad if you work on it.
>> Some of the resource-types in my repo are more developed and some not.
>>
>> I'm really looking forward to find a solution for the missing link
>> between GUI and java. I'm really happy with Jaxb. But i hate to make
>> forms and usecases to make a CRUD GUI. The jquery.xmleditor was one of
>> the more promising tools which could help to avoid implementing form
>> based usecased.
>>
>> There is also a textedit resource-type based on
>> https://codemirror.net/ which you can configure to edit XML. But it is
>> more a texteditor with highlighting but it's able to autocomplete XML
>> see: https://codemirror.net/demo/xmlcomplete.html
>> But one probably needs to update the codemirror version. i did this
>> when version 0.91 was current and now it's 5.1
>>
>> About the check in of the binary, this was accidental.
>>
>> Cheers
>> Simon
>>> Hi Simon
>>>
>>> I have just added the jquery.xmleditor to Yanel and built the resource
>>> and after doing so realized that your git already contains the binaries
>>>
>>>       modified:
>>> build/classes/com/litwan/yanel/impl/resources/jqueryxmleditor/JqueryXmleditorResource.class
>>>
>>>       modified:
>>> build/lib/yanel-resource-jquery.xmleditor-0.0.1-dev-rXXX.jar
>>>
>>> I am not sure whether you intended to do so, but it might be better to
>>> remove the build directory from git, unless
>>> you want to provide the resource as package, such that one does not have
>>> to build it.
>>>
>>> I will try to use now your resource :-)
>>>
>>> Thanks
>>>
>>> Michael
>>>
>>> Am 03.04.15 um 00:01 schrieb Michael Wechner:
>>>> Hi Simon
>>>>
>>>> IIUC the following resource allows to edit XML files
>>>>
>>>> https://github.com/teil3/3k3-yanel-contributions/tree/master/resource-types/jquery.xmleditor
>>>>
>>>>
>>>> right?
>>>>
>>>> Or would you suggest some other resource to edit XML files?
>>>>
>>>> Thanks
>>>>
>>>> Michael
>>


-- 
TEIL3
Vulkanstrasse 114
8048 Zürich

www.teil3.ch



More information about the Yanel-development mailing list