Thanks John,
That is a great way of doing it.
On Tue, Jul 1, 2008 at 5:35 PM, John Krasnay [EMAIL PROTECTED] wrote:
I like to do this in my base page:
title wicket:id=titlefoo/title
protected IModel getPageTitleModel() {
return new ResourceModel(getClass().getSimpleName());
}
add(new
I ended up commenting loads of code and it turns out my Ajax link will quit
responding if it has something else after itself in the form. I got rid of
all the textfields that followed, and I got it to work. The troublesome
component is actually the ajax link, plus a textfield to input data, plus
I've been thinking about the way in which wicket is an MVC framework and
whether people use it according to the MVC pattern.
The MVC pattern is bastardized - especially when it comes to web
application frameworks - up to the point that it is hardly useful to
use the term. Everyone seems to have
On Tue, Jul 1, 2008 at 1:56 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
I've been thinking about the way in which wicket is an MVC framework and
whether people use it according to the MVC pattern.
The MVC pattern is bastardized - especially when it comes to web
application frameworks - up to
Okay, I've attached a patch that adds the maxlength html attribute.
On Tue, Jul 1, 2008 at 11:24 AM, Eelco Hillenius [EMAIL PROTECTED]
wrote:
On Tue, Jul 1, 2008 at 7:11 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
Do any of the core validators actually implement this interface?
Not yet I think,
Hi,
I will present Wicket at berlin.jar.
The presentation will be based on my presentation from october last year (with
some updates of course). I hope to see some of you around there! :-)
More infos on berlin.jar at http://berlin.jar.jug-bb.de/
Best regards, --- Jan.
Well, in Wicket the markup doesn't do much (which is a good thing)
besides layout. If you're correctly using CSS, the markup isn't even
responsible for the look (and feel).
I don't know if this qualifies it as a 'V' in MVC.
Sven
James Carman schrieb:
On Tue, Jul 1, 2008 at 1:56 PM, Eelco
On Tue, Jul 1, 2008 at 2:35 PM, Sven Meier [EMAIL PROTECTED] wrote:
Well, in Wicket the markup doesn't do much (which is a good thing) besides
layout. If you're correctly using CSS, the markup isn't even responsible for
the look (and feel).
I don't know if this qualifies it as a 'V' in MVC.
Igor, stop taking the piss...
What he means is: Wicket is *NOT* an MVC framework...
On Tue, Jul 1, 2008 at 2:35 PM, Sven Meier [EMAIL PROTECTED] wrote:
Well, in Wicket the markup doesn't do much (which is a good thing) besides
layout. If you're correctly using CSS, the markup isn't even
you mean taking a piss?
-igor
On Tue, Jul 1, 2008 at 11:42 AM, Rodolfo Hansen [EMAIL PROTECTED] wrote:
Igor, stop taking the piss...
What he means is: Wicket is *NOT* an MVC framework...
On Tue, Jul 1, 2008 at 2:35 PM, Sven Meier [EMAIL PROTECTED] wrote:
Well, in Wicket the markup
Hi, i have a table and a couple of pagination controls (links). Is there a
way of duplicate this links (i want the controls to be on top and bottom of
the table) without having to add two times the same links on the page and
without having to use different wicket:id for each link?
Thanks!
I second Matej here... maybe instead of GenericPanelT, GenericFragmentT,
etc. you could name it something more explicit. Some examples:
SingleModelPanelT
ModelBoundPanelT
It took me the better part of one day to convert a partially genericized
project (we started out with 1.3 then switched to
I too like this compromise alot
Although I don't see a good use case for generifying Link ?
Am I missing something?
On Fri, Jun 27, 2008 at 2:49 PM, Timo Rantalaiho [EMAIL PROTECTED]
wrote:
On Fri, 27 Jun 2008, Igor Vaynberg wrote:
since no one complained, should we apply this change over
no, there is no way to do that. this was a restriction imposed by our
ajax support. win some, lose some.
-igor
On Tue, Jul 1, 2008 at 11:49 AM, Manuel Corrales
[EMAIL PROTECTED] wrote:
Hi, i have a table and a couple of pagination controls (links). Is there a
way of duplicate this links (i
onPopulateItem(ItemUser item) {
add(new LinkUser(delete, item.getModel()) {
protected void onClick() { service.delete(getModelObject()); }
});
}
-igor
On Tue, Jul 1, 2008 at 11:51 AM, Rodolfo Hansen [EMAIL PROTECTED] wrote:
I too like this compromise alot
Although I don't see a
add (new LinkPerson(edit, person) {
public void onClick () {
setResponsePage (new EditPersonPage (getModel()));
}
});
This code makes a lot more sense if it is inside a repeater...
Rodolfo Hansen-2 wrote:
I too like this compromise alot
Although I don't see a good use case for
Isn't this a same thing:
onPopulateItem(final ItemUser item) {
add(new Link(delete) {
protected void onClick() { service.delete(item.getModelObject()); }
});
}
Joni
On Tue, 2008-07-01 at 11:56 -0700, Igor Vaynberg wrote:
onPopulateItem(ItemUser item) {
add(new LinkUser(delete,
joking about
On Tue, Jul 1, 2008 at 2:45 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
you mean taking a piss?
-igor
On Tue, Jul 1, 2008 at 11:42 AM, Rodolfo Hansen [EMAIL PROTECTED]
wrote:
Igor, stop taking the piss...
What he means is: Wicket is *NOT* an MVC framework...
On Tue,
I think stateless pages already do something like that. Also look at
hybrid url encoding that also preserves the bookmarkable url and makes
the url even prettier.
That's possible. I haven't yet made my way into 1.4 waters yet.
none of this is 1.4
In any case, even if this exists for
I wouldn't presume calling myself a maven guru :) but i recently build
an archetype myself too.
I wonder why you have to use resource in your archetype. i get that
your archetype is a maven multiproject but i don't see how using
resource is better then using source.
I am just guessing here but
Maurice Marrink wrote:
I wouldn't presume calling myself a maven guru :) but i recently build
an archetype myself too.
Any feedback highly appreciated..:)
I wonder why you have to use resource in your archetype. i get that
your archetype is a maven multiproject but i don't see how using
Wouldn't it be better to leave the generic part to this reusable link
then? Why 'pollute' all links with a generic parameter?
Back to your definition:
(1) only components that use their model have a generic type
(components you are likely to call getmodel/getmodelobject on as a
user).
What
Created the jira issue https://issues.apache.org/jira/browse/WICKET-1724 with
a quickstart
Initially got it to work by using HyBridURLCodingStrategy with which the
issue wasnt occuring, but then later on for some other issues with using
HUCS was to forced to use QSUCS again and the problem still
the question here is: do most people use the model in the Link or not?
when you use compound property model in conjunction with form
components you never call getmodel/object() on those either. what now?
not generify form components? i dont think a strict criteria will
work.
some components fall
Thanks for the follow up Maurice, so i just checked for
AutomaticMultiWindowSupport and turns out its not turn on, now what does
that signify, shouldnt it be turned out automatically ? Also just for info,
havent really changed any setting relating to the session-store and using
whatever is
A possible added bonus to this that it *might* be possible to catch a session
expired, and re-login to the bookmarkable page.
--
View this message in context:
http://www.nabble.com/-PROPOSAL--Use-path-in-URL-when-target-is-instance-of-BookmarkablePageRequestTarget-tp18188845p18228914.html
Sent
On Tue, 01 Jul 2008, Matej Knopp wrote:
There is one thing that helped me quite a lot when migration the
project I'm working out. I've created GenericPanel,
GenericWebMarkupContainer and GenericFragment classes. In most cases
the only change was renaming PanelMyClass to GenericPanelMyClass.
On Tue, 01 Jul 2008, ezegb wrote:
I ended up commenting loads of code and it turns out my Ajax link will quit
responding if it has something else after itself in the form. I got rid of
all the textfields that followed, and I got it to work. The troublesome
component is actually the ajax link,
On Tue, 01 Jul 2008, Manuel Corrales wrote:
Hi, i have a table and a couple of pagination controls (links). Is there a
way of duplicate this links (i want the controls to be on top and bottom of
the table) without having to add two times the same links on the page and
without having to use
Guys,
I am facing this issue (with Safari/IE) with the usage of AjaxLink when used
on a page mounted though any of the
BookmarkablePageRequestTargetUrlCodingStrategy extensions
To be precise i get a NullPointerException (in
BookmarkableListenerInterfaceRequestTarget.processEvents) when
Guys,
I am facing this issue (with Safari/IE) with the usage of AjaxLink when used
on a page mounted though any of the
BookmarkablePageRequestTargetUrlCodingStrategy extensions
To be precise i get a NullPointerException (in
BookmarkableListenerInterfaceRequestTarget.processEvents) when clicking
I am trying to have the title of a given page, populated from the code.
HTML:
==
html
head
titlewicket:id=mysiteName/title
/head
body
strongHomepage/strong
br /
br /
span wicket:id=messagemessage will be here/span
/body
/html
Java: (HomePage.java only)
=
public class HomePage extends
Let me also add that 1 out of 5 times, it works fine as expected, i.e. the
SessionExpiry page is shown.
mfs wrote:
Guys,
I am facing this issue (with Safari/IE) with the usage of AjaxLink when
used on a page mounted though any of the
BookmarkablePageRequestTargetUrlCodingStrategy
not unless you are planning on keeping any existing query params in
the url for the duration of the entire session, a lot of bookmarkable
pages need context.
once again, i dont see what this offers over the hybrid strategy.
-igor
On Tue, Jul 1, 2008 at 7:05 PM, Ned Collyer [EMAIL PROTECTED]
title wicket:id=mysiteName[title will be here]/title
just like the span...
-igor
On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinha [EMAIL PROTECTED] wrote:
I am trying to have the title of a given page, populated from the code.
HTML:
==
html
head
titlewicket:id=mysiteName/title
/head
once again, i dont see what this offers over the hybrid strategy.
Maybe you can correct me if I'm wrong here...
The hybrid stategy is only applied when the target is an
IBookmarkablePageRequestTarget. So, for normal bookmarkable pages, there
is no problem, like you say.
The issue only arises
Yup dependancy on id's are in a hierachy:)
Timo Rantalaiho wrote:
On Tue, 01 Jul 2008, Manuel Corrales wrote:
Hi, i have a table and a couple of pagination controls (links). Is there a
way of duplicate this links (i want the controls to be on top and bottom of
the table) without having to
Thanks Igor. That works.
Thanks Apache Wicket team once again for a wonderful framework.
On Wed, Jul 2, 2008 at 12:37 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
title wicket:id=mysiteName[title will be here]/title
just like the span...
-igor
On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinha
I think stateless pages already do something like that. Also look at
hybrid url encoding that also preserves the bookmarkable url and makes
the url even prettier.
On 6/30/08, David Leangen [EMAIL PROTECTED] wrote:
Currently, when a target is an instance of
IListenerInterfaceRequestTarget, the
I am a newuser using wicket. I have been facing this problem since a week.
I'm in serious trouble. Whenever i make any changes in my code in netbeans
the changes i have made doesn't works until i restart netbeans. After
restarting my netbeans the changes that i have made in my code works.
For
Hello,
I've put my wicket app in production for a bit more than a month now.
Yesterday, I tried to see what is in the logs. I see a lot of stacktrace
like this:
org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interface = :57:container1:link1
at
In my itemList class I set the response page like this.
setResponsePage( new ItemPage( parameters, ItemListPage.this ) );
Now the ItemListPage.this is for back travelling and to get the background
from the list class. Is it possible to make the itemPage bookmarkable?
--
View this message in
On Tue, 2008-07-01 at 02:50 -0700, Mathias P.W Nilsson wrote:
In my itemList class I set the response page like this.
setResponsePage( new ItemPage( parameters, ItemListPage.this ) );
Now the ItemListPage.this is for back travelling and to get the background
from the list class. Is it
Are you running in debug mode? Did you try to restart the server?
On Tue, Jul 1, 2008 at 9:58 AM, Sushant [EMAIL PROTECTED] wrote:
I am a newuser using wicket. I have been facing this problem since a week.
I'm in serious trouble. Whenever i make any changes in my code in netbeans
the
You have to make the project to compile the changed classes.
Martijn
On Tue, Jul 1, 2008 at 12:09 PM, Thomas Mäder [EMAIL PROTECTED] wrote:
Are you running in debug mode? Did you try to restart the server?
On Tue, Jul 1, 2008 at 9:58 AM, Sushant [EMAIL PROTECTED] wrote:
I am a newuser
There is one thing that helped me quite a lot when migration the
project I'm working out. I've created GenericPanel,
GenericWebMarkupContainer and GenericFragment classes. In most cases
the only change was renaming PanelMyClass to GenericPanelMyClass.
I was wondering, even though those classes
Thanks, but this what not what I meant
My ItemPage takes the ItemListPage as a parameter in the constructor so that
I can go back to the
exact location I were before.
Now If I want to use the Item as a bookmarkable page, how can this be
achieved with a reference to ItemListPage?
--
View this
Hi guys,
I've been thinking about the way in which wicket is an MVC framework and
whether people use it according to the MVC pattern.
Wikipedia has this to say:
Model
The domain-specific representation of the information on which the
application operates. Domain logic adds meaning to raw
Hi,
Is there a special header contributer for title/title ?
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
nope. just use:
title wicket:id=title/title
add(new Label(title, Hello, World!));
On Tue, Jul 1, 2008 at 2:28 PM, Eyal Golan [EMAIL PROTECTED] wrote:
Hi,
Is there a special header contributer for title/title ?
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
yeah, but what if I have a markup inheritance?
I then must use wicket:head ... don't I ?
On Tue, Jul 1, 2008 at 3:34 PM, Martijn Dashorst [EMAIL PROTECTED]
wrote:
nope. just use:
title wicket:id=title/title
add(new Label(title, Hello, World!));
On Tue, Jul 1, 2008 at 2:28 PM, Eyal Golan
Do any of the core validators actually implement this interface?
I have an issue filed in JIRA for the StringValidator.maximumLength()
validator to append the maxlength HTML attribute to form components.
https://issues.apache.org/jira/browse/WICKET-1310
This seems like a perfect place to
only if you define the title wicket:id=foo/title in your sub pages.
Martijn
On Tue, Jul 1, 2008 at 2:36 PM, Eyal Golan [EMAIL PROTECTED] wrote:
yeah, but what if I have a markup inheritance?
I then must use wicket:head ... don't I ?
On Tue, Jul 1, 2008 at 3:34 PM, Martijn Dashorst [EMAIL
I like to do this in my base page:
title wicket:id=titlefoo/title
protected IModel getPageTitleModel() {
return new ResourceModel(getClass().getSimpleName());
}
add(new Label(title, new AbstractReadOnlyModel() {
public Object getObject() {
return getPageTitleModel().getObject();
none of this is 1.4
-igor
On Mon, Jun 30, 2008 at 11:50 PM, David Leangen [EMAIL PROTECTED] wrote:
On Tue, 2008-07-01 at 08:48 +0200, Johan Compagner wrote:
I think stateless pages already do something like that. Also look at
hybrid url encoding that also preserves the bookmarkable url and
On Tue, Jul 1, 2008 at 5:07 AM, marco m [EMAIL PROTECTED] wrote:
Wicket is supposed to be an mvc framework, so why do the examples put
services/daos in the pages?
it is? that is big news to me.
-igor
What patterns are folks using for their wicket apps?
--
View this message in context:
Wicket is a framework to write (mostly) statefulweb pages. Unlike other web
frameworks it does not impose a particular way to structure the application
logic beyond that. Think of it like, say, the QT widget set. It's a way to
display information and to be notified of user interactions.
Thomas
if it doesnt have patterns how will the enterprise architect be able
to model it
-igor
On Tue, Jul 1, 2008 at 8:23 AM, Thomas Mäder [EMAIL PROTECTED] wrote:
Wicket is a framework to write (mostly) statefulweb pages. Unlike other web
frameworks it does not impose a particular way to
Hi, the situation is as follows:
I have a form embedded in an abstract panel. The form has an
autocompletetextfield and an AjaxSubmitLink which acts on the data in the
textfield. The panel, in turn, extends several other panels which are in the
end the ones that get instantiated.
The very code
On Tue, Jul 1, 2008 at 7:11 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
Do any of the core validators actually implement this interface?
Not yet I think, but it's never to late :-)
Eelco
-
To unsubscribe, e-mail: [EMAIL
Use Undeploy and Deploy on your EAR or WAR...
On Tue, Jul 1, 2008 at 3:58 AM, Sushant [EMAIL PROTECTED] wrote:
I am a newuser using wicket. I have been facing this problem since a week.
I'm in serious trouble. Whenever i make any changes in my code in netbeans
the changes i have made
61 matches
Mail list logo