Hi, I notice that when I have two ajax requests overlapping the
indicator is turned off when the first one completes.
Start AJAX request A - turns on the indicator
Start AJAX request B
Return AJAX request A - turns off the indicator
Return AJAX request B
Would a possible solution be to
I came to Wicket from JSF where I used Seam for managing persistence
contexts.
Actually the latest stable version of Seam is incompatible with Wicket 1.4,
and I realized that the project uses just three things from Seam. One of the
critical things is Seam-managed persistence context. When you
Hi!
I get this warning: Make sure you are not calling
Component#getString() inside your Component's constructor.
Because normally I implement wicket code like this:
XYZComponent extends xxx {
public XYZComponent(String id) {
add(new Label(idxyz, getString(localized_label)); //
Also one very benefiial point of view is just to code something and
when you find a bug (either in your own code or Wicket), debug through
wicket source and find the cause. If it's a wicket bug - contribute
quickstart to jira that repeats the bug. I have learned myself quite a
bit by doing this.
Martin Makundi schrieb:
Or what is the best-practice to avoid these warnings: Make sure you
are not calling Component#getString() inside your Component's
constructor.
I would use a StringResourceModel. Then the value for getString will be
used in rendering not at
construction time.
two solutions come to mind:
1. openEMinViewFilter (see Spring source for such an implementation)
2. custom requestcycle that does this for you (search the list, the
wiki, or see Wicket in Action chapter 13)
Martijn
On Sat, Jul 25, 2009 at 10:37 AM, Vladimir Kovalyukkoval...@gmail.com wrote:
I
I think some example code would help to answer this. Maybe you didn't
refresh the model of the
radio group or your instantiation is not valid.
But with this description we can only shot the dark.
Cheers
Per
-
To unsubscribe,
Mostly Wicket 1.4 at my company, just 1 Wicket 1.3 project left.
Regards,
Erik.
Nick Heudecker wrote:
Hi,
For those of you that don't know, I maintain WicketForge, the Wicket plugin
for IDEA (http://plugins.intellij.net/plugin/?id=1545 or
http://code.google.com/p/wicketforge). Currently,
Ah.. ok. It [StringResourceModel] just feels so much like a waste I
have forgotten about it ;) Tnx.
**
Martin
2009/7/25 Per Newgro per.new...@gmx.ch:
Martin Makundi schrieb:
Or what is the best-practice to avoid these warnings: Make sure you
are not calling Component#getString() inside your
I have a sortableListView on a form
slv=new SortableListView(itemList, item, mlist2) {
public void populateItemInternal(final ListItem item) {
item.add(new Label(label, item.getModel()));
}
};
formm.add(slv);
I would like to get the list of
I created a breadcrumbs panel that automatically creates a series of
bookmarkable links from the home page to the page that displays a details of
currently viewing entity instance.
Usually it looks like for instance home|folders|folder1|folder1.1|document
From the other hand when the user comes
Bookmarkable page doesn't have state and can be created using PageParameters.
Each request for a bookmarkable page will cause a creation of new instance
of that page. In your case, if the page instance have some state (is session
relative), then there is no way to create a bookmarkable link for
It seems that I can override page factory in session and re-use existing page
basing on the parameters values.
Alexandru Objelean wrote:
Bookmarkable page doesn't have state and can be created using
PageParameters. Each request for a bookmarkable page will cause a creation
of new instance
If you can restore the page state from passed PageParameters, then it is
doable...
Alex Objelean
Vladimir K wrote:
It seems that I can override page factory in session and re-use existing
page basing on the parameters values.
Alexandru Objelean wrote:
Bookmarkable page doesn't have
Certainly, parameters are just name of object class and object code/id.
But actually I'm saying that I can create store PageReference with its
related PageParametes in session and using PageParameters from the request
to obtain a Page instance from page store.
The only thing I'm not sure is the
I am learning and evaluating Wicket now and have a question to ask.
I have a page that displays a long list (say 2000) of records. This page is
dynamic, which means the list of records may change for each reload. I
understand that I should use loadable detachable model. My question is: does
:-) Yes. I have log.
There were several crashes. But I could not find out the problem fast. Looks
like it is localization problem. I didn’t put default properties file with
language specific string resources. As result – if you locale among five
predefined locales – it works well. But if no, we
Hi all,
i would like to announce wicket-tree, a new project hosting a clean
slate development of tree components for Wicket.
The API has not been fully stabilized yet but you are invited to take a
first look:
http://code.google.com/p/wicket-tree/
Have fun
Sven
Any live examples, would be nice?
**
Martin
2009/7/25 Sven Meier s...@meiers.net:
Hi all,
i would like to announce wicket-tree, a new project hosting a clean
slate development of tree components for Wicket.
The API has not been fully stabilized yet but you are invited to take a
first
I didn't found live examples neither, but after checking out ( svn
checkout http://wicket-tree.googlecode.com/svn/trunk/
wicket-tree-read-only ) and building the project, there is a war file,
which you could deploy and see the examples.
// at the chekcedfoldercontent (nested tree) example if
This question is not related to the subject of the topic.
Anyway, the answer for you question is:
- if you are using LoadableDetachableModel, then the list is not serialized
with each request... this is the main feature of this type of model, it
detaches its data at the end of each request
Hi,
the project contains an example application:
mvn jetty:run
... should get you going.
The usual Jetty start class is contained too. So do a
mvn eclipse:eclipse
... and you're able to play with it in Eclipse.
Regards
Sven
On Sa, 2009-07-25 at 22:29 +0300, Martin Makundi wrote:
Any
Hi Peter,
// at the chekcedfoldercontent (nested tree) example if I check the
parent, then the kids won't be checked in, is this for purpose?
no purpose here, it's just an example and has nothing to do with the
tree code.
Is there any chance, that a tree would come, which nodes are links
Cool, that was exactly, what I was looking for.
Thanks.
Peter
2009-07-26 00:06 keltezéssel, Sven Meier írta:
Hi Peter,
// at the chekcedfoldercontent (nested tree) example if I check the
parent, then the kids won't be checked in, is this for purpose?
no purpose here, it's just an example
So is the project a war (since it runs with jetty:run)? Wouldn't that make
it hard to use in other projects?
On Jul 25, 2009 6:18 PM, Major Péter majorpe...@sch.bme.hu wrote:
Cool, that was exactly, what I was looking for.
Thanks.
Peter
2009-07-26 00:06 keltezéssel, Sven Meier írta:
Hi
I realized that it is not possible to support bookmarkable page links in
breadcrumbs panel for already instantiated pages because it won't work with
multiple browser windows and tabls.
Therefore I can use bookmarkable links for non-instantiated pages only. It
can be easily accomplished with
26 matches
Mail list logo