Re: Ajax response not completed

2008-12-16 Thread Emanuele Gesuato
Nino Saturnino Martinez Vazquez Wael wrote: Beats me, seems like somethings wrong,maybe a bug..? I'd create a quickstart (really easy with maven, http://wicket.apache.org/quickstart.html ) and attach it to a jira issue.. If the code are somewhat working, and the only annoying thing are the

Palette, AbstractOptions and localizer

2008-12-16 Thread sven
Hi, is there a reason why AbstractOptions (Palette) uses id and value for localization of options?   value = getLocalizer().getString(id + . + value, this, value); This requires me to duplicate parts of the keys in my property file. If I'm using a ChoiceRenderer(name, name) for a

Re: Wicket, FOP, Markup Inheritance and Markup Type

2008-12-16 Thread Paolo Di Tommaso
Adrian, is not a strange question, I've implemented it and works very well. And in some use cases is a perfect choice. In my implementation I use a FopPage that declares page#getmarkuptype() { return fop} The nice thing is that all panel added in that page will look for an associated markup

Re: wicket:border is adding table

2008-12-16 Thread Thorsten Scherler
El lun, 15-12-2008 a las 06:40 -0800, jWeekend escribió: Thorsten, Yes, that's exactly how BoxBorder draws the box/border. You'd probably prefer to use CSS. Can you, please, extend a wee bit? As I understand the border component: you can inject child content INTO a template page. The

Re: How to donate to Wicket Project

2008-12-16 Thread Johan Compagner
really? if somebody wants by bankaccount to put some large sum of money on it that also would be more then welcome ;) johan On Mon, Dec 15, 2008 at 19:19, Eelco Hillenius eelco.hillen...@gmail.comwrote: As for the Wicket team, nothing is more welcome than being part of the community and

Re: [OT] wicket users around the world

2008-12-16 Thread Sergey Didenko
Kiev, Ukraine. Just studying wicket yet.

Re: wickethub.org

2008-12-16 Thread Maarten Bosteels
On Mon, Dec 15, 2008 at 10:43 PM, Jonathan Locke jonathan.lo...@gmail.comwrote: oh yeah, there's a post where we started figuring out some details about how this would work somewhere on this list Here it is : http://www.nabble.com/idea:-automatic-component-repo-to17979177.html Maarten

Re: File Chooser dialog needed

2008-12-16 Thread 123shyam
Thanks for the response. I have a similar requirement for upload tooo. I want to make a Browse button, which accepts folder locations, and uploads all the files in that location. uploading the data from the file is fine... i can handle but how to create a button, which accepts folder locations

Re: CheckGroupSelector not working at all in a Wizard

2008-12-16 Thread Timo Rantalaiho
On Fri, 05 Dec 2008, jchappelle wrote: I have followed the example exactly(from what I can see) and when I click my Select All button nothing happens to the other buttons. Here is the code: I've never used CheckGroupSelector, but as you have your CheckBoxes inside a ListView, you should

Re: [OT] wicket users around the world

2008-12-16 Thread Tsutomu Yano
Tokyo/Japan Now I'm developing applications with Wicket. and am writing a book about Wicket in japanese lang. On 2008/12/12, at 3:57, francisco treacy wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you come from

Wicket: Testing Request URLs

2008-12-16 Thread walnutmon
One thing I am trying to implement in my most recent wicket application is a hook in from another site written in JSP. I'm starting simple, with a hand-off URL that gives a few peices of information that allows the user to be logged into the wicket app based on crednetials that had them logged

Re: Creating dynamic forms and sumbit problem

2008-12-16 Thread Timo Rantalaiho
On Sat, 06 Dec 2008, mage wrote: questionsList = new ListView(survey, new PropertyModel(this, survey.questions)) Try questionsList.setReuseItemModels(true); For more help, you should put your code in an executable quickstart. From the email it's too difficult to investigate it

ERROR: Error while parsing response: Could not find root ajax-response element

2008-12-16 Thread Martin Makundi
Hi! Critical bug https://issues.apache.org/jira/browse/WICKET-1916 Anybody know what's causing the problem? I attached a quickstart for repeating the bug. ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: [OT] wicket users around the world

