Hi,
I'm using the LinkTree for navigation and will in some cases have lots of
data so therefor I want to Lazy load the children of a parent. So far I have
extended the DefaultMutableTreeNode and overridden isLeaf to fake if a node
have children. Now I want to show a spinner in the tree add the ch
Hi,
Implement a
http://download.oracle.com/javaee/5/api/javax/servlet/http/HttpSessionListener.html
and put it in your web.xml.
Regards,
Tobias
> Hello,
>
> Maybe I found it,LiveSessionsPage.java ,it can count peak session,but not
> what i want.
>
> I want to count the online users,
>
> for exam
target.appendJavascript("js") will execute it after components have
been updated via ajax.
-igor
On Thu, May 26, 2011 at 6:12 PM, Phil Franken wrote:
> Here are my components;
> Wicket 1.4.17
> Page
> AjaxTabbedPanel (with Panel1 and Panel2)
> AdPanel which has adsense js, no components
> AdPane
I have not worked with trees myself, but it sounds like you would like to
update the contents of another div when a node in the tree is clicked? Use
ajax to update the div, via an AjaxLink in the the node.
Viel spass
Bert
Am 26.05.2011 10:53 schrieb "hubert_hupe" :
> i used the following example a
Out app has a WebPage that opens a ModalWindow dialog passing in the
page. The dialog allows the user to modify the model of one of the
page's components. When the dialog closes and the onClose() callback in
the page is called, the object ID of the page has changed and the
component model does
Hello,
Maybe I found it,LiveSessionsPage.java ,it can count peak session,but not
what i want.
I want to count the online users,
for example there a three users here, if somtime a user had closed his(or
her) web browser this session number is two now
How can I do it ?
Thanks!
2011/5/26 Marti
Here are my components;
Wicket 1.4.17
Page
AjaxTabbedPanel (with Panel1 and Panel2)
AdPanel which has adsense js, no components
AdPanel is on Panel1 and Panel2
When the tab panel renders the first tab (Panel1) the AdPanel executes
its js and renders the ad. Moving to the second tab (Panel2) the
Using the Request object seems to work here. I am not sure if this is a
good idea. Here is an example from in the form onSubmit():
Request request = RequestCycle.get().getRequest();
String[] actions = request.getParameters("ActionCd");
String[] orginations = request.getParameters("Origination"
I am having trouble figuring out how to submit a form that is
dynamically created via JavaScript. The page uses JavaScript to create
a list of commands inside a form element like so:
I need to be able to complete each command in my Wicket code like so:
public void onSubmit() {
Lis
Server is up and running, if anyone haven't noticed yet. :-)
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099
On Thu, May 26, 2011 at 12:45 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:
> Download the distribution, and run the examples locally. Using an
> external (I might ad
And you can always switch it off/on at runtime thru an admin page for example.
On Thu, May 26, 2011 at 10:44 PM, Martijn Dashorst
wrote:
> On Thu, May 26, 2011 at 9:34 PM, Brown, Berlin [GCG-PFS]
> wrote:
>> Is the request logger invasive? Is it something that can be used in a
>> production env
On Thu, May 26, 2011 at 9:34 PM, Brown, Berlin [GCG-PFS]
wrote:
> Is the request logger invasive? Is it something that can be used in a
> production environment?
>
> http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/
Only when you log the size of the session. That costs time (need
Is the request logger invasive? Is it something that can be used in a
production environment?
http://www.volkomenjuist.nl/blog/2009/04/08/wicket-requestlogger/
As far as i understood this, FormTester submit is only for pushing the
data from
component to model. If you wait for the component to be executed the js
event
has to be executed.
Is it working if you do an WicketTester.executeAjaxEvent("id", "onclick"); ?
Cheers
Per
Hi all,
I am testing a f
Download the distribution, and run the examples locally. Using an
external (I might add free, volunteer, no-guarantees) service for a
demo that you don't have any control over is asking for trouble.
Martijn
On Thu, May 26, 2011 at 5:28 PM, Brown, Berlin [GCG-PFS]
wrote:
> Is it down again, darn
Use http://www.wicket-library.com/wicket-examples/index.html as backup :-)
On Thu, May 26, 2011 at 6:28 PM, Brown, Berlin [GCG-PFS]
wrote:
> Is it down again, darn I was doing a demo.
>
> I am getting a 503 unavailable error.
>
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo..
Is it down again, darn I was doing a demo.
I am getting a 503 unavailable error.
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Thursday, May 26, 2011 9:59 AM
To: users@wicket.apache.org
Subject: Re: WicketStuff.org is down, do you guys need some change for
Seems to be up now.
On Thu, May 26, 2011 at 4:32 PM, Brown, Berlin [GCG-PFS]
wrote:
> Is wicketstuff.org supposed to be up? I don't know if it is deprecated
> or not. There were some good examples out there.
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
OK, I will try to create a quickstart.
thanks for your answer.
2011/5/26 Martin Grigorov
> Create a mini application that reproduces the problem (a.k.a.
> quickstart) and attach it to this ticket.
> We will take it into account when we apply this patch.
>
> Until then you'll have to find a wo
Create a mini application that reproduces the problem (a.k.a.
quickstart) and attach it to this ticket.
We will take it into account when we apply this patch.
Until then you'll have to find a workaround. Or you Wicket 1.5 RC4.2
where this problem is solved...
On Thu, May 26, 2011 at 3:49 PM, Math
I don't know, it's possible... but honestly, I'm too "newbie" to judge that.
And I don't know how try patches which are proposed...
2011/5/26 Martin Grigorov
> Maybe you hit the problem in
> https://issues.apache.org/jira/browse/WICKET-3711
>
> On Thu, May 26, 2011 at 3:30 PM, Mathilde Pellerin
Maybe you hit the problem in https://issues.apache.org/jira/browse/WICKET-3711
On Thu, May 26, 2011 at 3:30 PM, Mathilde Pellerin
wrote:
> Hi all,
>
> I am testing a form with FormTester and WicketTester.
> When I test error messages which are send by form validation, test works
> well :
> tester
There is a label in CWIKI named "wicket15". All new information about
1.5 uses it. The migration page is also labeled with this label. It is
at the bottom, just click it and you'll see a list of pages for 1.5
that we have currently.
IRequestHandler (IRH) is the improved IRequestTarget from 1.4. Re
Hi all,
I am testing a form with FormTester and WicketTester.
When I test error messages which are send by form validation, test works
well :
tester.assertErrorMessages(new String[] {"Le champ 'Identifiant' est
obligatoire."});
but when I test error message which is send by my submit ajaxButton,
Thanks Martin
Was looking for such an example but couldn't find one right away. Works
like a charm even though I don't really understand what's going on - is
there some reading about request handler internals in wicket 1.5 somewhere?
The wiki pages do not seem to reflect any 1.5 behaviour yet.
see how org.apache.wicket.markup.html.link.DownloadLink.onClick() does it
On Thu, May 26, 2011 at 2:52 PM, Matthias Keller
wrote:
> We have a dynamically generated PDF we send to the user.
> I figured out a way to do it, but while it works, it produces lots of
> stacktraces in wicket:
>
> I creat
We have a dynamically generated PDF we send to the user.
I figured out a way to do it, but while it works, it produces lots of
stacktraces in wicket:
I created a PdfResource as subclass of ByteArrayResource.
When the user clicks the button, in the onClick() method we do:
PdfResource pdfResourc
Look deeper. This info is also provided.
2011/5/26 KingFee Dong :
> I found that DebugBar panel in wicket-devutils.jar is also talk about size
> of one session.
>
> What I want to count is unexpired sessions in the wicket application.
>
> just like a forum,count the online users
>
> Thanks !
>
>
I found that DebugBar panel in wicket-devutils.jar is also talk about size
of one session.
What I want to count is unexpired sessions in the wicket application.
just like a forum,count the online users
Thanks !
2011/5/26 Martin Grigorov
> Also Tomcat comes with ManagerApplication which prov
Sorry, I didn't noticed that getContent() is protected. The solution you
found is perfect :-)
I didn't find getContent() method to modalWindow component, but it works
well in two steps :
ConnexionContentPanel loginPanel = (ConnexionContentPanel)
modalWindow.get(modalWindow.getContentId());
Form
I didn't find getContent() method to modalWindow component, but it works
well in two steps :
ConnexionContentPanel loginPanel = (ConnexionContentPanel)
modalWindow.get(modalWindow.getContentId());
Form loginForm = (Form) loginPanel.get("loginForm");
thanks a lot !
2011/5/26 Andrea Del Bene
> Fo
Form id is corret, but remember that form and feedback panel are not
added directly to modal window. They are inside ConnexionContentPanel
which in turn is added to modalwindow.
In your test you should be able to access form calling getContent()
before get("loginForm"), i.e:
modalWindow.getCo
It's fix : when I paste code to show you, I notice that login form is not
added in modal window but in ConnexionContentPanel...
So I try this code :
ModalWindowE4N modalWindow = (ModalWindowE4N)
tester.getComponentFromLastRenderedPage("modalConnexion");
ConnexionContentPanel loginPa
Also Tomcat comes with ManagerApplication which provides such kind of
information for all deployed apps
On Thu, May 26, 2011 at 12:05 PM, Martin Grigorov wrote:
> see DebugBar panel in wicket-devutils.jar
>
> 2011/5/26 KingFee Dong :
>> hello,
>>
>> Maybe my question is not very clear.
>>
>>
>>
this is the code to construct modal window
final ModalWindowE4N modalConnexion = new
ModalWindowE4N("modalConnexion");
modalConnexion.setTitle("Connexion à l'espace membre");
modalConnexion.setContent(new
ConnexionContentPanel(modalConnexion.getContentId()));
add(mod
see DebugBar panel in wicket-devutils.jar
2011/5/26 KingFee Dong :
> hello,
>
> Maybe my question is not very clear.
>
>
> I want to Statistics Session Numbers, I mean the sessions in the
> application.
>
> for example there are two users online the session should be 2.
>
> Can anyone give me so
hello,
Maybe my question is not very clear.
I want to Statistics Session Numbers, I mean the sessions in the
application.
for example there are two users online the session should be 2.
Can anyone give me some solutions ?
Thank you all the same,Martin Grigorov!
Good Luck !
2011/5/26 Marti
Thanks Martin. I've already googled a lot and read the article by Erik you are
referencing (http://blog.jteam.nl/2010/02/24/wicket-root-mounts). However, this blog post
target a different URL mounting "problem" and refers to the wiki article by
Alex Objelean, which I am quoting in the subject o
i used the following example as a template:
http://wicket.apache.org/learn/examples/markupinheritance.html
> With code like:
> Page1 p1 = new Page1(node.toString());
> setResponsePage(p1); <--
is there an alternative to show Page1 without using setResponsePage?
Am 26.05.2011 um 10:23 schrieb Ma
Hi Mathilde,
maybe the form id you use in test is not correct. How do you add form to
modalWindow? Can you attach code?
Hi all,
I have a modal window with a login form inside that works fine when I test
it manually.
I try to test it with wicket tester since yesterday. I saw in some mails o
With code like:
Page1 p1 = new Page1(node.toString());
setResponsePage(p1); <--
it is you who reloads the page.
Load a page in a div ? How do you do that ? The only possible way is
to put an iframe in the div.
I guess you need a Panel instead of a Page and re-render it with :
target.addComponen
hi,
i do not reload the page - or rather the page reloads itself. the page has two
div areas in the markup and i load the target page into one div and the tree in
the other.
regards
hubert
Am 25.05.2011 um 20:51 schrieb James Carman:
> How are you getting back to the original page?
>
> On We
Hi all,
I have a modal window with a login form inside that works fine when I test
it manually.
I try to test it with wicket tester since yesterday. I saw in some mails of
this list that "there is nothing special in testing modal windows".
I tried this :
tester.startPage(AccueilPage.class
Shame!
This blog http://day-to-day-stuff.blogspot.com has few articles about
mounting in 1.4.
And maybe http://blog.jteam.nl/2010/02/24/wicket-root-mounts/ (same author)
can help you.
Good luck!
On Thu, May 26, 2011 at 10:19 AM, Andreas Maza wrote:
> Thanks, Martin - but that's a different sto
Thanks, Martin - but that's a different story ;-)
I have already read about the features of 1.5 and I would really be keen
to migrate. However, that's not possible for the moment, since we have
to come up with that site in a about a month and that's too late to
switch (moreover, some libraries
45 matches
Mail list logo