Am Sat, 5 Jul 2008 18:40:24 +0100
schrieb Ayodeji Aladejebi [EMAIL PROTECTED]:
Only that after a while, tomcat will give you perm-gen error which
will force you to terminate the tomcat instance using Task Manager
manually before netbeans can continue managing tomcat
You can set the
Timo Rantalaiho wrote:
On Fri, 04 Jul 2008, Matthijs Wensveen wrote:
How do you cope with deeply nested model properties? For example:
public class PersonViewer extends ComponentPerson {
..
}
some other component does:
person.getOrders().get(0).setAmount(0); // first order for free (as in
Have you seen BoundCompoundPropertyModel?
It sounds like you are looking for that behavior.
Maurice
On Sun, Jul 6, 2008 at 9:42 AM, Thomas Kappler [EMAIL PROTECTED] wrote:
Thanks, Johan. Perhaps I wasn't clear enough about the motivation.
On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner
And even better enable permgen garbage collection, so the problem never
will happen...
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled
Witold Czaplewski wrote:
Am Sat, 5 Jul 2008 18:40:24 +0100
schrieb Ayodeji Aladejebi [EMAIL PROTECTED]:
Only that
Bounded is deprecated look at CompoundPropertyModel.bind(String)
so
CompoundPropertyModel cpm = new CompoundPropertyModel();
Form form = new Form(form, cpm)
form.add(new TextField(name, cpm.bind(firstName));
johan
On Mon, Jul 7, 2008 at 8:59 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
Have
thats just a listener interface for example PropertyChangeListener (but you
can make it more specific interface)
Just make a base model that has add/removePropertyChangeListener and let
your components listen to that
johan
On Mon, Jul 7, 2008 at 8:28 AM, Matthijs Wensveen [EMAIL PROTECTED]
On Mon, Jul 7, 2008 at 10:17 AM, Johan Compagner [EMAIL PROTECTED] wrote:
CompoundPropertyModel cpm = new CompoundPropertyModel();
Form form = new Form(form, cpm)
form.add(new TextField(name, cpm.bind(firstName));
Perfect! Had overlooked that.
Thanks,
Thomas
On Mon, Jul 7, 2008 at 8:59 AM,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks a lot, didn't know it.
Btw, Java 6 produces a small warning:
Please use CMSClassUnloadingEnabled in place of
CMSPermGenSweepingEnabled in the future
Witold
Am Mon, 07 Jul 2008 09:06:53 +0200
schrieb Nino Saturnino Martinez Vazquez Wael
Ahh, ok thanks for the feedback..
Witold Czaplewski wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks a lot, didn't know it.
Btw, Java 6 produces a small warning:
Please use CMSClassUnloadingEnabled in place of
CMSPermGenSweepingEnabled in the future
Witold
Am Mon, 07 Jul 2008
Hello,
I am rendering a list view having multiple rows using wicket. In form
submit(), I could retrive the data in below mentioned code but i am not sure
whether it is right way of getting the changed data from the list view .
Below is my code snippet attached. Please review the
a) you should be using models to bind data instead of directly
iterating over listview's listitems
b) when using listview in a form you should call setreuseitems(true) on it.
-igor
On Mon, Jul 7, 2008 at 3:17 AM, Deepak_G [EMAIL PROTECTED] wrote:
Hello,
I am rendering a list view having
Karen,
I am the original author of the menu2 package.
What I believe is happening (as I haven't looked at this in awhile) is that
YUI menu that is created originally is losing the 'reference' of the item
that had the context menu associated with it. This happens because you are
using Ajax to
I have a third party package that requires a java.io.Reader (or
descendent) as an input.
I need to provide a Reader for a file locate in either WEB-INF (or
possibly package sourced). This file is a CSV list of items that is
used to initialize a database table. I just need to iterate over
Hi,
I looked at this further and the problem seems to be because the YUI menu
was not being created with the wicketstuff YUI classes but directory using
the YUI javascript library with javascript files being added into the html
clashing with the javascript files that are being added by using the
I am using a behavior that is dynamically added/removed from a TextField
based upon another components state (in order to avoid extra round trips
to the server):
final AjaxFormComponentUpdatingBehavior afcub = ...
final TextField textField = new TextField(some-id, new Model()){
protected
i dont think the behavior has been designed with the adding/removing
in mind. feel free to open a jira issue for it. i think a much easier
way to do this is to always add it and override isenabled()
-igor
On Mon, Jul 7, 2008 at 10:35 AM, Hoover, William [EMAIL PROTECTED] wrote:
I am using a
This is my first post, so please bear with me, if I haven't done this
correctly (and please correct me).
When I am uploading a file in a form, I want to save the full client path of
the file, but I am not sure how to access that information. My code looks
like this:
Why wicket framework used it's own annotation @SpringBean instead standard
annotation @Resource?
(I want configure other web framework to use anotation for bean injecting)
Dmitry.
because when we created @SpringBean there was no standard @Resource.
also, afaik, @Resource is part of jdk6 while Wicket requires 1.4/5.
perhaps when we require jdk6 we can use @Resource
-igor
On Mon, Jul 7, 2008 at 11:32 AM, Dima Rzhevskiy [EMAIL PROTECTED] wrote:
Why wicket framework used
Although this seems strange sense the Yui libary I am using is 2.4.1 and the
wicketStuff yui looks like it is also 2.4.1.
Is it because some javascript files are added twice?
-Original Message-
From: Karen Schaper [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2008 12:48 PM
To:
Thank you for answer.
2008/7/7, Igor Vaynberg [EMAIL PROTECTED]:
because when we created @SpringBean there was no standard @Resource.
also, afaik, @Resource is part of jdk6 while Wicket requires 1.4/5.
perhaps when we require jdk6 we can use @Resource
-igor
On Mon, Jul 7, 2008 at 11:32
Hey Doug,
I was able to get the check boxes to work. Thanks for your help on that.
However there is another problem that I am not able to get to work.
I have created another panel with a checkbox tree in it and i want that
panel to show only when I check one of the child nodes in my main
Guys,
I wanted to add this feature in my application, where once the
session-timeout period is reached, the user is automatically redirected to
the session-expiry page, like the way you might have seen in various banking
sites.
In order to achieve the above the first component which came to my
I am sure there are a couple of ways to do this.
First thing that comes to mind is to override the Panel2.isVisible() method
and return true if there are any nodes selected in CBTree1.
for instance:
Panel checkBoxPanel2 = new Panel( checkBoxPanel2 ) {
public boolean isVisible() {
Hello,
I have a flash application that makes a request to my server through a servlet.
I have managed to get the servlet in the wicket context and access the wicket
session in the servlet, but I can't get the parameters of the request.
Any clues of what I am doing wrong?
Thank you
Giuliano
Another point worth mentioning in the solution i discussed in my earlier post
is that i would want the ajax timer-based event (with the help of
ajaxTimerbehavior) to be invoked ONLY when the session-timeout period has
reached, as otherwise the ajax-event would unnecessarily result in the
try
request.getParameter(String)::String
getAttribute (if I remember correctly) is an attribute of the
session... if you want a parameter passed in via a GET or PORT then
you need to use the parameter accessors.
Also, I think there is a simpler method of getting access to the
Wicket
On Mon, 07 Jul 2008, mfs wrote:
The problem is that since my application pages has various ajax-components
in it and not every request results in the whole page being rendered, i am
not sure which component to attach this ajaxTimerBehavior with, such that
the AjaxTimerBehavior's timer is
28 matches
Mail list logo