Re: Wicket in Italy

2009-09-24 Thread Paolo Di Tommaso
Roma (~) On Thu, Sep 24, 2009 at 8:46 AM, francesco dicarlo wrote: > Hi, i've just worked on a project with wicket for a software house in Bari. > > But now i'm in Rome. > > Hope to see you in an event XD > > 2009/9/24 Luca Provenzani > >

Re: Ajax indicator turning off

2009-07-26 Thread Paolo Di Tommaso
Yep, intercept the ajax call and inc/dec a counter -- paolo On Sat, Jul 25, 2009 at 10:03 AM, John Patterson wrote: > Hi, I notice that when I have two ajax requests overlapping the indicator > is turned off when the first one completes. > > Start AJAX request A - turns on the indicator > Start

Re: ExtJS

2009-07-24 Thread Paolo Di Tommaso
John, Despite the sources has been commented the javadoc isn't available. The best and quickest way to deep into Wicket-Ext is to have a look to the component integration gallery sample application. We are using that code in a production application and it works pretty nicely, but Wicket-ext doe

Re: dzone refcard

2009-07-06 Thread Paolo Di Tommaso
It would be nice -- paolo On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker wrote: > Is anyone aware of a wicket > refcard >initiative? > Thoughts? > > -Luther >

Re: Wicket-like JavaScript Components

2009-06-17 Thread Paolo Di Tommaso
Say your boss to engage more java developers ;) -- p On Tue, Jun 16, 2009 at 9:23 PM, Dane Laverty wrote: > I'm currently the only Java programmer on staff, and I'm already > maintaining > two Wicket applications, so my boss is concerned that if I start a third > project in Java that no one els

Re: Wicket-like JavaScript Components

2009-06-16 Thread Paolo Di Tommaso
Extjs is a good choice, we have integrated it successfully with Wicket. Check it out at http://code.google.com/p/wicket-ext/ Paolo On Mon, Jun 15, 2009 at 6:31 PM, Dane Laverty wrote: > I'm working on a small project where I'm limited to using only JavaScript. > I > love the Wicket programmin

Re: Wicket in Php

2009-05-20 Thread Paolo Di Tommaso
In other words .. impossible -- paolo On Wed, May 20, 2009 at 6:24 PM, Jeremy Thomerson wrote: > That's for you to decide. Typically it involves some kind of jump > page between the two applications that once you are signed in, it > sends the user to a page in the other app with a key (perhaps

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 w

Re: [OT] wicket users around the world

2008-12-12 Thread Paolo Di Tommaso
Paolo Di Tommaso, Roma - IT On Fri, Dec 12, 2008 at 3:40 PM, Steve Flasby wrote: > Brit (actually a Yorkshireman) working in Zürich, Switzerland. >

Re: Wicket session back button support

2008-12-12 Thread Paolo Di Tommaso
nu instance across multiple "pages" and the menu can keep its own > state. > > -igor > > On Thu, Dec 11, 2008 at 2:37 AM, Paolo Di Tommaso > wrote: > > Nice question. Consider the following use case: > > > > You have the main application menu bar. The u

Re: Wicket session back button support

2008-12-11 Thread Paolo Di Tommaso
the scope. > What's the reason to put values in session anyway? > > -Matej > > On Wed, Dec 10, 2008 at 11:18 PM, Paolo Di Tommaso > <[EMAIL PROTECTED]> wrote: > > Dear community, > > > > I'm facing with a really ugly problem. In my web app I need to sto

Wicket session back button support

2008-12-10 Thread Paolo Di Tommaso
Dear community, I'm facing with a really ugly problem. In my web app I need to store some variables in the Wicket session. But this cause some nasty side-effects when users click on the browser back button. The page displays the previous content correctly but some components, which model is base

Re: Wicket and Ext JS integration

2008-10-23 Thread Paolo Di Tommaso
t;[EMAIL PROTECTED]>wrote: > Paolo, > > Is this an open source effort? What version of ExtJS are you using? > > If we were to choose to go with Wicket, we would be willing to contribute. > > Thanks, > Richard Allen > > On Wed, Oct 22, 2008 at 10:20 AM, Paolo Di Tommas

Re: Wicket and Ext JS integration

2008-10-23 Thread Paolo Di Tommaso
I could be interested to share experience about that, but now I'm really in early stage so I think it would be too early to share the code. Anyway the main idea is to use the Wicket behaviour feature to "attach" an Ext component to the associated Wicket component. This is the easiest part. More

