Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Johan Compagner
Did you configure tomcat correctly for utf 8? Search this list for the right settings On 30/01/2009, Philipp Daumke dau...@averbis.de wrote: Hi all, when I enter German umlauts (e.g. äöü) in a wicket text field it's converted to äöü. Everything seems to be in UTF-8. I already tried to

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
Hi Jonas, thanks for your help, but I think it doesn't help. Just to make sure that I understood the Application#init correctly, you meant to do it like this, right(?): public class MyApp extends WebApplication { public void init() {

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Johan Compagner
no i mean Tomcat settings not wicket settings search for tomcat utf uri encoding in google On Fri, Jan 30, 2009 at 09:11, Philipp Daumke dau...@averbis.de wrote: Hi Jonas, thanks for your help, but I think it doesn't help. Just to make sure that I understood the Application#init correctly,

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Jonas
Hi Philipp, yes, thats correct. We had similar problems and fixed it that way, but maybe something else is still not set to UTF-8. I assume you have configured your tomcat connector using URIEncoding=UTF-8 (I think that is what Johan is referring to?). Have you tried adding a meta tag to your

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Philipp Daumke
Hi Jonas, hi Johann, grrh, I forgot to set URIEncoding=UTF-8. Now it works, thank you for your help. All the best Philipp Hi Philipp, yes, thats correct. We had similar problems and fixed it that way, but maybe something else is still not set to UTF-8. I assume you have configured your

Re: Ajaxified Notification

2009-01-30 Thread Dipu
take a look at AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior i think this is what you are looking for. Regards Dipu On Fri, Jan 30, 2009 at 6:38 AM, PSkarthic kart...@touchpointindia.com wrote: Hi I am karthic i am using wicket in project and its going well. I have scenerio

Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-30 Thread Thomas Singer
We had similar problems and by changing Connector port=80/ to Connector port=80 URIEncoding=UTF-8/ in the tomcat/conf/server.xml fixed the problem. Tom Johan Compagner wrote: Did you configure tomcat correctly for utf 8? Search this list for the right settings On 30/01/2009, Philipp

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
Probably I was a bit unclear, I was talking about the serialized session on disk. Does the should not grow aspect apply there, too? J. Igor Vaynberg wrote: considering wicket only keeps last-accessed page in session your session shouldnt just keep growing... -igor On Thu, Jan 29, 2009 at

Re: Focus on component

2009-01-30 Thread Philipp Daumke
Hi Matthew, this solution works perfectly well, thanks a lot. Philipp You can write a behaviour for it so it will be more reusable. The following is based on http://cwiki.apache.org/WICKET/request-focus-on-a-specific-form-component.html and works for both regular and ajax requests. private

Re: Increasing session size

2009-01-30 Thread Johan Compagner
yes it grows until a max public DiskPageStore() { this((int)Bytes.megabytes(10).bytes(), (int)Bytes.megabytes(100).bytes(), 50); } (10MB for one pagemap and 100MB for a complete session over multiply pagemaps) On Fri, Jan 30, 2009 at 09:44, Jürgen Lind juergen.l...@iteratec.de

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
Thank you for pointing me to the means to tune the DiskPagestore size. The only question that remains is whether it is normal that it keeps growing and by what extend. J. Johan Compagner wrote: yes it grows until a max public DiskPageStore() {

Unable to find resource: global.application.title for component

2009-01-30 Thread Edwin Ansicodd
Had a runtime exception when accessing the URL of a deployed org.apache.wicket.protocol.http.WebApplication The error occurred while rendering the home page. It says it couldn't find resource: global.application.title Any ideas what I might be doing wrong? Complete error message follows:

Re: Increasing session size

2009-01-30 Thread Johan Compagner
yes until the default 10MB i already said that. On Fri, Jan 30, 2009 at 09:58, Jürgen Lind juergen.l...@iteratec.de wrote: Thank you for pointing me to the means to tune the DiskPagestore size. The only question that remains is whether it is normal that it keeps growing and by what

Re: Increasing session size

2009-01-30 Thread Jürgen Lind
Thank you for clarifying. The reason for for me asking these questions is that it will be asked the very same questions once I recommend using Wicket for the re-implementation of an existing application. I just want to make sure that I have the correct answers :-) J. Johan Compagner wrote: yes

Re: Unable to find resource: global.application.title for component

2009-01-30 Thread Edwin Ansicodd
I found the reference to global.application.title. It comes from within the page: add( new Label(header.title, new StringResourceModel(global.application.title, this, null ) ) ); I just don't know where its being set. -- View this message in context:

Re: Ajaxified Notification

2009-01-30 Thread PSkarthic
Thank you for your reply. Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the client on particular situation. That is many browser(many client logged in) may opened and accessing the wicket application, at some when event occurs for particular client time the server has

Re: Ajaxified Notification

2009-01-30 Thread Ernesto Reinaldo Barreiro
Hi, On Fri, Jan 30, 2009 at 11:04 AM, PSkarthic kart...@touchpointindia.comwrote: Thank you for your reply. Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the client on particular situation. With AJAX timer behavior is the client that periodically makes a round trip

