;-)
On Sun, Mar 10, 2013 at 8:56 AM, Pieter Claassen pie...@musmato.com
wrote:
Ernesto,
Ok, I implemented your changes but something very strange is happening.
In
my callback, I get the resizeHeight and resizeWidth values of the
previous
window resize event, not the current one.
I don't
, Pieter Claassen pie...@musmato.com wrote:
Ernesto,
This is very strange. When I use your snapshot code in a quickstart
project, it functions fine. But when I include it in my project, I always
get the old x and y values (of one resize ago) in my callback.
Can you think of any reason why
);
return this;
}
}
--
- - - - - - - - - - - - - - - - - - - -
Pieter Claassen
Musmato B.V.
e: pieter.claas...@musmato.com
t NL: +31 (20) 893 4337
t ZA: + 27 (0) 81 826 8166
w: http://musmato.com
- - - - - - - - - - - - - - - - - - - -
resizeHeight, int
resizeWidth);
}
public MyResizableBehavior
setStopEvent(MyResizableBehavior.AjaxResizeStopCallback callback){
setEventListener(callback);
return this;
}
}
--
- - - - - - - - - - - - - - - - - - - -
Pieter Claassen
Musmato
resizableBehavior.setStopEvent(JsScopeUiEvent.quickScope(alert();));
On Mon, Jan 28, 2013 at 8:28 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi,
On Mon, Jan 28, 2013 at 7:45 AM, Pieter Claassen pie...@musmato.com
wrote:
This is a general best practice question. I am using wicket-jquery
further help you somehow.
On Wed, Jan 30, 2013 at 2:46 PM, Pieter Claassen pie...@musmato.com
wrote:
Ernesto/Sebastien,
I am stuck :-(
Firstly, thanks for the resizablePanel in wicket-jquery-ui, but I have to
hold off until this code is implemented in a behavior since my
){
setEventListener(callback);
return this;
}
}
On Wed, Jan 30, 2013 at 3:15 PM, Pieter Claassen pie...@musmato.com wrote:
Ernesto,
I cannot find any code in wiquery-6.2.0. that hooks into the stopEvent.
The example you provided seems to still force a round trip on any change
not a big deal, I will look at this tonight...
Are you using Wicket 1.5.x or 6.x?
Thanks best regards,
Sebastien.
On Mon, Jan 28, 2013 at 7:45 AM, Pieter Claassen pie...@musmato.com
wrote:
This is a general best practice question. I am using wicket-jquery-ui
because I don't seem to be able
) //removes jquery ui library
this.setJavaScriptLibrarySettings(settings);
Hope this helps,
Sebastien.
On Mon, Jan 28, 2013 at 10:31 AM, Pieter Claassen pie...@musmato.com
wrote:
Hi Sebastian,
Thanks. Wicket 6.5 is what I am using.
As to your question:
I am referring to the fact
I have multiple panels on a page, each once constructed as follows:
* public EditableQuestionPanel(String id, final QuestionBaseWebModel
questionBaseWebModel, final TemplateWebModel templateWebModel, final
QuestionEditPanel panel) {*
*super(id);*
*Options options = new Options();*
at 5:19 PM, Pieter Claassen pie...@musmato.com
wrote:
I have multiple panels on a page, each once constructed as follows:
* public EditableQuestionPanel(String id, final QuestionBaseWebModel
questionBaseWebModel, final TemplateWebModel templateWebModel, final
QuestionEditPanel panel
This is a general best practice question. I am using wicket-jquery-ui
because I don't seem to be able to find a resizable panel in the
internal wicket ajax widgets.
1. Is there no problem loading new jquery libraries over the wicket
implementation? What is best practice?
2. I am looking for a way
The problem goes away when I remove the generics but then I also lose the
type checking.
Any suggestions?
Thanks,
Pieter
--
- - - - - - - - - - - - - - - - - - - -
Pieter Claassen
Musmato B.V.
e: pieter.claas...@musmato.com
t: +31 877 848259
w: http://musmato.com
- - - - - - - - - - - - - - - - - - - -
I find that when I delete objects from my ListView, my model object for the
ListView still contains a reference to the object. When the view tries to
render, the object is already removed from the database and I get a null
response on my hibernate load(). I use opensessioninview and when I check
No, my DAO's inherit from HibernateDaoSupport and I just go with the
defaults.
Regards,
Pieter
On Fri, Jun 25, 2010 at 2:22 PM, James Carman ja...@carmanconsulting.comwrote:
How are you managing transactions?
On Fri, Jun 25, 2010 at 7:27 AM, pieter claassen
pieter.claas...@gmail.com wrote
and
make sure the different DOAs use the right txManager.
Regards,
Pieter
On Fri, Jun 25, 2010 at 3:30 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
yeah and grabbig from the dao each time right?
2010/6/25 pieter claassen pieter.claas...@gmail.com
Nino,
No, in this case, I
I try to bootstrap my MySQL database during the wicket application strartup
but get the following error with a bootstrap method in my
wicketapplication.java. How should I best get hold of a transaction during
my wicket startup or if this is not possible, what is the most appropriate
alternative?
I want to test the following:
1. Whether I have any private members stored on my pages that are not
a primitive java type, or IModel
2. If they are IModels, that I do call onDetach() on them.
Reflection helps me to answer the 1st question but the second one baffles
me. Any tips on how to verify
My unit tests stopped working (I failed to notice :-()
I am on wicket 1.4.1
junit 3.8.2
maven
Any help appreciated. Is this a classpath issue?
Rgds
Pieter
This is my errror:
Test set: com.musmato.wicket.pages.AuthHomePageTest
);
tester.setupRequestAndResponse();
WicketSession session = (WicketSession) tester.getWicketSession();
session.setUser(user);
}
--
Pieter Claassen
musmato.com
Thanks, that worked.
P
On Wed, Dec 16, 2009 at 10:14 AM, pieter claassen pie...@claassen.co.ukwrote:
My unit tests stopped working (I failed to notice :-()
I am on wicket 1.4.1
junit 3.8.2
maven
Any help appreciated. Is this a classpath issue?
Rgds
Pieter
This is my errror
());
target.addComponent(replacement);
}
--
Pieter Claassen
musmato.com
.
Regards,
Pieter
On Mon, Nov 23, 2009 at 1:34 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
What is in draggablebehavior? That might be the problem.
**
Martin
2009/11/23 pieter claassen pie...@claassen.co.uk:
The code below works but the moment that I set my
? That might be the problem.
**
Martin
2009/11/23 pieter claassen pie...@claassen.co.uk:
The code below works but the moment that I set my questioneditorpanel
as
invisible to start with (even with the
setOutputMarkupPlaceholder(true)),
the the draggable behavior stops working. I
groupIdorg.wicketstuff/groupId
artifactIdjquery/artifactId
version${wicket.version}-SNAPSHOT/version
/dependency
--
Pieter Claassen
musmato.com
Hi Sven, I am trying to implement your changes, but am not sure what you
mean:
I have 3 panels in a page
(QuestionCompletePage
-QuestionCompletePanel-CompletableQuestionPanel-QuestionNavigationPanel).
However, QuestionNavigationPanel, that contains my AjaxLink, belongs to two
execution paths (it
Has anybody recently made the JQuery slider implementation or or even just
ran the demo? I don't get Ajax debug info in my debug window and no data
makes it back to onChange().
Thanks,
Pieter
I would like to implement a slider to set the width of a component.
I could not get the Dojo Slider implementation working with wicket 1.4.1 (I
could not get the code in with maven even though the Dojo project built from
SVN, it just doesn't seem to contain the Slider class anymore).
My thinking
/
span wicket:id=slider/
/span
On Wed, Nov 18, 2009 at 1:51 PM, Martin Grigorov mcgreg...@e-card.bgwrote:
check wicketstuff-jquery
there is a slider behavior + demo
On Wed, 2009-11-18 at 13:04 +0100, pieter claassen wrote:
I would like to implement a slider to set
Hi Guys,
Here is a blog entry on how I update listviews in listviews with Ajax.
http://skeptical-inquirer.blogspot.com/2009/11/updating-listview-in-listview-with-ajax.html
I would appreciate any comments to help me improve this pattern.
Cheers,
Pieter
-20091110.07192) installed (I am
using wicket 1.4.1)
Any suggestions?
Rgds,
Pieter
On Wed, Nov 18, 2009 at 1:51 PM, Martin Grigorov mcgreg...@e-card.bgwrote:
check wicketstuff-jquery
there is a slider behavior + demo
On Wed, 2009-11-18 at 13:04 +0100, pieter claassen wrote:
I would like
15, 2009 at 6:56 AM, pieter claassen
pieter.claas...@gmail.com
wrote:
Hi Pedro,
Here it is.
So, I basically move the question up or down the array.
public void moveQuestionUp(QuestionBase question) {
int idx = questions.indexOf(question);
if (idx 0
Can anybody please enlighten me why this doesn't work (ok end of the day,
maybe it really is something small). I am clearly changing the underlying
model data, but how to tell questionEditPanel to pick that change up. I
tried setDefaultModel(new TemplateWebModel(template)),
to find a way to reload the
data for the listview, from within my panel on a page.
Cheers,
Pieter
On Sun, Nov 15, 2009 at 12:14 AM, Pedro Santos pedros...@gmail.com wrote:
Can you send the moveQuestionUp implementation?
On Sat, Nov 14, 2009 at 9:03 PM, pieter claassen pieter.claas...@gmail.com
a way to reload the
data for the listview, from within my panel on a page.
Cheers,
Pieter
On Sun, Nov 15, 2009 at 12:14 AM, Pedro Santos pedros...@gmail.com wrote:
Can you send the moveQuestionUp implementation?
On Sat, Nov 14, 2009 at 9:03 PM, pieter claassen pieter.claas...@gmail.com
wrote
);
tf.store(template);
}
};
--
Pieter Claassen
musmato.com
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
at 5:19 AM, pieter claassen pieter.claas...@gmail.com
wrote:
I have a link on a panel that is included in many pages. When the user
clicks on the link, I change something in the user settings that will
affect what gets displayed on the page. However, for that to work, I
need to reload the page
pedros...@gmail.com wrote:
I tried setResponsePage(getPage()) but the problem is it does not
re-render controls on the page.
Where do you implement your control ( update logic )? Consider do it
overriding Component.onBeforeRender method
On Tue, Nov 10, 2009 at 10:03 AM, pieter claassen
something
to be dynamic you have to program it to be dynamic.
Best,
Ernesto
On Tue, Nov 10, 2009 at 1:20 PM, pieter claassen pieter.claas...@gmail.com
wrote:
Both of the suggestions I think requires me to modify the logic of the
controls (either to keep track of which ones need to be updated
,
Ernesto
On Tue, Nov 10, 2009 at 1:20 PM, pieter claassen
pieter.claas...@gmail.com
wrote:
Both of the suggestions I think requires me to modify the logic of the
controls (either to keep track of which ones need to be updated or by
placing the rendering logic in onBeforeRender()). I think
://www.systemworks.be
--
Pieter Claassen
musmato.com
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
/ modifying some Accounts.
(So, in other words, the user can always 'Cancel' his actions...
On Tue, Nov 10, 2009 at 9:16 PM, pieter claassen pieter.claas...@gmail.com
wrote:
Hi Pieter,
I don't use Hibernate, but db4o. The principle however might help you.
I inject my factory methods
--
Pieter Claassen
musmato.com
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I have a link on a panel that is included in many pages. When the user
clicks on the link, I change something in the user settings that will
affect what gets displayed on the page. However, for that to work, I
need to reload the page after the user clicked on the link as by
default the other
I am sure I am doing something very silly here but
When I add the following AttributeModifier in my onBeforeRender()
method, the solution works as expected (so I load an image that
indicates that this page is selected)
icon.add(new AttributeModifier(this.src='
, null, true, new
I am sure I am doing something very silly here but
When I add the following AttributeModifier in my onBeforeRender() method,
the solution works as expected (so I load an image that indicates that this
page is selected)
icon.add(new AttributeModifier(this.src=', null, true, new
Objelean
pieter claassen-2 wrote:
Ok, but I have a panel and I want to add an Image to the panel but
when
I
log into my application I get the ../../.. prefix, and the
ResourceReference
then fails. However, once I click on any link, the prefix disappears
and
then my panel can
remove the parameters from the url and mess
this up... The real problem is when you are trying to build an absolute url
for a ResourceReference. If this is indeed the reason of the problem, we
should raise a jira issue...
Alex Objelean
pieter claassen-2 wrote:
Ok, but I have a panel and I
WHen I start my application, my urlFor() returns a different URL than when I
call it a second time?
ResourceReference iconref = new ResourceReference(anchorclass,
iconname);
System.out.println(URL: +urlFor(iconref));
First time it returns:
URL:
between the two urls is the ../../.. prefix
On Oct 27, 2009, at 11:05 AM, pieter claassen wrote:
WHen I start my application, my urlFor() returns a different URL than when
I
call it a second time?
ResourceReference iconref = new ResourceReference(anchorclass,
iconname
I have an abstract class that adds a ListView to the page in the
constructor. In the constructors of my children, I would like to set some of
the rows in the ListView invisible. How do I reach the Wicket Components
that were added to a ListView from outside the Listview.
e.g.
public abstract
not need to introduce
weaving and that Wicket will make sure you have a serialisable proxy
injected.
Regards - Cemal
jWeekend
OO Java Technologies, Wicket Training and Development
http://jWeekend.com
Pieter Claassen wrote:
I am using maven, spring 2.5.6, wicket 1.4 and am trying to inject
constructor-arg
ref bean=appConfig /
/constructor-arg
/bean
.
bean id=TemplateFactory class=com.musmato.dao.TemplateFactory
property name=client ref=appDataSource /
/bean
--
Pieter Claassen
musmato.com
and slf4j/log4j in
production?
P
On Mon, Jul 27, 2009 at 7:35 PM, Maarten Bosteels
mbosteels@gmail.comwrote:
a) Where does the log4j.properties file for your webapp reside ?
b) Do you have a log4j.jar in WEB-INF/lib/ ?
M.
On Mon, Jul 27, 2009 at 4:45 PM, pieter claassen
pieter.claas
log4j.appender.R.layout.ConversionPattern=%p %t %c - log file%m%n
On Mon, Jul 27, 2009 at 12:00 PM, Maarten Bosteels
mbosteels@gmail.comwrote:
On Fri, Jul 24, 2009 at 3:47 PM, pieter claassen pie...@claassen.co.uk
wrote:
I think that slf4j is not working in my setup and it might have nothing
to
do with Tomcat
log4j.logger.org.apache.wicket=INFO
log4j.logger.org.apache.wicket.protocol.http.HttpSessionStore=INFO
log4j.logger.org.apache.wicket.version=INFO
log4j.logger.org.apache.wicket.RequestCycle=INFO
--
Pieter Claassen
.
log4j.category.org.apache.wicket.protocol.http.RequestLogger=INFO
Any ideas?
Thanks,
Pieter
On Fri, Jul 24, 2009 at 9:22 AM, pieter claassen pie...@claassen.co.ukwrote:
I am trying to get my application to log to a separate file with the
following log4j.properties (server is tomcat6 in netbeans
http://www.openroadsconsulting.com
_
From: pieter claassen [mailto:pie...@claassen.co.uk]
To: users@wicket.apache.org
Sent: Fri, 24 Jul 2009 05:04:03 -0400
Subject: Re: log4j question with wicket
There seems to be something broken in wicket here.
Logger.getRootLogger().info(AUTHPAGE
and tomcat. Does anybody have
slf4j-1.5.6 working with log4j-1.2.14?
I am stumped?!
P
On Fri, Jul 24, 2009 at 9:22 AM, pieter claassen pie...@claassen.co.ukwrote:
I am trying to get my application to log to a separate file with the
following log4j.properties (server is tomcat6 in netbeans). I
(feedback));
if (getUser() == null) {
redirectToInterceptPage(new LoginPage());
} else {
authorized();
add(new UserAdminPanel(adminpanel));
}
}
--
Pieter Claassen
musmato.com
redirect a page once. Anyhow, I am sure that redirectTo
will not remember the redirector URL.
Thanks
Pieter
On Thu, Jul 23, 2009 at 11:36 AM, pieter claassen pie...@claassen.co.ukwrote:
What is the correct way to redirect to a login page from within a
constructor. This is wicket 1.3.5
redirecTo to
tell
me that I can only redirect a page once. Anyhow, I am sure that
redirectTo
will not remember the redirector URL.
Thanks
Pieter
On Thu, Jul 23, 2009 at 11:36 AM, pieter claassen pie...@claassen.co.uk
wrote:
What is the correct way to redirect to a login page
To clear the clutter in my form, I have a number of subforms hidden behind
toggle links. However, I find that if I toggle these subforms visible using
subform.setVisble(true), then I lose my contents of the rest of the controls
on the main page.
Any tips on how to force retain the already entered
For additional commands, e-mail: users-h...@wicket.apache.org
--
Pieter Claassen
musmato.com
I am obviously doing something wrong here.
On my wicket pages, I am trying to set the Model with setModel()
e.g.setModel(new CompoundPropertyModel(new Treatment()));
On the components (forms, panels etc.) contained on that page, I try
to retrieve the object with getModelObject() or
that the approach below doesn't always work in wicket.
Thanks for the feedback so far.
Pieter
On Thu, Feb 12, 2009 at 11:20 PM, pieter claassen pie...@claassen.co.ukwrote:
Just to make sure I understand this correctly.
1. Line 2: By storing an IModel mywebmodel that nulls the object reference
onDetach
Is there a simple answer for how to get a reference from a panel to the
holding page that is available at compile time (something other than
getPage() on beforeRender())?
Thanks,
Pieter
and use MyPage.this.
-igor
On Fri, Feb 13, 2009 at 6:14 AM, pieter claassen pie...@claassen.co.uk
wrote:
Is there a simple answer for how to get a reference from a panel to the
holding page that is available at compile time (something other than
getPage() on beforeRender())?
Thanks
Listviews with Links in them, sometimes fail to retrieve the object in the
onClick() method the first time around. When I reload the page, the code
works fine.
Here is a test. In the listview below, I load the page and in the listview
loop code, I correctly retrieve the item. Note that in the
:06 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Where do you set the value first?
**
Martin
2009/2/12 pieter claassen pie...@claassen.co.uk:
Listviews with Links in them, sometimes fail to retrieve the object in
the
onClick() method the first time around. When I reload
() ));
}
});
-igor
On Thu, Feb 12, 2009 at 5:57 AM, pieter claassen pie...@claassen.co.uk
wrote:
Listviews with Links in them, sometimes fail to retrieve the object in
the
onClick() method the first time around. When I reload the page, the code
works fine.
Here is a test. In the listview below, I
Just to make sure I understand this correctly.
1. Line 2: By storing an IModel mywebmodel that nulls the object reference
onDetach(), on my webpage, is ok for serialiazation?
2. Line 8: When I cast the IModel to MyObject, is there a way to make this
more safe at compile time?
3. Line 8: object is
I am trying to move a form from an inner class that extends Form to a public
class. This is so that I can override the onSubmit() method of my form.
Below are my files.
When I add the form to a wicket page with
add(new TemplateEditForm(templateeditform, templatemodel));
and the corresponding
in
the panel's markup.
http://wicketstuff.org/wicket13/signin/?wicket:bookmarkablePage=:org.apache.wicket.examples.signin.SignIn
Ryan Gravener
http://ryangravener.com/flex | http://twitter.com/ryangravener
On Wed, Feb 11, 2009 at 9:40 AM, pieter claassen pie...@claassen.co.uk
wrote:
I am
is the problem of having the form as an inner class?
public class mypage extends webpage {
private class myform extends form {
...
}
public mypage() {
add(new myform(..) { protected void onsubmit() {...}});
}
}
-igor
On Wed, Feb 11, 2009 at 6:40 AM, pieter claassen pie
igor.vaynb...@gmail.comwrote:
when you click the back button you go to a previous version of the
page (a snapshot as it existed when rendered). in that version the id
inside the model is still null.
-igor
On Thu, Jan 22, 2009 at 10:48 AM, pieter claassen
pieter.claas...@gmail.com wrote
I am using wicket 1.3.5 and db4o 7.4.63.11890.
My objects are being passed between pages using a subclass of
LoadableDetachableModel (see below)
My problem is:
1. I edit an object on PageA
2. I use the back button and then re-submit the form I edited and now I have
two objects in the database.
framework.
On Thu, Jan 22, 2009 at 5:44 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
notice the deatch() implementation
-igor
On Thu, Jan 22, 2009 at 8:05 AM, pieter claassen pie...@claassen.co.uk
wrote:
I am using wicket 1.3.5
Adriano, that worked, thanks!!
Why did it work?
Cheers,
Pieter
On Wed, Dec 17, 2008 at 12:11 AM, Adriano dos Santos Fernandes
adrian...@uol.com.br wrote:
pieter claassen wrote:
I am trying to write a menu that formats the link nicely for the page I am
on. So far, the novomatic tut helped
I am trying to write a menu that formats the link nicely for the page I am
on. So far, the novomatic tut helped the most, but there is no detail on how
to customize the implementation.
My strategy is to determine which page I am on and then to set an attribute
on the link and format it with css.
What is the most effective way to get the documentation available offline
for wicket 1.3.5 in Eclipse. I notice that mvn eclipse:eclipse
-Ddownloadsources=true does not give javadocs.
Regards,
Pieter
() produces an ArrayList.
The arraylist works when there is only 1 item in it but when I have
more than 1 item, it fails with the ClassCastException. Is this a
wicket problem or am I doing something wrong?
Regards,
Pieter
pieter claassen
[EMAIL PROTECTED
to a List. Everyone is using ListView and it cannot be
broken this
way :)
Pieter Claassen wrote:
I am getting a classcast exception in ListView that is stumping me.
This is the error message (top few lines)
WicketMessage: Error attaching this container for rendering:
[MarkupContainer [Component
in it
which is not of the type QuestionAndAnswer
try iterating through the list and logging the class name of each
item in it
Dipu
On Thu, Oct 23, 2008 at 9:46 AM, pieter claassen [EMAIL PROTECTED]
wrote:
I am getting a classcast exception in ListView that is stumping me
, pieter claassen [EMAIL PROTECTED]
wrote:
Hi Dipu,
I tried that but when I do the following:
protected void populateItem(ListItem item) {
System.out.println(+++ +
item.getModelObject().getClass().getName());
final QuestionAndAnswer
a QuestionAndAnswer.
Are you looking at the correct ListView (i.e. are there more ListView
s on your page)?
Martijn
On Thu, Oct 23, 2008 at 11:55 AM, Dipu [EMAIL PROTECTED]
wrote:
pass , sorry i have no clue
On Thu, Oct 23, 2008 at 10:37 AM, pieter claassen [EMAIL PROTECTED]
wrote:
Ok, I added;
public
that template.getQuestions() produces an
ArrayList.
The arraylist works when there is only 1 item in it but when I have
more than 1 item, it fails with the ClassCastException. Is this a
wicket problem or am I doing something wrong?
Regards,
Pieter
pieter claassen
[EMAIL PROTECTED
87 matches
Mail list logo