Re: Wicket and Ext JS integration

2008-10-22 Thread Paolo Di Tommaso
I'm working on a wicket-ext integration project. Until now I've done just really simple stuff, like simple TextField, DateField, TimeField, ComboBox, AutoComplete field and basic (static) grid elements. Though my implementation is trivial I would say that is really promising and I've not found an

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: 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: Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
create a file in the java.tmp.dir and setDeleteAfterDownload (true); > > > http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/link/DownloadLink.html > > Regards, > Bruno > > On Sep 23, 2008 11:30am, Paolo Di Tommaso <[EMAIL PROTECTED]&

Re: Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
reate your own > simple IRequestTargetUrlCodingStrategy that resolves to your request > target and mount the strategy. > > -Matej > > On Tue, Sep 23, 2008 at 12:45 PM, Paolo Di Tommaso > <[EMAIL PROTECTED]> wrote: > > Guys, > > > > I'm using Wicket to

Best to strategy to have a Wicket page returns a binary content by default

2008-09-23 Thread Paolo Di Tommaso
Guys, I'm using Wicket to create pdf content using Apache FOP. The idea is to have a FopPage that extends the root wicket Page component and declares "fo" as marketType. The FopPage parses FOP markup instead HTML markup. I'm able to manage the fop to pdf binary conversion using a custom PdfReques

Re: Apache FOP and Wicket

2008-09-11 Thread Paolo Di Tommaso
serve up the file through Wicket though :) > > -- Edvin > > Paolo Di Tommaso skrev: > > Dear all, >> >> If I'm not wrong Wicket is able to manage any king of markup not just >> HTML. >> >> >> So it would be possibile to use Wicket to generate

Apache FOP and Wicket

2008-09-11 Thread Paolo Di Tommaso
Dear all, If I'm not wrong Wicket is able to manage any king of markup not just HTML. So it would be possibile to use Wicket to generate an Apache FOP markup to rendere a PDF file? Any suggestions? Thank you, -- Paolo

Wicket integration in Seam 2.1

2008-08-05 Thread Paolo Di Tommaso
Guys, A very interesting interview to Pete Muir about the upcoming JBoss Seam 2.1, especially regarding Wicket integration as presentation layer. "[..] Firstly, we want to support Wicket, as a first class view layer. Well, what does this actually mean, with some sort of technical details. Well,

Re: [ANN] Brix 1.0 beta1

2008-07-23 Thread Paolo Di Tommaso
Really interesting and . . cool! Thanks, Paolo On Wed, Jul 23, 2008 at 5:51 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > we have released Brix 1.0 beta1 [1] yesterday. for those of you who do > not know what Brix is, it is an embeddable CMS for wicket apps based > on wicket (of course) and th

Re: Issue with the FileUploadField

2008-07-16 Thread Paolo Di Tommaso
The trick is based on a hidden iframe, like the following: And tell wicket to do not redirect on form upload when the submit is terminated: public void onSubmit() { getRequestCycle().setRedirect(false); getRequestCycle().setRequestTarget(EmptyRequestTarget.getInstance()); } I

Re: [ANNOUNCE] Apache Wicket 1.3.4 is released!

2008-06-28 Thread Paolo Di Tommaso
Really a good news. Congratulations! -- Paolo On Fri, Jun 27, 2008 at 12:35 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > The Apache Wicket team is proud to announce the availability of the fourth > maintenance release: Apache Wicket 1.3.4. A lot of bugs have been squashed > and > several i

Re: using wicket to create dynamic chart

