Why would you want to delete those jars? I am busy using them and the appear
to be working fine (for what I am using). Please can you explain what is
broken/why it would be better to use 1.3-SNAPSHOT? What do I lose by
reverting back to 1.3-SNAPSHOT? What is the latest version of Wicket that
I dont care, because i cant do any thing with the ? The only thing it
enforces is that it must now be a generic class which is annoying. Not
to mention that in that area eclipse and javac accept different
things
So or we in wicket dont use ? any where and have supress warning
everywhere for
1.3.1-SNAPSHOT is an older version it has been renamed to follow
wicket naming conventions to 1.3-SNAPSHOT.
That is the major and minor versions will always be used to indicate
the latest snapshot, this prevents users needing to change there pom
whenever a new patch version has been released.
I
I dont think that user gets a warning if a param is of raw type. But
we have a warning there.
The problem is that for example MarkupContainer.add(Component) or
IVisitor.visit(Component) i dont care what component is put in
generified or not.
In add it really doesnt matter because we dont do
My post kind of missed the point, I shouldn't post when I'm already half
asleep. :-)
Obviously MarkupContainerObject satisfies the MarkupContainer? in a
method argument, so it accepts the raw type. However, it generates a
warning because the method says it's generified, so you should be using
The problem is that wicket needs an annotation
genericsOptional
so that all the warnings about raw types are gone.
A component only has to be generic if you use the IModel constructor or call
getModel(), getModelObject() methods..
for the rest it is not really needed
johan
On Wed, May 14,
Thanks, I tried to check this for wicket examples and it works with default
server configuration. This means that there are some error in my
application... but I haven't any error messages... ok, I'll continue
experiments.
Does that message page expired mean that the session is gone? So I have
Hi Thijs,
We are currently trying to integrate Liferay 5 with wicket 1.3. Can you give
us the advise you offered? That would be very nice.
Thank you in advance,
Benjamin
On Mon, May 5, 2008 at 11:33 PM, Thijs Vonk [EMAIL PROTECTED] wrote:
Hi,
Currently without building wicket against
Hello everyone.
I override Localizer.putIntoCache method. and it really reduce the heapsize
usage of Localizer.
The application is more stable now although the key remains large.
Hope we can find a way to shorter the key length.
thanks everyone.
2008/5/13 Eirik Rude [EMAIL PROTECTED]:
A
the site looks nice.
i especially like the advanced dropdown box.
for us non-dutch, does eropuit mean anything in particular?
cheers,
Gerolf
On Wed, May 14, 2008 at 10:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search
nice :)
one thing though: i went searching for uitjes and after clicking the
volgende button a couple of times i selected one to show more details.
Now when i use the browser backbutton or the terug link i always end
up at the first page of my search results. I would have expected to
return to
It is a combination of 3 words 'er op uit' and literally means 'going
out'. It has a very active connotation.
Regards,
Erik.
Gerolf Seitz wrote:
the site looks nice.
i especially like the advanced dropdown box.
for us non-dutch, does eropuit mean anything in particular?
cheers,
Gerolf
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for day
trips and such. See: www.eropuit.nl.
Thanks to the user- and dev-group for answering any questions we had during
the process.
Lars
On Wed, May 14, 2008 at 10:52 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
@Gerolf er op uit could be loosely translated as going places or
taking a trip.
thx :)
Maurice
On Wed, May 14, 2008 at 10:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a
Thanks for spotting that. We'll look into it.
Lars
On Wed, May 14, 2008 at 10:52 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
nice :)
one thing though: i went searching for uitjes and after clicking the
volgende button a couple of times i selected one to show more details.
Now when i use
Hi,
thanks for the test example. With the help of that I found the error in the
policy file:
the permission of the page must not contain the inherit action, when there are
secure components on the page, which are not permitted.
grant principal
Hi there,
i'm trying to create a ReloadingWicketFilter. I've tried a lot especially
reading (WICKET-685) ReloadingWicketFilter not working with markup
inheritance (
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01938.html) but
nothing worked for me.
My created ReloadingWicketFilter works fine
On Wed, May 14, 2008 at 11:53 AM, Andrea Jahn [EMAIL PROTECTED] wrote:
Hi,
thanks for the test example. With the help of that I found the error in the
policy file:
the permission of the page must not contain the inherit action, when there
are secure components on the page, which are
I just tried to reproduce the problem, why the resultHiddenPanel was not
visible, when I used the ContainerSecurityCheck in the class
SecureWebMarkupContainer (what I do now also). I used the old policy file, the
PolicyFileHiveFactory instead of the SwarmPolicyFileHiveFactory, ... but I
On Wed, May 14, 2008 at 1:10 PM, Andrea Jahn [EMAIL PROTECTED] wrote:
I just tried to reproduce the problem, why the resultHiddenPanel was not
visible, when I used the ContainerSecurityCheck in the class
SecureWebMarkupContainer (what I do now also). I used the old policy file,
the
ahh with view source i can finally see that it is really wicket ;)
its not that you dont use any javascript... man what an includes :)
johan
On Wed, May 14, 2008 at 10:52 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
nice :)
one thing though: i went searching for uitjes and after clicking
but what did you do there in that method?
nothing? you dont cache anything anymore?
On Wed, May 14, 2008 at 10:29 AM, Quan Zhou [EMAIL PROTECTED] wrote:
Hello everyone.
I override Localizer.putIntoCache method. and it really reduce the
heapsize
usage of Localizer.
The application is more
then you really have a serialization problem in your pages
On Wed, May 14, 2008 at 10:23 AM, ElSe [EMAIL PROTECTED] wrote:
Thanks, I tried to check this for wicket examples and it works with
default
server configuration. This means that there are some error in my
application... but I
I take your point, thanks for the pointer.
--
From: Eelco Hillenius [EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 1:31 AM
To: users@wicket.apache.org
Subject: Re: Processing a form before page components are created
The reason I want to do this
getResourceSettings().setLocalizer(new Localizer() {
@Override
public void putIntoCache(final String cacheKey,final String
string) {
if (string != null cacheKey!=null)
super.putIntoCache(cacheKey, string);
}
Somewhat related to this thread, when I moved to generics win Wicket 1.4, I
created some utility classes such as:
public class VoidContainer extends WebMarkupContainerlt;Void
public class VoidPanel extends Panellt;Void
public class StringLabel extends Labellt;String
public class IntegerModel
imho, that seems like that adds a lot of unnecessary code. One of the
nice things about Wicket is that it keeps the bloat to a minimum.
-Original Message-
From: Doug Donohoe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 8:21 AM
To: users@wicket.apache.org
Subject: Re: Using
Hi,
I tried implementing the IMarkupResourceStreamProvider in my web page:
public IResourceStream getMarkupResourceStream(MarkupContainer
container,
Class containerClass) {
if (html != null) {
StringResourceStream myhtml = new StringResourceStream(new
I can save you the trouble of generating the patch. I don't want
FooBar where Foo iterates over all the types in Java and Bar iterates
over all the Components, Behaviors, Sessions, Requests, Providers in
Wicket. Totally unnecessary and completely negates the idea of
generics.
Martijn
On 5/14/08,
ok so you dont store the tested cacheKey 's that returned null..
so that could result in a bit slower access because it is tried to resolve
everytime
I do think that my fix for not including the page is solving your real mem
leak problem
johan
On Wed, May 14, 2008 at 2:03 PM, Quan Zhou [EMAIL
hi, does anybody know, in wicket, how to make componete can be drap and drop
just like the ajax debug windows
--
View this message in context:
http://www.nabble.com/hi%2C-does-anybody-know%2C-in-wicket%2C-how-to-make-componete-can-be-drap-and-drop-tp17230831p17230831.html
Sent from the Wicket
See scriptaculous integration on wicket-stuff. It has drag'n drop
capabilities, though I haven't used it myself. Probably
wicketstuff-yui, wicketstuff-jquery and wicketstuff-dojo have the same
capabilities.
Martijn
On 5/14/08, shrimpywu [EMAIL PROTECTED] wrote:
hi, does anybody know, in
cool.
great stuff
On Wed, May 14, 2008 at 11:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for
day
trips and such. See: www.eropuit.nl.
Thanks to the user- and dev-group for answering any questions we had during
the
Hi,
If I do:
mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.4-m1 -DgroupId=nl.grons -DartifactId=i18ntest
as generated by the quickstart page
(http://wicket.apache.org/quickstart.html), I get Wicket version
It is already fixed for 1.4-m2.
Martijn
On 5/14/08, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi,
If I do:
mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.4-m1 -DgroupId=nl.grons -DartifactId=i18ntest
as
Looks great!
Martijn
On 5/14/08, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for day
trips and such. See: www.eropuit.nl.
Thanks to the user- and dev-group for answering any questions we had during
the process.
Let me outline what I believe the benefits are. For example:
add(new LabelString(tournamentName, tournament.getName()));
add(new LabelString(hostName, game.getHostPlayer()));
row.add(new AttributeModifier(class, true, new
ModelString(row.getIndex() % 2 == 0 ? odd : even)));
add(new
StringModel looks ambigious to me, will it extend
- LoadableDetachableModel
- IModel
- Model
- AbstractReadOnlyModel
-
???
Am 14.05.2008 um 15:47 schrieb Doug Donohoe:
Let me outline what I believe the benefits are. For example:
add(new LabelString(tournamentName,
From my original post on this topic:
public class StringModel extends ModelString
-Doug
Peter Ertl wrote:
StringModel looks ambigious to me, will it extend
- LoadableDetachableModel
- IModel
- Model
- AbstractReadOnlyModel
-
???
Am 14.05.2008 um 15:47 schrieb
if you do not want the markup to be cached you have to also implement
IMarkupCacheKeyProvider. returning null from getcachekey will prevent
wicket from caching the markup.
-igor
On Wed, May 14, 2008 at 5:42 AM, Eyal Golan [EMAIL PROTECTED] wrote:
Hi,
I tried implementing the
Great, it work without warnings now ;)
Joham, could you please change the following class too ?
file: Loop.java
line:53
from: LoopItem extends WebMarkupContainer
to: LoopItem extends WebMarkupContainerInteger
thx ;)
Stefan
Johan Compagner wrote:
i already did the commit
I used WicketStuff Dojo Tooltip in my one page and it works fine. Right
now the tooltip displays on mouseover event. Is there anyway I can
display it on onClick event?
On my other page I have a link which I am hiding/showing through ajax
update (target.addComponent(..)) based on some condition.
Hi folks,
Being in the process of adding a wicket based administration console to an
existing struts based application, I have been able to set up some simple
pages. Unittesting these pages works fines. Also using 'mvn jetty:run'
starts the wicket based part just fine. I can click through the
Yes , it would be a bit slower. I'm going to make more test to see what
havn't store in cache.
Maybe i can caculate how many percents it effect my application performance
after i deploy it in a high load circumstance.
I'm not sure about what you said about your fix for not including page.
can you
i fixed something in the localizer that it doesnt add the page id to the
cachekey string
that was your problem
everypage that was created also creates an localizer entry that is just
plain wrong.
So the pageid is not in the path anymore.. i think this is what really
caused your constant growing
What about the situation where one of the components on the Page is a
BookmarkeablePageLink and you need to pass it in some PageParameters? In
this case how do you load the page parameters from the model in a lazy
fashion? It doesn't appear to be possible since PageParameters does not
evaluate
unless, i suppose, if you override getPageParameters, something like this:
private void getLinkToUserProfile(final RatingModel r) {
return new BookmarkablePageLink(username, ViewDetails.class) {
@Override
public
hmm i will make it Void
because the LoopItem doesnt really have a model with an Integer in the
model..
it has an primitive int itself stored in it self.
johan
On Wed, May 14, 2008 at 4:52 PM, Stefan Simik [EMAIL PROTECTED]
wrote:
Great, it work without warnings now ;)
Joham, could you
and that is the whole problem
who needs the Model itself as a string?
many are dynamic with getObject() impl.
then you shouldnt really do Model but IModel directly
johan
On Wed, May 14, 2008 at 4:29 PM, Doug Donohoe [EMAIL PROTECTED] wrote:
From my original post on this topic:
public class
as long as eelco wants to fix it i dont mind
On Wed, May 14, 2008 at 9:59 AM, Gerolf Seitz [EMAIL PROTECTED]
wrote:
On Wed, May 14, 2008 at 2:33 AM, Eelco Hillenius
[EMAIL PROTECTED]
wrote:
If you think it is a bug, please open a JIRA
issue for it.
didn't we EOL Wicket 1.2.x?
Hi,
I am trying to add a behavior to my autoComplete text field, where if i
press enter, it should be able to run a default search (with some text
input) and display a list of possible choices);
is it possible with autoComplete.add(new AjaxBehavior() {
@Override
public
Very nice! But where is the Powered by Apache Wicket button?
Frank
On Wed, May 14, 2008 at 10:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for day
trips and such. See: www.eropuit.nl.
Thanks to the user- and
A new Wicket site is born! It's a Dutch site on which you can search for day
trips and such. See: www.eropuit.nl.
Nice. I like the 'history of Ajax' event. So soon ;-)
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
If you think it is a bug, please open a JIRA
issue for it.
didn't we EOL Wicket 1.2.x?
http://martijndashorst.com/blog/2008/03/23/wicket-127-the-last-maintenance-release/
Yeah, I actually meant for Wicket 1.3 and up, because the bug is in
there as well.
Eelco
Hi,
We have changed our auto complete so that when you press enter on one of the
choices in the drop down we submit the form (default is to just populate the
box), is this what you mean? unfortunatly to do this you need to hack the
wicket-autocomplete.js at the point where the enter key is
On Wed, May 14, 2008 at 8:21 AM, Joel Halbert [EMAIL PROTECTED] wrote:
What about the situation where one of the components on the Page is a
BookmarkeablePageLink and you need to pass it in some PageParameters? In
this case how do you load the page parameters from the model in a lazy
fashion?
On Wed, May 14, 2008 at 8:24 AM, Joel Halbert [EMAIL PROTECTED] wrote:
unless, i suppose, if you override getPageParameters, something like this:
private void getLinkToUserProfile(final RatingModel r) {
return new BookmarkablePageLink(username,
ViewDetails.class) {
so why dont we store the integer in the model then? save an extra
memory slot, because if you make it Void then no one can set the
modelobject anyways.
-igor
On Wed, May 14, 2008 at 8:28 AM, Johan Compagner [EMAIL PROTECTED] wrote:
hmm i will make it Void
because the LoopItem doesnt really
That would cost more memory then it would gain
Now it is just 1 int field.. And do know that model isnt a field any
more by itself on component. Ok it is still a reference but that is
shared by behaviours and metadata.
So if we set it in a model, we would have created the model object
with a
Hi,
Thanks for reply. I meant right now, there is an onChange event behavior
attached to the autocomplete, which allows me to type in the text box and
the list of possible matched choices appear; but what i also want is that
when i press enter on the text box, it should give me list of choices
passing generated data in and out of GWT that doesn't come from the
RPC is a bit messy... there are a few ways to do it, but you really
want to avoid trying to do that unless GWT initiates the call.
I suspect that is the reason most people who have looked into it have
abandoned the idea of
So you want the autocomplete behaviour, but only when you press the enter
key, ie you press enter and you get the same drop down box as you get in
normal autocomplete behaviour?
I dont think you can do this without making your own javascript, or hacking
at the original wicket-autocomplete.js
gotcha, thx
On Wed, May 14, 2008 at 6:40 PM, Eelco Hillenius [EMAIL PROTECTED]
wrote:
If you think it is a bug, please open a JIRA
issue for it.
didn't we EOL Wicket 1.2.x?
http://martijndashorst.com/blog/2008/03/23/wicket-127-the-last-maintenance-release/
Yeah, I actually meant
Nice, but can I search by keyword ?
Suppose I want to search for the history of Ajax event mentioned by Eelco,
how can I do that ?
Maarten
On Wed, May 14, 2008 at 6:39 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
A new Wicket site is born! It's a Dutch site on which you can search for day
This is not yet implemented. So for now you'd have to know for instance when
and where it is and that will limit your search.
Lars
On Wed, May 14, 2008 at 9:30 PM, Maarten Bosteels [EMAIL PROTECTED]
wrote:
Nice, but can I search by keyword ?
Suppose I want to search for the history of Ajax
so i just implemented IAuthorizationStrategy and on this line in my class:
public boolean isInstantiationAuthorized(Class ? extends Component
componentClass)
i get: Component is a raw type. References to generic type
ComponentT should be parameterized
so that means we have to change our sig to
yes then all the call to that method must be of a generic type.
cant be raw
i dont know what are we going to do in wicket i think we should decide it
should we just where we dont care about generic delete/not use the ? and
then
supresswarning?
johan
On Wed, May 14, 2008 at 9:45 PM, Igor
then our users have to suppress warnings in their code, which is
unacceptable at least to me. the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
-igor
On Wed, May 14, 2008 at 12:48 PM, Johan Compagner [EMAIL PROTECTED] wrote:
yes then all the call to that
Igor Vaynberg wrote:
then our users have to suppress warnings in their code, which is
unacceptable at least to me. the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
I actually like having the generics better than not having it. In both
cases sometimes
how do users get in this situation a warning?
if we as a framework say method(RawType type)
then why would that give a warning in the caller method?
We just say we accept raw type there
johan
On Wed, May 14, 2008 at 9:53 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
then our users have to
just try it, line 6 will giveyou the warning, so we have no choice but
to declare it as Class? extends Component?
01: public static class Test implements IAuthorizationStrategy {
02:public boolean isActionAuthorized(Component ? component,
Action action)
03:{
04:throw
In IDEA it is annoying when you enable inspection 'Raw use of
parametrized class' which is generally quite useful
it will complain on
protected boolean isPageAuthorized(final Class? extends Page
pageClass)
so, no, you don't get a warning but a potentially useful inspection is
more or
On Wed, May 14, 2008 at 1:20 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Igor Vaynberg wrote:
then our users have to suppress warnings in their code, which is
unacceptable at least to me. the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
I actually
well, maybe you get used to warnings, i tend to do something about
them and clean up my code. i do not want to turn this warning off,
because as you said yourself it is a very useful warning, if i turn it
off i might as well not be using generics...
-igor
On Wed, May 14, 2008 at 1:38 PM, Peter
that's exactly what I am saying...
It always pisses me off to see developers checking in code
that delivers like 50-100 warnings and they don't care.
warnings are a good thing.
not so sure about generics (just kidding :-)
Am 14.05.2008 um 22:41 schrieb Igor Vaynberg:
well, maybe you get
Igor Vaynberg wrote:
i do like generics. did i ever say otherwise? the problem here is that
if we scope something as Class? extends Component then even though
you ARE using generics in your code you will still get a warning
because we did not scope the class as Class? extends Component?.
on
the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
:-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Frank,
Is there such a button (officially)?
We just say Built on Apache Wicket at jWeekend.
It's probably not a bad idea (from Wicket's perspective) to have an official
image that can be used (or linked to), if there are no legal complications
with Apache.
Lars,
Thanks for the link - it's
since then the thread has evolved into whether or not we should use ?
extends Component or ? extends Component?
-igor
On Wed, May 14, 2008 at 1:54 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Igor Vaynberg wrote:
i do like generics. did i ever say otherwise? the problem here is that
if
Well I made a new behavior, extending AbstractBehavior implementing
IHeaderContributor. I gave this behavior a reference to the Form that might
have errors, and I added the behavior to the Page on which the Form lives.
In this case, the behavior's renderHead(...) is called as expected.
I'm not
On Wed, May 14, 2008 at 2:25 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
:-)
Generics for models: great. Generics for components: awful. Too bad
that stuff is contagious.
Eelco
wicket 1.6 = scala-based ? *lol*
Am 14.05.2008 um 23:28 schrieb Eelco Hillenius:
On Wed, May 14, 2008 at 2:25 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
:-)
Generics for models: great. Generics for
Igor Vaynberg wrote:
since then the thread has evolved into whether or not we should use ?
extends Component or ? extends Component?
-igor
I don't understand how that changes any of my points. The first is
incorrect (from a generics point of view) since you're referencing an
unparameterized
yeah, generics are pretty damn viral
-igor
On Wed, May 14, 2008 at 2:28 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
On Wed, May 14, 2008 at 2:25 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
the whole generics thing turned out to be
quiet a lot crappier then i thought it would.
:-)
well, apparently johan ran into a situation where component? is too
restrictive...
-igor
On Wed, May 14, 2008 at 2:37 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Igor Vaynberg wrote:
since then the thread has evolved into whether or not we should use ?
extends Component or ? extends
i think something similar happend to me with Model.valueOf(Map), so
i had to change it back to return Model instead of Model?
Gerolf
On Wed, May 14, 2008 at 11:41 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
well, apparently johan ran into a situation where component? is too
restrictive...
Using the tips in this PDF
http://londonwicket.org/content/LondonWicket-FormsWithFlair.pdf
I created the simple RequiredBorder class as follows:
public class RequiredBorder extends MarkupComponentBorder {
public void renderAfter(Component component) {
FormComponent fc =
Maybe you're right.
Yesterday I deployed the application in a high load with a little fewer
heapsize than the usual setting to see whether the same thing happened
again,
and now the heapsize usage increase little by little. the Full GC interval
becomes shorter. I'm sure that several hours later.
I
88 matches
Mail list logo