Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-12 Thread Douglas Ferguson

Another question for you...

I have a few columns that I want to be fixed at the beginning of the table.
There is a setReorderable(false); which will prevent you from being able to 
drag it around, but there is nothing to prevent you from moving another column 
in front of the fixed one.

I think I'll have to update the js to get the behavior. Let me know if I'm 
missing something.


On Jun 9, 2010, at 5:06 AM, Charles Deal wrote:

 I believe there is an object called GridSortState on the DataGrid.  Using
 that object, you can set the default sort for the grid.  One of our grids do
 this, but I don't have the code in front of me.
 On Wed, Jun 9, 2010 at 1:04 AM, Douglas Ferguson
 I just got data grid going. It is very cool!
 Do you know if there is a way to set a default sort?
 On Jun 8, 2010, at 3:26 PM, Charles Deal wrote:
 I use Eclipse and the Subversive SVN plugin.  I did a checkout into a new
 Project of
 After I made my changes I used the Create Patch option within Eclipse to
 generate the patches that I supplied.  If using a similar setup, you
 be able to use the Eclipse Apply Patch feature to update the source again
 use your own preferred method.
 On Tue, Jun 8, 2010 at 1:55 PM, Douglas Ferguson
 What's the url you used to pull from svn? I.E. What branch, etc..
 On Jun 8, 2010, at 12:49 PM, Charles Deal wrote:
 The patches are based upon the latest in svn (as of 07JUN2010).  I
 fresh copy of the source and then applied my changes back against it.
 don't think the svn codebase has changed all that much in the 1.4
 I didn't experience any conflicts applying my patches.
 On Tue, Jun 8, 2010 at 1:17 PM, Douglas Ferguson
 What version of inmethod are these patches based from?
 I't looks like 1.4.1 is quite old and 1.4.2 is still in SNAPSHOT
 On Jun 7, 2010, at 10:48 AM, Charles Deal wrote:
 We've been using the grid for quite some time now and have
 few changes to the codebase.  I'd like to submit them for other users
 review and discuss, in the hopes that they will make it into the
 codebase in the future.  The following are brief descriptions of the
 attached files.
 This patch simply adds a resize event to the grid.  We noticed that
 the browser was resized, the grid wouldn't resize until the user
 to scroll.
 Some small changes to facilitate more code reuse.
 Move the header and toolbars into the form.  This allows the header
 determine the form automatically so that, for example, when sorting a
 the behavior can submit the form to retain any transient changes to
 Refactor the AjaxFormSubmitBahvior implementation into its own class
 be used by custom behaviors.  Altered the code to use the new class.
 Add support for adding rows to the grid.
 As I said, my team have been successfully using (almost all of) these
 patches since at least June 2008.  The script patch is the only one
 a recent change.  I'd appreciate some feedback and if no objections
 made, I'd like to get these patches into the scm.
 To unsubscribe, e-mail:
 For additional commands, e-mail:
 To unsubscribe, e-mail:
 For additional commands, e-mail:
 To unsubscribe, e-mail:
 For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Re: URL mounting on Websphere causes Error 404

2010-06-12 Thread toverlier


I'm having the same problem as you. Were you able to resolve it?

View this message in context:
Sent from the Wicket - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

url encryption and session invalidate

2010-06-12 Thread fachhoch

I  encode my url in wicket suggested way.  If users clicks on logout then I
calls session.invalidate()  this also removes the key in session for
encrypting and decrypting of url ,so I get bad padding exception etc,is
there any other way to logout user than calling session.invalidate () ?

View this message in context:
Sent from the Wicket - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

jWicket: Accordion and Sortable

2010-06-12 Thread Stefan Lindner
I've comitted a first quick and dirty implementation of jQuery's
Accordion and Sortable. Still no documentation and no example, but works
for must cases.
API will change a litte bit in next version. Accordion and Sortable take
ListT as constructor parameter now. This will be a
ModelListT in the next version. No big thing.
Just check it out and let me know your experience.


To unsubscribe, e-mail:
For additional commands, e-mail:

RequestLogger 'Detach'-problem with recordSessionSize

2010-06-12 Thread Jens Zastrow

Hi wicket-experts,

