Hi everyone!
I have a little problem. When I unit test a wicket panel with a
DropDownChoice I can't get the choices list into dropdown... So, that is
how I use it:
a) ... new DropDownChoice(aWicketId, new ChoicesModel.getObject(),
myOwnChoicesRenderer)
b) The choices Model ist a
Hi Sebastien,
Thats great news, I prefer to use library version as it has a lot of
advantages over rolling my own solution. I tried yours and it works fine for
me. I think example of how to recognize which link was clicked in demo would
be helpful for others, as context menu will certainly need
Hi Bronius,
You're welcome!
Yes, the usage you performed is the intended one. In your case however,
maybe you can optimize it, because when a menu-item is clicked, both
IMenuItem#onClick() and Menu#onClick() are triggered (in that order). So
instead of a 'switch' statement in Menu#onClick(), you
wer
http://www.technicboisnouvelle.fr/uk/tkqrgioxcqp/pxztowtdx/unyjzl.php
Haritha Juturu
Yes I agree, thanks again :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659544.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
Hi thanks for your response.
The errors that I want to send back are my form business error.
I use jQuery validate to do my frontend validation and to display them. We
build a custom plugin to display the business errors the same way the
frontend errors are displayed.
So basically, I send back a
Hi all,
I was wondering if Wicket has a built-in mechanism for caching the
generated byte[] of package resources. I use concatenated resource bundles
that are compressed using the YUI CSS/JS compressors.
Using the default settings, compression is performed for every request that
does not have it
Hi Thomas,
it depends on your deployment mode:
if (application.usesDevelopmentConfig())
{
// development mode:
// use last-modified timestamp of packaged resource for resource caching
// cache the version information for the lifetime of the current http
request
Hi Michael,
This caches only the resource version, e.g. message digest, but not the
actual contents of the resouce.
Kind regards,
Thomas
On Mon, Jun 17, 2013 at 4:02 PM, Michael Haitz michael.ha...@1und1.dewrote:
Hi Thomas,
it depends on your deployment mode:
if
Hi,
As I said in my original post, that markup works, but the
BookmarkablePageLinks that I add are rendered as div tags with onclick
handlers. I am trying to get anchor tags.
I believe the post that Sven referred to is a step in the right direction,
but my markup gives me the unclosed tag
Show us your new markup.
On Mon, Jun 17, 2013 at 5:09 PM, David Solum djso...@yahoo.com wrote:
Hi,
As I said in my original post, that markup works, but the
BookmarkablePageLinks that I add are rendered as div tags with onclick
handlers. I am trying to get anchor tags.
I believe the
Hi,
At the moment there is no caching of the content.
The only library that does such kind of caching is
wicket-bootstrap:bootstrap-less (
https://github.com/l0rdn1kk0n/wicket-bootstrap/tree/master/bootstrap-less/src/main/java/de/agilecoders/wicket/less
)
On Mon, Jun 17, 2013 at 5:06 PM, Thomas
Hi,
but isn't it enough to send the correct cache headers + a calculated filename
that contains the hash of file?
I think caching on your container isn't the best option (using nginx or varnish
or a CDN like Akamai or something similar is way better), else you've to
compile each resource on
Here is the simplest thing I've tried:
wicket:panel
table wicket:id=dataTable border=0 cellpadding=1
cellspacing=1 width=90%
a href=# wicket:id=link /a
/table
/wicket:panel
(I added the spaces after the angled brackets just for
You have to use just table wicket:id=... .../table for the DataTable.
And a separate markup for the cell content. For example with a Fragment:
wicket:fragment id=linkFragmenta
wicket:id=link/a/wicket:fragment
Or use Panel if you don't have experience with Fragments
On Mon, Jun 17, 2013 at 6:19
Hey Michael,
but isn't it enough to send the correct cache headers + a calculated
filename that contains the hash of file?
I actually have aggressive caching and a CDN in front of my resources. So
in 90% of cases, a resource is only generated once per deployment. My
problem is that I need to
We've heard that there is a fix for this available in Wicket 1.5.
However, we are stuck with Wicket 1.4.7 and cannot upgrade, for various
reasons. (We're also already using the AnnotationConfigWebApplicationContext
referred to in the previous post.)
Are there any other workarounds for this
Hello again. Is it cool to ask Scala + Wicket questions here, or is there a
better place for that.
No hate, but I have been so spoiled by Ruby's conciseness, that I would
struggle to go back to the more verbose (though much, much faster) Java syntax,
and would prefer Scala for other reasons,
Sure.
We will try to help.
On Mon, Jun 17, 2013 at 11:21 PM, Michael Pence mike.pe...@gmail.comwrote:
Hello again. Is it cool to ask Scala + Wicket questions here, or is there
a better place for that.
No hate, but I have been so spoiled by Ruby's conciseness, that I would
struggle to go
If you're saying to add the fragment tag outside the table tag, I don't get
any errors, but the Links I add are still rendered as div tags with onclick
handlers. What would tie the BookmarkablePageLinks that I add to the
DefaultDataTable to the anchor tags in your markup? Thank you.
--
View
Please create a mini application (a quickstart) that shows the problem and
upload it somewhere. Or put it in GitHub/BitBucket.
Then someone of us will fix it and send it back to you.
On Tue, Jun 18, 2013 at 12:25 AM, David Solum djso...@yahoo.com wrote:
If you're saying to add the fragment tag
Hi David,
The IColumn#populateItem method populates a cell in the HTML table. It
is as if you are adding your components to markup like this:
td wicket:id=xyz/td
If you have that, and you do:
add(new LinkVoid(xyz){...});
then you will have the same results. Why? Because Link was not
22 matches
Mail list logo