Re: Ajaxified Notification

2009-01-30 Thread Dipu
On Fri, Jan 30, 2009 at 10:04 AM, PSkarthic kart...@touchpointindia.com wrote: Thank you for your reply. Ok i will try AbstractAjaxTimerBehavior but tell me can server notify the client on particular situation. That is many browser(many client logged in) may opened and accessing the wicket

Re: OpenLayer with google WMS

2009-01-30 Thread Nino Martinez
Hi Wadi Check the examples, AFAIR it's a matter of css styling.. Wadi Jalil Maluf wrote: Thanks!One more thing, by default the map is too big, how do I set the size?thanks again, Regards, Wadi -Mensaje original- De: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Enviado el:

Re: Unable to find resource: global.application.title for component

2009-01-30 Thread Michael Sparer
global.application.title should be in a .properties file. Either along your page e.g. HomePage.properties or in YourApplication.properties - or in any other component down the hierarchy hth, michael Edwin Ansicodd wrote: Had a runtime exception when accessing the URL of a deployed

Re: Ajaxified Notification

2009-01-30 Thread Michael Sparer
just wanted to add some starting points on cometd with wicket, as it isn't that easy to find: - how to get including sample app: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-dojo-1.1 - matt raible on cometd: http://raibledesigns.com/rd/entry/dojo_comet_support_in_java -

Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
Hi, I am looking around internet but I still haven´t found what I am looking for - (Bono, do not sue me) I would like to customize a Feedback Panel in a way that error messages are displayed as Red, info as Green and Warn as Yellow (I will need to change the background of this panel to make it

Re: Problems running wicket application on Jetty - Help please.

2009-01-30 Thread Daniel Ferreira Castro
Yes, I did´t and now it iss working when I run the Start Application that is created with the wicket quickstart. Thanks a lot :) On Thu, Jan 29, 2009 at 3:32 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: you have to declare those dependencies in the pom of your project. mvn jetty:run does

Re: Feedback Panel

2009-01-30 Thread Erik van Oosten
The HTML that is rendered by FeedBackPanel provides enough styling that you can do this with CSS. Regards, Erik. Daniel Ferreira Castro wrote: Hi, I am looking around internet but I still haven´t found what I am looking for - (Bono, do not sue me) I would like to customize a Feedback

Re: Feedback Panel

