Re: Participating in Wicket

2008-12-18 Thread HHB
Thanks. My problem is I don't where to start. Lets say I want to fix that bug, in order to know how to fix it, I have to be aware of the whole source code of Wicket, am I right? How to start studying the source code? I mean where to start reviewing? Scott Swank wrote: I found this helpful.

Redirect to mounted page programmatically

2008-12-18 Thread Newgro
Hi *, i would like to redirect to a page mounted in application by calling it from another page. Application.init mountBookmarkablePage(PAGE1_ID, Page1.class); AnyPage.myMethod redirectTo(PAGE1_ID) How could a redirectTo(String mountPoint) method look? The normal redirection by requestcycle

Re: How can we make runtime templates switching?

2008-12-18 Thread Alex Chew
Yes,I got it. Border works well Thanks Alex

Re: Participating in Wicket

2008-12-18 Thread Stephen Swinsburg
If you want the source code for Wicket, check it out from SVN into your own local working copy. You can then build Wicket via maven after you have made any local changes to the source code to see if the bug has been fixed. You can then generate a patch and attach it to a Jira issue so the

Re: Dojo 1.1 integration available from wicketstuff

2008-12-18 Thread Stefan Fußenegger
There's now a little bit of documentation online: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-dojo-1.1 Cheers, Stefan Stefan Fußenegger wrote: Hi folks, I just shared a new project called wicketstuff-dojo-1.1 [1], an integration of the Dojo JavaScript toolkit [2]

Re: Participating in Wicket

2008-12-18 Thread HHB
Thank you all guys but maybe I'm expressing my ideas the wrong way. I don't mean how to get Wicket source and create a patch, I mean what is the best way to start studying Wicket source code? where to start? which module? Steve Swinsburg-2 wrote: If you want the source code for Wicket, check

Re: [OT] wicket users around the world

2008-12-18 Thread Anders
Taipei, Taiwan !! Taiwan is not part of China~ We are independent for long time ago! I am using Wicket for production line process.

Re: Participating in Wicket

2008-12-18 Thread James Perry
I'd recommend examining the WicketFilter as your starting point. This is where wicket requests get intercepted and processed accordingly. Best, James. On Thu, Dec 18, 2008 at 10:07 AM, HHB hubaghd...@yahoo.ca wrote: Thank you all guys but maybe I'm expressing my ideas the wrong way. I don't

Re: [OT] wicket users around the world

2008-12-18 Thread simonm
Tel-Aviv, Israel francisco treacy-2 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 and/or where you work with wicket... for instance, here argentinian/belgian working with wicket in antibes, france

Re: Participating in Wicket

2008-12-18 Thread Peter Ertl
Yeah, just put a breakpoint in WicketFilter, request a page in your browser and step through the whole wicket source and try to understand. Naturally this takes some time :-) Am 18.12.2008 um 11:13 schrieb James Perry: I'd recommend examining the WicketFilter as your starting point. This

Re: Redirect to mounted page programmatically

2008-12-18 Thread Erik van Oosten
Hi Per, Wicket does not have this feature. BTW, you do not need a response page instance, just the class is sufficient: setResponsePage(Page1.class); Optionally you can call this as well (since you are talking about redirects): setRedirect(true); // or false Regards, Erik.

wicket-contrib-examples

2008-12-18 Thread Björn-Peter Tietjens
Hey, where can I view the sources of the http://www.wicket-library.com/wicket-contrib-examples/cdapp; ? Cheers Björn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

PropertyColumnLong

2008-12-18 Thread Björn-Peter Tietjens
Hi, when trying to user a PropertyColumn like this: ... ListIColumn columns = new ArrayListIColumn(); columns.add(new PropertyColumnLong(new ModelString(ID), id)); columns.add(new PropertyColumnString(new ModelString(First Name),firstName,firstName)); ... I keep getting the following error:

updating text in labels using ajax?

2008-12-18 Thread lizz
Hi, I need to add end user information (progress information) after submit button is pressed and before being redirected to a new page. I would like to add this information by updating some labels. When the user presses the submit button 4 web services are called before I am redirecting to a new

Re: updating text in labels using ajax?

2008-12-18 Thread Michael Sparer
Sure, use a simple Label and an AjaxButton, set setOutputMarkupId = true on the label and add it in the onSubmit method to the ajaxrequesttarget (target.addComponent(label)). But I'd also recommend taking a look at the Progressbar (search the mailinglist) - that might suits you better lizz

Re: wickethub.org