2008-12-16 Thread Toshihiro Shimizu
Tokyo/Japan I'm using Wicket for our current project and looking forward to Japanese Wicket book by Tutomu Yano. 2008/12/17 Tsutomu Yano benbr...@mac.com: Tokyo/Japan Now I'm developing applications with Wicket. and am writing a book about Wicket in japanese lang. On 2008/12/12, at 3:57,

Re: Javascript call to wicket

2008-12-16 Thread itayh
Hi Erik, I used your solution and it works great for ff, while ie seem to have problems with it. Have you run it also in ie? Thanks, Itay Erik van Oosten wrote: I just finished an experiment with something like that. Its still ugly and very static, but here is my code. In the HTML

Re: Why am I getting this error?

2008-12-16 Thread dbuttery
Nope. removeAll is never used. Martin Makundi wrote: Do you ever call listview.removeAll ? 2008/12/15 dbuttery dennis.butt...@connectedenergy.com: Hi all, I have a ListView in which each repeater row has a button to launch a ModalWindow. I actually do this multiple times in my

Re: Overriding Text No Records Found

2008-12-16 Thread Adriano dos Santos Fernandes
HITECH79 escreveu: Hallo, how can i override/modify the text No Records Found If you are talking about the DataTable component, write a YourApplication.properties on the same package as YourApplication class, and put: datatable.no-records-found=Nenhum registro encontrado Adriano

Re: Why am I getting this error?

2008-12-16 Thread Martin Makundi
In my experience, if I cannot repeat the bug with a quickstart, the bug is in my own code. Otherwise I could replace my own implementation with the quickstart, and it would work. ** Martin 2008/12/16 dbuttery dennis.butt...@connectedenergy.com: Nope - can't recreate it ... I also took one of

Re: Overriding Text No Records Found

2008-12-16 Thread Nino Saturnino Martinez Vazquez Wael
You can also do it on page level or component level.. regards Adriano dos Santos Fernandes wrote: HITECH79 escreveu: Hallo, how can i override/modify the text No Records Found If you are talking about the DataTable component, write a YourApplication.properties on the same package as

Re: IDataProvider/LoadableDetachableModel for indexed lists

2008-12-16 Thread cretzel
igor.vaynberg wrote: class addressmodel extends ldm { private final int idx; private final imodel customer; public addressmodel(imodel customer, address address) { this.customer=customer; this.idx=customer.getaddresses().indexof(address); } ... Nice. Thanks igor.

Re: CSS urls

2008-12-16 Thread Igor Vaynberg
in css image urls are relative to the css file. so if your css file is in a java package and your images are nearby it should all work as long as you serve css file through wicket - which will then cause all your images to also be served through wicket. -igor On Tue, Dec 16, 2008 at 3:48 AM,

Re: Calling Javascript on AJAX load of panel.

2008-12-16 Thread Timo Rantalaiho
On Sun, 07 Dec 2008, Graeme Knight wrote: 1) Is the header contributor added to the html (this is ajax so there is no page refresh). I think so, just look at the page source e.g. with Firebug? 2) How to call the function in IFrameLoader.js (initializeIFrame()) AFTER the iframe has rendered?

Re: IDataProvider/LoadableDetachableModel for indexed lists

2008-12-16 Thread Igor Vaynberg
On Tue, Dec 16, 2008 at 2:57 AM, cretzel mailinglists...@gmail.com wrote: Wouldn't you care about the performance of List.indexOf()? i certainly would if it showed up as a hotspot in the profiler. -igor What about using just the index as a parameter instead of the adress? That would imply

Re: Why am I getting this error?

2008-12-16 Thread Martin Makundi
Can you make a quickstart project that repeats the problem? ** Martin 2008/12/16 dbuttery dennis.butt...@connectedenergy.com: Nope. removeAll is never used. Martin Makundi wrote: Do you ever call listview.removeAll ? 2008/12/15 dbuttery dennis.butt...@connectedenergy.com: Hi all,

Re: Palette, AbstractOptions and localizer

2008-12-16 Thread Igor Vaynberg
yes, i think we can. i am not really sure why it works the way it does right now. please create a jira issue. and, btw, this can only be fixed in 1.4. -igor On Tue, Dec 16, 2008 at 12:15 AM, s...@meiers.net wrote: Hi, is there a reason why AbstractOptions (Palette) uses id and value for

