Once again, i have I question, to which I found no answer:
If the user leaves my wicket application and navigates to another website
and returns to my wicket application within a few minutes. Is his previous
session still valid?
Yes, if
a) the session hasn't expired yet (there's inactivity period after
which session expires, usually set to 30 minutes)
b) user hasn't closed the browser - the session cookie is still valid
or c) session id is encoded in URL.
-Matej
On Fri, Sep 5, 2008 at 9:47 AM, Liz Huber [EMAIL
For the sake of completeness, here is the solution I am currently
using. It uses,
as suggested by Martijn, a custom request cycle and a modified version
of
SerializableChecker. You have to install the custom request cycle in
your application
using
@Override
public RequestCycle
Lack of super section cause that kind of a problem. Look at example:
AjaxEditableLabel label = new AjaxEditableLabel(componentId, new
PropertyModel(dtoUser, loginName)){
@Override
protected void onEdit(AjaxRequestTarget
Hi Johan,
I've seen the code in WebPage.onNewBrowserWindow(). The thing I'm having a
problem figuring out is where to hook in this code. I can't see that I can
do this in the constructor of a page as you suggest. In the constructor the
page hasn't been fully constructed yet so I can't see that
Hi,
you'll need some javascript to do this.
your link (alink) will have to call some JS function which will check
for changed inputs and if there is such input just call
event.preventDefault() to prevent the request to the LinkPage.class
On Wed, 2008-09-03 at 11:40 -0700, liza6218 wrote:
Hi,
Really? Would it be easy to implement this interface:
http://domdrides.sourceforge.net/domdrides-core/apidocs/org/domdrides/repository/Repository.html
If so, I'd be interested in the code as another submodule to domdrides
(we've got hibernate, jpa, and iBATIS right now).
On Fri, Sep 5, 2008 at
Here is the problem
I have a Parent panel which swaps in and out a Display panel and an Update
panel (these are basically 2 views, read-only and read-write, of a users
details).
To enable any changes by the Update panel to be seen by the Display panel, I
have both panels pointing to the
Hi,
I have used WicketTester in 1.3.X to render mail in a Link call like:
WicketTester tester = new WicketTester(new
WicketTester.NonPageCachingDummyWebApplication());
tester.startPage(new Mail(someData));
String mail = tester.getServletResponse().getDocument();
sendmail(mail);
first off, i admit i didn't know too much about domdrides.
so it seems i was talking about the entity part. e.g. extend
UuidEntity in your domain, that is orthogonal to gluw. concerning
domdrides repository approach, as a quick idea i can imagine
implementing gluw in an adapter pattern manner.
fernando,
good! but i personally restrain from using db4o as its license is
quite restrictive. that's why i'm supporting neodatis, which is slowly
gaining momentum.
is your code available? how are you handling transactions? how do you
get references to ObjectContainers in your wicket pages?
I have a couple of behaviors that add javascript to the header of a
document, to change attributes or add event scripts to components (using
jquery onready, but that's not the point). This all works fine. There is
just one problem: when I use such components in an ajax
request/response, it won't
Hi,
I am new to Wicket and Tomcat and I am following a tutorial using Tomcat
6. I am doing a very simple Hello World application. I am trying to get
Tomcat to display the exception message instead of the infamous The
requested resource (/myApp/app) is not available Status 404 message when
if you use renderOnDomReadyJavascript method of IHeaderResponse it
will be invoked after ajax request.
-Matej
On Fri, Sep 5, 2008 at 3:41 PM, Pointbreak
[EMAIL PROTECTED] wrote:
I have a couple of behaviors that add javascript to the header of a
document, to change attributes or add event
Perfect. Thanks!
On Fri, 5 Sep 2008 15:53:12 +0200, Matej Knopp [EMAIL PROTECTED]
said:
if you use renderOnDomReadyJavascript method of IHeaderResponse it
will be invoked after ajax request.
-Matej
On Fri, Sep 5, 2008 at 3:41 PM, Pointbreak
[EMAIL PROTECTED] wrote:
I have a couple of
Dean Murray wrote:
Hi,
I am new to Wicket and Tomcat and I am following a tutorial using Tomcat
6. I am doing a very simple Hello World application. I am trying to get
Tomcat to display the exception message instead of the infamous The
requested resource (/myApp/app) is not available
Hi there,
i'm having a problem with wicket-contrib-gmap2. I compiled the examples and
everything worked fine. Then i wrote my own app just for testing but when
i'm looking at the page i only see the 'powered by Google' Logo and the
Copyright Notice but no map.
Here's my Code:
final GMap2 map =
try firing your app in DEPLOYMENT mode
francisco
On Fri, Sep 5, 2008 at 6:01 PM, normanr [EMAIL PROTECTED] wrote:
Hi there,
i'm having a problem with wicket-contrib-gmap2. I compiled the examples and
everything worked fine. Then i wrote my own app just for testing but when
i'm looking at
Hello all,
I created a Component called TimePanel which is a FormComponentPanel
containing two DropDownChoices. As you may have guessed from the components
name, its used to input time. It is intended to be used with Jodas LocaTime as
a ModelObject. One DDC is for hours, the other one for
the model that the display panel should be a loadable detachable model
so it loads data from the database on render
the model that the update panel uses should load the changes, edit
them, and save them to the database. that way everything is in sync.
when the form submits it clones the model
imho this is a misuse. but to try and get it to work you might want to
run wickettester in a separate thread. i think it might hang because
the tester will mess with the threadlocals.
-igor
On Fri, Sep 5, 2008 at 6:15 AM, danielroth [EMAIL PROTECTED] wrote:
Hi,
I have used WicketTester in
Could you perhaps use an aspect for this?
On Thu, Aug 28, 2008 at 4:57 PM, Kaspar Fischer [EMAIL PROTECTED] wrote:
Is there an easy way to assert that all models are detached at the end of
the
request?
It does not look so easy to check this as models do not have common base
class
where one
Hi,
I'm trying to trigger OnChangeAjaxBehavior on an HiddenField (or TextField)
change from client side javascript.
Here is the code in html:
function change(){
var change = document.forms[0].changed.value;
if(change != true) {
Yeah! Thanks i've read something like that, but my mind plays so many tricks
on me at the moment :D
Thanks so much!
francisco treacy-2 wrote:
try firing your app in DEPLOYMENT mode
francisco
On Fri, Sep 5, 2008 at 6:01 PM, normanr [EMAIL PROTECTED] wrote:
Hi there,
i'm having a
Hi,
Did you or anyone found the solution to this?
I am having the same problem in IE7 on a ModalWindow (implemented as Panel)
with a DateTextField and a DatePicker attached to it.
I noticed that it works for the first time when there is no date in the date
field...but after date is selected and
On Fri, 05 Sep 2008 15:21:34 +0200, francisco treacy wrote:
good! but i personally restrain from using db4o as its license is quite
restrictive. that's why i'm supporting neodatis, which is slowly gaining
momentum.
Isn't DB4O released under GPL, as well as a commercial license?
GPL is very restrictive :)
-igor
On Fri, Sep 5, 2008 at 4:35 PM, Sam Stainsby
[EMAIL PROTECTED] wrote:
On Fri, 05 Sep 2008 15:21:34 +0200, francisco treacy wrote:
good! but i personally restrain from using db4o as its license is quite
restrictive. that's why i'm supporting neodatis, which is
27 matches
Mail list logo