2008-12-18 Thread francisco treacy
martijn, banning policies are issued by repository owners. i don't know which repo you're referring to as the maven repository. central? apache? i suggested setting up or reusing a repo that would be mainly for wicket components, and owned by the project/ community. advantages: - we simply

Re: updating text in labels using ajax?

2008-12-18 Thread lizz
But the problem is that the user shouldnt have to press any button to update the labels... Michael Sparer wrote: Sure, use a simple Label and an AjaxButton, set setOutputMarkupId = true on the label and add it in the onSubmit method to the ajaxrequesttarget

Re: updating text in labels using ajax?

2008-12-18 Thread Michael Sparer
alright, so the label should either update itself or updates should be pushed to the client, right? did you have a look at how ProgressBar works? http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-progressbar i haven't tried it myself, but AFAIK it uses the approach to updateitself.

Re: updating text in labels using ajax?

2008-12-18 Thread Steve Swinsburg
The submit button for your form is the AjaxButton that Michael mentioned below. You use that instead of a normal button and in the onSubmit method you fire off your web services and any other stuff you need. You also have available the AjaxRequestTarget which you then 'add' the label to

Re: java.util.ConcurrentModificationException inorg.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put

2008-12-18 Thread leok
Interesting. I wonder if this error occurs when page components are being modified by Ajax while being serialized, e.g. page.addOrReplace(). If so, this is kind of an ugly bug. What I don't know yet is how harmful this bug is, i.e. does this error leave Wicket in a horribly inconsistent state?

Re: updating text in labels using ajax?

2008-12-18 Thread reiern70
Hi Lizz, You could use an AjaxSelfUpdatingTimerBehavior to make the label (or some component containing the label) update itself and when the job is finished redirect to other page. I use a similar approach when I generate files. The result looks like:

Assigning an Action to an onClick handler

2008-12-18 Thread Arie Fishler
We are using the AnnotationsRoleAuthorizationStrategy class and place @AuthorizeInstantiation(ROLE_USER) on restricted Wicket pages. We need finer-grained authorisation control - we have a class that has 3 AjaxLinks each with their own onClick() handler. 2 of the onClick() handlers are

Maven Swarm archetype

2008-12-18 Thread ash
Is there somewhere a maven archetype for wicket + swarm? Kind regards: al_shopov - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
Maybe MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, ADMIN); -Heikki -Original Message- From: Arie Fishler [mailto:arie@gmail.com] Sent: 18. joulukuuta 2008 16:08 To: users@wicket.apache.org Subject: Assigning an Action to an onClick handler We are using the

Re: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
Maybe something like MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, ADMIN); -Heikki -Original Message- From: Arie Fishler [mailto:arie@gmail.com] Sent: 18. joulukuuta 2008 16:08 To: users@wicket.apache.org Subject: Assigning an Action to an onClick handler We

Re: java.util.ConcurrentModificationException inorg.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put

2008-12-18 Thread Matej Knopp
This really looks like page being accessed from multiple threads, but it's quite weird. The serialization is done in request thread and pagemap is locked during request. -Matej On Thu, Dec 18, 2008 at 2:35 PM, leok leo...@gmail.com wrote: Interesting. I wonder if this error occurs when page

Re: Assigning an Action to an onClick handler