RadioGroup, differences between FireFox and Internet Explorer?

2008-12-16 Thread Swanthe Lindgren
I have this wierd behavior where a RadioGroup works perfectly well with FireFox but not with IE7. Both IE and FF fires the event and the server side event handler is executed in both cases, but with IE the model is not updated when I try to retrieve it in the

Re: setResponsePage + anchor

2008-12-16 Thread kan
Take a look on this: http://cwiki.apache.org/WICKET/faqs.html#FAQs-Howtoadd%2523anchor%2528opaque%2529topageurl%253F 2008/12/16 Charlie Dobbie cfmdob...@gmail.com: Hi Janos, Thanks for your response. That's an interesting solution to the problem! I have been digging through the

Re: wicket-1055: How to implement new functionality

2008-12-16 Thread Igor Vaynberg
look at subversion commits tab for the issue, you will see changes made for radiogroup/radio. -igor On Tue, Dec 16, 2008 at 2:11 AM, Marieke Vandamme ma...@tvh.be wrote: Hello, I was looking at the things that changed in 1.4rc1, and the following looked interesting to me:

Re: wicket:border is adding table

2008-12-16 Thread Thorsten Scherler
El mar, 16-12-2008 a las 03:31 -0800, jWeekend escribió: Thorsten, Wicket's Border component has associated markup so it may not be what it sounds like you're looking for. If all you need is a rectangular border drawn around some widgets, group them together (maybe in a div), give the

Re: wicket:border is adding table

2008-12-16 Thread Martijn Dashorst
In short: don't use BoxBorder (which should be removed anyway, since it is a useless component in this day and age of CSS) Martijn On Tue, Dec 16, 2008 at 12:31 PM, jWeekend jweekend_for...@cabouge.com wrote: Thorsten, Wicket's Border component has associated markup so it may not be what it

Re: File Chooser dialog needed

2008-12-16 Thread Jeremy Thomerson
Again, you can't do this in a standard HTML form. For something like this, you will need to use something like an applet. Put simply, the browser does not give you folder locations, and even if it did, your server couldn't list or grab files from the client's folder. And, the browser won't

Re: Wicket error in GlassFish

2008-12-16 Thread Daniel
The welcome file list tag has been remove yet. But the result is the same. 2008/12/16 Ajayi Yinka iamstyaj...@googlemail.com I think you are having something in your web.xml file like welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list if you have it, you may

Re: Wicket error in GlassFish

2008-12-16 Thread Ajayi Yinka
I think you are having something in your web.xml file like welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list if you have it, you may remove it. 2008/12/16 Daniel lia...@gmail.com Hi, I'm an newbie in Wicket. When I create my first hello world wicket

Re: CSS urls

2008-12-16 Thread Martijn Dashorst
See HeaderContributor.forCss() Martijn On Tue, Dec 16, 2008 at 10:51 AM, Adriano dos Santos Fernandes adrian...@uol.com.br wrote: No good/better way? The problem of using the web directory is that I can't do that with non-web utility projects in Eclipse and have the files being contributed to

Wicket error in GlassFish

2008-12-16 Thread Daniel
Hi, I'm an newbie in Wicket. When I create my first hello world wicket program, strange error encounted. The hello world program is just to show 'Hello World' through Label. The web.xml is as below, servlet servlet-nameHelloWorldApplication/servlet-name

Re: CSS urls

2008-12-16 Thread Adriano dos Santos Fernandes
Knowing about HeaderContributor.forCss, I didn't realized that the images urls would be correctly resolved. Thanks. Wicket is so cool. :-) Adriano Martijn Dashorst escreveu: See HeaderContributor.forCss() Martijn On Tue, Dec 16, 2008 at 10:51 AM, Adriano dos Santos Fernandes

Re: Wicket error in GlassFish

2008-12-16 Thread Ajayi Yinka
From the error log, it seems glass fish could not load the webApplication class. Make sure your webApplication class is in the correct class path (com.example.helloworld.HelloWorldApplication) And the webApplcation class is in the correct format. or and may change your web.xml file to be in

Overriding Text No Records Found

2008-12-16 Thread HITECH79
Hallo, how can i override/modify the text No Records Found Thanks M.K. -- View this message in context: http://www.nabble.com/Overriding-Text-%22No-Records-Found%22-tp21031080p21031080.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: How to update parent component from a panel?

