Great! Always a very useful component!
Tom
On 7-8-2012 9:46, Decebal Suiu wrote:
Hi
I implemented a simple pivot table for wicket that can be found at
https://github.com/decebals/wicket-pivot
Best regards,
Decebal
--
View this message in context:
, 2012 at 11:31 AM, Tom Eugelink t...@tbee.org wrote:
Which means that upon logout, these values should be removed / cleared. A
session does not represent a user, it is a construct to bind request, no
more no less. All other usages are bolted on and should be bolted off. You
don't tear down
in as you describe it.
We'd love to get rid of the additional Signout page though (because it only says
Good bye and is rather annoying for regular users I think ...) :)
Stefan
Am 25.06.2012 13:38, schrieb Tom Eugelink:
Ok. The actual problem I have is that wicket auth keeps logging
On 2012-06-22 16:57, Tom Eugelink wrote:
Anyhow, I've added Wicket Auth/Roles
(http://wicket.apache.org/learn/projects/authroles.html) as the security
framework and it is working fine except one thing; logging out.
I've found that the login / logout logic is invalidating the session. During
Which means that upon logout, these values should be removed / cleared. A
session does not represent a user, it is a construct to bind request, no more
no less. All other usages are bolted on and should be bolted off. You don't
tear down the house, just because you are moving.
Tom
On
I've started a new project and decided to use Wicket for the web component
again. Still intrigued enough to be curious how it will work out.
Anyhow, I've added Wicket Auth/Roles
(http://wicket.apache.org/learn/projects/authroles.html) as the security framework and it
is working fine except
On 16-5-2012 11:29, Martin Grigorov wrote:
On Wed, May 16, 2012 at 11:18 AM, hfriederichsh.friederi...@ohra.nl wrote:
Just an afterthought - I can't figure out the English word for the Dutch
'nabrander'. As it happens, my afterthought has to do with another
(non-existing) Dutch word:
On 16-5-2012 11:52, Martin Grigorov wrote:
Using a resource bundle for i18n has this big benefit for me: all my
translations are in *one* place.
But if the app does not have translations as a requirement?
But this is your app... Ignore me.
That would be unfriendly :-)
Tom
Chiming in;
As it happens I'm currently working on a NoSQL (Cassandra) project and found a
JPA implementation for Cassandra (http://code.google.com/p/kundera/). Currently
JPA is the most used persistency API in Java, allowing for binding with RDBMS,
XML, NoSQL. I decided not to use it, BTW,
On 2012-05-13 13:49, James Carman wrote:
If your application is that simple, check out Wicketopia.
Always interesting, but the information (http://wicketopia.sourceforge.net/)
is, ah, lacking? :-)
Tom
-
To unsubscribe,
Where? I get almost empty pages.
About Wicketopia Example Application
A Rapid Application Development (RAD) library for the Apache Wicket framework
On 2012-05-13 18:44, James Carman wrote:
There is a sample application by the way. It'll give you a good idea of the
capabilities.
On May
I'm back on my Wicket project tomorrow, so I'll give it spin.
Dank je.
Tom
On 2012-05-09 10:31, Hielke Hoeve wrote:
Hi Tom,
We now have a working WiQuery 6. I will release a new snapshot tonight, but you
can clone it from github already.
Hielke
-Original Message-
From: Tom
As a fairly newbie to Wicket I also found the JQuery integration most confusing
(and have abandoned it for now). Too many projects trying to do the same, with
only half a documentation and half of the components. IMHO, with Wicket 6 ready
using jquery for its Ajax (as I understand it), it
I would like to suggest an API improvement in the fluent interface, which
should not break backwards compatibility. Currently if you create, say, a
mandatory FileUploadField, you cannot do this.
/FileUploadField lFileUploadField = new FileUploadField(fileInput,
...).setRequired(true);
/
The Wicket application I'm developing is an internal app which will only be
available in English. In order to not unnecessarily bloat the code and the
project, I'm often use hardcoded labels. I know this is not convention, but
there is no reason for me to introduce a resource file and use the
On 2-5-2012 17:07, Eric Jablow wrote:
Actually, there are reasons to use resource files. If you use a label on
more than one page, or even more than once on a single page, and if your
application is changing as you develop it, you may want to change the text
for a label, and you probably will
On 2012-05-02 17:16, Igor Vaynberg wrote:
if it doesnt store anything then where would it get the value from
when the second request needs to be processed? wicket components live
across many requests.
Don't know. That exactly was my question. Is it possible to not store constant values in
AH! Ok. Makes sense! Thanks.
Tom
On 2012-05-02 17:23, Igor Vaynberg wrote:
no. if you do not want to store the string then instead of a new Model
use new AbstratReadOnlyModel().
-igor
-
To unsubscribe, e-mail:
I've got a form bound to a CompoundPropertyModel. One of the properties
contains a XML document. In order to edit that property, I've added a TextArea
to the form (with the CodeMirror javascript XML editor bound to it), but I need
to convert the XML document property to string and back again.
The converter correctly converts, but if there is an error in the converter,
I'm getting a exception dump on screen.
Root cause:
org.xml.sax.SAXParseException; lineNumber: 4; columnNumber: 3; The element type notificationx
must be terminated by the matching end-tag /notificationx.
at
You are right. I'm sorry.
On 25-4-2012 14:56, Martin Grigorov wrote:
... and if it fails with
org.apache.wicket.util.convert.ConversionException ...
try/catch your code and wrap the original exception in
ConversionException and rethrow
This is very sad; I had a label tag (that was copied with the initial HTML)
wrapping the whole table.
On 2012-04-19 14:11, Tom Eugelink wrote:
Ok, I've opened wicket's ajax debugger and there is NO ajax call.
I hope this helps you find out what causes the jumps in the focused elements
Aha! This is very interesting. I have the same problems and wrote my own
resource finder, which works ok now. But this would explain what the original
problem is! Should be a fairly easy problem to fix, though.
Tom
On 2012-04-20 18:24, Andrew Geery wrote:
An issue I ran into with having
Switched back to simple onchange. All is well now.
On 2012-04-19 16:50, Martin Grigorov wrote:
OnChangeAjaxBehavior uses oninput/onpaste/oncut behind the scenes for
text form components, that's why it reacts on each key press
onchange fires only when you leave the input field
Again a situation where I'm missing the background because of my newbie status.
I have two textfields, one for the buildingnr, the second for the roomnr within
that building. Both have a label to the right with a description.
All four components (2x TextField, 2x Label) are within a single
...@tbee.org wrote:
On 2012-04-13 11:58, Tom Eugelink wrote:
The cursor can be placed in the date fields, but not in any of the
textfield in the listview.
To add some additional information; the cursor can be placed in the
textfields by using the TAB key. A mouse click will always jump
Thank you!
The problem apparently was that I had the ajax bound to onblur and not to
onchange. Copied that from some example on the web.
Tom
On 19-4-2012 14:12, Martin Grigorov wrote:
field1.add(new AjaxFormComponentUpdatingBehavior(onchange) {
onUpdate(target) {
buildingNr =
Hm. Using onchange either directly or via OnChangeAjaxBehavior, I'm not able
to type more that one character in the textbox. As soon as I've typed one, the ajax call
triggers and does a select-all of the textbox (in Chrome), the next keystroke when
overwrites the contents. Onblur does not
Hm. So I type something in field #1, tab to the field #2, start typing,
then the 1 second delay on field #1 triggers the ajax call, it refreshes the
label associated with #1 AND a select all on field #2 happens. This is not an
acceptable user interface experience.
I've upgraded to Wicket
To take it one level further, if I add
onchange=javascript:alert('test');
to an input without and with an OnChangeAjaxBehavior:
div class=clearfix
labelRenewal delay:
div class=input
input type=text size=10 wicket:id=renewalDelay
onchange=javascript:alert('test');/
/div
/label
/div
Removing the OnChangeAjaxBehavior does not help, this behavior comes from the
MarkupContainer; it changes the behavior of the onchange to a per-keypress
event.
Tom
On 19-4-2012 16:40, Tom Eugelink wrote:
The last alert is displayed on every key press, the first after leaving the
field
Is there any particular reason why getConverter has been made final. I really
would like to roll in my own converter in DateTextField to handle Joda time.
Tom
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
https://issues.apache.org/jira/browse/WICKET-4503
By now I have created my own JodaDateTextField and a JodaDateConverter. The
only thing that doesn't work yet is the DatePicker popup; it doesn't format the
time.
Tom
On 2012-04-17 16:21, Martin Grigorov wrote:
I see no reason why to keep
Thanks for the feedback.
So to check if this is the cause, I could simply remove the ajax code.
Tom
On 2012-04-16 08:54, Martin Grigorov wrote:
Hi Tom,
Wicket keeps track of the last focused element only for Ajax requests.
I.e. Wicket sends a header in the ajax requests with the id of the
Just keep in mind that you can't use an EntityModel if the entity has already
been persisted and if you want to change it with multiple ajax
requests/multistep forms. It will lose any changes on every request. Simply
serialize the entity again for that use case.
Stealing the thread back
Another newbie question; it is now the case that each model is serialized
between requests and (I presume) stored in the session. I would really prefer
if a identifier (primary key + lazy locking versionnr) could be remembered and
that each time when Wicket needs the model, it is loaded from
Thanks! This looks very promising!
On 2012-04-14 14:03, Christoph Leiter wrote:
Here's a good article about EntityModel, which does what you want:
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
Christoph
I'm slowly getting some ground under my Wicket feet, but now I have a strange
problem. I've got a form with two TextFields and a RefreshingView inside a
MarkupContainer, building rows containing a DropDownChoice, TextField and a
AjaxSubmitLink. The stripped version of the Java code looks like
On 2012-04-13 14:24, Martin Grigorov wrote:
How many of you tried beta1 ?
I started off with 6, but was afraid things like wiquery would conflict in the
usage of jquery, so I returned to safety using 1.5.5. Should that be a problem?
Otherwise I'll upgrade back to 6.
Tom
On 2012-04-13 11:58, Tom Eugelink wrote:
The cursor can be placed in the date fields, but not in any of the textfield in
the listview.
To add some additional information; the cursor can be placed in the textfields
by using the TAB key. A mouse click will always jump to the first field
Is there any documentation on this jquery support in wicket 6? I'm setting up a
new project ARM and instead of including all kinds of side kick projects, core
support is preferable.
Tom
On 2012-04-08 19:55, msalman wrote:
Thanks to every one for all of your comments and suggestions.
Eclipse in debug mode indeed allows for some limited reloading of classes, but
JRebel does a good job and my explicit HTML code seems to work as well. I still
need to test it thoroughly. But none of Wicket's regular tools seem to work and
that amazes me.
Tom
I've been fighting this for the past two days, but I'm not succeeding. I'm
using Wicket 1.5.5 on GlassFish 3.1.2 and that runs without a problem. I have
configured
filter-classorg.apache.wicket.protocol.http.ReloadingWicketFilter/filter-class
to reload the classes, but that is not working.
43 matches
Mail list logo