Localization encoding

2008-09-30 Thread Milan Křápek
Hi, I have problem with localization encoding. In my application I use the both ways how to localize it. The first: storing localization in property files wokrs perfect, but the second: defining two HTML files has some problem with encoding. I use 'cs' encoding for Czech language. The chars

Pure client side validation

2008-09-30 Thread harrypitt
Hi, The company I'm working for is evaluating different java-web-frameworks and it seems that Wicket or JSF will be the winner (To be honest, my personal opinion is that Wicket is the far better choice). In this evaluation i have to make sure if the framework supports pure (java script) client si

New wicket blog by Wicket committers

2008-09-30 Thread Martijn Dashorst
As some of you that read A Wicket diary already know: I've moved my Wicket related blogging to yet another blog (and it will stay there, I promise!). I have great plans with this new blog/website, and one of them is to have multiple authors from the core Wicket team writing content. I am happy to

Re: "WANG–Wicket Ajax Next Generation –being based on YUI" (MD)

2008-09-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi Matej I was just thinking if WANG Wicket Ajax comes loosely coupled to the js lib? If it does, then people could then implement their own js bridge to what ever js framework they like... Im just thinking aloud here... Btw, I don't care which js lib you are gonna use as long as it's the be

Re: New wicket blog by Wicket committers

2008-09-30 Thread jWeekend
Martijn, This is a great idea and site is evolving very nicely already. It's no great surprise that the book is doing so well - who knows, maybe you really will eventually get a holiday with the missus out of it! I bought another copy on Sunday, from the famous Foyles bookshop on Charing Cross R

Re: OnChangeAjaxBehavior in ListView

2008-09-30 Thread Anders Peterson
Here the code, html and Java fragments, for the . /Anders Timo Rantalaiho wrote: On Mon, 29 Sep 2008, Anders Peterson wrote: I'm using OnChangeAjaxBehavior with a TextField. The TextField is in a table cell that is repeated using a ListView. When I change the value of one of the TextFields

POI HSSFSheet to ListView

2008-09-30 Thread Mathias P.W Nilsson
Hi! I have alot of Excel documents that I want to present using Wicket and POI. The problem is that I don't know how to get started using this. Here is a simple loop on how to extract cells. InputStream inp = new FileInputStream("workbook.xls"); HSSFWorkbook wb = new HSSFWorkbook(new POIFSFileS

RepeatingView: add new component at specified index

2008-09-30 Thread Edgar Merino
Hello, is there any way to control the underlaying Collection a WebMarkupContainer holds? So I can control where to insert the new components to be added (with an index, for example). Thanks in advance. Edgar Merino - To

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-09-30 Thread Jörn Zaefferer
ExtJS actually tried implementing bridges to other libraries when they tried to get independent of YUI. The ended with rolling their own and removing all bridges. Unfortunately its still a bloated intertangled web of dependencies, with over 200k for just some basics... Jörn On Tue, Sep 30, 2008 a

Last chance to register for London Wicket Users Group tomorrow

2008-09-30 Thread Al Maw
Hi everyone, If you're unable to get to London tomorrow evening, you can stop reading now. Just a quick reminder that as previously posted, we're holding a London Wicket Users Group meet-up at Google UK at *6:30pm tomorrow evening*. This time around looks like it will be particularly good, with

Re: wicket panels and parent class

2008-09-30 Thread James Carman
Exactly. The (typed) IModel abstraction approach is the most "wickety" way of doing it. :) On Mon, Sep 29, 2008 at 9:13 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 29 Sep 2008, James Carman wrote: >> Just be careful. If the object reference in the parent is retrieved >> from a Loada

Re: RepeatingView: add new component at specified index

2008-09-30 Thread pixologe
Hi there, insert using AJAX? Couldn't you just alter the underlying List as you like it, and have the whole RepatingView redrawn by adding it to the AjaxRequestTarget...? Or are you thinking of something more special? Cheers Edgar Merino wrote: > > Hello, > > is there any way to cont

Wicket/Seam on Tomcat 6?

2008-09-30 Thread Martijn Lindhout
Hi all, Has anyone a running setup of Wicket/Seam on Tomcat. No EJB's, just JPA. I get a string ClassNotFoundException on a class that is present in WEB-INF/classes -- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29

Re: Pure client side validation

