2010/3/30 Cemal Bayramoglu
> Olivier,
>
> I got Jame's stuff [1] up and running (thanks James) with just a few
> small changes to the POMs - maybe he has stuff already in his local
> Maven repo that is no longer on the main public repos) working with
> little effort.
>
> If you'd like to make (an
I do also think that it's because Wicket is not a managed framework :
everything is simple unmanaged POJOs except for your classes extending
WebPage which are "managed". I've juste had a quick look at JSF 2.0 and
never worked with it - but I worked with Wicket - so I did not expected
Wicket JEE6 in
Hi,
Wicket has very good support in Weld, but to make it work I had to update
the weld-integration.jar, otherwise the sample Numberguess application is
looking for an unexisting method in the 1.0.0 Weld API : this is your
problem.
If you don't want to do it by hand like suggested by Iskandar, you
Aren't you missing a :
modalContentWindow.show(target)
in the onClick callback ?
2010/1/25 Chris Colman
> Searching Nable shows this question has been asked before but there none
> of the solutions proposed there work for me.
>
> I have a link in PanelA that, when clicked, should cause PanelB
ing.
> In the last few weeks a new version of TeamCity was installed. I'll give it
> another try and figure out how to create a release.
>
> We use the SNAPSHOTS in production without issues, so it should be no
> problem. Otherwise drop a mail.
>
> Kind Regards,
>
>
Is there any news regarding a release of Swarm 1.4 ? Because there's still
only the 1.4 snapshots in the repository.
For information, I'm currently using it with Wicket 1.4.3 and got no problem
so far : page security and component conditional rendering works fine.
2009/7/10 Luca Provenzani
> th
You can also override the template loader for the application. That's what
I've done and our templates and properties are in a different project than
the application. I also have two differents SVN repos.
The pros :
- you have instant template/properties reloading in development mode without
rede
2009/10/21 dtoffe
>
>By the way, just out of curiosity, what are the specific features you
> are missing in Wicket Bench ??
>
> Regards,
>
> Daniel
>
Hi,
I tried a little bit Wicket Bench and stoped because it's missing one
important feature for me : a way to use a custom IResourceFinde
Ha thanks Jeremy !
And I didn't think of that :(
2009/10/19 Jeremy Thomerson
> add(new Label("comment", "").setEscapeModelStrings(false));
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
Hi list,
I'm trying to add to my page header a comment that contains some
informations extracted from my app, like this :
But I just can't find a way to do this in Wicket : a component inside a
comment is not recognised, and there is no "Comment" component.
Anyone got an idea of how to do t
Well, you can't change the behaviour of ServletRequest.getLocale() unless
you want to patch your servlet container :)
But you make me think it would be great in the Servlet API to have something
like setAcceptedLocales(Enumeration e) and let the servlet container do the
work of matching the browse
Ho well, I didn't understood correctly your question, sorry.
Have you tried tho use a custom WebSession ?
- in your WebApplication class overload the newSession method :
@Override
public Session newSession(Request request, Response response) {
return new YourCustomSession(this, r
2009/10/16 Per Newgro
> Hi Olivier,
>
> isn't mod_jk a bit heavyweight for this little usecase?
>
I don't know your case, for mine, every project I worked on already had a
mod_jk. And it is a common pattern with J2EE development : simply because
when you have static resources to serve on a high
Use the StringResourceModel with properties bundle, it is very powerful
because you can add dynamic data coming from the model. I've done some
things like this, assuming infoModel.dateFormat() returns a formated date :
new Label("tableTitle", new StringResourceModel("table.title", this, new
Model
If you are using Apache + Mod-JK in front of your webapp, you can use
mod_rewrite features to rewrite the HTTP headers and force the accepted
language field to a value your application supports.
Otherwise you can simply create a class that extends WebPage, then override
the getLocale() method and
s Ziemelis
> Olivier Bourgeois wrote:
>
>> I'm using BG translations for my app, but not the Wicket default ones, and
>> I
>> am using a mix of UTF-8 properties files and XML files. I just had a look
>> with wicket 1.4.2 and the BG translations are broken : I think
2009/10/12 Girts Ziemelis
> Wicket version is 4.1
> Regarding encoding - I know - it is encoded in the properties file -strings
> I posted are once the strings are decoded to UTF-8 -for IDE (Netbeans, for
> example, does this automatically for *.properties files) and for the web
> site (in UTF-8)
What version of Wicket are you using ?
You should have native2ascii encoded strings in the property file :
Required=\u00d0\u0178\u00d0\u00be\u00d0\u00bb\u00d0\u00b5\u00d1\u201a\u00d0\u00be
'${label}' \u00d0\u00b5
\u00d0\u00b7\u00d0\u00b0\u00d0\u00b4\u00d1\u0160\u00d0\u00bb\u00d0\u00b6\u00d0\u00b8
Have you tried something like this in your page.java :
pwd.setLabel(new Model("Password"));
?
2009/10/7 Tomás Rossi
> Hi,
>
> lets say you have this in you html form:
> --
> ...
> Password
>
> ...
> --
>
> Then, a properties file for your app with this:
> --
> ...
> R
QUEST
ERROR
Just add your Cayenne filter in your web.xml and you're done.
2009/10/7 Peter Arnulf Lustig
> Cayenne needs his own filter.
>
>
>
> - Ursprüngliche Mail
> Von: Olivier Bourgeois
> An: users@wicket.apache.org
> Gesendet: Mittwoch, den 7. Ok
Why would you replace the Wicket filter ?
You can have multiple filters defined in your web.xml , they are chained by
your application server.
2009/10/7 Peter Arnulf Lustig
> Great piece of software!
>
> But how did you manage to replace
>
> the web.xml filterclass into:
>
>
> org.apache.cayenn
I'm located in Paris. We are just missing somebody from Lille and Nice for a
perfect dispatch :)
; I meant ear files
>
> 2009/9/14 nino martinez wael :
> > You can if you put them in different wars.. That will work.
> >
> > We have a similar setup that does this.
> >
> > 2009/9/14 Olivier Bourgeois :
> >> Except that you can par
Except that you can parameter JBoss to use an "optimization" of its own :
UnifiedClassloader :
http://www.jboss.org/community/wiki/classloadingconfiguration
>
> In jboss-3.2.3, the jbossweb-tomcat41.sar is configured to use a unified
> class loader as the web application class loader. This is con
Allright, I fed the daemon ;)
I created a new issue in
https://issues.apache.org/jira/browse/WICKET-2451 and I found that
WICKET-1443 is similar but already closed since 1 year.
2009/9/2 Eelco Hillenius :
>> The result is in the attachment file (sorry but I don't have a quick
>> way to do a patch
I had a look at T5 and Spring code :
- Spring checks if the JDK supports UTF-8 files, and if it does not
support it acts like T4 and parses the properties file. The
implementation is much more compact than in T4.
- T5 does a native2ascii conversion of the properties files on the fly.
So I figure
>
> But I'm sure you can write a properties implementation that reads from
> UTF-8 in a few hours max, especially now that you have an example in
> Tapestry's code. Patch is welcome :-)
>
> Eelco
>
> -
> To unsubscribe, e-mail: use
Yeah, one charset to rule them all !
:-)
2009/9/1 Johan Compagner :
> Everybody should stop using any other encoding then UTF-8
> Common people we should start this change from happening now :)
>
> Drop all charsets and all over the world. ban them everywhere, it should be
> illegal to use them,
s your messages into ASCII escaped.
>
> Regards,
> Wojtek
>
> Olivier Bourgeois pisze:
>>
>> That's exactly what I said : I had to use XML properties files to have
>> UTF-8 localized properties.
>>
>> You can't use simple properties format b
That's exactly what I said : I had to use XML properties files to have
UTF-8 localized properties.
You can't use simple properties format because Java can't handle
natively anything else than ISO. We use also Tapestry here, and you
can use UTF-8 properties files (thanks to the wrapper around nativ
Looks like more of a spring-security question that a Wicket one : try
the spring-security forums. I suggest you have a look at this :
http://forum.springsource.org/showthread.php?t=52377
And this nice example up to date (but it's for wicket-swarn) :
http://out-println.blogspot.com/2009/02/wicket
I am using Wicket 1.4 with UTF-8 pages and properties, and I added in
my Application :
getMarkupSettings().setDefaultMarkupEncoding("UTF-8");
getRequestCycleSettings().setResponseRequestEncoding("UTF-8");
That's enough. For the localization properties files I had to use XML
proper
Hi,
I'm trying to implement a simple sortable datatable with Wicket, and I'm
struggling with an issue I can't find a way to solve : how to build a
sortable column when the data to be sorted is also to be translated and
comes from the property files (not from the model directly) ?
I've done this :
33 matches
Mail list logo