I've switched from 1.1 to HEAD and I have some problem with missing resources:
Caused by: java.util.MissingResourceException: Unable to find resource: Required
Validator
at wicket.markup.html.form.validation.AbstractValidator.error(AbstractVa
lidator.java:116)
at
String resource loading changed after 1.1, see:
http://www.wicket-wiki.org.uk/wiki/index.php/Validation_Messages
HTH
Sven
I've switched from 1.1 to HEAD and I have some problem with missing
resources:
Caused by: java.util.MissingResourceException: Unable to find resource:
Required
thats really neat. i dont always have access to the command line that launhces the server so that might be a problem. also does it instrument every class construction? cant tell since there is no code, but if it does, that would be a performance hit.
did you see SpringPage class? it calls the
On Tue, 2005-11-29 at 09:15 -0800, Igor Vaynberg wrote:
thats really neat. i dont always have access to the command line that
launhces the server so that might be a problem.
True. This restriction will be relaxed in mustang where they allow
registering of instrumentation agent after vm
Hello,
In order to list and display editable fields for childrens of a bean,
I use a ListView.
An in order to keep track of validation error messages and user
inputs, I carefully call ListView.setOptimizeRemoval(true) on the
ListView instance.
This works well, as long as I don't try to add or
you might want to try dataview with ListDataProvider along with ReuseIfModelsEqualStrategy or your own IItemReuseStrategy. I think it will make this particular problem easier.-Igor
On 11/29/05, Laurent PETIT [EMAIL PROTECTED] wrote:
Hello,In order to list and display editable fields for childrens
Interesting, I'll look at it immediately !
Does this imply that the use of ListView will somehow become
deprecated sooner or later, with the ListView being just a particular
strategy of the more general DataView concept ?
Or maybe the ListView reimplemented to use the DataView ?
On 11/29/05,
By the way, what do you think is the best starting point for me to
quickly be ready to develop with DataViews, ListDataProvider ...
javadoc ?
examples ? (which one first ?)
thanks in advance,
--
laurent
On 11/29/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
you might want to try dataview with
Phonebook example has the datagrid component inside, which gives a
nice example of the models used. The DataGrid itself uses the
DataView, so you might want to look at that (see wicket-extensions
source for that).
Martijn
On 11/29/05, Laurent PETIT [EMAIL PROTECTED] wrote:
By the way, what do
This IItemReuseStrategy stuff seems to be exactly what the ListView
needs instead of the setOptimizeRemoval() ! !
Great :-)
On 11/29/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
you might want to try dataview with ListDataProvider along with
ReuseIfModelsEqualStrategy or your own
look in wicket-examples / repeater examplesall the components are there.-IgorOn 11/29/05, Laurent PETIT
[EMAIL PROTECTED] wrote:This IItemReuseStrategy stuff seems to be exactly what the ListView
needs instead of the setOptimizeRemoval()! !Great :-)On 11/29/05, Igor Vaynberg [EMAIL PROTECTED]
I hit the same problem with unit tests. i created a singleton that did exactly that. so in test setup i called InjectorLocator.setLocator(new NoopInjector()); and my basepage used InjectorLocator.getLocator().inject(this);
Your approach is definetely cleaner, but personallly i cant use it yet. Is
A problem I face is that I often need the Spring beans already in the
constructor. Ie in a AdvicedTasksPage to give the ProductsDAO further to
the AdviceProductsPanel.
I don't know how turning 'injection' off through a NoopInjector() could
help in such a szenario in a unit test. Because when
Hi all,
Who of you have plans of going to JavaPolis? Belgium beer is the best
beer of the world, and Antwerp is supposed to be a cool city. That
just asks for getting together with a couple of people and have a
couple of those yellow foamy ones!
If you're going, please send an email to this list
Nice piece of work, but it won't work with other Dojo elements.
I tried to build a menu using Dojo DropdownButtons as a Wicket panel. But
the DropdownButtons element of Dojo requires the directory src/widget to be
accessable under dojo.js. The only way I got this to work was to move the
dojo
any feedback on this yet? if not, i guess i will polish it with its current feature set and that will be that.-IgorOn 11/23/05, Andrew Berman
[EMAIL PROTECTED] wrote:I should've known
On 11/23/05, Igor Vaynberg
[EMAIL PROTECTED] wrote:
your wish is my command. now you just have to wait a
To make the Dojo DropdownButtons work I need to generate html like this:
ul dojoType=dropdownbuttons
lia href=#editReply/a
ul
lia href=#1Reply All/a/li
lia href=#2Forward/a/li
/ul
/li
lia
if you call setRenderBodyOnly(true) on components, they will not render tags they are attached to. should fix your problem.-IgorOn 11/29/05, Vinsen, Kevin
[EMAIL PROTECTED] wrote:
To make the Dojo DropdownButtons work I need to generate html like this:ul dojoType=dropdownbuttonslia href="">ul
lia
If so, yes!
--
Joni Suominen
On Tue, 2005-11-29 at 12:53 -0800, Igor Vaynberg wrote:
I hit the same problem with unit tests. i created a singleton that did
exactly that. so in test setup i called InjectorLocator.setLocator(new
NoopInjector()); and my basepage used
Nah removed the
wicket:blah tags, but I need to remove the actual spans
Kevin
From: Igor Vaynberg
[mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 November 2005
3:33 PMTo: wicket-user@lists.sourceforge.netSubject: Re:
[Wicket-user] Trying to be clever with a ListView
if you call
Unfortunately the instrumentation does not help here. I'm using getters
at constructors to overcome this issue.
public class MyPanel extends Panel {
@SpringBean
private ContactDao contactDao;
public MyPanel(String id) {
super(id);
ListContact contacts =
Maybe i dont understandadd(new Label(label, test).setRenderBodyOnly(true));span wicket:id=label[label]/spanwill render as testinstead of
span wicket:id=labeltest/spanisnt that what you want? also dont forget to call it on listitems in listview.populate()-IgorOn 11/29/05,
Vinsen, Kevin [EMAIL
Hi Kevin,
I think there is some misconception here :) We only support the
components which we have implemented. The dojo.js file is a
browseriobuild as described in the VERSION-INFO.txt file. If you need
more Dojo functionality, please upgrade Dojo.js and the VERSION-INFO.txt
file.
If you
maybe a static factory method in the page is the cleanest solution. public class MyPage extends WebPage { private MyPage(String param) { } public static MyPage(String param) {
return new MyPage(param); } public static MyPageInjected(String param) { MyPage p=new MyPage(param);
24 matches
Mail list logo