[jira] Created: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

View: New views
7 Messages — Rating Filter:   Alert me  

[jira] Created: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

tapestry-core should provide a built-in page to show the status of persistent data
-----------------------------------------------------------------------------------

                 Key: TAP5-570
                 URL: https://issues.apache.org/jira/browse/TAP5-570
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.1.0.1
            Reporter: Igor Drobiazko


In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:

Persistant Fields
---------------------------------------------------------------------------------------------
Strategy Name |   Page Name   |   Component Id      |       Field Name
---------------------------------------------------------------------------------------------
   flash             |    Login        |   loginform.form       |     defaultTracker
-----------------------------------------------------------------------------------------------
   state             |   Foo |                                      |   bar
------------------------------------------------------------------------------------------------

Application State Objects

----------------------------------------------------------------------------------------------
com.example.model.User@ba8180[id=1,username=root,.......]
----------------------------------------------------------------------------------------------
com.example.model.Foo1f6c439[bar=baz]
----------------------------------------------------------------------------------------------

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


[jira] Assigned: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-570:
-----------------------------------

    Assignee: Igor Drobiazko

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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


[jira] Updated: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hugo Palma updated TAP5-570:
----------------------------

    Attachment: TAP5-570.patch

I've attached an implementation of such a page.
Feel free to include it in the framework.

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>         Attachments: TAP5-570.patch
>
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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


[jira] Commented: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724212#action_12724212 ]

Igor Drobiazko commented on TAP5-570:
-------------------------------------

Nice patch. Thank you. What about an integration test? Can also provide one?  Also Strings should be move to a messages catalog.

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>         Attachments: TAP5-570.patch
>
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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


[jira] Commented: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724426#action_12724426 ]

Hugo Palma commented on TAP5-570:
---------------------------------

Of course, sorry for not providing the tests right away but i came up with this page in a couple of of peak hours of work so i didn't have much time for much more.

As soon as i can i'll attach a new version with tests and message catalog.

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>         Attachments: TAP5-570.patch
>
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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


[jira] Updated: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hugo Palma updated TAP5-570:
----------------------------

    Attachment: TAP5-570-v2.patch

This patch includes a few bug fixes and an integration test.

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>         Attachments: TAP5-570-v2.patch, TAP5-570.patch
>
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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


[jira] Commented: (TAP5-570) tapestry-core should provide a built-in page to show the status of persistent data

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/TAP5-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725114#action_12725114 ]

Hugo Palma commented on TAP5-570:
---------------------------------

There was a discussion on the mailing list regarding this page and someone suggested that this should be include as both a page and a component.
What do you guys think ?

> tapestry-core should provide a built-in page to show the status of persistent data
> -----------------------------------------------------------------------------------
>
>                 Key: TAP5-570
>                 URL: https://issues.apache.org/jira/browse/TAP5-570
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-core
>    Affects Versions: 5.1.0.1
>            Reporter: Igor Drobiazko
>            Assignee: Igor Drobiazko
>         Attachments: TAP5-570-v2.patch, TAP5-570.patch
>
>
> In order to oprimize the amount of data persisted in the session via @Persist or as ASO one should be able to get an overview of it.  A page StateStatus should be provided which could loo like:
> Persistant Fields
> ---------------------------------------------------------------------------------------------
> Strategy Name |   Page Name   |   Component Id      |       Field Name
> ---------------------------------------------------------------------------------------------
>    flash             |    Login        |   loginform.form       |     defaultTracker
> -----------------------------------------------------------------------------------------------
>    state             |   Foo |                                      |   bar
> ------------------------------------------------------------------------------------------------
> Application State Objects
> ----------------------------------------------------------------------------------------------
> com.example.model.User@ba8180[id=1,username=root,.......]
> ----------------------------------------------------------------------------------------------
> com.example.model.Foo1f6c439[bar=baz]
> ----------------------------------------------------------------------------------------------

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