2008-05-15 Thread Paolo Di Tommaso
Pure JavaScript .. simple stunning! http://people.iola.dk/olau/flot/examples/graph-types.html // Paolo On Thu, May 15, 2008 at 9:11 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: > These look pretty nice for free: > > http://teethgrinder.co.uk/open-flash-chart/ > > On Thu, May 15, 2008 at 11:29 A

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
Gerolf > > On Wed, Apr 30, 2008 at 11:49 AM, Paolo Di Tommaso < > [EMAIL PROTECTED]> wrote: > > > YESS! You are right, now it works. > > > > Thank you, Paolo > > > > > > > > On Wed, Apr 30, 2008 at 11:15 AM, Benjamin Ernst < > [EMAIL PR

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
de and add to root >JmxTreeNode domain = new JmxTreeNode(domains[i], null); >rootNode.add(domain); >.. > > Now I can see all domains in my jmx-Panel > > I hope it helps. > > Benjamin > > > > > > On Wed, Apr 23, 2008 at 11:09 P

WebRequestCycle and Open-session-in-view pattern

2008-04-28 Thread Paolo Di Tommaso
Dear Wicket Gurus, I'm implementing the Open-session-in-view pattern overriding the onBeginRequest and onEndRequest method of a custom WebRequestCycle. Is there any way to avoid to open a new hibernate session for non-view request, for example resources request (css, javascript, images, etc) serv

Re: JmxPanel

2008-04-23 Thread Paolo Di Tommaso
t cause this? > > Gerolf > > On Wed, Apr 23, 2008 at 7:02 PM, Paolo Di Tommaso < > [EMAIL PROTECTED]> > wrote: > > > Absolutely, JMX feature is enabled. > > > > I'm adding a JmxPanel in my page using a simple: > > > > add(new JmxPanel(&q

Re: JmxPanel

2008-04-23 Thread Paolo Di Tommaso
: > Paolo, > I'm not sure where the "display:none" comes from, > but i'm pretty sure it's not from the JmxPanel. > > do you have jmx enabled at all? > > Gerolf > > On Thu, Apr 17, 2008 at 9:07 AM, Paolo Di Tommaso < > [EMAIL PROTECTED]&g

Re: JmxPanel

2008-04-23 Thread Paolo Di Tommaso
I tried this trick but the JmxPanel still does not work .. Have someone used successfully the JmxPanel ?! Thank you // Paolo On Thu, Apr 17, 2008 at 2:20 PM, gumnaam23 <[EMAIL PROTECTED]> wrote: > > Download the jmx panel source code and add an empty DIV element before the > the JmxPanel.html

Re: integrating extjs with wicket

2008-04-22 Thread Paolo Di Tommaso
> Can you upload Wicket-Extjs integration Test App ? > > > AT > > 2008/1/9, Paolo Di Tommaso <[EMAIL PROTECTED]>: > > > > This is really an interesting topic! > > > > I've made some Wicket-Extjs integration tests and I haven't found any > >

Re: AW: Wicket + CMS

2008-04-18 Thread Paolo Di Tommaso
Someones in this thread have ever seen Riot CMS ?! "*Riot is a web-based Open Source Content Management System written in Java. It's quite different from other systems as it has been designed to match the needs of custom applications, [..]*" http://www.riotfamily.org I think would be relatively

Re: JmxPanel

2008-04-18 Thread Paolo Di Tommaso
> > > -- END > > Or you can ask the author of JMX panel to include this patch in the next > release. > > > paolo di tommaso wrote: > > > > Guys, > > > > someone has soem experience with the nice JmxPanel describe here? > > > >

JmxPanel

2008-04-17 Thread Paolo Di Tommaso
Guys, someone has soem experience with the nice JmxPanel describe here? http://chillenious.wordpress.com/2007/08/29/jmx-wicket-panel/ Adding a JmxPanel instance to my page I always get the following EMPTY panel .. Any ideas ? Thanks. // Paolo

Re: Check validator existence

2008-04-14 Thread Paolo Di Tommaso
I've done so .. thanks. // Paolo On Mon, Apr 14, 2008 at 9:17 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > just have a boolean that marks the fact that you have added the > validator to the form... > > -igor > > >

Re: Check validator existence

2008-04-14 Thread Paolo Di Tommaso
); } } Thanks // Paolo On Mon, Apr 14, 2008 at 5:42 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > no, i dont think we do. what is your usecase? > > -igor > > > On Mon, Apr 14, 2008 at 2:45 AM, Paolo Di Tommaso > <[EMAIL PROTECTED]> wrote: > > Guys, > >

Check validator existence

2008-04-14 Thread Paolo Di Tommaso
Guys, is there an API in wicket to know if a Validator instance has been added to a form? Something like Form#contains( IValidator ) or any workaround to know it? Thanks, // Paolo

Re: onBeforeRender vs. prepareForRender

2008-04-12 Thread Paolo Di Tommaso
Here it is a good reference http://cwiki.apache.org/WICKET/user-code-context.html // Paolo On Sat, Apr 12, 2008 at 7:29 PM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > One additional question, > > is it valid to change to component hierarchy in these methods ? > > I tried it, but it didnt work

"How page handle a request" wiki page

2008-04-12 Thread Paolo Di Tommaso
I think the content of this page describing how page handle a request is outdated by wicket 1.3.x http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html#LifecycleofaWicketApplication-HowPageHandlesaRequest It is still making reference to onBeginRequest and onAfterRequest methods th

