[Yanel-dev] svn.3k3.org anonymous access

simon simon at 333.ch
Thu Feb 4 17:24:30 CET 2010


Michael Wechner schrieb:
> simon wrote:
>> Michael Wechner schrieb:
>>> simon wrote:
>>>> Michael Wechner schrieb:
>>>>> simon wrote:
>>>>>> [...]
>>>>>>>
>>>>>>>
>>>>>>> [...]
>>>>>>>> BTW i still have a real problem when running this resource type 
>>>>>>>> on a headless system. i tried with CATALINA_OPTS="-server 
>>>>>>>> -Djava.awt.headless=true" and with xvfb but nothing seems to 
>>>>>>>> work. will write an email to user-batik. or maybe you have a 
>>>>>>>> good idea :)
>>>>>>>
>>>>>>> All of the above should indeed have worked...
>>>>>>> Maybe try System.setProperty("java.awt.headless", "true"); but 
>>>>>>> it's a bit ugly...
>>>>>> it's not like CATALINA_OPTS="-server -Djava.awt.headless=true" or 
>>>>>> xvfb don't help at all. a real simple svg worked fine but for 
>>>>>> most cases i get an exception. after this exception was thrown 
>>>>>> even the simple svg which worked before throws the exception.
>>>>>>
>>>>>> maybe you could test this.
>>>>>
>>>>> let's make a deal. You will look at the TinyMCE issue and I will 
>>>>> have a look at your SVG issue, ok?
>>>> which TinyMCE issue?
>>>
>>> Please ee my recent emails which I have posted to this mailing list.
>> i read every email on this list.
>>>
>>> 1) Uploading of images or assets does not seem to work anymore (try 
>>> within from scratch realm or yanel website realm)
>>> 2) The TinyMCE resource does not release the lock (checkin) anymore.
>>>
>>> First step would be to reproduce these issues and second step to 
>>> provide some pointers what might be causing these issues
>>> and third step to provide patches ;-)
>>>
>>> On all steps help is very much appreciated.
>> i will help on all this. i already said i will have a look at point 1 
>> if i find a free minute or three ;). (and have enough energy).
>> and of course i will have a look at point 2 under the same conditions.
>>
>> i just asked because i was not sure if you mean the insert asset plugin.
>>
>> but for this 2 points lets do the deal.
>>
>> but i have to say my babysitter was sick. and i'm a bit exhausted. i 
>> just read and answer mails, no coding at the moment. and now i have 
>> got visitors which i want to spend some time with. so will not find 
>> time to help this week.
>
> sure, I understand, whereas I am not sure if I will be able to wait, 
> because we have some users (including myself) depending
> on these "features" and I probably will go ahead then.
i had a quick look at it and i think i found the problem. but i have not 
tested it yet.

the src/contributions/resources/lookup/htdocs/tinymce-lookup.jelly  has 
at least one problem.

          var lookupTreeConfig = {
              "lookup-panel-border": "false",
              "lookup-panel-padding": "15",
              "lookup-treepanel-width": "160",
              "lookup-treepanel-height": "340",
              "lookup-gridpanel-width": "240",
              "lookup-gridpanel-height": "340",
              "lookup-root-node-label": "Root",
              "lookup-hook": "lookupHook",
              "lookup-request-paramter-type": 
'${resource.getParameterAsString("type")}',
              "lookup-upload-action-url": 
"${yanel.back2realm}create-new-page.html",
              "lookup-upload-submit-button-label": "Upload",
              "lookup-upload-enabled": "true"
              "lookup-create-folder-name-default": "Folder Name",
              "lookup-create-folder-submit-label": "new Folder",
              "lookup-current-path-label": "Current Path:",
              "lookup-upload-enabled": "true",
              "lookup-create-folder-enabled": "true"
          };

lookup-upload-enabled seems to appear twice, should not be a problem but 
is not a beauty. and the first time there is a missing comma at the end 
of line. (line20)


HTH
simon

>
> Thanks
>
> Michi
>>
>> cheers
>> simon
>>
>>>
>>> Thanks
>>>
>>> Michi
>>>>
>>>> simon
>>>>>
>>>>> Cheers
>>>>>
>>>>> Michi
>>>>>>
>>>>>> cheers
>>>>>> simon
>>>>>>
>>>>>
>>>>
>>>
>>
>



More information about the Yanel-development mailing list