2008-09-30 Thread pixologe
Hi Harry, Well, it should be possible to create a Behavior taking care of stuff this... e.g. like textField.add(new ClientSideRequiredValidationBehavior(myErrorLabel)); ClientSideRequiredValidationBehavior should override onComponentTag then to add onchange/onblur javascript code to your inpu

Re: "WANG–Wicket Ajax Next Generation– being based on YUI" (MD)

2008-09-30 Thread Nino Saturnino Martinez Vazquez Wael
From checking wicket ajax and wicket event as is now, it's not that many lines of code. I guess you should just be able to drop in your own version of them I guess.. But if people are never to do the bridgin then it's just a vaste of time. Jörn Zaefferer wrote: ExtJS actually tried implementi

wicket:link, markup inheritance and packages

2008-09-30 Thread Adriano dos Santos Fernandes
Hi! I've created a BasePage.html/java in directory/package mm.sistema.web. Its body is: Home ADM0190F In same directory I have the HomePage.html, with this body: So far, so good. But my mm.sistema.web.adm.ADM0190F inherits from

RE: New wicket blog by Wicket committers

2008-09-30 Thread Stefan Lindner
On the page "buy the book" (http://wicketinaction.com/buy/) is a wrong url for "Manning.com-Ebook and print". The wrong url is "http://manning.com/dashorst"; the correcturl is "http://www.manning.com/dashorst"; Stefan -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:[EMAIL PROTEC

Migrating to 1.3 and ajax tree's

2008-09-30 Thread Alexander Anguiano
Hi, I'm migrating to 1.3 and the notes recommend the new tree implementation in the 1.3 and not the one in extension. I have a couple of question about this 1) Which Tree class do I use? BaseTree? 2) The renderNode method is missing. What is the equivalent in the new Tree classe

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-09-30 Thread Matej Knopp
Thanks for the response. On Tue, Sep 30, 2008 at 5:11 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > I'll go through a few things in the wicket-ajax-ng.js file, to give an > idea how that could look like when putting it on top of jQuery. I skip > all stuff where I can't guess while scanning the c

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-09-30 Thread Matej Knopp
I'm not keen on this at all. It would require me to specify stable API, specify proper contracts and stick to it. Wicket ajax should be treated as something opaque. Plus it would be hell to support. With every problem I'd have to investigate what implementation user uses, what "bridge" and if the

What to add in a page or a panel

2008-09-30 Thread Ricky
Hi, My question has probably been asked before, but i just need some clarification. This is pertinent from an architectural perspective. Are pages, panels only holders of state for components or wicket models? Should *ANY* logic (business, UI, Validation) be added directly to the pages? or should

Re: Migrating to 1.3 and ajax tree's

2008-09-30 Thread Matej Knopp
Hi, On Tue, Sep 30, 2008 at 3:10 PM, Alexander Anguiano <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm migrating to 1.3 and the notes recommend the new tree implementation > in the 1.3 and not the one in extension. I have a couple of question > about this > > > > 1) Which Tree class do I use?

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-09-30 Thread Frank Bille
On Tue, Sep 30, 2008 at 3:27 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > One thing that has crossed my mind too. YUI contains API for getting > "absolute" coordinates of element as well as settings absolute > coordinates to element (it takes care of setting proper position > attributes, etc.). La

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Jim Pinkham
OK, now a question about using inmethod grid: (I really like this grid, by the way - awesome work Matej!!) On a grid with some editable columns, I override setItemEdit to use the same grid in non-editable mode, and also to save the edits. if (enableEdits)

more than one html file accessible

2008-09-30 Thread Björn-Peter Tietjens
Hi, i am absolutly new to wicket... i did the quickstart, and even got an app running including a form and hibernate access to mysql saving the filled in data with it... ...but... At the moment I have exactly one "HomePage.html" alongside the "HomePage.java" in my app and the config bit in t

Re: New wicket blog by Wicket committers

2008-09-30 Thread Martijn Dashorst
http://manning.com/dashorst works just great... what is the problem? Martijn On Tue, Sep 30, 2008 at 2:51 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote: > On the page "buy the book" (http://wicketinaction.com/buy/) is a wrong url > for "Manning.com-Ebook and print". The wrong url is > "http://ma

Re: "WANG–Wicket Ajax Next Generation –being based on YUI" (MD)