2008-12-16 Thread freak182
Hello, I just got into this message just now...you know you have to play with ajaxrequesttartget component... For: Timo I want to ask if this events stuff is already available in wicket 1.3.5 release? if so, what classes should i look into? Thank you for your help. Lenka Laurincikova

wicket-1055: How to implement new functionality

2008-12-16 Thread Marieke Vandamme
Hello, I was looking at the things that changed in 1.4rc1, and the following looked interesting to me: https://issues.apache.org/jira/browse/WICKET-1055 = Add Radio to RadioGroup, but Radio doesn't need to be inside RadioGroup in the markup. The patch is suggesting that there will be a new

Re: wicket:border is adding table

2008-12-16 Thread jWeekend
Thorsten, Wicket's Border component has associated markup so it may not be what it sounds like you're looking for. If all you need is a rectangular border drawn around some widgets, group them together (maybe in a div), give the grouping a class attribute and apply a CSS style, eg

Re: CSS urls

2008-12-16 Thread Adriano dos Santos Fernandes
No good/better way? The problem of using the web directory is that I can't do that with non-web utility projects in Eclipse and have the files being contributed to web projects. Adriano Adriano dos Santos Fernandes escreveu: Hi! What is the better way to handle CSS urls [background:

Re: setResponsePage + anchor

2008-12-16 Thread Charlie Dobbie
Hi Janos, Thanks for your response. That's an interesting solution to the problem! I have been digging through the setResponsePage etc code, trying to find a way to fit this into the framework directly, and have come up empty-handed. It would seem logical to me that there should be a way to

Re: Palette, AbstractOptions and localizer

2008-12-16 Thread Sven Meier
Done: https://issues.apache.org/jira/browse/WICKET-1982 Igor Vaynberg schrieb: yes, i think we can. i am not really sure why it works the way it does right now. please create a jira issue. and, btw, this can only be fixed in 1.4. -igor On Tue, Dec 16, 2008 at 12:15 AM, s...@meiers.net

Re: wickethub.org

