Thanks Dan,
my intention is to track ux with our shop. We have for instance a link
you can configure how many
products you see per page. Because we don't know what is the best view
size we want to check
if users use our preselection or always change it to other values.
I will try your
They both have the same version 1.5RC-1
On 19 August 2011 03:06, Dan Retzlaff [via Apache Wicket]
ml-node+3754040-2070811322-260...@n4.nabble.com wrote:
It looks like you have multiple versions of the Wicket JARs on your
classpath. Since that function was removed in
Not sure if this is the same as what you want but we've made all our
page classes derive from a common base which performs the logging
function in the constructor so that you can't miss a log. You can do
some reflection to grab the name of the page class instance or create a
method that is
Hmm wait they are different versions . I fixed that but now I get a
compile error !
Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project mainpage2: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR]
Sorry for posting a lot , I just made a new project to work around the
problem but now I get an exception and that's seem a *bug from the code*
Unexpected RuntimeException
Last cause: null
WicketMessage: Error attaching this container for rendering:
[WebMarkupContainer [Component id = body]]
Hi!
What can be the cause of this error, how can there be concurrent
modification to a item on a page being serialized?
**
Martin
java.util.ConcurrentModificationException
at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
at
Hi Dan,
This is /exactly/ what I was looking for! A simple solution for a simple
problem. I used a (subclass) of a WebResource before for another use case,
and that worked fine, so I got blinded by wanting to reuse the same
solution, at least that is what I think has happened. Whatever.
Thank
Hi all,
I have a form with a Radiogroup :
In my form, I have a radiogroup like this :
RadioGroupString genre = new
RadioGroupString(genreDestinataire);
genre.setRequired(true);
genre.setLabel(new ModelString(Genre destinataire));
genre.add(new RadioString(femme,
Am 19.08.2011 14:21, schrieb Mathilde Pellerin:
Hi all,
I have a form with a Radiogroup :
In my form, I have a radiogroup like this :
RadioGroupString genre = new
RadioGroupString(genreDestinataire);
genre.setRequired(true);
genre.setLabel(new ModelString(Genre
Thank you for your answer Mike.
I didn't find out how could I try with Radio.onComponentTag, so I tried with
tagTester.
I think it could be a good solution, so I did that :
TagTester tagFemme =
tester.getTagByWicketId(formCreationQuestionnaire:genre:femme);
TagTester tagHomme =
Am 19.08.2011 15:35, schrieb Mathilde Pellerin:
Thank you for your answer Mike.
I didn't find out how could I try with Radio.onComponentTag, so I tried with
tagTester.
I think it could be a good solution, so I did that :
TagTester tagFemme =
I add WicketTester.debugComponentTrees() in my test juste before
assertNotNull which failed like this :
TagTester tagFemme =
tester.getTagByWicketId(formCreationQuestionnaire:genre:femme);
TagTester tagHomme =
tester.getTagByWicketId(formCreationQuestionnaire:genre:homme);
Am 19.08.2011 16:38, schrieb Mathilde Pellerin:
I add WicketTester.debugComponentTrees() in my test juste before
assertNotNull which failed like this :
TagTester tagFemme =
tester.getTagByWicketId(formCreationQuestionnaire:genre:femme);
TagTester tagHomme =
Mike, since I didn't really understand your use case, I'm not sure a
site-wide link decorator is the best way to go. You might keep it simple and
just print a log statement when certain actions are performed, then
periodically grep through your log files to generate statistics. My
suggestion
see IFormValidator
On Fri, Aug 19, 2011 at 5:57 PM, eugenebalt eugeneb...@yahoo.com wrote:
Is there a way to have a validator that will highlight two fields, but only
show the error in the FeedbackPanel once? Thanks
--
View this message in context:
Hi Ahmed,
I recommend running Wicket in an IDE with a debugger and stepping through
your code. Personally I deploy my Wicket applications into an Apache Tomcat
server set up within Eclipse. There are many other servlet containers and
IDEs that will work though.
Dan
On Fri, Aug 19, 2011 at 1:16
Yeah, I can do error() on individual components in a form, but how do I do a
*single* error, while *highlighting* several fields? Is there a separate
highlight method?
--
View this message in context:
How reproducible is this? I don't know how the serialization process itself
would cause this, but if it's intermittent then maybe there's a threading /
synchronization bug somewhere.
On Fri, Aug 19, 2011 at 1:59 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
What can be the
I did so but it's a bit confusing . Is there any book or a tutorial that
describes the sequence of calls of the framework ? And how should my code
flow ?
On 19 August 2011 17:04, Dan Retzlaff [via Apache Wicket]
ml-node+3755408-1624030309-260...@n4.nabble.com wrote:
Hi Ahmed,
I recommend
The problem is clear:
java.lang.NullPointerException
at
com.ahmed.task.main3.UserProvider$SortableDataProviderComparator.compare(UserProvider.java:21)
at
com.ahmed.task.main3.UserProvider$SortableDataProviderComparator.compare(UserProvider.java:1)
at
If you put a breakpoint where the NullPointerException is thrown, your
debugger should show you the call stack which tells you the sequence of
calls that got you there. In your particular case, the crux is the
Collections.sort(newList, comparator) call which sorts newList using your
custom
Hi!
I don't know how to reproduce it... and I wonder, because there is
pagemap lock, what else can be modifying stuff during page
serialization?
**
Martin
2011/8/19 Dan Retzlaff dretzl...@gmail.com:
How reproducible is this? I don't know how the serialization process itself
would cause this,
I tend to agree that odds of a Wicket bug in this area are small. Can you
think of a case in your application where a component has a HashMap of
objects which have a TreeMap of objects? Maybe the source of this collection
within your application is the problem.
On Fri, Aug 19, 2011 at 8:50 AM,
hum, yes and no... I mean, page is loaded by an ajax response (AjaxLink),
but then there is no Ajax.
This is the entire test, maybe it can help :
@SuppressWarnings(unchecked)
@Test @Transactional @Rollback
public void testStory23_TA21_VerificationInitialisationBoutonsRadio(){
If i'm not completely wrong is tester.clickLink(path) a wrapper for
tester.clickLink(path, isAjax = true). So you get an ajax response.
You can check that by calling tester.dumpPage().
The problem is that wicket tester only works on page markup. It is not
working on ajax response markup (at
Hi all,
I'm new to Wicket. Can you help me to know what is wicket how it
works? pls ppl's mail me the links for it's tutorials and learning path. Now
i'm using Netbeans 6.9,7.0 so pls share the plugins for it too, Thanks in
advance
On Fri, Aug 19, 2011 at 11:28 PM, Mike Müller
Welcome to wicket Shunmuga
Did you check the website http://wicket.apache.org already. It's all there.
Check the wiki, component examples and books section.
Hope you have fun with wicket
Cheers
Per
-
To unsubscribe, e-mail:
Hi Per Newgro,
Thanks for your valuable information. I dont
know wicket basics also. If u have any tuorials or tutorial links
means pls send me. I downloaded some files for netbeans plugin from
IDE Plugins link. But i dont know how to install it. Do you small
program to
Why not use the RequestLogger? (see chapter 14 of Wicket in Action)
Martijn
On Thu, Aug 18, 2011 at 1:51 PM, Mike Mander wicket-m...@gmx.de wrote:
Hi,
i would like to log execution of bookmarkable page links. I know that they
are only renderered in markup and call the page from the browser.
I believe there are numerous such Maps, but what can be the cause of
concurrent modification? Wicket should be allowing only single thread
operating on the object?
**
Martin
2011/8/19 Dan Retzlaff dretzl...@gmail.com:
I tend to agree that odds of a Wicket bug in this area are small. Can you
30 matches
Mail list logo