Re: Seam Wicket integration and conversation scope

2008-03-23 Thread Paolo Di Tommaso
Nice and interesting. This could be a valid alternative to simulate the Seam conversation-scoped persistent context. Although doing so the presentation layer is too tied to persistent session handling aspect. I think this could be really useful in a simple scenario with few pages, but in complex u

Seam Wicket integration and conversation scope

2008-03-22 Thread Paolo Di Tommaso
I'm playing with the latest Seam release (2.1.0.A1) containing a really interesting integration of Apache Wicket. The current implementation appear to be really promising and I hope it will improved in next release. One of the most interesting feature already implemented is the conversation scope

Re: wicket-datetime

2008-03-06 Thread Paolo Di Tommaso
If you don't have licence matter you can download the old 1.2.x datepicker available here http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-datepicker and refactor to make it use the Wicket 1.3.x core classes. That's all . / Paolo On Thu, Mar 6, 2008 at 11:23 AM, Charlie Dob

Re: Bookmarkable page absolute url

2008-03-04 Thread Paolo Di Tommaso
Nice. thank you! But the real problem is that the RequestCycle#urlFor( Class, PageParams ) is returning a relating path like: ../?wicket:bookmarkablePage=the.class.Name Well the javadoc for urlFor() states: *Returns a bookmarkable URL that references a given page class using a given set of page

Bookmarkable page absolute url

2008-03-04 Thread Paolo Di Tommaso
Guys, I've some Wicket (1.3.x) pages for which I need to get the absolute path (to be included in a email message). With wicket 1.2.x the call RequestCycle.get().urlFor(null,pageClass ,parameters).toString() was retuning the page absolute path (containing the application context) but migrating to

Re: Cross fields validation

2008-02-29 Thread Paolo Di Tommaso
Thanks! On Fri, Feb 29, 2008 at 10:55 AM, Kai Mütz <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] <> wrote: > > Guys, > > > > Which the best pattern using wicket to write validation rule that > > span over > > more than one field?! > > http://cwiki.apache.org/WICKET/validating-related-fields.html

Cross fields validation

2008-02-29 Thread Paolo Di Tommaso
Guys, Which the best pattern using wicket to write validation rule that span over more than one field?! Take in consideration the following use case: There is a form with two field Field-A and Field-B. Field-A is mandatory and contains a date value. So this is trivial: setRequired(true) + a Dat

Wicket 1.3.x PageParameters

2008-02-25 Thread Paolo Di Tommaso
Guys, I'm migrating to Wicket 1.3.x but my application is raising the following exception java.lang.IllegalArgumentException: PageParameters can only contain String or String[] at org.apache.wicket.request.target.coding.WebRequestEncoder.addValue( WebRequestEncoder.java:71) at org.apache.wicket.r

Re: Wicket 1.3.x DatePicket drop-in replacement

2008-02-23 Thread Paolo Di Tommaso
is also wicket-stuff-calendar (or something that is > wicket-*-calendar) that uses dhtml gooies datepicker > > -igor > > > On Fri, Feb 22, 2008 at 5:15 AM, Paolo Di Tommaso > <[EMAIL PROTECTED]> wrote: > > Guys, > > > > as stated in the m

Wicket 1.3.x DatePicket drop-in replacement

2008-02-22 Thread Paolo Di Tommaso
Guys, as stated in the migration 1.3 migration guide I'm trying to use the drop-in replacement for the old (JSCalendar based) DatePicker. http://cwiki.apache.org/WICKET/migrate-13.html#Migrate-1.3-DatePicker But the download jar named "wicket-contrib-datepicker-1.2.jar" still make references to

Re: the flow of wicket

2008-01-12 Thread Paolo Di Tommaso
I disagree with this answer. The fact that request handling stuff is not a public api, is A GOOD REASON because it should be documented better, not viceversa. And I really don't understand in which way this could prevent you to change - eventually - in future wicket versions. I not a newbie user

Re: integrating extjs with wicket

2008-01-09 Thread Paolo Di Tommaso
This is really an interesting topic! I've made some Wicket-Extjs integration tests and I haven't found any particular issues to make them work smoothly together. Extjs UI widgets can be created dynamically or can be attach to existing HTML elements using the element IDs. Following the latter app

Re: [Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-07 Thread Paolo Di Tommaso
Emh .. not really because that source IS the patch ;) On Jan 8, 2008 4:52 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 07 Jan 2008, Paolo Di Tommaso wrote: > > I would propose the following patch to AjaxFormSubmitBehavior. > > > > Basically adding a fo