2008-09-30 Thread Nino Saturnino Martinez Vazquez Wael
Ok I hear you. But could'nt be something as simple as being able to roll your own js instead of the default wicket js ones? I mean just define the functions requried in the wicket name space.. Again im just tossing out ideas here.. And it might just be possible as everything are now.. Matej

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Matej Knopp
If you want to save the entity, SubmitCancelColumn is indeed the right place. but you should be overriding the onSubmitted method. As for custom delete link in SubmitCancelColumn, that might be a bit problematic as the panel is package private. Anyway, I usually don't put the delete link in that c

Re: RepeatingView: add new component at specified index

2008-09-30 Thread Igor Vaynberg
in 1.4 there is markupcontainer.swap() -igor On Tue, Sep 30, 2008 at 3:40 AM, Edgar Merino <[EMAIL PROTECTED]> wrote: > Hello, > > is there any way to control the underlaying Collection a > WebMarkupContainer holds? So I can control where to insert the new > components to be added (with an inde

Re: more than one html file accessible

2008-09-30 Thread Michael Sparer
mount your pages: http://cwiki.apache.org/WICKET/pages.html Björn-Peter Tietjens wrote: > > Hi, > > i am absolutly new to wicket... > i did the quickstart, and even got an app running including a form and > hibernate access to mysql saving the filled in data with it... > > ...but... > > At

Re: Pure client side validation

2008-09-30 Thread Igor Vaynberg
it is possible, just not there out of the box. can look like something like this class rangejsvalidator extends rangevalidator implements IValidatorAddListener { void onAdded(Component component) { // add some behavior to output javascript validation } } -igor On Tue, Sep 30, 2008 at 12:28 AM,

RE: New wicket blog by Wicket committers

2008-09-30 Thread Stefan Lindner
So it must be a local DNS problem. Sorry! -Ursprüngliche Nachricht- Von: Martijn Dashorst [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 30. September 2008 16:05 An: users@wicket.apache.org Betreff: Re: New wicket blog by Wicket committers http://manning.com/dashorst works just great... w

PropertyModel type of key map

2008-09-30 Thread dlipski
Hi Im trying to 'force' PropertyModel to put into map key different then String but after few trials I have no idea how to do this. Example: I have field myMap in my page initialized as follows: Map myMap = new HashMap(); then I create property model for my page(this == page containing myMap

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Jim Pinkham
Got that working. Now, since I'm using row selection to indicate deletion, and since I've disabled row multiselect (so rows get deleted one-at-a-time), I'd like to give the checkbox column a header: new Model("Delete"), but I don't see a way to do that. I was able to override getHeaderModel, but

Re: PropertyModel type of key map

2008-09-30 Thread Igor Vaynberg
dont use a property model, roll your own -igor On Tue, Sep 30, 2008 at 8:31 AM, dlipski <[EMAIL PROTECTED]> wrote: > > Hi > > Im trying to 'force' PropertyModel to put into map key different then String > but after few trials I have no idea how to do this. > > Example: > I have field myMap in my

Radio with DropDownChoice

2008-09-30 Thread eviladam
Hey folks, Something I've been trying to figure out for far too long now is how I might use a DropDownChoice to supply the value for just one of my RadioGroup inputs. At this point I've created a FormComponentPanel that contains a Radio and a DropDownChoice with convertInput() setting the value fr

GoAndClearFilter not clearing

2008-09-30 Thread jchappelle
I have looked at the other posts people have made about this problem and each says that the solution is to call setDefaultFormProcessing(true) on the clear button. I have done that and it doesn't solve my problem. I am doing this in a modal window but I don't know if that has anything to do with t

Re: PropertyModel type of key map

2008-09-30 Thread dlipski
If there is no option to force (why? I can imagine setMapKeyClass method in PropertyModel...) PropertyModel to do this and I have to use different Model, I would like to ask does Wicket(or one of Wicket subprojects such as WicketExtensions) provide such ready to use model ? Daniel Lipski igor.va

Re: PropertyModel type of key map

2008-09-30 Thread Igor Vaynberg
why? because propertymodel is a convinience class only. once we start adding things like this into it it will get bloated. it is pretty easy to roll your own implementing imodel directly. -igor On Tue, Sep 30, 2008 at 10:53 AM, dlipski <[EMAIL PROTECTED]> wrote: > > If there is no option to force

Concurrent requests - TransactionException

2008-09-30 Thread rmorrisey
All, I am running into a TransactionException when using wicket with hibernate/databinder. If anyone could look at my use case I would appreciate it; I am including a quickstart to demonstrate the problem. The user clicks a button to fire an ajax request, then submits the page before the ajax re

Re: Radio with DropDownChoice

2008-09-30 Thread Igor Vaynberg
you need to override updatemodel instead and from there call radiogroup.setmodelobject(whatever) -igor On Tue, Sep 30, 2008 at 10:30 AM, eviladam <[EMAIL PROTECTED]> wrote: > > Hey folks, > Something I've been trying to figure out for far too long now is how I might > use a DropDownChoice to supp

Re: Inmethod Grid with wicket 1.3

2008-09-30 Thread Matej Knopp
If you don't use multiple select than you can override CheckBoxColumn#newHeader(String componentId) and return panel that displays the title you want to show. -Matej On Tue, Sep 30, 2008 at 6:11 PM, Jim Pinkham <[EMAIL PROTECTED]> wrote: > Got that working. Now, since I'm using row selection to

Re: "WANG–Wicket Ajax Next Generation–being based on YUI" (MD)

2008-09-30 Thread Jörn Zaefferer
About removing events when removing elements: jQuery always removes events when removing an element from the DOM. If you want to actually move an element to insert it somewhere else, you can do that just as well, you just may not use it with remove. Eg. $(element).insertAfter(otherElement); will mo

Re: Localization encoding

2008-09-30 Thread Timo Rantalaiho
On Tue, 30 Sep 2008, Milan K?ápek wrote: > So the dynamic content of localized pages (from property files) is > displayd well but the static part defined in 'mypage_cs.html' is > displazyed wrong. Has anybody met the same problem? Is there any > methods for configuring waicket to render pag

Re: POI HSSFSheet to ListView

2008-09-30 Thread Timo Rantalaiho
On Tue, 30 Sep 2008, Mathias P.W Nilsson wrote: > I have alot of Excel documents that I want to present using Wicket and POI. > The problem is that I don't know how to get started using this. You probably need repeaters within repeaters. See DataTable for inspiration, or there might be some table

Re: POI HSSFSheet to ListView

2008-09-30 Thread Mathias P.W Nilsson
Oh I forgot. I solved it already. // Mathias -- View this message in context: http://www.nabble.com/POI-HSSFSheet-to-ListView-tp19739001p19749515.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsub

Re: Wicket/Seam on Tomcat 6?

2008-09-30 Thread Paolo Di Tommaso
I've successfully run it on Tomcat 5.5 .. -- Paolo On Tue, Sep 30, 2008 at 1:49 PM, Martijn Lindhout <[EMAIL PROTECTED]>wrote: > Hi all, > > Has anyone a running setup of Wicket/Seam on Tomcat. No EJB's, just JPA. > > I get a string ClassNotFoundException on a class that is present in > WEB-INF/

Re: Localization encoding

2008-09-30 Thread Sven Meier
For encoding the following is relevant in Wicket: - The explicit encoding of your markup files. - IMarkupSettings#defaultMarkupEncoding The default encoding to be used by Wicket to read your markup files (if not explicitely specified), default null. - JVM file.encoding The encoding

Re: RepeatingView: add new component at specified index

2008-09-30 Thread Edgar Merino
Hello again, I'm using version 1.3.4 (will wait until the generics version reach its final state), the functionality I need with the RepeatingView is because I want a BasePage to contain a right panel (represented by a RepeatingView), where other panels can be added to it. But this may be

linking to a text ResourceReference

2008-09-30 Thread Ryan McKinley
Hello- I know I have seen an example of this somewhere, so i'm feeling kinda silly as I ask for help I am trying to integrate Open Flash Charts (OFC) with wicket. You pass OFC a url containing json to draw a chart. Something like: var so = new SWFObject("/open-flash-ch

Re: linking to a text ResourceReference

call urlfor(resourcereference) -igor On Tue, Sep 30, 2008 at 6:08 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Hello- > > I know I have seen an example of this somewhere, so i'm feeling kinda silly > as I ask for help > > I am trying to integrate Open Flash Charts (OFC) with wicket. Yo