2009-01-30 Thread francisco treacy
for example, in your css: ul .feedbackul { list-style-type: none; font-size: 0.7em; border-top: 1px dashed #BCBAAC; margin-left: 6px; margin-bottom: 20px; padding: 0; width: 90%; } li .feedbackPanelERROR { color:

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
And if I don´t wanna a unumbered list to be as the presentation of the errors and messages? How to do this? On Fri, Jan 30, 2009 at 10:18 AM, francisco treacy francisco.tre...@gmail.com wrote: for example, in your css: ul .feedbackul { list-style-type: none; font-size:

Re: Feedback Panel

2009-01-30 Thread Erik van Oosten
Again, change it with css. Erik. Daniel Ferreira Castro wrote: And if I don´t wanna a unumbered list to be as the presentation of the errors and messages? How to do this? On Fri, Jan 30, 2009 at 10:18 AM, francisco treacy francisco.tre...@gmail.com wrote: for example, in your css:

Re: Feedback Panel

2009-01-30 Thread Erik van Oosten
Well, I am assuming you want either a numbered list, or no bullets at all. If you want something else, you are on your own (copy paste FeedbackPanel and tweak the copy). Look at the Wicket examples to see some CSS customization. Regards, Erik. Erik van Oosten wrote: Again, change it

Re: Feedback Panel

2009-01-30 Thread Anton Veretennikov
This is a simple Panel (without filtering) that can be used instead of FeedbackPanel. It shows itself is any session messages are available. As any Panel it has it's own html. public class MyFeedbackPanel extends Panel { public MyFeedbackPanel(String id) { super(id);

Wicket security: multiple login pages

2009-01-30 Thread Sander Hofstee
Hi, I have an application with two login pages, one for employees and one for clients. Clients login with a key, employees with a username and password. I'm using wicket-security for the authorization stuff. Clients and employees have different pages, so I thought I could determine the

Approaches to complex data

2009-01-30 Thread Steve Flasby
Chaps. Sorry, this is rather long. I am struggling to find a way to handle complex state in my application which will keep the session reasonably small. Here is what I am doing: A Portfolio has many Position. class Portfolio { ListPosition getPositions(){... } I have a PortfolioPage

Re: Approaches to complex data

2009-01-30 Thread Steve Flasby
Gah, sorry, there were a couple of typos, let me try again Steve Flasby wrote: Chaps. Sorry, this is rather long. I am struggling to find a way to handle complex state in my application which will keep the session reasonably small. Here is what I am doing: A Portfolio has many Position.

Active Wicket ExtJS ?

2009-01-30 Thread Hoover, William
Is there any active projects for Wicket and ExtJS out there? I know of the one that used to be at wickettools.org, but it looks like a dead project (no updates for over a year). There was also talk about adding it to wicketstuff around that same time period, but it doesn't seem like that

Re: Building a dynamic comma separated link list

2009-01-30 Thread Prag
I have the same problem. Did you find an elegant solution for this? pixologe wrote: Hi everybody, This is probably quite easy, but I do not seem to be able to find an elegant solution for this, so if anyone could give me a hint, I would highly appreciate it... I'd like to have a

Re: Building a dynamic comma separated link list

2009-01-30 Thread John Krasnay
I did this by subclassing RepeatingView and overriding AbstractRepeater.renderChild as follows... public class SeparatorRepeatingView extends RepeatingView { private boolean firstChildRendered = false; private String separator = | ; public SeparatorRepeatingView(String id,

New Wicket user needs help working with models and displaying results

2009-01-30 Thread CrocodileShoes
Hello, I've just started using Wicket and have managed to convince the management that we should use it for our new project! However, it's proving more difficult for me to wrap my head around some of the concepts...yep the models are one of them! I have an object that is able to query a data

Re: Feedback Panel

2009-01-30 Thread Jeremy Thomerson
You can do everything you've asked for with css. Just google css ul or css ul no bullets, etc. You can view source on a rendered FeedbackPanel to see the classes it uses. Really, it's made to be very customizable and quite straight-forward. On Fri, Jan 30, 2009 at 7:08 AM, Daniel Ferreira

Re: Approaches to complex data

2009-01-30 Thread Igor Vaynberg
use a refreshingview or a dataview or a listview instead of repeatingview. -igor On Fri, Jan 30, 2009 at 6:54 AM, Steve Flasby st...@flasby.org wrote: Chaps. Sorry, this is rather long. I am struggling to find a way to handle complex state in my application which will keep the session

Re: Active Wicket ExtJS ?

2009-01-30 Thread Richard Allen
See: http://code.google.com/p/wicket-ext/ On Fri, Jan 30, 2009 at 10:43 AM, Hoover, William whoo...@nemours.orgwrote: Is there any active projects for Wicket and ExtJS out there? I know of the one that used to be at wickettools.org, but it looks like a dead project (no updates for over a

Re: New Wicket user needs help working with models and displaying results

2009-01-30 Thread CrocodileShoes
I've figured it out. I don't think it's very elegant but i'm sure I can develop it as I learn more about Wicket. I simply created a new property model around a results variable and created a ListView with that model. When the form is submitted it calls the service to update the query. --

Re: Contributing to Wicket - Client side form validation

2009-01-30 Thread Jeremy Thomerson
Sorry it took a while, but I just got this done. jt On Mon, Jan 19, 2009 at 3:59 AM, cazoury carl.azo...@zenika.com wrote: Hi Jeremy, No problem at all, and thanks a lot for reviewing that Please feel free, let me know if you need any action from me on that subject. Carl Jeremy

Re: Contributing to Wicket - Client side form validation

2009-01-30 Thread Jeremy Thomerson
Cemal, I didn't have much time to look into it, but didn't see anything real obvious in any of the yav poms. Do you know what's causing the dependency? On Mon, Jan 19, 2009 at 11:16 AM, jWeekend jweekend_for...@cabouge.comwrote: Jeremy, Since you're digging around in there and if what

Pageable tree?

2009-01-30 Thread Zhubin Salehi
Hi, Is there some kind of pageable tree class in Wicket, or I have to break up my tree to several smaller trees and put them in a PageableListView? Thanks, Zhubin -- View this message in context: http://www.nabble.com/Pageable-tree--tp21754065p21754065.html Sent from the Wicket - User mailing

Re: Wicket security: multiple login pages

2009-01-30 Thread Olger Warnier
Hi Sander, Two different pages for logon is possible with the spring security configuration. It's hard to see a difference based on the URL in Wicket, so Is there a way to determine in your application if you need to logon a Client or a Employee ? You could redirect to the specific logon

RenderedDynamicImageResource being cached when i need it not to be

2009-01-30 Thread Brill Pappin
I have a RenderedDynamicImageResource thats rendering a barcode, however I'm having trouble with it in that it only ever renders one image per session. The resource has been added to: [Application].getSharedResources().add( CommonPage.class,

Re: Feedback Panel

2009-01-30 Thread Daniel Ferreira Castro
Yes...I have been trying to learn more about the framework wicket. I tryied to check on XHTML parser for possible open tags but didn't find any. Eclipse also checks automatically for any open tag. WicketMessage: close tag not found for tag: div class=feedbackPanel wicket:id=feedback. Component:

How to add a component in a behavior ?

2009-01-30 Thread ZedroS
Hi I'm using a behaviour to add component's label like this : public class AddLabelBehavior extends AbstractBehavior { @Override public void beforeRender(Component component) { super.beforeRender(component); component.getResponse().write(new

Re: How to add a component in a behavior ?

2009-01-30 Thread Igor Vaynberg
you cant because it wont have any markup to attach to, instead you can simply output the messages yourself, see my reply to this thread: Form Components With Built In Feedback -igor On Fri, Jan 30, 2009 at 6:04 PM, ZedroS zedros.schwa...@gmail.com wrote: Hi I'm using a behaviour to add