Re: PropertyModel type of key map

2008-10-01 Thread dlipski
Ok, maybe you are right that adding such method to PropertyModel will make it bloated, but I think that some model dedicated to work with maps(MapModel ?) will be nice feature of Wicket. I know that questions bellow dont stick to the subject of this thread but maybe you can help me with them.

Multiple file upload javascript won't work when using XHTML1.1

2008-10-01 Thread Sergey Podatelev
Hello, I have my HTML pages configured to be served as XML files, specifically, I use XHTML1.1 Strict doctype in HTML files and I send a Content-type:application/xhtml+xml header (for the browsers that support that content-type, that in other words, non-IEs). The problem is, on

AjaxSelfUpdatingTimerBehavior - how many of them I can add to one page?

2008-10-01 Thread Artur W.
Hi! I have a RefreshingView. To each item I add AjaxSelfUpdatingTimerBehavior item.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(10)) { @Override protected void onPostProcessTarget(AjaxRequestTarget target) { System.out.println(called);

wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende
Hi, I wanted to use the wicket-contrib-javaee extension to use annotations for my beans. Following the steps in the doc I have added addComponentInstantiationListener(new JavaEEComponentInjector(this)); to my applications init() method. The application-class is an extended

Re: RepeatingView: add new component at specified index

2008-10-01 Thread Edgar Merino
Anyone? Edgar Merino escribió: 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

Re: AjaxSelfUpdatingTimerBehavior - how many of them I can add to one page?

2008-10-01 Thread Artur W.
Hi! Nino.Martinez wrote: Hmm why not put it on the refreshingview or even the page.. Instead of the cells? Unless it's extremly important the cells are processed at different times I cant see any reason why to have it on individual cells. And it will only clutter your js calls putting

Wicket Community Meetup in South Florida?

2008-10-01 Thread shetc
I would be interested in organizing a Wicket Community Meetup here in South Florida. Are there other Wicket-keepers in the area that would like to get together? -- View this message in context: http://www.nabble.com/Wicket-Community-Meetup-in-South-Florida--tp19758680p19758680.html Sent from

Re: Wicket Community Meetup in South Florida?

2008-10-01 Thread shetc
BTW, I will be attending the SpringOne America 2008 conference from Dec 1st to the 4th. It will be happening in Hollywood, FL so perhaps something could be organized at that time. -- View this message in context:

Re: Wicket Community Meetup in South Florida?

2008-10-01 Thread James Carman
I believe the commonly-accepted term is wicketeer :) On Wed, Oct 1, 2008 at 7:40 AM, shetc [EMAIL PROTECTED] wrote: I would be interested in organizing a Wicket Community Meetup here in South Florida. Are there other Wicket-keepers in the area that would like to get together? -- View this

SV: more than one html file accessible

2008-10-01 Thread Wilhelmsen Tor Iver
Override init() and add mountBookmarkablePage(/stats, StatisticPage.class); - Tor Iver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple file upload javascript won't work when using XHTML1.1

2008-10-01 Thread Igor Vaynberg
looks like a bug, go ahead and open a jira issue -igor On Wed, Oct 1, 2008 at 12:40 AM, Sergey Podatelev [EMAIL PROTECTED] wrote: Hello, I have my HTML pages configured to be served as XML files, specifically, I use XHTML1.1 Strict doctype in HTML files and I send a

Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Igor Vaynberg
you are missing wicket-ioc jar, you should really use maven to manage your dependencies if you dont know how to do that yourself. -igor On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende [EMAIL PROTECTED] wrote: Hi, I wanted to use the wicket-contrib-javaee extension to use annotations for my beans.

Re: RepeatingView: add new component at specified index

2008-10-01 Thread Igor Vaynberg
you can override renderiterator() and return one that iterates chlildren in any order you wish -igor On Tue, Sep 30, 2008 at 4:34 PM, Edgar Merino [EMAIL PROTECTED] wrote: Hello again, I'm using version 1.3.4 (will wait until the generics version reach its final state), the functionality I

Sequence of wicket (ajax) requests

2008-10-01 Thread rmorrisey
Is it possible for two request cycles to be running on the server concurrently against the same page/wicket session (including ajax requests)? I was thinking that wicket forces the requests to be processed sequentially (so that the two request cycles can't be handled at the same time), but it

Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende
a) Thanks for the help, I'll try that tomorrow. b) I _have_ used maven but there is NO repository which contains this wicket-contrib-javaee lib. Can you point me to a repository containing this project? m. Igor Vaynberg schrieb: you are missing wicket-ioc jar, you should really use maven to

Re: How to get rid of wicket:id in XML output

2008-10-01 Thread Igor Vaynberg
that should work, got a quickstart? -igor On Wed, Oct 1, 2008 at 5:24 AM, Stefan Lindner [EMAIL PROTECTED] wrote: I'm trying to build a dynamic site map according to Michael Sparers article http://cwiki.apache.org/WICKET/seo-search-engine-optimization.html Instead of an HTML page a XML page

Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Igor Vaynberg
whether or not there is a repository has nothing to do with it after you download and mvn install the project it will be in your local repo when you add it as a dependency to your project wicket-ioc will be brought in via transitive dependency because it is declared in javaee's pom. -igor On

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread Igor Vaynberg
there can be two request cycles running, sure it is only the part that accesses and mutates the page is synchronized for higher throughput -igor On Wed, Oct 1, 2008 at 9:02 AM, rmorrisey [EMAIL PROTECTED] wrote: Is it possible for two request cycles to be running on the server concurrently

Re: Problem building, and problem with SpringWebApplicationFactory

2008-10-01 Thread Igor Vaynberg
the project builds fine and all tests pass on our teamcity instance: wicketstuff.org/teamcity so it must be the patch you applied -igor On Wed, Oct 1, 2008 at 5:56 AM, Wilhelmsen Tor Iver [EMAIL PROTECTED] wrote: I got this error during tests when trying to build latest source from trunk:

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread Matej Knopp
Ajax requests are queued on the client side, so for same page there would not be two paralel ajax request. It is possible to have more queues on the client side, but even if you do that, the requests are still synced on page serverside. -Matej On Wed, Oct 1, 2008 at 6:02 PM, rmorrisey [EMAIL

Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende
Yes of course I tried to download the sources from repository. But the connection (to the svn-repo) was so slow that my client timed out. So no way to get it... Anyway, It's good to know that's only a dependency missing. By the way: I think that it would be a good idea to give a hint regarding

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread rmorrisey
Igor, Matej, thanks for the replies - I would like to guarantee that only one request cycle is running at a time (for a given wicket session). Is it possible for me to tweak wicket to expanded the part that is synchronized to encompass the RequestCycle's onEndRequest? igor.vaynberg wrote:

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread Igor Vaynberg
sure, in onbeginrequest of your request cycle sync on session -igor On Wed, Oct 1, 2008 at 9:34 AM, rmorrisey [EMAIL PROTECTED] wrote: Igor, Matej, thanks for the replies - I would like to guarantee that only one request cycle is running at a time (for a given wicket session). Is it

Re: Inmethod Grid with wicket 1.3

2008-10-01 Thread Jim Pinkham
Nice. OK, now I'm getting more ideas - I added more columns, but now I'd like some to use other input controls such as checkbox, radiobutton, datepicker, or ChoiceList. I see EditablePropertyColumn has newCellPanel I could override to return Panels with various input component types in edit

Re: PropertyModel type of key map

2008-10-01 Thread Igor Vaynberg
i think that interface is legacy left over code. open a jira issue to have it cleaned up. -igor On Wed, Oct 1, 2008 at 12:34 AM, dlipski [EMAIL PROTECTED] wrote: Ok, maybe you are right that adding such method to PropertyModel will make it bloated, but I think that some model dedicated to

Problem when using AjaxSubmitLinks outside of a Form

2008-10-01 Thread Pieter van Prooijen
Hello, I'm using an AjaxSubmitLink outside of a Form and want to disable the default form processing (validation etc.) when submitting via this link. But that doesn't work, the validation is always executed: add(new AjaxSubmitLink(submit-link, form) { { setDefaultFormProcessing(false); //

Re: Problem when using AjaxSubmitLinks outside of a Form

2008-10-01 Thread Igor Vaynberg
open a jira issue, looks like a bug to me -igor On Wed, Oct 1, 2008 at 10:11 AM, Pieter van Prooijen [EMAIL PROTECTED] wrote: Hello, I'm using an AjaxSubmitLink outside of a Form and want to disable the default form processing (validation etc.) when submitting via this link. But that

Wicket CMS functionality for updating text and adding links

2008-10-01 Thread unka_hahrry
Hello! I'm looking for some CMS functionality that that give me the opportunity to update a text in a given div-tag. My first approach was to put the text into wicket:message tags and then overwrite the corresponding .properties file, using a textarea for updating the text and BufferedWriter for

About helloworld

2008-10-01 Thread overseastars
Hi All I dont believe even a helloworld in wicket is so hard. I just simply created a new dynamic web project in eclipse and add that wicket1.3.4 jar file into the build path. Then I follow the helloworld sample and copy all three files into the project, like two java and one html file into the

Re: About helloworld

2008-10-01 Thread Jeremy Thomerson
I would recommend starting with one of these locations: QuickStart (creates your project and everything needed for a Hello World with Maven): http://wicket.apache.org/quickstart.html Wicket in Action (a must-have resource if you're going to do Wicket programming): http://manning.com/dashorst

Having Wicket append #someanchor

2008-10-01 Thread Craig Tataryn
I was wondering if there is a way to have Wicket append some anchor information to a response page? So if I were on: MyPage.html, then they click a submit button and the server side codes does a setResponsePage(MyPage.class) I would want the actual page to be MyPage.html#someanchor A suggestion

wicket and hibernate

2008-10-01 Thread overseastars
Hi I just wanna know how to integrate wicket and hibernate?? can someone give me a simple example even just one entity is ok. I have my entities(hibernate annotation) ready and I have no ideas of making them work together. If any buddy can send me an example project, I will really

Re: About helloworld

2008-10-01 Thread overseastars
Thanks Jeremy. thanks for your recommendations. Since they didnt show exactly how to setup their *special* environment, all three tutorials are not really helpful to make a small helloworld wicket run in eclipse as a dynamic web project..I actually failed many times even if I followed

Re: Sequence of wicket (ajax) requests

2008-10-01 Thread rmorrisey
Igor, I was thinking about doing it with onBeginRequest(), something like: AIMSSession session = (AIMSSession)getSession(); synchronized (session) { try { //Wait for my turn

Re: About helloworld

2008-10-01 Thread James Carman
If you're using maven, you can run mvn eclipse:eclipse to set up everything you need to run your project in Eclipse. Or, alternatively, you can use the m2eclipse plugin. On Wed, Oct 1, 2008 at 3:40 PM, overseastars [EMAIL PROTECTED] wrote: Thanks Jeremy. thanks for your recommendations.

Re: wicket and hibernate

2008-10-01 Thread Piller Sébastien
Hi, Have a look at http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite overseastars a écrit : Hi I just wanna know how to integrate wicket and hibernate?? can someone give me a simple example even just one entity is ok. I have my entities(hibernate annotation) ready and

Seamless Wicket

2008-10-01 Thread Paolo Di Tommaso
A really interesting post showing how integrate Wicket in the lastest JBoss Seam. http://in.relation.to/Bloggers/SeamlessWicket Enjoy, Paolo

Re: RepeatingView: add new component at specified index

2008-10-01 Thread Edgar Merino
Thank you! Edgar Merino Igor Vaynberg escribió: you can override renderiterator() and return one that iterates chlildren in any order you wish -igor On Tue, Sep 30, 2008 at 4:34 PM, Edgar Merino [EMAIL PROTECTED] wrote: Hello again, I'm using version 1.3.4 (will wait until the

DefaultDataTable with date column

2008-10-01 Thread Pablo S.
Hi, I would like to know how I can format a value from 1 column that is a date. I've a sortable dataprovider that contains my object, and one of the fields is a date. The html table shows the digits of the hour of the date (example: 00:00) instead of something like this 2000/02/03 Thanks

Re: DefaultDataTable with date column

2008-10-01 Thread Edgar Merino
Use java.text.DateFormat for that matter (take a look at SimpleDateFormat in case you need more control over how you want your date to be formatted). Edgar Merino Pablo S. escribió: Hi, I would like to know how I can format a value from 1 column that is a date. I've a sortable dataprovider

Re: DefaultDataTable with date column

2008-10-01 Thread Pablo S.
Sorry, I have not explained more in detail. I know how to format a date, but I'm using the DefaultDataTable component so inside the component is filling the data taking the info from my model object. I have this code: ListIColumn? columns = new ArrayListIColumn?(); columns.add(new

Re: DefaultDataTable with date column

2008-10-01 Thread Phil Grimm
Pablo, I'm displaying a date, pretty much the same way. But it only displays the date (eg. 9/13/08). columns.add(new PropertyColumn(new Model(Publish Date), publishDate, publishDate)); My publishDate field is a java.util.Date. I suspect the DataTable is just calling toString() on the

Re: linking to a text ResourceReference

2008-10-01 Thread Ryan McKinley
Thanks igor! another message of yours helped too: http://www.nabble.com/Generate-URL-for-a-Resource-depending-on-component-state-td18941798.html for the record, here is some code for the next guy searching the archives... public class OpenFlashChart extends Panel implements IResourceListener {

Re: Having Wicket append #someanchor

2008-10-01 Thread Craig Tataryn
*bump* On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn [EMAIL PROTECTED] wrote: I was wondering if there is a way to have Wicket append some anchor information to a response page? So if I were on: MyPage.html, then they click a submit button and the server side codes does a

Re: Having Wicket append #someanchor

2008-10-01 Thread Igor Vaynberg
a bump after 6 hours...really? -igor On Wed, Oct 1, 2008 at 6:19 PM, Craig Tataryn [EMAIL PROTECTED] wrote: *bump* On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn [EMAIL PROTECTED] wrote: I was wondering if there is a way to have Wicket append some anchor information to a response page? So

Re: wicket:link, markup inheritance and packages

2008-10-01 Thread Adriano dos Santos Fernandes
Should I create a Jira issue for this? (using BookmarkablePageLink works correctly) Adriano Adriano dos Santos Fernandes wrote: Hi! I've created a BasePage.html/java in directory/package mm.sistema.web. Its body is: body wicket:link a href=HomePage.htmlHome/a a

Re: Having Wicket append #someanchor

2008-10-01 Thread Craig Tataryn
Ahh there's the guy I've been looking for :) On Wed, Oct 1, 2008 at 8:24 PM, Igor Vaynberg [EMAIL PROTECTED]wrote: a bump after 6 hours...really? -igor On Wed, Oct 1, 2008 at 6:19 PM, Craig Tataryn [EMAIL PROTECTED] wrote: *bump* On Wed, Oct 1, 2008 at 2:04 PM, Craig Tataryn [EMAIL

Re: wicket and hibernate

2008-10-01 Thread Flavius
Here's how I do it. I have my wicket layer call a service layer, which calls a DAO. I'm not a big fan of a lot of layers and I like to keep my projects flat. So, if you want a list of users on a page, for example, you can use any of the canned wicket tables. Those are pretty nice. I use

Re: DefaultDataTable with date column

2008-10-01 Thread Jeremy Thomerson
The default java.util.Date converter within Wicket has varied between releases. I suggest adding this to the init method of your application class and controlling the date format yourself if you need a specific format: ((ConverterLocator) getConverterLocator()).set(Date.class, new

Re: wicket 1.4 release

2008-10-01 Thread Timo Rantalaiho
On Wed, 01 Oct 2008, lesterburlap wrote: I've searched everywhere and can't find an answer. I know this is kind of a crappy question to ask the developers... Is there an estimate for a Wicket 1.4 GA release? Will it possibly be by January 2009? I think that it's impossible to estimate the

Re: AjaxSelfUpdatingTimerBehavior - how many of them I can add to one page?

2008-10-01 Thread Jeremy Thomerson
Artur, While this is not directly related to your question, you might consider not using the AjaxSelfUpdatingTimerBehavior at all. If all you are refreshing is an IMG tag within a list view, you might consider just adding your own javascript that reloads that image every N seconds. Otherwise,

Re: wicket and hibernate

2008-10-01 Thread overseastars
Hi Flavius Very impressive. Many thanks. I learnt a lot. But I still have a question. For example, I know I should use Dao to access the persistence layer. Let's say I have 2 entities which means two classes in java. I put them in the source folder. Once I start the server, I guess they wont