Using the default RequestLogger which calculates the session-size by 
serializing the page-objects leads to problems since the models are not 

while doing this step.

The source-code of the RequestCycle shows that the Session/Page gets 
detached AFTER the requestcycle-code, thus the Serialize-step tries to 
store a lot of non-detached models which doest work in my case.

Is this by Design?


// if we have a request logger, update that now
IRequestLogger requestLogger = 

if (requestLogger != null)
requestLogger.requestTime((System.currentTimeMillis() - 

catch (RuntimeException re)
log.error(there was an error in the RequestLogger 
ending., re);


// let the session cleanup after a request, flushing changes etc.
if (sessionExists())
catch (RuntimeException re)
log.error(there was an error detaching the request 
from the session  + session +

., re);

dipl. inform jens zastrow

phone | +49.152.04840108
mail  |
web   |
xing  |

To unsubscribe, e-mail:
For additional commands, e-mail:

Wicketstuff down?

2010-06-12 Thread Thies Edeling seems to be down, can someone start its Tomcat or 
whatever it's running? thx!

To unsubscribe, e-mail:
For additional commands, e-mail:

Re: wiQuery components with server side state - live demo

2010-06-12 Thread Thies Edeling
Is this project still alive? The URL below now prompts for a
username/password. Thx!

On Wed, Mar 10, 2010 at 1:10 AM, Cemal Bayramoglu wrote:

 On 3 March 2010 18:20, John Armstrong wrote:
  Hi Richard,
   See here: this case
 its a
  grid rather then a tree that expands and allows arbitrary components to
  inserted beneath the row.
  Similar to a tree but very grid specific.
  Very excited about your work, so many hoops too jump through with GWT..
  On Wed, Mar 3, 2010 at 10:17 AM, Richard Wilkinson wrote:
  John - im not to sure what you mean by row expanders, is that similar
  to what is provided on the tree grid?
  Ernesto - see comments inline:
  On 3 March 2010 12:59, Ernesto Reinaldo Barreiro
   Hi Cemal,
   Other things that might be useful:
   -Offer (pluggable) support for grid events at client and server side
   been notified when user navigates between pages, sorts a columns,
   pluggable I mean they can be enable if you need them so that no
   server round trips are made.
  The gird always has to make a request to the server when the user
  navigates between pages, or changes the sorting, since this requires
  updated data.  However these events are handled internally to the grid
  code and are not accessible to the developer.  If required we could
  make these events accessible to the developer, either through adding a
  behaviour, or overriding a method.  Other things such as selection
  notification events, or editing, can optionally be listened to by the
  developer, but these do not make a round trip to the server unless
  they are explicitly added.
   -Show an example of how the grid interacts with a normal wicket form.
   have a form the is submitted via Wicket AJAX and get the grid
   either via Wicket AJAX (i.e. the whole grid component is reloaded) or
   triggering a reload event on the grid (I see the master detail example
   built using this last approach?) .
  yes, this page (
  uses a wicket form (not automatically generated though) to edit a row
  in one grid, which then triggers a data refresh in both grids, but
  does not do a wicket ajax component replace.  However ajax component
  replace is supported as there is an AjaxRequestTarget, but I feel that
  forcing the grid to reload is cleaner.
   -All the examples seem to use JSON for data transfer? Is XML
  The grid uses JSON, however this is all internal and transparent to
  the developer using the grid, so I dont see how supporting XML would
  be a benefit.  It is not possible to construct JSON or XML and feed
  this into the grid manually, i.e. by telling the grid which url to
  The intended use is the same as with a Wicket DataTable, where an
  IDataProvider provides an iterator of beans which are rendered as rows
  in the grid.  We use Wicket IConverter to convert each field of the
  bean to a String, then use a JSON library to construct the JSON
  response, which is then used in a custom wicket IRequestTarget for
   On Wed, Mar 3, 2010 at 11:33 AM, Cemal Bayramoglu wrote:
  Regards - Richard Wilkinson
  jWeekend: OO  Java Technologies - Development and Training
  To unsubscribe, e-mail:
  For additional commands, e-mail:

 To unsubscribe, e-mail:
 For additional commands, e-mail: