Matej Knopp wrote:
On Thu, Jul 3, 2008 at 9:51 AM, Matej Knopp [EMAIL PROTECTED] wrote:
And there is some functionality in there that Wicket might
be better without. For example, onModelChanged / Changing
things become tricky when you share the same model between
different instances. And
Hello,
to your point 2.
You have to build a subclass from LinkTree.
A example is in the attachement.
http://www.nabble.com/file/p18273760/MyTree.java MyTree.java
To point 3.
Why you only want to load only the root and reload the next level?
In my solution all Node are updated via
Thank you for your answer... Unfortunately, it doesn't seem to be the
only reason... I've got some stack trace speaking about css and js
java.lang.IllegalStateException: URL fragment has unmatched key/value pair:
../../resources/mypack.MyClass/script.js
at
There are many state things in a component. Wicket itself has only a
few like model/visibile/enable. But a developer could add many many
more.
In our project this is easily handled by our components. Every
component knows when it is changed, what ever it is and then a visitor
adds them to ajax.
Ok, here is my code. Perhaps the way I (ab)use HybridUrlCodingStrategy
is what made the URLs change.
In the ctor of ChangePasswordPage:
FormPasswordObject form = new FormPasswordObject(form, new
CompoundPropertyModelPasswordObject(passwordObject)) {
protected void onSubmit() {
try {
On Thu, 2008-07-03 at 12:21 +0200, Alexander Landsnes Keül wrote:
I'm having a wee bit of a problem getting TextFields to cooperate in our
project. I'm baffled by the problem, because it's something that's been
working fine for months.
The panel I'm working with is very a simple, a
We're having trouble implementing a page that prevents the user from
navigating away after data has changed on the page without saving. To do
this, we've extended WebRequestCycle with the following:
public class CustomRequestCycle extends WebRequestCycle {
protected void onBeginRequest() {
I have a question about the TreeGrid from Inmethod .
I have a very simple page with this markup:
...
...
body
form wicket:id=form
div wicket:id=grid/div
input type=submit value=click wicket:id=button /
/form
/body
...
...
And the
Hi,
We are using Wicket for our web*site* and want to change the URL of a
mounted page. Is there an elegant way in Wicket to redirect from /old-path
to /new-path or should we better do that the hard way with a URL rewriting
filter?
--
Thanks in advance,
Tom
Hi
I've tried searching for this problem but couldn't find anything useful. My
problem, in a nutshell, is that my PagingNavigation produces empty blocks
where the paging should go. Here's the Java, I'm doing this in the
constructor of a wicket Panel object:
container = new
There should be a span wicket:id=paging / span there after the
wicket:panel tag but it's only visible when i edit the post.
JohannesK wrote:
Hi
I've tried searching for this problem but couldn't find anything useful.
My problem, in a nutshell, is that my PagingNavigation produces empty
I found the problem with this eventually, it was related to using NTLM
authentication. IE doesn't perform any POST on forms until you've negotiated
the password hashes again. Something which we seem to not do :)
Alex
-Opprinnelig melding-
Fra: Alexander Landsnes Keül [mailto:[EMAIL
Hello,
2. Thanks, but your file contains only an empty class.
3. If the tree has ever 2000 nodes, it lasts maybe a little bit to long to
get all data at once from the database.
Kai
2008/7/4 geke [EMAIL PROTECTED]:
Hello,
to your point 2.
You have to build a subclass from LinkTree.
A
sorry hier are the file http://www.nabble.com/file/p18279343/MyTree.java
MyTree.java
To your point 3:
A possible solution would be:
Catch only the root level and next level from the database, give it into the
tree model and display it.
on click on the plus image you catch the next level and
I've also had reports of a similar problem. The logs I have show references
to css files, and I'm sure that the user didn't modify any URLs:
ERROR 11:52:37,426 [btpool1-5] wicket.RequestCycle URL fragment has
unmatched key/value pair:
Thank you Jan! I'm glad not to be alone with this strange problem
On our side, we're using wicket 1.3.1 with the same behavior.
Jan Stette a écrit :
I've also had reports of a similar problem. The logs I have show references
to css files, and I'm sure that the user didn't modify any URLs:
I can actually reproduce this problem now, with our application. I don't
know if this is the only way to make it happen, but it occurs when right
clicking a link and selecting open in new tab, but only where the
resulting page contains a specific type of component that includes the css
file
After having migrated from wicket 1.2.7 to 1.3.4, the following error often
appears in our log:
ERROR - RequestCycle - URL fragment has unmatched key/value pair:
resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js
We use mountBookmarkablePages (nice url's) and a
Hi, I'm working on a project that uses Wicket and OSGi and have come across
some of the same classloading issues. We don't use Spring, so I can't
comment on that side of things. Some brief comments follow below:
2008/7/3 Daniel Stoch [EMAIL PROTECTED]:
Proposal 1 (change actual method
How do you cope with deeply nested model properties? For example:
public class PersonViewer extends ComponentPerson {
..
}
some other component does:
person.getOrders().get(0).setAmount(0); // first order for free (as in beer)
Matthijs
Johan Compagner wrote:
There are many state things in a
Until 1.3.3 the PagingNavigator class added the navigation links on the
constructor, but on 1.3.4 those links are added on the onBeforeRender
method. Are you overriding the method? would be useful if you provide us
with some related piece of code.
Umesh Paliwal wrote:
Hi ,
I had
Upon reviewing wicket-contrib-javaee, I suspect that its behavior wrt
stateful session beans is broken.
afaict, it caches a single lazy init proxy per EJB type
(JavaEEProxyFieldValueFactory#getCachedProxy). It then injects it
into every component that needs an instance of that EJB type.
The
I can't seem to find anywhere, how I get wicket to automatically go to
the home page instead of the Page Expired page when the session is
invalidated (expires, or the user logs out).
Can anyone give me a hint as to were to look (i've likely just missed
it in some documentation)?
- Brill
I can't seem to find anywhere, how I get wicket to automatically go to
the home page instead of the Page Expired page when the session is
invalidated (expires, or the user logs out).
Never actually tried this, but I don't see why it wouldn't work...
24 matches
Mail list logo