are you sure you need to specify a different pagemap? that is only
needed
when you work with frames/popups
Well actually I'm not using the version of the mountBookmarkablePage
method that takes the PageMap parameter but I'm ending up with the same
symptom - a 'no session' error. I assumed that
Give us the full stacktrace.
So from the beginning of you Application.mount call until the Session
failure.
That bug report is for creating pagemaps which goes wrong (in the
PageMap.forName method)
But that is not the case in your situation, it goes wrong in the init of the
Page
johan
On
if you just want polling (every X seconds), then that is already possible
just fine with the
AbstractAjaxTimerBehavior (or its subclass)
I do that currently in my project.
I poll with my own ajax timer behavior attached to the page and when that
request comes in
i ask the component tree which
wicket:head is what it says. It will place the stuff into the head part
(where it belongs)
that extra wicket:child is i guess because you don't strip the wicket
tags currently
what happens if you do:
wicket:child/wicket:child
johan
On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote:
Using a
Hi,
AbstractAjaxTimerBehavior is a very good behavior but imho it is quite a
hack, it is not a server native way to update client side and it leads
to an useless important traffic because client side request the server
event if there is nothing to update.
Cometd is the best way I know to
Hi,
I have one of those pages with '+' and '-' buttons that allow to add more
fields. How do I manage these in wicket without ajax?
Thanks,
Ittay
--
View this message in context:
http://www.nabble.com/dynamically-%28client%29-created-form-components-tf3325801.html#a9246163
Sent from the
Hi,
I'm looking for a pattern to create page instances from a configuration in db.
I sounds really weird but the scenario is this:
- A request comes in for /mountpoint/dynamicpart1/part2/part3
- A lookup is made to db for a PageConfig with urlPart =
dynamicpart1/part2/part3
PageConfig contains
On 3/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
if you just want polling (every X seconds), then that is already possible
just fine with the
AbstractAjaxTimerBehavior (or its subclass)
I do that currently in my project.
I poll with my own ajax timer behavior attached to the page and when
On 3/1/07, Vincent Demay [EMAIL PROTECTED] wrote:
Hi,
Salut Vincent,
AbstractAjaxTimerBehavior is a very good behavior but imho it is quite a
hack, it is not a server native way to update client side and it leads
to an useless important traffic because client side request the server
event
Ittay Dror wrote:
Hi,
I have one of those pages with '+' and '-' buttons that allow to add more
fields. How do I manage these in wicket without ajax?
Thanks,
Ittay
another point is this: assume the fields being added are a text (named
atext) field and a checkbox (named acb). now
Interesting, I didn't know it was possible to ask the component tree
which components wants to rerender. This could indeed answer to my
first point. But if I want finer grain component update (for
I build this my self. I know because of our design when components gets
new state or new data
I have one of those pages with '+' and '-' buttons that allow to add
more
fields. How do I manage these in wicket without ajax?
just links? Or if something should be submitted SubmitLinks?
And in that link.onClick you do the + or the - behavior
another point is this: assume the fields
Thanks very much Eelco.
I updated to 1.2.5 and now it works as expected with out any hacks.
Regards
Dipu
- Original Message -
From: Eelco Hillenius [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Wednesday, February 28, 2007 6:16 PM
Subject: Re: [Wicket-user] IE 7 +
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link works
even we have a table inside anchors.
I accept it's not good to use table inside anchors , but the good news is with
the latest version it works !!!
Regards
Dipu
- Original Message -
From:
From: Dipu [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
Date: Thu, 1 Mar 2007 09:48:12 -
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link
works even
From: Dipu [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
Date: Thu, 1 Mar 2007 09:48:12 -
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link
works even
From: Dipu [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
Date: Thu, 1 Mar 2007 09:48:12 -
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link
works even
From: Dipu [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
Date: Thu, 1 Mar 2007 09:48:12 -
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link
works even
From: Dipu [EMAIL PROTECTED]
Reply-To: wicket-user@lists.sourceforge.net
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
Date: Thu, 1 Mar 2007 09:48:12 -
Hi Igor,
I was using the version 1.2.1, i updated it to 1.2.5. Now the ajax link
works even
Johan Compagner wrote:
I have one of those pages with '+' and '-' buttons that allow to add
more
fields. How do I manage these in wicket without ajax?
just links? Or if something should be submitted SubmitLinks?
And in that link.onClick you do the + or the - behavior
another
On 3/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
Interesting, I didn't know it was possible to ask the component tree
which components wants to rerender. This could indeed answer to my
first point. But if I want finer grain component update (for
I build this my self. I know because
Ittay Dror wrote:
b. have all repeating elements have the same name. the problem is that
components won't be updated correctly if some fields do not appear, or
i'll need to modify getInputAsArray for each (so as to look in the query
string, not the parsed parameters), and give each an
Hi,
Is there a way to insert an arbitrary table(with different columns from main
table , for example something like I have a product table and if I click on
a particular row its inventories list to be displayed in the next row) as a
row of a Data Table.
I thought of overriding newRowItem and
Hi Igor
Dont we convert types? The model below is converting a string to an address
object, so i guess
it could be called a converter.
I can see in the example that you have written to Flemming that you suggest
at least two models.
AddressModel and AddressLineModel. Do you need the first
the niceset woiuld be to use panels instead of pages. that way you mount a
page onto /mountpoint, when its hit you read the rest of the parameters,
query the db for the panel class, instantiate it and add it to the page.
nice and clean. there is really very little difference between page and
in datatable you cannot insert rows in arbitrary format - it really is a
datagrid. what you want is to go higher in the hierarchy and use a dataview,
that way you are in total control of rows and columns.
-igor
On 3/1/07, Anupama pullela [EMAIL PROTECTED] wrote:
Hi,
Is there a way to insert
On 3/1/07, Murat Yücel [EMAIL PROTECTED] wrote:
Hi Igor
Dont we convert types? The model below is converting a string to an
address object, so i guess
it could be called a converter.
as far as i can see he wants to convert some fields of address object into a
string, and then back.
I can
Does anyone know of a feature grid/matrix comparing web frameworks.
--
View this message in context:
http://www.nabble.com/Feature-Grid-tf3328003.html#a9253121
Sent from the Wicket - User mailing list archive at Nabble.com.
Thank you Eelco Iman.
I was hoping to have a custom component that played the role of the
ListItem but which had methods such as
abstract Panel getPricingPanle()
which were variously implemented in subclasses as
return new ShowPricingPanel() or
return new HotelPricingPanel()
instead of
but you can do that
listview has newlistitem, there you can create the proper listitem subclass
then in populate item you do
item.add(((MyItem)item).getPricingPanel())
it is simply a matter of taste - whether something like this belongs in the
class hierarchy or is it orthogonal and merits
so now that ive looked at ipagefactory what you want should be pretty easy
if you still want to use pages
mount a MyFactoryPage onto the /mountpointurl using indexedurlcodingstrategy
then in ipagefactory do this:
Page newPage(final Class? extends Page pageClass, final PageParameters
I have setup an AjaxIndicator to show up when I press a button, but the
onclick event seems to be overridden when I set this up. For my button,
the onclick event is tied to a form submit, causing the form to update.
But when I had an onclick behavior which pops up the indicator, the form
no
you are adding two behaviors to the same button that both compete for the
onclick attribute - a formcomponentupdatingbehavior and
ajaxformsubmitbehavior. you have two choices:
create a compound behavior out of the two
or let the ajaxformsubmitbehavior implement iajaxindicatoraware directly
ChuckDeal wrote:
Al Maw wrote:
What you'd ideally like to be able to do is have a Wicket page which has
a div wicket:id=jsp/div in it, and render the JSP in there, yes?
Have you had the chance to write up any of the details of your solution? I
would be interested in seeing how you solved
I tried to add some nice URLs by adding the following to my
application class:
public void init()
{
mountBookmarkablePage(/home, HomePage.class);
mountBookmarkablePage(/location, LocationPage.class); }
My bad!!!
I accidentally had marked one the page classes as
Hi everyone,
I'd like to add an alt attribute to the stars in the
wicket.extensions.rating.RatingPanel.
Unfortunately the inner class RatingStarBar is private so I can't override
its populateItem()
method. Is there a way how I could achieve this behavior?
Conny
--
View this message in context:
Never mind. I just saw that the class has a newRatingStarBar mehod. I guess
this solves my problem.
ckuehne wrote:
Hi everyone,
I'd like to add an alt attribute to the stars in the
wicket.extensions.rating.RatingPanel.
Unfortunately the inner class RatingStarBar is private so I can't
What's the best way to add some JavaScript code to be called after a
component is updated via Ajax?
I have a component that is rendered by Wicket and then requires a Javascript
function to be called in order to modify the DOM for that component
client-side. I have Ajax events which re-render
Ok, I get it better now. And is it something that could be shared with
the community?
not really it is complete tied to how our stuff works (that also does have a
swing frondend)
Yes, but is there a wicketmodel with event listener, or do I have to
define my own? And if I define my own, I
On 3/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
If you use swing models then the wicket model or the wicket component
can listen to that event the model has. If you get an event. Set a flag on
the component
or model. Then walk with the IVisitor pattern over all the components and
test
Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks!
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
so now that ive looked at ipagefactory what you want should be pretty easy
if you still want to use pages
mount a MyFactoryPage onto the /mountpointurl using
dukejansen wrote:
What's the best way to add some JavaScript code to be called after a
component is updated via Ajax?
See AjaxRequestTarget#appendJavaScript(String)
Al
-
Take Surveys. Earn Cash. Influence the Future of IT
can't we attach those different ajax behaviors now with the new
wicket-event.js?
johan
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
you are adding two behaviors to the same button that both compete for the
onclick attribute - a formcomponentupdatingbehavior and
ajaxformsubmitbehavior.
Forgot to ask, but it seems that DefaultPageFactory has a lot of final
methods in 1.3.
Is there another option?
/Mats
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Brilliant! :-) I wouldn't have thought of that. That solves it. Thanks!
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
so
then you get two requests, prob not something the user wanted in the first
place.
i talked to him on irc, he did what i suggested, and it all works for him
now.
that second behavior was there just for the indicator, but the first
behavior can just implement that interface and be all good.
use extension by delegation instead of inheritance
-igor
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Forgot to ask, but it seems that DefaultPageFactory has a lot of final
methods in 1.3.
Is there another option?
/Mats
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Brilliant! :-) I
On 3/1/07, Xavier Hanin [EMAIL PROTECTED] wrote:
On 3/1/07, Johan Compagner [EMAIL PROTECTED] wrote:
If you use swing models then the wicket model or the wicket component
can listen to that event the model has. If you get an event. Set a flag on
the component
or model. Then walk with the
Yep, thought of that just as I hit sent...works! Thanks again!
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
use extension by delegation instead of inheritance
-igor
On 3/1/07, Mats Norén [EMAIL PROTECTED] wrote:
Forgot to ask, but it seems that DefaultPageFactory has a lot of
I have a wicket application where, when I'm constructing the requested
page, if I detect an error, I want to stop processing the page and
redirect to another page and display the error. However, everything I
tried reports an error that I did not finish mapping the first page. Is
this possible
throw new restartresponseexception
-igor
On 3/1/07, David Robison [EMAIL PROTECTED] wrote:
I have a wicket application where, when I'm constructing the requested
page, if I detect an error, I want to stop processing the page and
redirect to another page and display the error. However,
I implemented a drag-n-drop using scriptaculous. On my home PC,
everything was working fine, I can drag my products into a droppable
container and the container updates itself via AJAX just fine no
page refreshes.
I checked in the code, came into work today and rebuilt the app. Now
when I
Is it possible to specify the CSS class for the p's generated by the
MultiLineLabel component?
Currently it generates:
pfirst line/p
psecond line/p
Is it possible to get it to generate something like:
p class=myMultiLineClassfirst line/p
p class=myMultiLineClasssecond line/p
Or is there a
can we see the stacktrace please?
-igor
On 3/1/07, Aaron Hiniker [EMAIL PROTECTED] wrote:
I implemented a drag-n-drop using scriptaculous. On my home PC,
everything was working fine, I can drag my products into a droppable
container and the container updates itself via AJAX just fine no
style .multi p { font-color:red;}/style
div class=multi wicket:id=multilinelabel/div
-igor
On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote:
Is it possible to specify the CSS class for the p's generated by the
MultiLineLabel component?
Currently it generates:
pfirst line/p
psecond line/p
I must congratulate the Wicket developers on Wicket's error reporting
system. It's truly magnificent.
Whenever I have an error in my markup or a problem in one of my Java
classes Wicket displays a HTML page with a very thorough outline of the
problem which usually contains sufficient information
a few people were talking about the need to have a component that can upload
multiple files as opposed to creating a bunch of fileuploadfields. last
night i implemented one. see multifileuploadfield and its example [1]. right
now its only in 1.x, once its been flushed out/field tested i will port
glad to hear it
-igor
On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote:
I must congratulate the Wicket developers on Wicket's error reporting
system. It's truly magnificent.
Whenever I have an error in my markup or a problem in one of my Java
classes Wicket displays a HTML page with a very
There is no stack trace, only the log output from
AbstractRequestTargetResolverStrategy. I have DEBUG logging enabled as
well.
Aaron
Igor Vaynberg wrote:
can we see the stacktrace please?
-igor
On 3/1/07, *Aaron Hiniker* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I
I searched for AbstractRequestTargetResolverStrategy in the source tree,
and it wasn't there. So apparently it was removed recently, but was
still lingering in my target/classes directory. I did a mvn clean
install, redeployed and now everything works as expected. My bad.. sorry..
Aaron
thats why i wanted the stack trace, couldnt find the damn thing
-igor
On 3/1/07, Aaron Hiniker [EMAIL PROTECTED] wrote:
I searched for AbstractRequestTargetResolverStrategy in the source tree,
and it wasn't there. So apparently it was removed recently, but was still
lingering in my
I pulled the latest from trunk. And I am getting this NPE:
16:30:14,543 ERROR [STDERR] java.lang.NullPointerException
16:30:14,544 ERROR [STDERR] at
wicket.Page.componentStateChanging(Page.java:327)
16:30:14,545 ERROR [STDERR] at
wicket.Component.addStateChange(Component.java:2553)
Sorry, should have been more specific.
I'm already using the appendJavaScript method and it works like a charm.
What I'm really after is whether there is a way to set default behavior for
ALL AjaxRequestTargets. I have some client-side javascript which does some
DOM rewrites once the page is
dukejansen wrote:
What I'm really after is whether there is a way to set default behavior for
ALL AjaxRequestTargets.
Ah, I see.
You can execute some JavaScript on your page that looks like this:
Wicket.Ajax.registerPostCallHandler(function() {
doFooHere();
});
That'll get executed
[Wicket 2.0] The javadoc says that RepeatingView renders all of its children
in order they were added. Could anyone give me a pointer or a demonstration
on how to reverse the order of a RepeatingView's children? Thanks.
-
override repeatingview.renderiterator() and reverse the order
-igor
On 3/1/07, Otan [EMAIL PROTECTED] wrote:
[Wicket 2.0] The javadoc says that RepeatingView renders all of its
children in order they were added. Could anyone give me a pointer or a
demonstration on how to reverse the order of
PERFECT! Thanks. :)
-Jason
Al Maw wrote:
dukejansen wrote:
What I'm really after is whether there is a way to set default behavior
for
ALL AjaxRequestTargets.
Ah, I see.
You can execute some JavaScript on your page that looks like this:
I have a list view and I need each item in the list to display a HREF
link and text. Both the link target URL and the link text are different
for each item in the list.
Using the following causes a component 'categoryName' not found error:
span wicket:id = items
instead of
item.add(new link(categoryLink){});
item.add(new label(categoryname))
do
Link link=new linke(categoryLink);
item.add(link);
link.add(new label(categoryname));
-igor
On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote:
I have a list view and I need each item in the list to display a
On 3/2/07, Chris Colman [EMAIL PROTECTED] wrote:
I must congratulate the Wicket developers on Wicket's error reporting
system. It's truly magnificent.
Whenever I have an error in my markup or a problem in one of my Java
classes Wicket displays a HTML page with a very thorough outline of the
That is because the mayTrackChangesFor() method should only return true
when it makes a version manager. Why is that not the case?
If that method returns true the version manager can't be null because the
version info must be tracked.
johan
On 3/1/07, Aaron Hiniker [EMAIL PROTECTED] wrote:
I
70 matches
Mail list logo