It is disabled i think because else all the numbers that we display
get by default grouping, thats not something most want for integers
So yes installing your own is the right thing to do
On 4/8/08, Matthew Young [EMAIL PROTECTED] wrote:
I don't see any good reason to call
anyone ??
On Mon, Apr 7, 2008 at 9:52 AM, Eyal Golan [EMAIL PROTECTED] wrote:
hello all,
I have an enclosure tag with two inner ones.
wicket:enclosure child=allChecked
input type=checkbox wicket:id=allChecked /
label wicket:id=allSelectedLabel/label
/wicket:enclosure
maybe in string-object we can try both? first with grouping off and
then with groupin on? that way it should cover all possible
usecases...
-igor
On Mon, Apr 7, 2008 at 11:39 PM, Johan Compagner [EMAIL PROTECTED] wrote:
It is disabled i think because else all the numbers that we display
get
Hi,
I'm thinking of migrating the current strut web app to wicket. However, the
application is pretty large in size. Is there any pointer to migrate page by
page or section by section? (2 web app existing at the same time and
behaving as a single web app)
Thank you in advance
--
View this
Thank you for your response...
But it's possible to explain me a little more???
I have tried :
((WebResponse)getRequestCycle().getResponse()).addCookie(cookieUser);
((WebResponse)getRequestCycle().getResponse()).addCookie(cookiePassword);
But i Think the problem comes from the method in my
Hi!
I have extended the SpringWebApplication and the init method looks like
addComponentInstantiationListener(new SpringComponentInjector(this));
I want to access my @SpringBean in the init method but it fails. How can I
do this? I need to cache
all users from a webservice in application
like i said change your code to
((WebResponse)RequestCycle.get().getResponse()).addCookie(...
-igor
On Tue, Apr 8, 2008 at 12:48 AM, Fabien D. [EMAIL PROTECTED] wrote:
Thank you for your response...
But it's possible to explain me a little more???
I have tried :
Hi!
In my property file i can do this
email.subject=Hi {name}! Here is your confirmation.
How can I use this in my wicket page? I have looked at getLocalizer() but
there is no were to set the name variable. How can I use this in wicket?
--
View this message in context:
Hi Mathias,
in short: you cant;
the @SpringBean injection is usually done before the class is really
created so at a time wicket and spring aren't registered yet;
What you could do (not 100% sure) would be to call a simple proxy-pojo
that gets you the data (even maybe a LoadableDetachable
Hi,
How can I use this in my wicket page? I have looked at getLocalizer() but
there is no were to set the name variable. How can I use this in wicket?
you could start using the search function on the mailinglist or browisng
the wicket wiki as we had this question just 23 hours ago
Hi,
I think he can :).
SpringWebApplication is not a Component so this:
addComponentInstantiationListener(new SpringComponentInjector(this));
doesn't matter here.
Before you want to use this @SpringBean in your init() method you should call:
InjectorHolder.getInjector().inject(this);
But then
This is what I got so far
new StringResourceModel( email.forgotlogin.body , Login.this, new
Model(), new Object[]{ user.getUserName(), user.getPassWord() }
).getString();
must I really do this for every string?
--
View this message in context:
Ah, shame on me! youre right - in case of extending SpringWebApplication
it works; in case of ext. WebApplication it wont work - thats what I
mixed up - but only if not using @SpringBean but the get direct;
thx for info Daniel,
Regards,
Korbinian
Daniel Stoch schrieb:
Hi,
I think he can
well, in your case its not an easy string, but one with 2 parameters -
in case you have a plain string you can also use the wicket:message
method that is quite better suited for this (e.g: 2 message blocks - 1
before, 1 after and in middle a simple label that spews out the user data);
if you
You should do it in the init method before you use the @SpringBean
Mathias P.W Nilsson wrote:
Where should I do that?
I have done this right now and it worked
(Application)Application.get()).getSpringContextLocator().getSpringContext().getBean(
setting )
but it is not pretty!
--
Try using InjectorHolder.getInjector().inject(this);
Mathias P.W Nilsson wrote:
Hi!
I have extended the SpringWebApplication and the init method looks like
addComponentInstantiationListener(new SpringComponentInjector(this));
I want to access my @SpringBean in the init method but
Hi,
I have just this simply questin. I am trying to localize my web pages to
different languages. Because my pages are mainly composed by fomrs and I have
not much texts I want to make the localization just by .properties files. All
works good until I want to change the text in submit button.
Hi Milan,
You can use the wicket:message attribute as described on the Wicket wiki
(search for xhtml).
Regards,
Erik.
Milan Křápek wrote:
Hi,
I have just this simply questin. I am trying to localize my web pages to
different languages. Because my pages are mainly composed by fomrs
You could also define your WicketApplication in your spring config by
setting the applicationFactoryClassName property of the WicketFilter to
org.apache.wicket.spring.SpringWebApplicationFactory. This way you don't
have to manually inject your dependencies via the InjectorHolder. The only
thing is
Where should I do that?
I have done this right now and it worked
(Application)Application.get()).getSpringContextLocator().getSpringContext().getBean(
setting )
but it is not pretty!
--
View this message in context:
http://www.nabble.com/%40SpringBean-in-init-tp16548410p16553797.html
Sent
I thought that something like this would work also:
email.subject=Hi {userName}! Here is your confirmation.
getLocalizer().getString(email.subject, Login.this, new Model(user));
Regards,
Erik.
Mathias P.W Nilsson schreef:
This is what I got so far
new StringResourceModel(
Hi,
I created a treeview in a panel component and I wondered how to use the
link proprieties to be able to open a new page when a node is clicked on.
My class:
public class PanelTreeView extends Panel {
public PanelTreeView(String id) {
super(id);
[
Hi,
Is there a jira issue in which the topic is tracked?
Regards,
Erik.
Edvin Syse wrote:
(I wrote this email earlier this evening but forgot to send it it
seems. Here it is:)
When I ran with 1.3.0 I also had 1.3.3 on the classpath. I reverted to
1.3.2 30 minutes ago and still haven't
I tried, but I can't reproduce this warning using your code ...
Eyal Golan wrote:
anyone ??
On Mon, Apr 7, 2008 at 9:52 AM, Eyal Golan [EMAIL PROTECTED] wrote:
hello all,
I have an enclosure tag with two inner ones.
wicket:enclosure child=allChecked
input type=checkbox
That worked like a charm!
Thanks!
--
View this message in context:
http://www.nabble.com/%40SpringBean-in-init-tp16548410p16558424.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
Did you find a solution to this problem? I've got the same problem.
Soniya wrote:
yes I am running it development mode.
--
View this message in context:
http://www.nabble.com/Tomcat-Problem-tp15607207p16558427.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi,
I have another problem with localization. I have stored some names in
database. And I need to get them from database localize them and then render as
some tab menu.
here is the code:
HTML:
div id=navigation
table border=0
tr td wicket:id=navigationlist
a id=link
IIRC, the Button constructor takes a Model that's used as the label text.
You could easily use a StringResourceModel or ResourceModel here.
On Tue, Apr 8, 2008 at 6:05 AM, Milan Křápek [EMAIL PROTECTED] wrote:
Hi,
I have just this simply questin. I am trying to localize my web pages to
Erik van Oosten wrote:
Hi,
Is there a jira issue in which the topic is tracked?
No, not yet. I want to be sure that this is a wicket bug first. I have
now confirmed that I get the same behaviour in 1.3.2, and I'm about to
put on some more logging as suggested to try to give you guys more
Hi,
I have been following the tip in the Wiki,
http://cwiki.apache.org/WICKET/facebook-integration.html and ran into
NullPointerException. The Login class is exactly the class mentioned in the
Wiki.
java.lang.NullPointerException
at org.thlim.sample.wicket.Login.init(Login.java:23)
at
Hello,
I have this problem which is hard to debug, perhaps you guys will give me
some pointers.
The page is a registration page, so it has a form with a number of inputs
and select-s, one of which is pretty huge -- it contains about sixty
countries, and a captcha.
The actual problem is -- this
I have now redeplyed with the following log4j ConversionPattern:
%d{ABSOLUTE} %-5p [%c{1}] [%t] %m%n
I've started saving the ip of the user that creates a new session, and
then before returning the current mailuser from the session I do:
public MailUser getCurrentMailuser() {
String
Hi
I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error
type mismatch in line 227,
wich is this line in wicket-autocomplete.js:
menu.style.zIndex=index==auto?index:Number(index)+1;
Only in IE (6.0) - firefox works fine.
Does anyone else see this problem?
Niels
--
Page by page would be messier than section by section, especially if one page
references another and you have to jump from the Struts app to the Wicket
app.
Mike
xdirewolfx wrote:
Hi,
I'm thinking of migrating the current strut web app to wicket. However,
the application is pretty large
Have you tried using wicket:link around your link tag for your CSS?
On Tue, Apr 8, 2008 at 11:22 AM, Michael Laccetti [EMAIL PROTECTED] wrote:
For some reason the CSS links that I have embedded in my HTML are not
working. The HTML validates perfectly, the CSS URL is available as I can
I think I have something... Look at the attached stacktrace. It seems I
get an NPE on the line where I do:
log.error(Session.get().getId() + + Session.get().hashCode() + +
currentIp + C: + currentCustomer != null ?
currentCustomer.getFullName() : nocustomer);
I think that
For some reason the CSS links that I have embedded in my HTML are not
working. The HTML validates perfectly, the CSS URL is available as I can
browse to it, and yet the CSS is not being rendered by the browser, nor does
Firebug even show it as being requested. For something so simple, I'm
The call to new StringResourceModel#getString will use a localized
value in the construction of the NavigationItem. The NavigationItem
constructor needs to allow an IModel so the localization occurs
dynamically.
There is a quote in Working with Wicket models [1] that is
essentially what that
Has anyone had experience using jQuery's Sortables [1] with Wicket?
These allow the user to reorder lists, even nested lists, by dropping
and dragging them in the browser. The main interface back to Wicket
would probably come in the serialize method, which returns a String
representing the new
Has anyone had experience using jQuery's Sortables [1] with Wicket?
These allow the user to reorder lists, even nested lists, by dropping
and dragging them in the browser. The main interface back to Wicket
would probably come in the serialize method, which returns a String
representing the
Has anyone had experience using jQuery's Sortables [1] with Wicket?
These allow the user to reorder lists, even nested lists, by dropping
and dragging them in the browser. The main interface back to Wicket
would probably come in the serialize method, which returns a String
representing the
Edvin Syse wrote:
Has anyone had experience using jQuery's Sortables [1] with Wicket?
These allow the user to reorder lists, even nested lists, by dropping
and dragging them in the browser. The main interface back to Wicket
would probably come in the serialize method, which returns a String
I thought I understood the component hierarchy but then I started to tell
the guys about it and now I'm not so sure.
If the markup defines a hierarchy as A contains B contains C, in effect,
this means that C is added to B which is added to A. If we expand B to be
more complex we can use maybe a
Hi everyone,
Lets say I am going to use a single integer value as a model object
for the component CheckBoxMultipleChoice packing the selected choices
somehow to this value as bits. Where can I do such a conversion? The
method getConvertor is not called... the methods getConvertedInput and
log.error(Session.get().getId() + + Session.get().hashCode() + +
currentIp + C: + currentCustomer != null ? currentCustomer.getFullName()
: nocustomer);
You should put parent around ?:. The '+' op is evaluated before !=. Your
statement is effectively this:
(C: + currentCustomer)
this page takes about 2-5 seconds to load, but this
only happens when it's loaded for the first time
I observe the same thing and this has to do with Captcha. I think it's
because it uses Java graphic stuff and it take time to load and initialize.
On Tue, Apr 8, 2008 at 7:48 AM, Sergey
Its probably not required for pure wicket applications - but when wicket is
used with legacy or some other applications, it may be required. My
particular usecase is actually for Ofbiz(http://ofbiz.apache.org). There is
information on HttpSession/HttpRequest attributes that Ofbiz stores that I
On Tue, Apr 8, 2008 at 9:05 PM, Matthew Young [EMAIL PROTECTED] wrote:
this page takes about 2-5 seconds to load, but this
only happens when it's loaded for the first time
I observe the same thing and this has to do with Captcha. I think it's
because it uses Java graphic stuff and it take
{\rtf1\ansi\ansicpg1252\fromtext \deff0{\fonttbl
{\f0\fswiss Arial;}
{\f1\fmodern Courier New;}
{\f2\fnil\fcharset2 Symbol;}
{\f3\fmodern\fcharset0 Courier New;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue255;}
\uc1\pard\plain\deftab360 \f0\fs20 Yeah, I have. The link is generated
Matthew Young wrote:
log.error(Session.get().getId() + + Session.get().hashCode() + +
currentIp + C: + currentCustomer != null ? currentCustomer.getFullName()
: nocustomer);
You should put parent around ?:. The '+' op is evaluated before !=. Your
statement is effectively this:
http://recaptcha.net/
On Tue, Apr 8, 2008 at 1:21 PM, Sergey Podatelev
[EMAIL PROTECTED] wrote:
On Tue, Apr 8, 2008 at 9:05 PM, Matthew Young [EMAIL PROTECTED] wrote:
this page takes about 2-5 seconds to load, but this
only happens when it's loaded for the first time
I observe the
Would you believe it but it was AdblockPlus blocking access to the CSS? Ugh.
I blew the last eight hours on this.
Thanks for the help. :)
jwcarman wrote:
Have you tried using wicket:link around your link tag for your CSS?
-
--
Michael Laccetti
On Tue, Apr 08, 2008 at 06:41:20PM +0200, Vitaly Tsaplin wrote:
Hi everyone,
Lets say I am going to use a single integer value as a model object
for the component CheckBoxMultipleChoice packing the selected choices
somehow to this value as bits. Where can I do such a conversion? The
Here goes the other one I think there might be a problem with, since it deals with PageMaps etc, and I'm not all that familiar with them. I
didn't write much of this code, just changed what I needed to get it to work the way I wanted:
/**
* Url coding strategy for pages that encode number
you dont need a panel for the repeater itself. as for variable
component hierarchy inside the repeater itself, you are correct: you
have to either use a panel or a fragment.
-igor
On Tue, Apr 8, 2008 at 9:37 AM, Eric Rotick [EMAIL PROTECTED] wrote:
I thought I understood the component
This wasn't it. I found out that IndexedParamUrlCodingStrategy did the same
thing so I changed to that one and still get the error.. sigh...
-- Edvin
Edvin Syse skrev:
Here goes the other one I think there might be a problem with, since it
deals with PageMaps etc, and I'm not all that
well, you can access the request from the dataprovider using
requestcycle.get().getrequest()
-igor
On Tue, Apr 8, 2008 at 10:10 AM, Ritz123 [EMAIL PROTECTED] wrote:
Its probably not required for pure wicket applications - but when wicket is
used with legacy or some other applications, it
Many thanks for the clarification.
As I am about to start teaching the rudiments of Wicket to a project team I
guess the teacher should know what they are talking about.
On Tue, Apr 8, 2008 at 6:50 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
you dont need a panel for the repeater itself. as for
One more thing that was suggested in class.
Is it possible to define a Panel which had all suitable and appropriate sub
components and then to no-op the ones that were not needed?
So in the earlier example there could be a panel
wicket:panel
span wicket:id=link
span wicket:id=text/
img
Thanks John,
It was the idea that came to my mind first. The question is where I
can create such a wrapper? I need to have it compatible with
CompountPropertyModel... That's the sticking point. Since I cannot
store an array in my mysql database anyway I am going to implement a
subclass of
I have read it - a few times over the last 3 years of using Wicket and
even bought the book ;)
It says
To use a CompoundPropertyModel, simply set one as the model for a
container, such as a Form or a Page. Create the contained components with
no model of their own. Insure that the component
I have worked on this a bit, and I think I know the cause of the problem.
Jered is making inserts into the tree. The way this is handled, is that the
tree first prepends javascript to create a new placeholder in the tree for
the new node, and then it relies on the wicket ajax to replace the node
The problem is still there and now it is getting serious for my business. Would any of the core committers be willing to look at my
application? I'll pay USD 2500 as a onetime fee for looking at this.. (Or name your hour-price)
-- Edvin
you said it yourself:
Insure that the component identifier names match
the appropriate property names.
what that says is that the model you get is the property of the model
object that is in the cpm with the name of component id.
so since your links id is foo it will try to pull out the model
Yep. It looks simple and efficient. But it's quite a repetitive
task. As I already mentioned I am going to create a component. And a
data conversion should be its direct responsibility. The model wrapper
cannot be provided from outside. It would be conceptually wrong in
this case. I think this
we can look at somehow, but what do you have in mind?
is it something that we can test/debug somehow easily?
johan
On Tue, Apr 8, 2008 at 10:53 PM, Edvin Syse [EMAIL PROTECTED] wrote:
The problem is still there and now it is getting serious for my business.
Would any of the core committers
Hi,
We (Johan and me - wicket committers) can look at your application as
this problem seems to be quite serious. What would be the best way to
get the application running so that we can see it also we would need
to see some source code.
-Matej
On Tue, Apr 8, 2008 at 10:53 PM, Edvin Syse [EMAIL
sorry, this was supposed to go off the list, please don't reply here :)
-Matej
On Tue, Apr 8, 2008 at 11:19 PM, Matej Knopp [EMAIL PROTECTED] wrote:
Hi,
We (Johan and me - wicket committers) can look at your application as
this problem seems to be quite serious. What would be the best way
I just came back from a very successful Wicket meetup. I really
enjoyed meeting you all and listening to the great presentations! I
have taped all the sessions, but I have to look at the quality and
convert them to web format. It will take a while before I'm able to
post them online somewhere.
Hi everyone,
I have a question regarding IFormVisitorParticpant, I implement
IFormVisitorParticpant in a panel where my nested form resides, the form
has formcomponents which are set to required. When the processChildren() is
set to return false everything works as normall, none of the
I need to sync a link to a checkbox. Meaning, that clicking on the
checkbox or clicking on the link should select/deselect the checkbox.
I was thinking on adding an AbstractBehavior to the link and then do it
manually with Javascript in the onComponentTag method. Alternatively, I
might be able to
1. Is it possible to load templates from a remote server/url/jar?
2. Is it possible to set breakpoints in templates and debug them using an
IDE?
3. Does Wicket have any support for REST?
4. Does Wicket declare OSGi meta-data in its JARs?
5. Can I write a Wicket application that spans several
Hi,
I was hoping to get the Localizer interface to be able to accept and
translate based on Class in addition to Component.
Basically I have in my non wicket jar I'd like to have
Country.java
and
Country.properties
country.EN=England
country.AU=Australia
country.JA=Japan
In wicket, I
Regarding the debugging:
Debugging is very easy in Wicket since most of the meat is in Java
(instead of tags). What do you mean by setting breakpoints in templates?
I assume that it 'might' be possible to debug the component tag
rendering process, but then one would have to skip the jars and load
Michael Mehrle wrote:
Regarding the debugging:
Debugging is very easy in Wicket since most of the meat is in Java
(instead of tags). What do you mean by setting breakpoints in templates?
I assume that it 'might' be possible to debug the component tag
rendering process, but then one
input type=checkbox id=foo/a href=# onclick=var
c=document.getelementbyid('foo'); c.checked=!c.checked;click/a
-igor
On Tue, Apr 8, 2008 at 4:32 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
I need to sync a link to a checkbox. Meaning, that clicking on the
checkbox or clicking on the link
On Tue, Apr 8, 2008 at 5:08 PM, mraible [EMAIL PROTECTED] wrote:
1. Is it possible to load templates from a remote server/url/jar?
yes. you will have to roll your own IResourceStreamLocator
2. Is it possible to set breakpoints in templates and debug them using an
IDE?
no. but why would
Hello,
What i mean here is that i want to save the exact image of the page (the
main concern here is that i want to capture the user inputed text, the
selected radios and checkboxes and list, basically the html part but the
updated one). I already the try some URLCodingStrategy i found on wicket
I have a page with a form that uses a LoadableDetachableModel nested in a
CompoundPropertyModel. The form has a lot of labels and one text field. The
page is refreshed thru an AjaxFormSubmitBehavior so load only gets called
once. The problem is that I need the value of the text field in order to
bind the textfield to some property, and then reference the property in load()
-igor
On Tue, Apr 8, 2008 at 10:06 PM, Warren [EMAIL PROTECTED] wrote:
I have a page with a form that uses a LoadableDetachableModel nested in a
CompoundPropertyModel. The form has a lot of labels and one text
80 matches
Mail list logo