2008-12-16 Thread francisco treacy
we could cover automatic updates of 'compliant' maven artifacts - and the rest (non-compliant, svn source code, snippets) maintained manually. [ compliant = stick to metadata described here: http://cwiki.apache.org/confluence/display/WICKET/Wicket+Component+JAR+Metadata ] from the app side this

Re: wickethub.org

2008-12-16 Thread Martijn Dashorst
For perusing the maven repository, one should contact the guys from nexus. They have an api for reading/indexing the repository. Don't crawl the repository-that will surely get you banned. Martijn On Tue, Dec 16, 2008 at 8:51 PM, francisco treacy francisco.tre...@gmail.com wrote: we could cover

Re: newbie help with JavascriptUtils

2008-12-16 Thread francisco treacy
your page should implement IHeaderContributor or attach a behaviour to your components. for instance (first snippet i found out there): private static class MyJSBehavior extends AbstractBehavior { private static final long serialVersionUID = 1L; @Override public void

Re: Javascript call to wicket

2008-12-16 Thread Erik van Oosten
Hello Itay, It was just an experiment. I have never actually used it. Its been a long time ago too.. If may suggest, please try Firebug Lite to debug it. Sorry I can't be of more help. Regards, Erik. itayh wrote: Hi Erik, I used your solution and it works great for ff, while ie seem

Wicket and time zones, wrong month?

2008-12-16 Thread Martin Makundi
Hi! I am using org.apache.wicket.datetime.PatternDateConverter to convert my date objects (in a select combo) into strings. The funny thing is that on my test server the debug output says: AbstractCalendarPanel - Date 2008-06-01 converted into may zone Etc/GMT On my development computer the

Re: newbie help with JavascriptUtils

2008-12-16 Thread Marvan Spagnolo
Thank you Francisco, I attached a behaviour to the page using the snippet you included in your reply as a base and that worked ! I thought I could use JavascriptUtils for quickly adding js code in the markup but that maybe worked in previous versions of wicket or it could work in other contexts,

Re: Case sensitivity and PackageRequestTargetUrlCodingStrategy

2008-12-16 Thread Matthew Hanlon
I just realized that gmail wasn't replying to the list. Sorry. For posterity... On Tue, Dec 16, 2008 at 3:34 PM, Matthew Hanlon mrhan...@gmail.com wrote: Below is the updated CaseInsensitiveClassResolver I implemented per your suggestions. It uses MatchingResources from wicketstuff

Re: newbie help with JavascriptUtils

2008-12-16 Thread Jeremy Thomerson
You can add JS with JavascriptUtils - but in the constructor you're not in the render phase, so if I remember correctly, the response isn't ready to be written to, etc. On Tue, Dec 16, 2008 at 2:30 PM, Marvan Spagnolo marv...@gmail.com wrote: Thank you Francisco, I attached a behaviour to the

Re: How to donate to Wicket Project

2008-12-16 Thread Ayodeji Aladejebi
LOL johan :) Wicket is a priceless framework so there is no amount large enough yet to equal the greatness of the framework. Whatever is being contributed is just a token of appreciation. Our startup company has survived because of the beauty of thisplatform but as it has been mentioned earlier by

How to determine which page I am on?

2008-12-16 Thread pieter claassen
I am trying to write a menu that formats the link nicely for the page I am on. So far, the novomatic tut helped the most, but there is no detail on how to customize the implementation. My strategy is to determine which page I am on and then to set an attribute on the link and format it with css.

Re: How to determine which page I am on?

2008-12-16 Thread Adriano dos Santos Fernandes
pieter claassen wrote: I am trying to write a menu that formats the link nicely for the page I am on. So far, the novomatic tut helped the most, but there is no detail on how to customize the implementation. My strategy is to determine which page I am on and then to set an attribute on the link

Why don't all Link classes support a label like ExternalLink does?

2008-12-16 Thread Phil Grimm
Guys, Maybe I'm missing something, but it seems odd that I need to create custom components in order to set the label on a link. The ability to set the label (the text the user sees) on a link seems like a very basic use case. Why would that not be provided in all Link classes? So far, I've

Re: Why don't all Link classes support a label like ExternalLink does?

2008-12-16 Thread Martijn Dashorst
Not everybody puts a label inside a link. Not as common as you might think it is. It is also common to attach a link to a span, div, td or even tr. Martijn On Wed, Dec 17, 2008 at 12:29 AM, Phil Grimm phil.gr...@gmail.com wrote: Guys, Maybe I'm missing something, but it seems odd that I need

How can we make runtime templates switching?

2008-12-16 Thread Alex Chew
Hi, all I think i fall in troubles with template switching during runtime. Formerly we build the whole application with default template using markup inheritance. Unfortunately,we are requested to support runtime templates switching . In other words, our customer want to use different templates

Re: Case sensitivity and PackageRequestTargetUrlCodingStrategy

2008-12-16 Thread Matthew Hanlon
No, I do not have commit rights. I have created an issue on JIRA and attached the project with the classes added. http://wicketstuff.org/jira/browse/WSMINIS-8 Regards, Matthew. On Tue, Dec 16, 2008 at 4:08 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Do you have commit rights to

Re: How can we make runtime templates switching?

2008-12-16 Thread Igor Vaynberg
see component#getvariation() and component#getstyle(). there is also a wiki page that talks about skinning. -igor On Tue, Dec 16, 2008 at 7:19 PM, Alex Chew chew.a...@gmail.com wrote: Hi, all I think i fall in troubles with template switching during runtime. Formerly we build the whole

Re: [OT] wicket users around the world

2008-12-16 Thread Iman Rahmatizadeh
Tehran, Iran I'm using wicket in developing the next gen nuclear bombs errr... sorry, no political jokes here :-) Using wicket in developing software for educational institues elearning apps. Iman

Re: Wicket, FOP, Markup Inheritance and Markup Type

2008-12-16 Thread Adrian Wiesmann
Thanks for all of your comments. Looks promising. When used in html page it will use the HTML panel and when added in the FOP page will produce the FOP markup. You don't happen to use that in a Swing application as well? :) I guess I will try that Wicket Tester hint in a Swing environment.

Re: Wicket error in GlassFish

2008-12-16 Thread Daniel
Changed follow your advice, but the error is the same. It may not the code's problem but some special configuration of the Web Container. Error Page from browser: *type* Exception report *message* *description*The server encountered an internal error () that prevented it from fulfilling this