Re: AJAXIFY Palette: Can't get to the Recorder

2010-04-01 Thread Christoph Glass
Hi, here is a (for me) working code snipplet populated from the example given by Igor: snip /** SelectedFields may be pojo or so */ /* data */ Selected Fields[] collector; /* list */ ListSelectedFields dataList = Arrays.asList(collector); /* model to save selection */ final

Re: Wicketstuff updated!

2010-04-01 Thread nino martinez wael
Well, one could see that in version x.x.x of wicketstuff core project x was excluded.. It was just a proposition. As with everything else it has pro's and con's. 2010/4/1 Jeremy Thomerson jer...@wickettraining.com: there's already an attic - why create a new one?  it will just generate more

Create cookie before redirect

2010-04-01 Thread Gustavo Henrique
Hi! I need to create a cookie and redirect to page in other app, but when I try redirect the cookie is not send in response: Form loginForm = new StatelessForm(loginForm) { protected void onSubmit() { try { Customer authenticatedCustomer =

DynamicWizards and Forms

2010-04-01 Thread Sumit Raja
Hello, I am trying to get a dynamic wizard to work with a series of forms. I have the following flow: (1) Select document type - (2) if document type has embedded audio provide an upload form otherwise skip - (3) Document editing form. In next() of step 1 I am creating a new Panel with a form of

BookmarkablePageLink auto-generated name is no longer there

2010-04-01 Thread Tony Wu
I've been using BookmarkablePageLink for my site navigation. A month or so ago I remember each BookmarkablePageLink would autogenerate a name={wicket:id} in the HTML, and I was using this to hook into functional testing as the locator, etc. For example: .html a wicket:id=enrollNowLink href=#

RE: Hibernate - OSIV

2010-04-01 Thread Jeffrey Schneller
The issue was the object was being evicted from the Hibernate session. getSession().evict(object). I had forgot that the object was being evicted from the session. If I do not evict the object from the session then lazy loading worked. This is more of a Hibernate question but, how can I get

Re: Hibernate - OSIV

2010-04-01 Thread James Carman
They have to be different sessions. Hibernate's cache (the first level) guarantees that you get the same object for any given entity within the same session. On Thu, Apr 1, 2010 at 3:47 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: The issue was the object was being evicted from the

Re: Hibernate - OSIV

2010-04-01 Thread James Carman
Why do you need different objects? On Thu, Apr 1, 2010 at 4:25 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: So by using the OSIV, I am out of luck?  Any ideas? -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Thursday, April 01, 2010

RE: Hibernate - OSIV

2010-04-01 Thread Jeffrey Schneller
Because the objects have transient properties on them that are set by another process. Basically the object is pulled from the db to create a shell/container and the transient properties are filled in at a later time and may be different. Not a great example but, the object is a survey and

Re: Hibernate - OSIV

2010-04-01 Thread Scott Swank
Perhaps you want to use the survey object that you retrieve via Hibernate as a prototype, and never fill in its transient members. http://en.wikipedia.org/wiki/Prototype_pattern Scott On Thu, Apr 1, 2010 at 2:11 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Because the objects have

Re: RE: Hibernate - OSIV

2010-04-01 Thread James Carman
So make a copy of the db object and use that as your prototype. You can use serialization to do a quick deep clone of the object On Apr 1, 2010 5:12 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Because the objects have transient properties on them that are set by another process.

Re: Wicketstuff updated!

2010-04-01 Thread 新希望软件 -- 俞宏伟
i found thant push component has some problem. after update push compenet to 1.4.7-snapshot, the application throws some error message: 04-02 09:34:55.546[ RequestCycle.java:1521:ERROR] There is no application attached to current thread http-8081-4 org.apache.wicket.WicketRuntimeException:

Anybody use Google Maps for directions?

2010-04-01 Thread Doug Leeper
I would like to utilize the new Google Maps v3 API for directions. Didn't know if anyone has used this in conjunction with the GMap2 package. If so, any chance of getting an example of how you did it? Thanks - Doug