I am looking to produce the following mark up:
ul
lia href=/Home/a/li
li class=current About/li
lia href=contactContact us/a/li
ul
the problem is I can not add a conditionally to li. I am using ListView
to populate the Items.
Can someone give me a hint about how to achieve this ??
Thank you in
Hi!
I have a fix/patch for two wicket bugs:
https://issues.apache.org/jira/browse/WICKET-3947
https://issues.apache.org/jira/browse/WICKET-3947
and
https://issues.apache.org/jira/browse/WICKET-4700
https://issues.apache.org/jira/browse/WICKET-4700
This fix causes three of the junit tests
You can use a disabled link, which will render as a span.
Sven
On 08/21/2012 08:10 AM, Mansour Al Akeel wrote:
I am looking to produce the following mark up:
ul
lia href=/Home/a/li
li class=current About/li
lia href=contactContact us/a/li
ul
the problem is I can not add a conditionally to li.
One more thing: Wicket 1.4.x is frozen. Only security related fixes
may go in. If we find a fix for these problems we will apply them only
in 1.5.x and 6.x
On Tue, Aug 21, 2012 at 10:31 AM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
Thanks for your contribution!
The .zip that you
Thank you for the information.
I had missed the correct patch protocol and wasn't aware that the 1.4.x was
frozen.
Apologies.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Fix-for-WICKET-3947-and-WICKET-4700-tp4651386p4651395.html
Sent from the Users forum
Use StatelessForm instead.
On Tue, Aug 21, 2012 at 1:06 PM, Alex Shubert alex.shub...@gmail.com wrote:
Hello
Recently I found wicket tree control
http://wicket-tree.appspot.com/nested
and one there is a thing I can't understand: while the page contains
Form it looks like not versioned. I
They are using
FormVoid form = new FormVoid(form);
and still no version in url on round-trips. Also, FilterForm from
Wicket API doesn't extends StatelessForm while your answer states that
must be the case.
On 21 August 2012 14:20, Martin Grigorov mgrigo...@apache.org wrote:
Use StatelessForm
The deployed examples use Wicket 1.4.
http://wicket-tree.appspot.com/?wicket:interface=:0:1:::
On Tue, Aug 21, 2012 at 1:35 PM, Alex Shubert alex.shub...@gmail.com wrote:
They are using
FormVoid form = new FormVoid(form);
and still no version in url on round-trips. Also, FilterForm from
Martin
with all my respect but their build script uses
dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket-core/artifactId
version${wicket.version}/version
/dependency
Sorry for being stubborn but having '?wicket:interface=:0:1:::' in the
url means that this is Wicket pre-1.5 ;-)
I guess Sven will join this conversation later today and explain in
more details.
On Tue, Aug 21, 2012 at 2:16 PM, Alex Shubert alex.shub...@gmail.com wrote:
Martin
with all my
On Aug 20, 2012, at 12:00 PM, Martin Grigorov wrote:
Only form elements can be focused in HTML by default.
To make a normal div focusable you need to add 'tabindex' attribute to it.
I set the focus to the ModalWindow by adding the following attribute:
body onload=window.focus()
...
...
/body
Martin,
http://wicket-tree.googlecode.com/svn/repo/wicket-tree/wicket-tree-parent/0.5.0/wicket-tree-parent-0.5.0.pom
Again, no 1.4 at all. Not in one place. Moreover,
'?wicket:interface=:0:1:::' doesn't means 1.4 is in action. Just take
a look at event listener implementation.
About the problem:
The tree node selections are fully handled by ajax requests, so they
will (obviously) never change the url of the page. Change the selection
of e.g. the dropdown for Content, and you will see that the url
changes.
There are ways to have forms without version/id information in the URL.
Search this
It's obvious that selection of leafs (implemented as
BookmarcableLinks) is NOT handled by Ajax.
BookmarkableFolderContent.java : 62
PageParameters parameters = new
PageParameters();
parameters.add(foo, foo.getId());
The Google Code repo contains 1.5 but the deployed app is using pre-1.5 version.
I can bet on this.
On Tue, Aug 21, 2012 at 3:37 PM, Alex Shubert alex.shub...@gmail.com wrote:
Martin,
http://wicket-tree.googlecode.com/svn/repo/wicket-tree/wicket-tree-parent/0.5.0/wicket-tree-parent-0.5.0.pom
Martin,
does it really makes any difference? Lack of stateless navigation does
( https://issues.apache.org/jira/browse/WICKET-1086 )
Anyway, I explained solution in my prev letter. Thanks!
On 21 August 2012 16:59, Martin Grigorov mgrigo...@apache.org wrote:
The Google Code repo contains 1.5 but
On Tue, Aug 21, 2012 at 4:11 PM, Alex Shubert alex.shub...@gmail.com wrote:
Martin,
does it really makes any difference? Lack of stateless navigation does
( https://issues.apache.org/jira/browse/WICKET-1086 )
I'm not sure what you mean by referring to this ticket. I guess you
just found out
Hi,
I have the following scenario:
Page A
It's the home page without any params.
Calls page B.
Page B
Calls Page C with a modelobject.
Link teljlink = new Link(beosztottak) {
@Override
public void onClick() {
Hi!
I was creating a website with Wicket and the CSS styles were fine.
Then I decided to replace some texts with wicket:message / and it
changed the formatting.
I know setStripWicketTags(true), but I prefer to have it working with
setStripWicketTags(false) in dev. mode.
The html is actually a
Thank you a lot.
Both methods did the trick. One last question in the same context. This is
the code I am working with:
list.add(new BookmarkablePageLinkWebPage(link, HomePage.class));
list.add(new BookmarkablePageLinkWebPage(link, About.class));
list.add(new
And the winner is ... Martin!
On AppEngine I still have Wicket 1.4.x running.
Sven
On 08/21/2012 02:59 PM, Martin Grigorov wrote:
The Google Code repo contains 1.5 but the deployed app is using pre-1.5 version.
I can bet on this.
On Tue, Aug 21, 2012 at 3:37 PM, Alex Shubert
Hi,
is possible to redirect page like this:
redirectToInterceptPage(myPage.html) ?
I can do it: redirectToInterceptPage(new MyPage());
But I know only myPage.html and I do not know what Page class it is. So is
it any way how to use string and redirectToInterceptPage?
Thanks.
--
View this
You should at least escape your ':', i.e. something like: BODY
WICKET\:MESSAGE * { }
But I doubt it will work on any browser. If you really want to keep the
wicket:message tags (imho you're better of without them), you could wrap
them in another container (div/span) and use that conatiner as a
Hi,
I don't think there's a direct way to achieve what you want. However,
you could instead find the page class mapping to the url and use that in
the exception. I'm not too familiar with it, but have a look at
Application#getRootRequestMapper() and its mapHandler method. You could
perhaps
Hello,
We are currently using Apache Wicket 1.5.6 in a clustered setup. We
have a custom built distributed session management based on memcached. Due
to infrastructure limitations, we cannot use sticky sessions. So I am
wondering whether 'ONE_PASS_RENDER' render strategy is the best
25 matches
Mail list logo