Re: [Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-07 Thread Paolo Di Tommaso
I would propose the following patch to AjaxFormSubmitBehavior. Basically adding a form-less constructor so that when the form obejct is not specified it will discovered using the findParent(Form.class) method. Core developers what do you think about it ? Paolo abstract public class AjaxFormSu

Re: [Wicket 1.2.6] How to get Wizard's form from inside a WizardStep?

2008-01-05 Thread Paolo Di Tommaso
Let me guess .. you need the form to create a AjaxSubmitLink instance. But the #findParent(Form.class) will return null until the component hierarchy is constructed, being so you cannot invoke it at component construction-time. A possible workaround is to postpone the findParent(Form.class) metho

Re: Ways of making components in a page optional?

2008-01-03 Thread Paolo Di Tommaso
Yes, I use this approach in conjunction to an ajax action to refresh/create UI components in response to user interaction. Paolo On Jan 3, 2008 7:43 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Wed, 02 Jan 2008, Paolo Di Tommaso wrote: > > An easy trick to avoid this is

Re: Ways of making components in a page optional?

2008-01-02 Thread Paolo Di Tommaso
An easy trick to avoid this is to use a Panel/Fragment instantiating just a WebMarkupContainer when you don't want to display/create the full component. That's all Paolo On Jan 2, 2008 7:06 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Tue, 18 Dec 2007, wfaler wrote: > > Hmm, haven't tri

Re: WicketTester failure (1.2.6)

2007-12-06 Thread Paolo Di Tommaso
Solved using WicketTester#setStartPage( ITestPageSource ) instead of WicketTester#setStartPage( Page ) Bye, Paolo On Dec 5, 2007 4:18 PM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Guys, > > I'm getting a WicketRuntimeExceptionin this simple unit test: > > class

WicketTester failure (1.2.6)

2007-12-05 Thread Paolo Di Tommaso
Guys, I'm getting a WicketRuntimeExceptionin this simple unit test: class SimpleTest { @Test public void createPage() { WicketTester tester = new WicketTester(); PageParameters params = new PageParameters("office_code=FAAFG"); Page page = new PremisesListPage(par

Re: Mystery problem w/ Wicket + Glassfish v2?

2007-11-08 Thread Paolo Di Tommaso
Has Wicket 1.2.7 been released? I'm unable to find on 1.2.x download page .. Thanks, Paolo On Nov 5, 2007 10:17 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > please upgrade to at least the latest version of 1.2 (1.2.7) because if i > look at getContentType of an innerclass of DynamicWebResou

Re: Wicket-jmx download (?)

2007-10-27 Thread Paolo Di Tommaso
Great .. thank you people! On 10/27/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > http://sourceforge.net/project/showfiles.php?group_id=119783&package_id=138753&release_id=503024 > > On 10/27/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > > Fol

Wicket-jmx download (?)

2007-10-27 Thread Paolo Di Tommaso
Folks, I'm looking for Wicket (1.2.x) JMX download but I'm unable to find in the download page: http://wicket.sourceforge.net/wicket-1.2/Download.html Is there another location? How to get it? Thanks, Paolo

Re: Weird Ajax non-English characters encoding problem.

2007-10-22 Thread Paolo Di Tommaso
I'm experiencing a similar problem i.e. I'm able to submit any Latin encoded characters but when I'm using an AjaxSubmitButton some characters are not encoded properly. This happens also specifying the right encoding with: getRequestCycleSettings().setResponseRequestEncoding("ISO-8859-1"); So i

Re: AutoCompleteTextField PostCallHandler Issue

2007-10-16 Thread Paolo Di Tommaso
I'be opened an issue about this months ago https://issues.apache.org/jira/browse/WICKET-310 But it is still there .. Paolo On 10/16/07, Don Hass <[EMAIL PROTECTED]> wrote: > > > There seems to be an issue with the AutoCompleteTextField not calling > registered postCallHandlers. > > I noticed t

Re: Invitation to Cocoon GetTogether 2007

2007-09-10 Thread Paolo Di Tommaso
I'm not a Wicket core developer guru, but I'm leading a big Wicket based project in Rome. I would pleased to attend Cocoon conference and bring my Wicket experience. Paolo Di Tommaso On 9/9/07, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > > Hello Wicket devs and u

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Paolo Di Tommaso
Carlos, Can you provide an example of your custom implementation of chained behaviour? Thanks, Paolo On 9/6/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > > > Currently people will have to build it in themselves like you did. We > > can investigate whether this can be improved for future version

Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-05 Thread Paolo Di Tommaso
Dear Community, what happens if two or event behavior are added on the save event handler. I mean something like that Button b = new Button("the-button");l b.add(new AjaxEventBehavior("onclick") { protected void onEvent(AjaxRequestTarget target) { //DO THI

Re: Alternative to Wicket data binding

2007-08-24 Thread Paolo Di Tommaso
I agree. If you make the PropertyModel access private getter and setter I don't see any reason because it cannot access the attribute field directly (when the getter and setter are omitted) . - Paolo On 8/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Just to be pedantic they are not ign

Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
t > and fix the layout in the html file pagename$panelname.html > > > > wicketcomponentup > > wicketcomponentdown > > > > What do you think about? could that work? > > Thanks Paolo > > > > > paolo di tommaso wrote: > > > > Umh .. I

Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
Umh .. I think the best things are simple .. Why don't just handle the components position using html or css in your panel? Bye, Paolo On 8/23/07, andrea pantaleoni <[EMAIL PROTECTED]> wrote: > > > Hi, > I have a little problem with Panel > In a table I added a Panel > Now in this Panel I wan

Re: How Can I Implement a Dynamic Table?

2007-08-10 Thread Paolo Di Tommaso
There are many ways .. For example you can have two nested ListView, for example: value The first iterate over the row as usual, and the second over the columns. The problem can be reduced to have a valid model to specify the columns. This could be done, with a simple array of bean attr

Re: Uploading files without page reload

2007-08-09 Thread Paolo Di Tommaso
I've done that having the upload form specifying an hidden iframe as target and - above all - having the following code in the Form#onSubmit() method // Tell Wicket we're going to do the redirect ourselves. getRequestCycle().setRedirect(false); // Make sure no o

Re: Resizing Table Columns Like Yahoo Mail

2007-08-05 Thread Paolo Di Tommaso
Really?! Strange .. from their home page: Browser Compatibility Build rich web applications that work across all major web browsers including: - Internet Explorer 6+ - FireFox 1.5+ (PC, Mac, *nix) - Safari 2+ - Opera 9+ (Mac, PC) Cheers. - Paolo On 8/5/07, Jan Kriesten <[EMAIL

Re: DateValidator message data customisation

2007-08-05 Thread Paolo Di Tommaso
I've found a workaround to this problem, using as "min" and "max" date values not a java.util.Date instance but a MyDate class that overrides the toString() with my custom date format. - Paolo On 8/3/07, Mael Sicsic <[EMAIL PROTECTED]> wrote: > > Hi, > > I have 2 problems with DateValidator' err

Re: Resizing Table Columns Like Yahoo Mail

2007-08-05 Thread Paolo Di Tommaso
All the Extjs library is really cool. Definitively! I'm really thinking about developing a Wicket-Extjs integration to be released as a Wicket-stuff project. Paolo On 8/4/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Or an advanced one > > http://extjs.com/deploy/ext/examples/grid/array-g

Re: Resizing Table Columns Like Yahoo Mail

2007-08-04 Thread Paolo Di Tommaso
A light one http://webfx.eae.net/dhtml/collist/columnlist.html Or an advanced one http://extjs.com/deploy/ext/examples/grid/array-grid.html Paolo On 8/4/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > Please does someone know of any javascript library that can be used to > resize table col

Re: How discover the caller page (wicket 1.2.x)

2007-08-03 Thread Paolo Di Tommaso
page as a parameter like: > this.setResponsePage(new B(this)); > > hth, > gerolf > > On 8/3/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > > > > Dear Wicket gurus, > > > > Suppose I have two Wicket page, let's say page A and B, > > w

How discover the caller page (wicket 1.2.x)

2007-08-03 Thread Paolo Di Tommaso
Dear Wicket gurus, Suppose I have two Wicket page, let's say page A and B, with the following simple navigation rule A --> B using something like A. setResponsePage( new B() ) At compiles time A know B , but B does not know A. It there a way to get - at runtime - from page B the reference to cal

Re: Avoid page re-instantiation upon browser back button pushing.

2007-08-01 Thread Paolo Di Tommaso
Ummh .. quite interesting. I was supposing that Wicket disable browser caching by default, for Bookmarkable page also. Isn't it Igor? Or is there any special API to enable/disable page caching on client side? Paolo On 8/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > On 8/1/07, Fabio Fioret