2008-12-18 Thread Arie Fishler
Basically we have no problem assigning logic to disable the link when creating the page. What we want to achieve via the authorization strategy is a redirect to the sign in page just the same as if a user has accessed a page with no sufficient roles (so the user signs in and upon successful

indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread miro
I am looking for indicating AjaxFallbackDefaultDataTable , do we have any ? -- View this message in context: http://www.nabble.com/indicating---AjaxFallbackDefaultDataTable-tp21074747p21074747.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread Michael Sparer
Create your own, it's quite easy. Extend from AjaxFallbackDefaultDataTable and let it implement IAjaxIndicatorAware, add an WicketAjaxAppender (see e.g. IndicatingAjaxLink how to do that) and you're done regards, Michael miro wrote: I am looking for indicating

Re: Wicket: Testing Request URLs

2008-12-18 Thread walnutmon
bump. walnutmon wrote: 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

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread miro
Is there any other indicator which disables the page so that user is not cannot perform any other action ? Michael Sparer wrote: Create your own, it's quite easy. Extend from AjaxFallbackDefaultDataTable and let it implement IAjaxIndicatorAware, add an WicketAjaxAppender (see e.g.

Re: Wicket: Testing Request URLs

2008-12-18 Thread Igor Vaynberg
without doing any work yourself the closest you can come is wickettester#startpage(class, pageparameters) -igor On Thu, Dec 18, 2008 at 8:09 AM, walnutmon justin.m.boy...@gmail.com wrote: bump. walnutmon wrote: One thing I am trying to implement in my most recent wicket application is a

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread James Carman
There's a veil project in wicketstuff-minis On Thu, Dec 18, 2008 at 11:16 AM, miro miroconn...@yahoo.com wrote: Is there any other indicator which disables the page so that user is not cannot perform any other action ? Michael Sparer wrote: Create your own, it's quite easy. Extend from

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread Ernesto Reinaldo Barreiro
Maybe you use this idea http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+(for+both+Ajax+and+non-Ajax+submits) or create some kind of veil that is activated each time you have an AJAX request.The veil will prevent you from preforming any action while AJAX is active. I use

Re: strange 404 error

2008-12-18 Thread Brill Pappin
I'll take a look, but my QA says it's also happening with Tomcat 6. All in all, it's Wicket that actually has the problem. There is something wicket is doing with the URL/ session that is not what should be happening. - Brill Pappin Sent from my mobile. On 17-Dec-08, at 3:25 PM,

Dynamic Select and SelectOptions

2008-12-18 Thread homar70
Hi, I have trouble of finding out how to make dynamic optgroups and options from the select and selectoptions in wicket-extensions. The same issue is described in this post http://www.nabble.com/Select-and-SelectOptions-td11684707.html#a11695243 Any ideas? -Spratle -- View this message in

Re: indicating AjaxFallbackDefaultDataTable

2008-12-18 Thread miro
This works very well , in addition to this can I disable the page till I get the response ? reiern70 wrote: Maybe you use this idea http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+(for+both+Ajax+and+non-Ajax+submits) or create some kind of veil that is

Re: java.util.ConcurrentModificationException inorg.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.put

2008-12-18 Thread leok
Forgive my lack of understanding of Wicket internals, but do requests for Ajax components on a particular page block when that page is being serialized? Matej Knopp-2 wrote: This really looks like page being accessed from multiple threads, but it's quite weird. The serialization is done in

TreeTable text-align

2008-12-18 Thread jchappelle
I have a TreeTable that I would like to have some columns with a text-align: right; style. I have tried overriding the newCell method on the PropertyRenderableColumn and returning a Label with an AttributeModifier. That did not work nor did returning a custom Panel with an AttributeModifier.

TreeTable text-align

2008-12-18 Thread jchappelle
I have a TreeTable that I would like to have some columns with a text-align: right; style. I have tried overriding the newCell method on the PropertyRenderableColumn and returning a Label with an AttributeModifier. That did not work nor did returning a custom Panel with an AttributeModifier.

Have a feature, want to contribute

2008-12-18 Thread Marat Radchenko
Wicket pages/components can be either stateful or stateless. Wicket manages hem transparently and it is very easy to write any complex page you want. Stateful pages are much more powerful than stateless. However that comes at a cost of using page store for their state. On highload sites it is

Re: Participating in Wicket

2008-12-18 Thread Nino Martinez
Yeah but some bugs are pretty simple, like plain css etc.. Which not necessarily requires deep knowledge.. So scan the bug list and pick the easiest one could also be an option... James Perry wrote: I'd recommend examining the WicketFilter as your starting point. This is where wicket requests

Re: reloading a component with ajax submit button

2008-12-18 Thread Martijn Dashorst
componentToRepainted.setOutputMarkupId(true) On Thu, Dec 18, 2008 at 10:38 PM, miro miroconn...@yahoo.com wrote: I want to reload a component in my page when the form is submitted , I am calling target.addComponent(StgAuditSelectionPage.this.get(stgAuditsContainer:stgAuditGeneralTbl));

Re: Formatting dates in Inmethod DataGrid

2008-12-18 Thread TahitianGabriel
public class DatePropertyColumn extends PropertyColumn { /** * @see com.inmethod.grid.column.PropertyColumn#getConverter(java.lang.Class) */ @Override protected IConverter getConverter(final Class? varType) { return new IConverter() { /**

Re: Wicket - Ajax(Fallback)Button and Form - possible solution to problem

2008-12-18 Thread bht
Jeremy, jpswain referred to the gmail signup form. The gmail form initially hides the check availability elements via div with style=display:none. It only shows them when it detects that AJAX or JavaScript (don't know exactly) is available. Would you know how we can implement this with wicket?

Localization - problem with refreshing page

2008-12-18 Thread Milan Křápek
Hi, I found this problem and I cannot find any sollution by myself. So I ask you for a help. I localized my application to two languages. To all pages I added links for changing localization. The onClick() methods of those links contain just getSession.setLocale(requestedLocalization). That