Maxim,
In case there is Droppable in wicket-jquey-ui. I don't know if it achieve
the same need, you can have a look at the demo website...
Best regards,
Sebastien
On Aug 28, 2014 5:12 AM, Maxim Solodovnik solomax...@gmail.com wrote:
done, since I have commit access to wicketstuff I have
Hi,
One way is to provide beforeSend hook for this specific ajax behavior:
attributes.getAjaxCallListeners().add(new
AjaxCallListener().onBeforeSend(YOUR CODE HERE)).
Another way is to set a custom query parameter that will help you recognize
it in the global ajax listener:
1) either override
Hello!
I have functionality that allows users to change their own role in the
system. After changing their role I want to clear the pagestore, so users
cannot access unauthorized pages with their back button. How should I do
that?
Thanks Sebastien, will give it a try :)
On 28 August 2014 13:24, Sebastien seb...@gmail.com wrote:
Maxim,
In case there is Droppable in wicket-jquey-ui. I don't know if it achieve
the same need, you can have a look at the demo website...
Best regards,
Sebastien
On Aug 28, 2014 5:12 AM,
Hi,
Using org.apache.wicket.Session#replaceSession() will do it. But it will
replace the whole http session so this could be too much.
To clear just the page store you need to do some more work:
extend org.apache.wicket.DefaultPageManagerProvider and
override
Sebastien, just take a look at it, it seems like i can use it and remove
dnd dependency, thanks for the tip!
On 28 August 2014 13:46, Maxim Solodovnik solomax...@gmail.com wrote:
Thanks Sebastien, will give it a try :)
On 28 August 2014 13:24, Sebastien seb...@gmail.com wrote:
Maxim,
In
Hi,
release com.github.svenmeier.wicket-dnd for wicket7
the current version is compatible with Wicket 7.
Regards
Sven
On 08/28/2014 05:12 AM, Maxim Solodovnik wrote:
done, since I have commit access to wicketstuff I have created
select2-wicket7 branch
@Sven could you please release
Hello Sven,
some wicket libraries: wicket-dashboard, wicket-select2 are compile time
compatible with wicket7, but not compatible in runtime (was compiled with
wicket6 and doesn't work with wicket7 based application)
Have you tried wicket-dnd with wicket7 application (I cannot check due to
other
Hi,
is it OK to revert the change in
org.apache.wicket.page.PageStoreManager#sessionExpired(String) ?
This way Wicket will attempt to clear the pages twice for the same sessionId
but in case of Session
Fixation Protection it may actually clear both the pages of the old and new
sessions.
But in this case it will try to delete the data in the page store for
non-existing session id, right ?
So it is just a no-op.
getSession().getPageManager().sessionExpired(sessionId) is useful for the
use case described by Erki.
If PageStoreManager#sessionExpired(String) should be no-op then I
Hi,
Have you tried wicket-dnd with wicket7 application
yes, works here.
Sven
On 08/28/2014 09:23 AM, Maxim Solodovnik wrote:
Hello Sven,
some wicket libraries: wicket-dashboard, wicket-select2 are compile time
compatible with wicket7, but not compatible in runtime (was compiled with
wicket6
Hi,
org.apache.wicket.Application#sessionUnbound() should not call
IPageManager#sessionExpired(String).
agreed.
But if the application needs to clear the data manually for any reason
then it is OK, i.e. PageStoreManager#sessionExpired(String) will call
pageStore.unbind(sessionId).
1) The
Sounds good! (Wicket 7 only)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Aug 28, 2014 at 12:06 PM, Sven Meier s...@meiers.net wrote:
Hi,
org.apache.wicket.Application#sessionUnbound() should not call
IPageManager#sessionExpired(String).
agreed.
I actually did try replaceSession before but now I see that the reason it did
not work was that I used it inside an ajax request. After doing a redirect
with pageparameters instead, it worked.
--
View this message in context:
https://git-wip-us.apache.org/repos/asf?p=wicket.git;a=commit;h=b8382271
@Sven: does it look OK ?
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Aug 28, 2014 at 12:15 PM, Jack Berg erki.pub...@gmail.com wrote:
I actually did try replaceSession before
BTW Session#clear() seems to be no-op (broken) too in 6.x
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Aug 28, 2014 at 2:20 PM, Martin Grigorov mgrigo...@apache.org
wrote:
https://git-wip-us.apache.org/repos/asf?p=wicket.git;a=commit;h=b8382271
Dear forum,
I want to bundle css files from inside my wicket application.
I read wicket guide Resource management
https://wicket.apache.org/guide/guide/resources.html chapter and wicket
in action Wicket 6 resource management
http://wicketinaction.com/2012/07/wicket-6-resource-management/
Hi,
Bundle only local resources.
If a resource is available thru a CDN network then it is recommended to use
it directly from there.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Aug 28, 2014 at 2:53 PM, lucast lucastol...@hotmail.com wrote:
Dear
Hi Martin, Lucas,
AFAIK font-awesome's license prevent to package/redistribute it, so the
question might be how can I make a resource reference from an online/CDN
file?...
Hi Sebastein, and Martin
Thank you for your post.
I think until Martin's reply I had the impression that one could bundle
local resources AND third party resources together.
Based on Sebastien's post, that would not be possible for certain third
party libraries such as font-awesome. Would that
Hi,
It seems you don't value the benefit of CDNs...
If you really want it you can extend few classes (ResourceReference
related) and make it possible to bundle local and remote resources.
But I don't recommend it.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On
I have Wicket 7.0.0-M2 running on embedded Jetty, which is correctly
returning a content type of UTF-8 for my Wicket page:
Date: Thu, 28 Aug 2014 15:37:52 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, no-store
Content-Type: text/html;
Look at
http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tt4661751.html#a4661768
François Meillet
Formation Wicket - Développement Wicket
Le 28 août 2014 à 17:47, Garret Wilson gar...@globalmentor.com a écrit :
I have Wicket 7.0.0-M2 running on embedded
Please explain explicitly what you are trying to say. I don't see how
that link is relevant.
* I am using FooterPanel.properties.
* Java properties files, as per the specification
http://docs.oracle.com/javase/8/docs/api/java/util/Properties.html,
are (and always have been) encoded in
use *.utf8.properties
François Meillet
Formation Wicket - Développement Wicket
Le 28 août 2014 à 17:47, Garret Wilson gar...@globalmentor.com a écrit :
I have Wicket 7.0.0-M2 running on embedded Jetty, which is correctly
returning a content type of UTF-8 for my Wicket page:
Date:
So are you saying that Wicket does not support ISO-8859-1 properties
files that adhere do the Java standard? Or are you saying, I don't know
what the problem is, I'm just giving you a workaround? If so, I
appreciate the workaround tip, but that still doesn't explain what the
problem is.
I'm
http://wicket.apache.org/guide/guide/
François Meillet
Formation Wicket - Développement Wicket
Le 28 août 2014 à 19:24, Garret Wilson gar...@globalmentor.com a écrit :
So are you saying that Wicket does not support ISO-8859-1 properties files
that adhere do the Java standard? Or are you
Exactly! Quoting from the page you provided: Java uses the standard
character set ISO 8859-11 to encode text files like properties files.
... (Note that this is a typo above---the author meant to say ISO
8859-1, not ISO 8859-11. The link to
http://en.wikipedia.org/wiki/ISO/IEC_8859-1 in the
Have you tried using directly unicode character? i.e.:
copyright=\u00A9 2014 Example, Inc.
If you don't want to use unicode characters you should use an xml file
as bundle file.
Exactly! Quoting from the page you provided: Java uses the standard
character set ISO 8859-11 to encode text files
Hi Garret,
Garret Wilson wrote:
Exactly! Quoting from the page you provided: Java uses the standard
character set ISO 8859-11 to encode text files like properties files.
... (Note that this is a typo above---the author meant to say ISO
8859-1, not ISO 8859-11. The link to
I appreciate all the workarounds suggested. But no one has addressed the
core issue: Is this a Wicket bug, or am I using standard property files
incorrectly?
Garret
On 8/28/2014 10:42 AM, Andrea Del Bene wrote:
Have you tried using directly unicode character? i.e.:
copyright=\u00A9 2014
On 8/28/2014 10:53 AM, Stefan Renz wrote:
...
if I read your original post correctly, you have not used ISO-8859-1
encoding in your property file, as I clearly see a (C) symbol.
Since when is © (U+00A9) not part of ISO-8859-1?
http://en.wikipedia.org/wiki/ISO/IEC_8859-1
Garret
It's just an encoding conflict: your properties uses ISO-8859-1, your
page UTF-8. The result is a bad rendering, as you can see. When Java
designers decided to adopt ISO-8859-1 they didn't consider most of the
Asian languages...
PS: just as a personal advice, try to be less rude in your
Hi Garret,
I like to find the source of the problem.
Me too :).
My configuration, as far as I can tell, is correct.
From what you've written, I'd agree.
You should create a quickstart. This will easily allow us to find a
possible bug.
Regards
Sven
On 08/28/2014 07:56 PM, Garret Wilson
Thank You.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/identify-if-request-is-from-AbstractAjaxTimerBehavior-in-ajax-call-beforesend-tp4667186p4667225.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi Martin
Thanks for the updated DataTables in wicketstuff, this works well under
tomcat, but deployed on wildfly I get the following error still.
20:59:56,175 WARN
[org.apache.wicket.request.resource.ResourceReferenceRegistry] (default
task-22) A ResourceReference wont be created for a
Hi David,
But you use Wicket Bootstrap already, no ?
It uses Webjars a lot.
Why do you face the VFS issue now ?
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Aug 28, 2014 at 11:20 PM, David Beer david.m.b...@gmail.com wrote:
Hi All
Got it to work
Hi Martin,
Yes I use the wicket-bootstrap which seems to work fine without the extra
settings for vfs. If I remove the code to add vfs support DataTables does
not load the css or js. As you can see from the below log output, the
properties in wicket-bootstrap load fine, but those from the
On 8/28/2014 11:14 AM, Andrea Del Bene wrote:
It's just an encoding conflict: your properties uses ISO-8859-1, your
page UTF-8. The result is a bad rendering, as you can see. When Java
designers decided to adopt ISO-8859-1 they didn't consider most of the
Asian languages...
PS: just as a
On 8/28/2014 12:08 PM, Sven Meier wrote:
...
My configuration, as far as I can tell, is correct.
From what you've written, I'd agree.
You should create a quickstart. This will easily allow us to find a
possible bug.
Better than that, I'd like to trace down the bug, fix it, and file a
I created a Wicket quickstart (from
http://wicket.apache.org/start/quickstart.html) [this is Wicket 6.16.0] and
made two simple changes:
1) I created a HomePage.properties file, encoded as ISO-8859-1, with a
single line as per the example above: copyright=© 2014 Example, Inc.
2) I added a line
41 matches
Mail list logo