I still dont see a complete decoupling or do you mean only getDefaultXxxx()?
So all the getModel() (Link/FormComponent) are still there?
For link we could have Link (without model) and ModelLink (generified
and with get/setModel) that would be fine with me.
On 7/2/08, Timo Rantalaiho <[EMAIL PROT
> thats my point. you work on fields of one object, true, but it does
> not necessarily have to be the form's modelobject unless you use a
> compound property model. eg
>
>Form form = new Form("form")
>{
>protected void onSubmit() { value = dosomethingwith(symbol); }
>
On Tue, Jul 1, 2008 at 11:28 PM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
> On Tue, Jul 1, 2008 at 11:09 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> if we ungenerify Link, should we also ungenerify Form? seems like the
>> exact same kind of usecase.
>
> Imho, generic forms make more sense, as
i think in the filter mapping you will need to add
REQUEST
ERROR
-igor
On Tue, Jul 1, 2008 at 11:17 PM, Thomas Singer <[EMAIL PROTECTED]> wrote:
> I'm using Tomcat 5.5.26 with Wicket 1.3.4 and try to show an own error page
> when an invalid URL is requested. I've added following lines at
On Tue, Jul 1, 2008 at 11:09 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> if we ungenerify Link, should we also ungenerify Form? seems like the
> exact same kind of usecase.
Imho, generic forms make more sense, as you'd typically work on fields
(with formcomponents) of one object (the model obje
I'm using Tomcat 5.5.26 with Wicket 1.3.4 and try to show an own error page
when an invalid URL is requested. I've added following lines at the end of
our web.xml:
404
/404.html
and mapped a wicket page to the path /404.html. The page displays correctly
when I enter http://server/404.h
if we ungenerify Link, should we also ungenerify Form? seems like the
exact same kind of usecase.
-igor
On Tue, Jul 1, 2008 at 10:25 PM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
>> This is not a big deal though, either way is fine by me.
>
> I prefer link to be not generified, but either way is
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 will be here]
>
> just like the span...
>
> -igor
>
> On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinha <[EMAIL PROTECTED]> wrote:
> This is not a big deal though, either way is fine by me.
I prefer link to be not generified, but either way is fine by me as well.
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
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 ad
> 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 w
[title will be here]
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:
> ==
>
>
> wicket:id="mysiteName"
>
>
> Homepage
>
>
> message will be here
>
>
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]> wr
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 ex
I am trying to have the title of a given page, populated from the code.
HTML:
==
wicket:id="mysiteName"
Homepage
message will be here
Java: (HomePage.java only)
=
public class HomePage extends WebPage {
public HomePage(final PageParameters parameters) {
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
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
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
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 lin
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 Panel to GenericPanel.
Maybe the na
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 f
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 configu
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
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
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 n
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
re
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 what
if your link is anonymous, yes. if you have reusable links in their
own class, then no.
-igor
On Tue, Jul 1, 2008 at 12:24 PM, Joni Freeman <[EMAIL PROTECTED]> wrote:
> Isn't this a same thing:
>
> onPopulateItem(final Item item) {
> add(new Link("delete") {
>protected void onClick() { servi
> >> 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
"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
Isn't this a same thing:
onPopulateItem(final Item 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(Item item) {
> add(new Link("delete", item.getMode
add (new Link("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 ge
onPopulateItem(Item item) {
add(new Link("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 good
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
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 ov
I second Matej here... maybe instead of GenericPanel, GenericFragment,
etc. you could name it something more explicit. Some examples:
SingleModelPanel
ModelBoundPanel
It took me the better part of one day to convert a partially genericized
project (we started out with 1.3 then switched to 1.4 mi
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!
Manuel.
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 m
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 r
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
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 Hil
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.
---
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
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
> 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 hav
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 a
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:
>
> foo
>
> protected IModel getPageTitleModel() {
>return new ResourceModel(getClass().getSimpleName());
> }
>
> add(new Label("title, ne
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 ma
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 PROTECT
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 f
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 stru
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
PS
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 conte
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 ur
I like to do this in my base page:
foo
protected IModel getPageTitleModel() {
return new ResourceModel(getClass().getSimpleName());
}
add(new Label("title, new AbstractReadOnlyModel() {
public Object getObject() {
return getPageTitleModel().getObject();
}
}));
The AbstractRe
only if you define the 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 ... don't I ?
>
> On Tue, Jul 1, 2008 at 3:34 PM, Martijn Dashorst <[EMAIL PROTECTED]>
> wrote:
>
>> nope. j
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 implement
yeah, but what if I have a markup inheritance?
I then must use ... don't I ?
On Tue, Jul 1, 2008 at 3:34 PM, Martijn Dashorst <[EMAIL PROTECTED]>
wrote:
> nope. just use:
>
>
>
> add(new Label("title", "Hello, World!"));
>
> On Tue, Jul 1, 2008 at 2:28 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
nope. just use:
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 ?
>
> --
> Eyal Golan
> [EMAIL PROTECTED]
>
> Visit: http://jvdrums.sourceforge.net/
> LinkedIn: http://www.linkedin
Hi,
Is there a special header contributer for ?
--
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
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 d
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 m
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 Panel to GenericPanel.
I was wondering, even though those classes were farily simpl
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
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
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
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 c
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
org.apache.wicket.p
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 e
69 matches
Mail list logo