Hi manuel,
Confluence about wicket-contrib-dojo is unfortunatly not up to date, but
there are also some cool validation methods in wicket-contrib-dojo
(1.X-SNAPSHOT because it is the most maintained).
You can take a look at live exemple (comes from svn repo :
wicket-contrib-dojo-example
Just create the panel as an anonym class in your page or inner class...
Pseudo Snipplet:
Webpage extends page
{
Mypanel panel=new Mypanel();
This.add(panel);
}
Mypanel extends panel{}
As I remember it should work...
From: [EMAIL
Today I hit the critical mass of connections between neurons in my brain
required to grasp Wicket and I have to say - Wicket rocks massively!
A while back I designed my own *little* component based rendering
technology (design stage only thankfully) and Wicket looks just like the
one I was
Just use a mountedurl
mountBookmarkablePage(/desiredurl,
desiredclass.class);
-Nino
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Colman
Sent: 28. februar 2007 11:59
To:
Oeh an forgot to say that parameters you can just append to the url
Short example:
http:\\localhost\mywicketapp\myniceurl\paramA\valueA\paramB\valueB
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 28. februar 2007 12:02
To:
Hi All,
Ajax Link doesnt work on IE 7 when there is a table in between the anchor tags.
If we change the following line in the LinksPage.html from ajax expample
counter 1: span wicket:id=c1/span a href=#
wicket:id=c1-linkincrement/a ( ajax-only link )
to
counter 1: span wicket:id=c1/span a
Hi,
We have a domain object that contains (among others) a map with key-value
pairs. I want to use entries in this map in a Form with separate input
fields for each entry (some may not already exist in the map). What would be
the way to do this? Can I use a CompoundModel for this somehow?
Hi,
Using a table in a link is probably not standards compliant. I don't know if
that is the problem here, but this kind of thing can cause a lot of problems
with javascript.
See http://htmlhelp.com/reference/html40/special/a.html for the element
specs.
Ivo
On 2/28/07, Dipu [EMAIL PROTECTED]
Hi All,
I use Ajax links to switch between different panels on a page and some of the
panels has datepicker components on it.
On IE 7 the date picker will stop working ( calendar won't pop up ) after
switching between panels using ajax link.
I think the reason for this is that when the dom is
Thanks very much , if thats the case then i can inform the page designers about
that.
Regards
Dipu
- Original Message -
From: Ivo van Dongen
To: wicket-user@lists.sourceforge.net
Sent: Wednesday, February 28, 2007 12:08 PM
Subject: Re: [Wicket-user] Ajax Link + IE7 problem
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);
}
But then I get the following error when the web app is deployed:
Today I hit the critical mass of connections between neurons in my brain
required to grasp Wicket - according to Marcus Buckingham in the book now,
discover your strength, that is what is called Synapse
On 2/28/07, Nino Wael [EMAIL PROTECTED] wrote:
Oeh an forgot to say that parameters you can
Hi,
is it possible to mount my shared resource within my localizer?
public class ForumFeedResource extends ContentFeedResource
public static class Initializer implements IInitializer {
public void init(Application application) {
application.getSharedResources().add(newsFeed,
this should work i think:
Map map = new HashMap();
// fill map
map.put(name, Ivo);
Form form = new Form(form, new CompoundModel(map));
form.add(new TextField(name));
johan
On 2/28/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
Hi,
We have a domain object that contains (among others) a map
can you show me a bit more stacktrace of that second trace?
Where does the constructor init starts?
It seems you are making a static instance inside your HomePage or
LocationPage.class??
johan
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
I tried to add some nice URLs by adding the
Hi, the alerticon contains the tooltip, just pass the mouse over the
image and show the message.
On 28-02-2007, at 7:05, Vincent Demay wrote:
Hi manuel,
Confluence about wicket-contrib-dojo is unfortunatly not up to
date, but there are also some cool validation methods in wicket-
Hi
I have a challenge about creating a reuseable Panel for my pojo called
Address.
class Address {
String streetName;
String streetNumber;
String floor;
String letter;
String door;
String zipCode;
String city;
}
What I would like is to concatenate streetName, streetNumber, floor, letter,
Thanks, I'll try that this afternoon.
Ivo
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
this should work i think:
Map map = new HashMap();
// fill map
map.put(name, Ivo);
Form form = new Form(form, new CompoundModel(map));
form.add(new TextField(name));
johan
On 2/28/07, Ivo van
i think that should work
Doesn't it? error? or the mount is just not there?
johan
On 2/28/07, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
is it possible to mount my shared resource within my localizer?
public class ForumFeedResource extends ContentFeedResource
public static class Initializer
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
i think that should work
Doesn't it? error? or the mount is just not there?
not there! :)
wicket 1.2.4 btw
/Mats
johan
On 2/28/07, Mats Norén [EMAIL PROTECTED] wrote:
Hi,
is it possible to mount my shared resource within my
make a jira issue for this.
On 2/28/07, Mats Norén [EMAIL PROTECTED] wrote:
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
i think that should work
Doesn't it? error? or the mount is just not there?
not there! :)
wicket 1.2.4 btw
/Mats
johan
On 2/28/07, Mats Norén [EMAIL
I'd like my template files to have an extension other than .html. Is that
possible?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions
Should be just override WebPage. getMarkupType()
http://wicket.sourceforge.net/apidocs/wicket/markup/html/WebPage.html#getMarkupType()
On 3/1/07, Matt Welch [EMAIL PROTECTED] wrote:
I'd like my template files to have an extension other than .html. Is that
possible?
Use a WebMarkupContainer component instead of a Panel.
You might also be interested in fragments:
http://wicket.sourceforge.net/ExampleUsingFragments.html
http://cwiki.apache.org/WICKET/fragments.html
-Ryan
On Feb 28, 2007, at 1:56 AM, Zhang Hailong wrote:
Hi all,
I found it is inconvenient
What version are you using? And if the version is 1.3 or 2.0, you
could consider using the much better datepicker that is in
wicket-datetime.
Anyway, this sounds like a problem we had in previous versions to;
should be fixed in new versions.
Eelco
On 2/28/07, Dipu [EMAIL PROTECTED] wrote:
the only reason it wouldnt work is that the table captures the onclick event
and doesnt bubble it up to the link. but, in general, you shouldnt use table
inside anchors as was said
-igor
On 2/28/07, Dipu [EMAIL PROTECTED] wrote:
Thanks very much , if thats the case then i can inform the
http://wicketstuff.org/wicket13/niceurl/
-igor
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
Today I hit the critical mass of connections between neurons in my brain
required to grasp Wicket and I have to say - Wicket rocks massively!
A while back I designed my own *little* component
Hmm...I think I've missed the fact that the application doesn't have mount.
I guess I should cast the Application to WebApplication and just be
done with it...
Sorry for the noise...
/Mats
On 2/28/07, Johan Compagner [EMAIL PROTECTED] wrote:
make a jira issue for this.
On 2/28/07, Mats
why use a type converter? you are not converting types...
i would use a model to do this
class addrlinemodel implements imodelstring {
private imodel addrmodel;
public String getobject() {
address addr=addrmodel.getobject();
return addr.streetnumber+ +addr.streetname;
}
would be cool if you could create a wiki page explaining how you built it.
not only is it a cool component, but outlining the process will help others
a lot.
-igor
On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED]
wrote:
Hi, the alerticon contains the tooltip, just pass the
I am using 1.2.1 at the moment.
Did we have an official release of the version 2.0. I wiasd thinking of
moving to 2.0 when its released.
Regards
Dipu
- Original Message -
From: Eelco Hillenius [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Wednesday, February 28, 2007
I'm a little concerned by the Note int he javadocs for this method:
Note: The markup type must be equal to the extension of the markup file. In
the case of WebPages, it must always be html.
Does that mean that the string html has some meaning beyond just telling
the framework what file
that is an interesting comment indeed. if it was really true then
webpage.getmarkuptype() would be final. anyone else mind to comment?
-igor
On 2/28/07, Matt Welch [EMAIL PROTECTED] wrote:
I'm a little concerned by the Note int he javadocs for this method:
Note: The markup type must be
I'm a little concerned by the Note int he javadocs for this method:
Note: The markup type must be equal to the extension of the markup file. In
the case of WebPages, it must always be html.
Does that mean that the string html has some meaning beyond just telling
the framework what file
I think upgrading to the latest 1.2 would fix your problem. The
current version is 1.2.5, see
http://sourceforge.net/project/showfiles.php?group_id=119783package_id=130482
Eelco
On 2/28/07, Dipu [EMAIL PROTECTED] wrote:
I am using 1.2.1 at the moment.
Did we have an official release of the
On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
that is an interesting comment indeed. if it was really true then
webpage.getmarkuptype() would be final. anyone else mind to comment?
Looks like an ancient leftover. I ditched it.
Eelco
would be cool if you could create a wiki page explaining how you built it.
not only is it a cool component, but outlining the process will help others
a lot.
I second that.
Eelco
-
Take Surveys. Earn Cash. Influence the
As you probably know by now, I am not against using a converter as I
have always viewed converters as input/output converters rather than
'just' type converters. However, in 1.2.x and 1.3 until Johan
backports the converters from 2.0 this is awkward to achieve, so
Igor's approach works best. If
Hi, I have a question about field mask, It's possible do something
like this: http://www.zapatec.com/website/ajax/zpform/demo/mask.html
or similar to http://java.sun.com/docs/books/tutorial/uiswing/
components/formattedtextfield.html in wicket?
I miss something in the documentation?. I only
It looks good. I will try it. Thank you!
best,
hailong
On 3/1/07, Ryan Holmes [EMAIL PROTECTED] wrote:
Use a WebMarkupContainer component instead of a Panel.
You might also be interested in fragments:
http://wicket.sourceforge.net/ExampleUsingFragments.html
zapatec do it with javascript, which is really the only way to go about it.
once you figure out the javascript it is trivial to hook it into wicket.
-igor
On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED]
wrote:
Hi, I have a question about field mask, It's possible do something
Nice! Thanks for the help.
On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
that is an interesting comment indeed. if it was really true then
webpage.getmarkuptype() would be final. anyone else mind to comment?
Looks like an ancient
Yes, I'ts simple, the problem is when I modify the content of the
textfield the value of the object is with the mask, not the value
behind.
For instance, I have a textfield that only accept integer numbers
(thats is easy with new PatternValidator( \\d+ ) ), now I want that
the user enter
so you want the user to enter 1,000,000 but on serverside that to be
100? then you need a maskconverter that will convert the string to
integer.
-igor
On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED]
wrote:
Yes, I'ts simple, the problem is when I modify the content of the
Hi All,
I'm currently developing an application in which I need some kind of
push technology, and even if wicket doesn't seem to support such
feature for the moment, it seems that the gates are open to implement
my own. Great design, kudos to the wicket team!
I'd like to share with you my ideas
I haven't looked in dept into the jetty feature but as far as i know
jetty hold the connection open. It pools it internally and when a request
(from the client)
comes in that connection is used and the request is pretty much handled like
a normal servlet request.
The problem is how and where
Today I hit the critical mass of connections between neurons in my
brain
required to grasp Wicket - according to Marcus Buckingham in the book
now, discover your strength, that is what is called Synapse
Or dendrites and axons or something. Why couldn't they just call them
conductors or wires
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
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);
}
can you show
It seems like mountBookmarkablePage method tries to instantiate the
pages. These pages always need PageParameters (they use this to process
the o= parameter so they can determine the organization to display).
Their constructors that take no parameters don't do anything because
they won't be
In our application we have several places where we are construction an
html table but the content of the rows varies by ProductType. For
example:
column 1. always an image
column 2. the pricing: for hotels by room, for shows by ticket, for
limo by hours
column 3. item summary: for hotels the
I have a situation where I have the need to place a wicket:child / in
the head and another in the body of a superclass markup page. Ie,. The
derived class markups need the ability to provide both header (typically
javascript) and body markup to be inserted when the page is rendered.
Does wicket
no we do not, but what we do support is
wicket:headstuff/wicket:head which will put stuff into head element of
the page
so wicket:head.../wicket:headwicket:extend.../wicket:extend
-igor
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
I have a situation where I have the need to place a
Using a wicket:head in derived class markup as well as wicket:extend
seems to cause problems in both 1.2.4 and 1.2.5 of wicket (haven't tried
earlier versions).
The following scenario demonstrates this:
Base class markup:
--
?xml version=1.0 encoding=UTF-8?
html
I'm sorry I don't understand too well how jetty works as I have only
been using it for a week or
so and so far I'm pleased as punch with what Ive achieved in that time.
It would be nice to have some sort of AjaxPollBehaviour though.
I personally don't care much about jetty continuation's as I'm
According to the bug list on Altassian my 'no session' issue is caused
by a bug that has been recently fixed but only in Wicket 1.3 and 2.0,
not 1.2.x.
How can I get Wicket 1.3? Are the binaries available for download or do
I have to get the source and build it myself?
are you sure you need to specify a different pagemap? that is only needed
when you work with frames/popups
meanwhile ive reopened the issue.
-igor
On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote:
http://wicketstuff.org/maven/repository/org/apache/wicket/
where is the link to the bug?
This is *exactly* why we made such a big fuss about it a couple of
weeks ago, when fixing it was vetod. This sucks.
Eelco
On 2/28/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
http://wicketstuff.org/maven/repository/org/apache/wicket/
where is the link to the bug? maybe we should backport it
We should just remove that stupid method. I hope this is enough proof
that removing this doesn BREAK anything but rather FIXES something. We
just wasted Chris'es time and ours by trying to help it.
Eelco
On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
This is *exactly* why we made such a
On 2/28/07, Scott Swank [EMAIL PROTECTED] wrote:
In our application we have several places where we are construction an
html table but the content of the rows varies by ProductType. For
example:
column 1. always an image
column 2. the pricing: for hotels by room, for shows by ticket, for
Another solution would be to put all the complexity of managing items into a
general CartPanel class, but that wont get much cleaner I guess. One thing
that comes to mind is, If you have a Pricing domain object to handle pricing
issues, and a Summary object to handle the items summary , you can
Hi all,
I have a Page Expired issue in tree node link, for example I have a tree,
when i click on any node 6 times or more and click 5 times on Back button
back to first visited page, and click on any tree node I will get Page
Expired exception. Does anyone know how to solve this problem? By
what you want is
getsessionsettings().setpagemapevictionstrategy(new
leastrecentlyaccessedevictionstrategy(15))
-igor
On 2/28/07, Lan Boon Ping [EMAIL PROTECTED] wrote:
Hi all,
I have a Page Expired issue in tree node link, for example I have a tree,
when i click on any node 6 times or
It works now. Thanks for your fast reply!
Regards
Boon Ping
On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
what you want is
getsessionsettings().setpagemapevictionstrategy(new
leastrecentlyaccessedevictionstrategy(15))
-igor
On 2/28/07, Lan Boon Ping [EMAIL PROTECTED] wrote:
Hi all,
/me grumbles ok nevermind then, I'll just keep away from this issue.
Eelco
On 2/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
We should just remove that stupid method. I hope this is enough proof
that removing this doesn BREAK anything but rather FIXES something. We
just wasted Chris'es
If you want more power, you can use MixedParamUrlCodingStrategy from Wicket
1.3/2.0. If you are on the 1.2 branch you can pull it from
http://issues.apache.org/jira/browse/WICKET-138.
Regards,
Erik.
igor.vaynberg wrote:
http://wicketstuff.org/wicket13/niceurl/
-igor
--
Erik van
65 matches
Mail list logo