Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-20 Thread Erik van Oosten
Put in the wiki as a subpage of 
http://cwiki.apache.org/WICKET/component.html.

Can someone update the static pages again? The new page does not show up 
yet.

Regards,
 Erik.

Eelco Hillenius wrote:
 Basically, it says whether a component supports back button or not
 when component replacement is used (and less importantly, when
 setModel is used)
   


-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-20 Thread Martijn Dashorst
That happens automatically (every 2 hours or so).

Martijn

On 4/20/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 Put in the wiki as a subpage of
 http://cwiki.apache.org/WICKET/component.html.

 Can someone update the static pages again? The new page does not show up
 yet.

 Regards,
  Erik.

 Eelco Hillenius wrote:
  Basically, it says whether a component supports back button or not
  when component replacement is used (and less importantly, when
  setModel is used)
 
 

 --
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] What is Component Versioning (isVersioned())

2007-04-19 Thread Francisco Diaz Trepat - gmail

Eelco, thanks for the thorough explanation.

On 4/19/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Basically, it says whether a component supports back button or not
when component replacement is used (and less importantly, when
setModel is used).

If it doesn't support versioning, a stable URL will be generated when
a change in hierarchy or state occurs, so that clicking the back
button will take you back to the last bookmarkable or versioned page.
The wizard component makes use of this, as you want users to use the
wizard's buttons, not the browser's buttons.

If it does support versioning, an 'unstable' link will be created when
a change occurs. An example of this is our implementations of pageable
lists. How rolling back of changes is implemented depends on the
session store that is being used. In 1.3's default, older instances of
whole pages are serialized to second level store (temp dir on disk by
default), and when rolling back, the appropriate version is read back
in. But with the other session store implementation we provide with
Wicket, HttpSessionStore, changes are recorded as delta objects in the
page instance where it applies to. When the back button is used, a
roll back is executed using the recorded delta objects. This is
cheaper when (part of) the history is kept in RAM (which is the case
with HttpSessionStore), but doesn't make sense for the second level
cache store as we would still have to serialize the references to the
page etc.

Eelco




On 4/19/07, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
 Hello everyone,

 Can someone explain or guide me towards what is the meaning of a
component
 being versioned or not?

 f(t)


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user