You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Renaud Richardet (JIRA)" <ji...@apache.org> on 2009/06/03 15:58:07 UTC

[jira] Created: (SLING-993) Sling Explorer with jquery

Sling Explorer with jquery
--------------------------

                 Key: SLING-993
                 URL: https://issues.apache.org/jira/browse/SLING-993
             Project: Sling
          Issue Type: New Feature
          Components: Launchpad
         Environment: osx
            Reporter: Renaud Richardet
            Priority: Minor
         Attachments: sling.zip

a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-993:
--------------------------------------

    Attachment: explorer-20090613.zip

(this time with the correct file ;-)

Here's a slightly modified patch, added names to the entry fields for adding properties and nodes, and tweaked layout a bit.

I think this is ready to commit, maybe not perfect but usable. 

Next step - plugins to define specific editors based on node types/property names/etc?

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Renaud Richardet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renaud Richardet updated SLING-993:
-----------------------------------

    Attachment: Picture 2.png

snapshot

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-993:
--------------------------------------

    Attachment:     (was: explorer.zip)

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-993:
--------------------------------------

    Attachment: explorer.zip

Here's a slightly modified patch, added names to the entry fields for adding properties and nodes, and tweaked layout a bit.

I think this is ready to commit, maybe not perfect but usable. Next step - plugins to define specific editors based on node types/property names/etc?

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-993:
------------------------------------

    Attachment: explorer.zip

Attaching a slight modification:

  * Created a maven project providing the scripts as bundle resources
  * Small fixes to the JQuery scripts (mostly CSS class handling)
  * Refactored server side scripts to use Resource API  and to not
       render some elements if access is not allowed

To use this, simply deploy the bundle and access any location with the explorer selector, e.g.

    http://localhost:8888/.explorer.html

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Renaud Richardet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renaud Richardet updated SLING-993:
-----------------------------------

    Attachment: explorer.js

I just cleaned up the javascript file a bit (there was some irrelevant code & logging stuff).

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.js, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (SLING-993) Sling Explorer with jquery

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Renaud Richardet (JIRA) schrieb:
> What is left to be done to have it "fully" integrated? 

Depends on how we defined "fully integrated" ;-)

I think having an explorer in the first place is already a good thing
and a good start (incidentally there is a second approach based on GWT
[1]. I think ultimately both approaches (as well as some sample
approaches using Dojo) have their rights.

Of course, I could still imagine some enhancements to the current JQuery
based implementation, e.g. using a JQuery tree plugin to render the
resource tree on the left or creating the web console plugin (where I
think the JQuery based approach is more appropriate than the GWT or Dojo
based one) or "extensibility" (whatever that means ;-) ).

Regards
Felix

[1] https://issues.apache.org/jira/browse/SLING-990

> 
> Maybe someone with design skills could make it a bit nicer (CSS)...
> 
>> Sling Explorer with jquery
>> --------------------------
>>
>>                 Key: SLING-993
>>                 URL: https://issues.apache.org/jira/browse/SLING-993
>>             Project: Sling
>>          Issue Type: New Feature
>>          Components: Launchpad
>>         Environment: osx
>>            Reporter: Renaud Richardet
>>            Priority: Minor
>>         Attachments: explorer.zip, Picture 2.png, sling.zip
>>
>>
>> a jcr explorer based on jquery. goals: minimum install and dependencies
> 

[jira] Commented: (SLING-993) Sling Explorer with jquery

Posted by "Renaud Richardet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717193#action_12717193 ] 

Renaud Richardet commented on SLING-993:
----------------------------------------

Sounds good! 

What is left to be done to have it "fully" integrated? 

Maybe someone with design skills could make it a bit nicer (CSS)...

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Renaud Richardet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renaud Richardet updated SLING-993:
-----------------------------------

    Attachment: sling.zip

files to be copied to /app/sling 

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-993) Sling Explorer with jquery

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717036#action_12717036 ] 

Felix Meschberger commented on SLING-993:
-----------------------------------------

This looks very light-weight and probably nicely embeddable.

I could imagine the following:
  * Enhance the scripts to use the Resource tree API to list the resources instead of just the JCR items
  * Use [Persistable]ValueMap to display the properties
         (if adaptable to PersistableValueMap the resource is editable, if only mappable to ValueMap or Map, the resource is readonly)
  * Add some glue to make it a Web Console plugin

WDYT ?

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-993) Sling Explorer with jquery

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-993:
--------------------------------------

    Comment: was deleted

(was: Here's a slightly modified patch, added names to the entry fields for adding properties and nodes, and tweaked layout a bit.

I think this is ready to commit, maybe not perfect but usable. Next step - plugins to define specific editors based on node types/property names/etc?)

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SLING-993) Sling Explorer with jquery

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717036#action_12717036 ] 

Felix Meschberger edited comment on SLING-993 at 6/7/09 5:12 AM:
-----------------------------------------------------------------

This looks very light-weight and probably nicely embeddable.

I could imagine the following:
  * Enhance the scripts to use the Resource tree API to list the resources instead of just the JCR items
  * Use [Persistable]ValueMap to display the properties
         (if adaptable to PersistableValueMap the resource is editable, if only mappable to ValueMap or Map, the resource is readonly)
  * Add some glue to make it a Web Console plugin

Thus we could create an "Resource Explorer" bundle, which contains the scripts as bundle-resources for direct use plus contains the Web Console plugin for embedding the explorer in the Web Console.

WDYT ?

      was (Author: fmeschbe):
    This looks very light-weight and probably nicely embeddable.

I could imagine the following:
  * Enhance the scripts to use the Resource tree API to list the resources instead of just the JCR items
  * Use [Persistable]ValueMap to display the properties
         (if adaptable to PersistableValueMap the resource is editable, if only mappable to ValueMap or Map, the resource is readonly)
  * Add some glue to make it a Web Console plugin

WDYT ?
  
> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-993) Sling Explorer with jquery

Posted by "Markus Pallo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723928#action_12723928 ] 

Markus Pallo commented on SLING-993:
------------------------------------

cool work, thanks.

is there a special reason why its not implemented for handling sling running on different context than "/" ?



> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.js, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-993) Sling Explorer with jquery

Posted by "Renaud Richardet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723965#action_12723965 ] 

Renaud Richardet commented on SLING-993:
----------------------------------------

i don't think so. if you implement it, could you provide a patch / a zip?

> Sling Explorer with jquery
> --------------------------
>
>                 Key: SLING-993
>                 URL: https://issues.apache.org/jira/browse/SLING-993
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>         Environment: osx
>            Reporter: Renaud Richardet
>            Priority: Minor
>         Attachments: explorer-20090613.zip, explorer.js, explorer.zip, Picture 2.png, sling.zip
>
>
> a jcr explorer based on jquery. goals: minimum install and dependencies

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.