You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Wouter de Vaal (JIRA)" <ta...@jakarta.apache.org> on 2005/11/05 15:05:19 UTC

[jira] Created: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Create ability to use SqueezeAdaptors for @Persist("client:app")
----------------------------------------------------------------

         Key: TAPESTRY-738
         URL: http://issues.apache.org/jira/browse/TAPESTRY-738
     Project: Tapestry
        Type: Improvement
  Components: Framework  
    Versions: 4.0    
    Reporter: Wouter de Vaal


>From the doc:
"client
    Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."

Could it be made possible to use DataSqueezers for this? 
Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Updated: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-738?page=all ]

Jesse Kuhnert updated TAPESTRY-738:
-----------------------------------

    Fix Version/s: 4.1.2
                       (was: 4.1.1)

> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-738
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-738
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Wouter de Vaal
>             Fix For: 4.1.2
>
>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-738?page=all ]

Jesse Kuhnert updated TAPESTRY-738:
-----------------------------------

    Fix Version: 4.1
                     (was: 4.0.3)

> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>          Key: TAPESTRY-738
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-738
>      Project: Tapestry
>         Type: Improvement

>   Components: Framework
>     Versions: 4.0
>     Reporter: Wouter de Vaal
>      Fix For: 4.1

>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-738.
------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

I've made most of the important methods / fields protected in a few choice places to make it easier for people to plug in their own persistence strategies without having to re-create everything from scratch. 

Of course- if people do have some fancy new strategies for doing this we would love to see some patches / code contributed back. :)

> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-738
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-738
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Wouter de Vaal
>            Assignee: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-738?page=all ]

Andreas Andreou updated TAPESTRY-738:
-------------------------------------

    Fix Version: 4.0.3

> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>          Key: TAPESTRY-738
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-738
>      Project: Tapestry
>         Type: Improvement

>   Components: Framework
>     Versions: 4.0
>     Reporter: Wouter de Vaal
>      Fix For: 4.0.3

>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


[jira] Updated: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-738?page=all ]

Jesse Kuhnert updated TAPESTRY-738:
-----------------------------------

    Fix Version/s: 4.1.1
                       (was: 4.1)

> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-738
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-738
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Wouter de Vaal
>             Fix For: 4.1.1
>
>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-738) Create ability to use SqueezeAdaptors for @Persist("client:app")

Posted by "Mark Lehmacher (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-738?page=comments#action_12373841 ] 

Mark Lehmacher commented on TAPESTRY-738:
-----------------------------------------

Regarding this issue it would be useful to change "private" visibility of the two methods "writeChangesToStream" and "readChangesFromStream" in org.apache.tapestry.record.PersistentPropertyDataEncoderImpl to "protected". That way one could hook in the DataSqueezer into saving/restoring the property change values by extending aformentioned class.

For that matter it might make even more sense to introduce more fine-grained methods which deal with converting to and from PropertyChange objects and which are called from the respective read and write changesToStream methods.


> Create ability to use SqueezeAdaptors for @Persist("client:app")
> ----------------------------------------------------------------
>
>          Key: TAPESTRY-738
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-738
>      Project: Tapestry
>         Type: Improvement

>   Components: Framework
>     Versions: 4.0
>     Reporter: Wouter de Vaal

>
> From the doc:
> "client
>     Client properties are stored on the client, in the form of query parameters. All persistent properties for each page are encoded into a single query parameter, named state:PageName. The query parameter value is a MIME encoded byte stream. This can get quite long if there are many client persistent properties on the page ... which may quickly run into limitations on the maximum size of a URL (approximately 4000 characters is a good guideline). This is less a problem for forms."
> Could it be made possible to use DataSqueezers for this? 
> Or can you perhaps give me pointers what to change to create my own persistence scheme so I could client persist simple strings and ints as what the are so the urls will be much more nice. This would be really cool so to keep everything httpsession-less

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org