Hi all,
I'm addicted to Wicket for years, and recently became interested in Scala
(a bit late? ;-)). Can anyone help me out where to start with integrating
the two? There are some posts about it on the list, but they're all pretty
outdated...
Regards,
--
Martijn Lindhout
Hi All,
I created a MasterDetailView, with a MasterView and a DetailView. In code:
add(new MasterDetailView(markupId, new MembersTable(), new MemberForm());
MembersTable is a subclass of MasterView and MemberForm of DetailView.
The detailview uses PropertyModels, new PropertyModel(model,
A
On Wed, Aug 19, 2009 at 5:01 PM, Martijn Lindhout
mlindh...@jointeffort.nlwrote:
Here's how I did it:
Java
public class VideoPlayer extends Panel {
public VideoPlayer(String id, final Bedrijf bedrijf, final Video
video) {
super(id);
add(new
you.
--
Martijn Lindhout
* 06 - 18 47 25 29
* mlindh...@jointeffort.nl
* http://www.jointeffort.nl
Hi All,
I almost finished 2 Wicket sites succesfully without any problems, and
now I'm busy with a third one... but I'm lost... and can't find a
solution in the list so far...
I have a submitlink in a listview, together with several input fields
(zie HTML below). In code I have:
item.add(new
Here's how I did it:
Java
public class VideoPlayer extends Panel {
public VideoPlayer(String id, final Bedrijf bedrijf, final Video video)
{
super(id);
add(new WebComponent(player){
@Override
protected void
shame on me when I copied the raw html from the designers into my
page, I forgot to remove a 'dummy' form object, so there was a nested
form
2009/8/19 Martijn Lindhout mlindh...@jointeffort.nl:
Hi All,
I almost finished 2 Wicket sites succesfully without any problems, and
now I'm busy
Hi all,
I searched nabble, but couldn't find any recent posts that brought me a
solution to this problem:
I have a page with two panels, a master/detail setup. The master has a list
of items, the detail a TinyMCE editor. The details panel is invisible until
the user clicks an item in the master
Hi all,
Has anyone a running setup of Wicket/Seam on Tomcat. No EJB's, just JPA.
I get a string ClassNotFoundException on a class that is present in
WEB-INF/classes
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
-proxy.html
but don't know if this is the same problem.
Any ideas?
Wicket: 1.4-m2 (tested on 1.3.3 as well)
Tomcat: 6.0.14
JRE: 1.6.0_04-b12
Linux: 2.6.21-1.3194.fc7
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http
.
It's like Martijn describes, but for shared resources.
Cheers
Peter
Am 29.05.2008 um 16:24 schrieb Martijn Lindhout:
Where do you want to use REST for in your app? I use some REST url's in
mij
application using the IndexedParamUrlCodingStrategy (of course REST is
far
more than URL's only
some basepage that is
suitable to contain more than one functional part of your application?
Or just create page by page?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
://cwiki.apache.org/WICKET/markup-inheritance.html
Maurice
On Fri, May 2, 2008 at 12:36 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Hi,
My web app background is from page oriented frameworks, and now while
using wicket, I find myself creating pages over and over.
I think I can miss
do I achieve this?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
for this whole idea of requiring subclassing
to get your work done. Is there no way to make things more pluggable?
Perhaps use the decorator design pattern?
On Thu, Apr 10, 2008 at 4:10 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
If I remember well, Wasp/Swarm needs its own WebRequest
copy pasting a lot of code, So if you have a
better suggestion
Maurice
On Fri, Apr 11, 2008 at 9:30 AM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
I don't exactly where I saw it also, but James has a point. I like to
see
the things also more pluggable. I don't know if Wicket needs
.
2008/4/11, Maurice Marrink [EMAIL PROTECTED]:
On Fri, Apr 11, 2008 at 9:46 AM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Can't we implement 'something' using an interceptor chain? Extensions
can
register themselves in the Application#init() method. There might be a
chain
EVERY request an UploadWebRequest.
My two questions:
1. is this necessary / bad?
2. what if I need different types of requests in my application?
Thanx,
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
If I remember well, Wasp/Swarm needs its own WebRequest subclass?
2008/4/10, Igor Vaynberg [EMAIL PROTECTED]:
On Thu, Apr 10, 2008 at 12:34 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
My two questions:
1. is this necessary / bad?
no, it just adds some extra capability
Something like this: http://www.eclipse.org/swt/R3_1/spinner.png
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
the trick.
Gerolf
On Wed, Apr 9, 2008 at 2:00 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Something like this: http://www.eclipse.org/swt/R3_1/spinner.png
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
to another page, but
then Wicket complains about that it already is redirecting. I used
setReponsePage, RequestCycle.redirect, etc...
How do I fix this?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
(sessionId);
}
};
}
How do I do this?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
thanx, that's a simple one!
2008/3/17, Johan Compagner [EMAIL PROTECTED]:
keep track of all the sessionids that have logged in in an List that you
keep on your Application object.
On Mon, Mar 17, 2008 at 9:10 PM, Martijn Lindhout
[EMAIL PROTECTED]
wrote:
Hi all,
In my
Hi All,
How do I mount a friendly URL with a dynamic last part. I.e. I want the
following URL's to be handled by a profile page which contents depends on
the last part. Is this possible?
http://localhost/myApp/profile/wsmith
http://localhost/myApp/profile/stiger
--
Martijn Lindhout
JointEffort
thanx!
2008/2/27, Thomas Kappler [EMAIL PROTECTED]:
Hi Martjin,
Nathan has implemented that in his Recipe Book example app:
http://databinder.net/recipe. Have a look at the first constructor of
RecipeBook.
Thomas
On Wed, Feb 27, 2008 at 4:31 PM, Martijn Lindhout
[EMAIL PROTECTED
eh... an extra question.
How do I enable the IndexedParamUrlCodingStrategy for only one page?
According to the docs, I have to override the method in the
requestCycleProcessor, but then it is active for all request
2008/2/27, Martijn Lindhout [EMAIL PROTECTED]:
thanx!
2008/2/27, Thomas
wow! It's really that simple.
thanx
2008/2/27, Gerolf Seitz [EMAIL PROTECTED]:
in MyWebApplication.init() {
mount(new IndexedParamUrlCodingStrategy(bla, MyPage.class));
}
Gerolf
On Wed, Feb 27, 2008 at 8:46 PM, Martijn Lindhout
[EMAIL PROTECTED]
wrote:
eh... an extra question
.
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
ok, thanx
2008/2/21, Igor Vaynberg [EMAIL PROTECTED]:
SpringWebApplication only helps if you are on jdk1.4 or cannot use
@SpringBean annotation.
-igor
On Thu, Feb 21, 2008 at 1:17 PM, Martijn Lindhout
[EMAIL PROTECTED] wrote:
Hi,
I read about Wicket-spring integration at
http
, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
. I see the model load, but when the
Hibernate POJO is sent back to the persistence layer, it contains all
unmodified fields
Do I need to take special actions when using forms inside TabbedPanels?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6
TextField(voornamen, new PropertyModel(getModel(),
nawGegevens.voornamen.value));
2008/2/15, Martijn Lindhout [EMAIL PROTECTED]:
Hi all,
I have two 'almost' identical situations, both are using a plain form
updating a simple Hibernate POJO. The same code is used for creating new
entities
pattern,
which I'm implementing now.
My question to you is: how do you approach this scenario?
2008/2/14, Nick Heudecker [EMAIL PROTECTED]:
I always use business objects as my model objects unless the data is some
form of aggregate, like a summary table.
--
Martijn Lindhout
JointEffort
stuff, but won't the adds/removes actually get persisted? If they
aren't, then why do you need the memento in the first place? You can
just reload the object from the database if you want to get back to
its pre-edit state?
On 2/14/08, Martijn Lindhout [EMAIL PROTECTED] wrote:
Hi Nick
(), and then put that in the session.
On Feb 11, 2008 11:44 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
ok. never used memento, so I picked the book and read about it. I'm not
sure
how to implement this. When do I retrieve a memento from the order? And
in
the meantime, while adding and removing
have to use a bean, and on confirm apply changes from the
bean to the persistent entity. the only other alternative i know of is
to use the long conversation pattern which i am not really a fan of.
-igor
On Feb 10, 2008 11:25 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
ok, that makes sense
.
-igor
On Feb 11, 2008 12:13 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
because I use the domain objects directly,. without any DTO's, I have to
use
the long conversation pattern. That means I have to store the domain
object
somewhere in the session and let the loadabledetachable model
:36 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
sounds interesting. Can you explain a bit more? How does this work for
example in an Order-OrderLine situation where you edit an existing order
by
adding and removing orderlines and finally do a commit or rollback?
2008/2/11, Scott Swank
as
well as with the change to generate e-mails, faxes, etc.
On Feb 11, 2008 10:06 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
I agree that it is *easier*, but I got bored by duplicating my domain
model
in a DTO like structure. And that's cumbersome.
I saw this hapening in several
directly to the
database, only at 'confirm'.
2008/2/9, Igor Vaynberg [EMAIL PROTECTED]:
the other constructor i presume is getting a persistent entity? so
hibernate/jpa will flush state back to db at the end of request, thats
why that works.
-igor
On Feb 9, 2008 11:08 AM, Martijn Lindhout
, and the FormComponent
values are not copied to the newly instantiated Employee. They're null.
I did some tests and it appears that on each panel switch, the Model.load is
called, and a new Employee is returned.
What's going wrong here
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
loadable
just do this
setModel(new CPM(new Employee()));
-igor
On Feb 9, 2008 10:45 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Hi,
I have a page, with those two constructors, the first for editing a new
employee, the second for editing an existing.
public EditEmployee
is not serializable it gives you
the entire object graph path to the object that is causing the problem,
so seeing the full exception would help debug the problem.
Regards,
Sebastiaan
Martijn Lindhout wrote:
Hi all,
I have this code in a Panel:
TextField name = new TextField(name
;
}
}
2008/2/8, Martijn Lindhout [EMAIL PROTECTED]:
Here it is:
ERROR - Objects- Error serializing object class
nl.je.obs.web.admin.medewerkers.EditMedewerker [object=[Page class =
nl.je.obs.web.admin.medewerkers.EditMedewerker, id = 3, version = 0
I solved it, it is the anonymous subclass of DatePicker. Because it is
defined in the decorator class, it belongs to it. I created a separate
DatePickerExt class that enables month/year selection.
2008/2/8, Martijn Lindhout [EMAIL PROTECTED]:
SOrry, it is the DateTextFieldDecorator that's
is not
serializable. But why? IMO it is not added to the component hierarchy. The
argument to the panel.add(...) method is the result of evaluating:
WidgetDecorator.decorate(name).from(person.getName(), which returns the
TextField widget.
Should I redo my Java programmers exam?
Thanx,
--
Martijn
I like that one with the ResourceReference. What about providing a setter on
the component, so that no subclassing is needed?
2008/1/23, Dmitry Kandalov [EMAIL PROTECTED]:
On Wednesday 23 January 2008 11:47:26 Martijn Lindhout wrote:
users need to open the jar, pick the right markup file
that makes sense.
2008/1/23, Eelco Hillenius [EMAIL PROTECTED]:
On Jan 23, 2008 1:12 AM, Dmitry Kandalov [EMAIL PROTECTED] wrote:
On Wednesday 23 January 2008 12:55:17 Martijn Lindhout wrote:
I like that one with the ResourceReference. What about providing a
setter
on the component, so
how do I reference such a CSS?
2008/1/23, Igor Vaynberg [EMAIL PROTECTED]:
heh, if its just a css reference then why have your component include
a default one at all? let the user style it however they like by
including their own css files.
-igor
On Jan 23, 2008 1:33 AM, Martijn Lindhout
besides subclassing the CartPanel component and
providing
a custom markup?
Regards,
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
-
To unsubscribe
, 2008 11:40 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
well, then the users of my the component need to know the internals of
the
component. That's not what I want, or at least reduce it to the minimum.
2008/1/23, Igor Vaynberg [EMAIL PROTECTED]:
whats wrong with subclassing
to write my own
LoadableModel
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
ok, and if the session isn't thread safe, where do I store my temporal data?
2008/1/21, Johan Compagner [EMAIL PROTECTED]:
The session. Because the property exp is used when you ask for the value
On 1/21/08, Martijn Lindhout [EMAIL PROTECTED] wrote:
you're right. It contains a shoppingcart
, Martijn Lindhout [EMAIL PROTECTED] wrote:
Hi all,
I wonder if this will work:
add(new CartPanel(cart, new PropertyModel(s, cart)));
where 's' is my app specific session, containing the method getCart()
which
checks the session for an existing cart, and if not found creates one
, new PropertyModel(this, session.cart
)));
Martijn
On 1/21/08, Martijn Lindhout [EMAIL PROTECTED] wrote:
ok, and if the session isn't thread safe, where do I store my temporal
data?
2008/1/21, Johan Compagner [EMAIL PROTECTED]:
The session. Because the property exp is used
' wicket app?
Regards,
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
do you mean this: http://www.jointeffort.nl/wicket/stuff.html
2008/1/19, Boon Aik Chew [EMAIL PROTECTED]:
How do I create a stream handler (like other request based web framework's
action) that response binary data? Using WebPage doesn't seem to be
appropriate.
--
Martijn Lindhout
getRequestCycle().urlFor(Page)
2008/1/18, Boon Aik Chew [EMAIL PROTECTED]:
For some reason I need to get URL of a page class inside WebApplication,
how
do I accomplish that?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
-tp14585070p14874795.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort
ok, you're right
2008/1/16, Timo Rantalaiho [EMAIL PROTECTED]:
On Wed, 16 Jan 2008, Martijn Lindhout wrote:
you could do a
svn checkout http://svn.apache.org/repos/asf/wicket/trunk
and
mvn install
Thanks, surely so, but I wouldn't want to do this all the
time neither on my own
_
Express yourself instantly with MSN Messenger! Download today it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
with MSN Messenger! Download today it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
Messenger! Download
today
it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
. In the
onUpdate, I check the model value. Depending on that value I modifiy the
visibility of the panels A and B and add both of them to the target. Point
is: the onUpdate isn't called.
What is the right way to do this?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL
(AjaxRequestTarget target) {
do something;
target.addComponent(panelA);
target.addComponent(panelB);
}
works fine for me.
cheers,
santiago
Martijn Lindhout wrote:
Hi all
I'm lost. I've tried all kinds of combinations to get the following
working
, Martijn Lindhout [EMAIL PROTECTED]
wrote:
When I do this, the underlying model object isn't updated. I used the
Wicket
Ajax Debug and see that the form isn't posted, so the modelobject
doesn't
change.
2008/1/14, SantiagoA [EMAIL PROTECTED]:
Hi,
what javascript method do
and it worked? if so i can commit it now and
you can use the snapshot build
-igor
On Jan 14, 2008 10:19 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
yep, you're right. Guess I'll have to wait till 1.3.1? ;-)
2008/1/14, Igor Vaynberg [EMAIL PROTECTED]:
could this be it?
https
]
2008/1/14, Igor Vaynberg [EMAIL PROTECTED]:
if you dont mind testing the patch that would be great...
-igor
On Jan 14, 2008 11:18 AM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Uh.. oh, I'm sorry. Do you mean if I changed
the tests still go boink like that.
Your jdk needs to be 1.5.
mf
Martijn Lindhout schrieb:
unfortunately, I got Maven build errors doing just a mvn install from a
'fresh' download. Any idea?
[surefire] Running org.apache.wicket.ajax.DomReadyOrderTest
7c7
/head]]/header
java -version
give you.
I think on version 1.6 the tests still go boink like that.
Your jdk needs to be 1.5.
mf
Martijn Lindhout schrieb:
unfortunately, I got Maven build errors doing just a mvn install
from a
'fresh' download. Any idea?
[surefire] Running
It works! Thanx a lot!
2008/1/14, Igor Vaynberg [EMAIL PROTECTED]:
how about this...
https://issues.apache.org/jira/browse/WICKET-1271
-igor
On Jan 14, 2008 12:46 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Igor,
I'm sorry, but could it be that the patch isn't visible to me? I
Lindhout [EMAIL PROTECTED]:
It works! Thanx a lot!
2008/1/14, Igor Vaynberg [EMAIL PROTECTED]:
how about this...
https://issues.apache.org/jira/browse/WICKET-1271
-igor
On Jan 14, 2008 12:46 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
Igor,
I'm sorry, but could
for you
-igor
On Jan 14, 2008 1:08 PM, Martijn Lindhout [EMAIL PROTECTED]
wrote:
It works! Thanx a lot!
2008/1/14, Igor Vaynberg [EMAIL PROTECTED]:
how about this...
https://issues.apache.org/jira/browse/WICKET-1271
-igor
On Jan 14, 2008 12:46 PM, Martijn
/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0
?
// or to any component in PanelA ?
}
};
Thanks,
Allan
--
The only constant in life is change.
- Original Message
From: Martijn Lindhout [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Monday, January 14, 2008 2:23:51 PM
Subject: Re: how to reference component
interface? Thanks
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL
of the
radiogroup but haven't been able to figure it out.
/Steen
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
, is
prohibited and may be unlawful.
**
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
(...) method is called on the AjaxButton. Do I have to do
something there to get the message displayed?
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
(feedbackPanel);
-- Edvin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47
Hi all,
I use a YUI DatePicker with a DateTextField (from wicket-datetime). By
default, I can only scroll by month. Is it possible to have a dopdown list
for the year?
Thanx,
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
[EMAIL PROTECTED]
+31 (0)6 18 47 25 29
85 matches
Mail list logo