Forums tools ready-to-use?

2010-07-25 Thread Paolo
in a webpage. thank you. Paolo

Re: Forums tools ready-to-use?

2010-07-26 Thread Paolo
in a webpage. thank you. Paolo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

What is the best slideshow?

2010-09-11 Thread Paolo
I found this: http://lazydev.ildella.net/wicket-slides-080-released-with-smoothgallery Is it the best solution to show a sequence of image? I don't like to use flash. And this use javascript, so it may be OK. thank you. - To

how to set cookie domain?

2011-02-01 Thread Paolo
Hi, I want add a cookie, and I saw on this site, how to do this. https://cwiki.apache.org/WICKET/dealing-with-cookies.html ((WebResponse)RequestCycle.get().getResponse()).addCookie(new Cookie(cookieName, cookieValue)); but I need to specify also the domanin. I need something like this PHP

How to set cookie domain?

2011-02-01 Thread Paolo
Hi, I want add a cookie, and I saw on this site, how to do this. https://cwiki.apache.org/WICKET/dealing-with-cookies.html ((WebResponse)RequestCycle.get().getResponse()).addCookie(new Cookie(cookieName, cookieValue)); but I need to specify also the domanin. I need something like this PHP

How to read cookie from different domain?

2011-02-16 Thread Paolo
Hi, I need to read a cookie from a different domain (it is not mine). I known the name ok cookie. When I create (write) a cookie, it is possible to set the name of domain: cookie.setDomain(.example.com); But It does'nt work for foreign domain just because security reasons, infact I can not

Re: How to read cookie from different domain?

2011-02-16 Thread Paolo
Alle mercoledì 16 febbraio 2011, Randy S. ha scritto: It is not possible to read a cookie from a different domain. That would be a terrible security problem. The browser will not send cookies that do not match your domain so no amount of code tricks on the server handling this request will

How to do document.write(Hello Word); in Wicket?

2011-02-20 Thread Paolo
How can I write something into the HTML page, from Java code. A similar fast metod like in javascript to write in HTML: document.write(Hello word); It is userfull for conditional messagge like: If (sum==5) { document.write(It is right!) } or it may be userfull for an simple email antispam

How discover the caller page (referer)?

2011-02-20 Thread Paolo
How can I discover the caller page (referer) of my wicket application or specific page? http://en.wikipedia.org/wiki/HTTP_referrer Thank you. Paolo - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

How to know what RadioGroup was selected?

2011-04-06 Thread Paolo
I implemented this example in my application https://cwiki.apache.org/WICKET/using-radiogroups.html But, how I can know what radio button of radiogroup the user selected? This is a part of the html code: span wicket:id=group input wicket:id=1 type=radio/

Re: How to know what RadioGroup was selected?

2011-04-06 Thread Paolo
Alle giovedì 07 aprile 2011, James Carman ha scritto: What is the value of myInt? That should tell you which one was selected. On Wed, Apr 6, 2011 at 10:15 PM, Paolo irresistible...@gmail.com wrote: I implemented this example in my application https://cwiki.apache.org/WICKET/using

Repetitive TextField Form into ListView?

2011-04-11 Thread Paolo
Hi, It is my first experience with Wicket. I try to do a e-commerce site, based on cheese shop from Wicket in Action Book. I have problem to implement shopping cart to set the quantity of each item that the user choose. As you can see in this screenshot, I put a TextField for quantity in a

What is the Best login implementation?

2011-06-18 Thread Paolo
Hi, I found on google some solution for login with wicket: http://wicket.apache.org/learn/projects/authroles.html Wicket Shiro - integration between Apache Shiro and Wicket (I can't find the web site) Wicket Security - JAAS inspired, principal based security framework (I can't find the web

How to get client ip with wicket 1.5

2011-11-20 Thread Paolo
I need to known the ip address of the user connected to my tomcat server. In previous post, I read about... getWebRequestCycle().getWebRequest().getHttpServletRequest().getRemoteAddr(); But I also find some documentation with google that in Wicket 1.5 I should use WebClientInfo: getRemoteAddr

Re: How to get client ip with wicket 1.5

2011-11-20 Thread Paolo
, 2011 at 4:41 PM, Paolo irresistible...@gmail.com wrote: I need to known the ip address of the user connected to my tomcat server. In previous post, I read about... getWebRequestCycle().getWebRequest().getHttpServletRequest().getRemoteAddr(); But I also find some documentation with google

Re: How to get client ip with wicket 1.5

2011-11-21 Thread Paolo
Alle lunedì 21 novembre 2011, François Meillet ha scritto: ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest().getRemoteHost() François getHeader(X-Forwarded-For) return null string!! I use getRemoteHost() and it works! Thanks to all!! P.S. I test it only on

Re: Google bot see my site with errors!!

2012-01-31 Thread Paolo
Alle martedì 31 gennaio 2012, Josh Kamau ha scritto: Does your homepage constructor have any arguments? this is the first part of HomePage.java, with some omissis package org.wicket.example; import .. public class HomePage extends WebPage // implements java.io.Serializable {

Re: Google bot see my site with errors!!

2012-01-31 Thread Paolo
Alle martedì 31 gennaio 2012, Martin Grigorov ha scritto: What exactly is the code at: org.wicket.example.QuoteResult. init (QuoteResult.java: 55) ? package org.wicket.example; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import

Re: Google bot see my site with errors!!

2012-02-02 Thread Paolo
Alle mercoledì 01 febbraio 2012, Martin Grigorov ha scritto: I guess lingue is null here, i.e. there is no Accept-Language header. NPEs are easy to debug ;-) Thank you very much, I solved it by putting a if (lingua==null) { lingua = 0; } before the line with NPE: if (lingua.indexOf(en-tt)-1)

Wicket authentication: how to store user?

2012-03-02 Thread Paolo
I use this code as base: http://wicketstuff.org/wicket14/authentication/ I added registration and user/password sign-in and checking with database, instead of simple wicket as user and password. All works ok, but now I need in AdminPage to known which user is logged in. How can I implement it?

Re: Wicket authentication: how to store user?

2012-03-03 Thread Paolo
Alle sabato 03 marzo 2012, Martin Grigorov ha scritto: Hi, Save the logged in user id in the Session. MySession.java: private long userId; public User getUser() { return userService.getUserById(userId); } AnyPage.java: user = MySession.get().getUser(); Thank you, for

Re: WICKET JAVASCRIPT

2012-03-07 Thread Paolo
Alle mercoledì 07 marzo 2012, mukesh kumar ha scritto: Thanks for it. But i am still confused. So, can you write some line of code for alert message of JS file. Thanks ! You could use visural http://wicket.visural.net/examples/dialog If you learn to use it, you will use also other tools

I don't want url page count parameter: localhost:8080/context/?0

2012-03-17 Thread Paolo
Hi, I read this old post to solve the my same problem: --- I'm using Wicket 1.5.3, an application with a number of tabbed panels. My application's url is, lets say http://localhost:9080/context/ When I enter this URL, the browse immediately changes this to

Re: What real life scenario calls for page ID?

2012-03-18 Thread Paolo
Alle lunedì 19 marzo 2012, Chris Colman ha scritto: I've been thinking about the new 1.5 page ID/versioning feature (which we disabled as soon as we discovered it) and wondering if there is actually a real world scenario for stateful pages that actually requires this functionality. I

Homepage runs 2 times if I mount it as /

2012-03-23 Thread Paolo
I made bookmarkable the HomePage: But it is executed two times!!! Infact it make me crazy! I put an System.out.printf to check it in the console log. Because the page in the browser look like to load only one time, but in the console I can read 2 times printf line! If I mount it as something

Re: Homepage runs 2 times if I mount it as /

2012-03-25 Thread Paolo
Alle venerdì 23 marzo 2012, Jeff Schneller ha scritto: I may be wrong but you don't need to mount the homepage which is why it is being executed twice. Yes, ok, you are right. But the problem was start because I use the NoVersionMount to mount homepage because I don't like that the url of

BookmarkablePageLink with Label is supported by Wicket?

2012-03-25 Thread Paolo
I read on this web site: http://ondra.zizka.cz/stranky/programovani/java/web/wicket/wicket-link-with-label.texy - Wicket does not have exactly a „link with label“ component out of the box. Remember Wicket tries to hide the HTTP from you (and is quite good at it). It has a Link,

Re: What real life scenario calls for page ID?

2012-03-26 Thread Paolo
Alle giovedì 22 marzo 2012, Pointbreak ha scritto: On Thu, Mar 22, 2012, at 11:42, Igor Vaynberg wrote: No that is not what happens with NoVersionMount: i didnt say it was an ajax twistie Not being an ajax twistie link still doesn't add the ?1 to the url. NoVersionMount

Could not find child with id: cart:prezzo in the wicket:enclosure

2012-03-26 Thread Paolo
I am become crazy with wicket:enclosure to prevent an runtime error in case the ListView is empty. this is part of my html code: table border=1 wicket:enclosure child=cart:prezzo tr wicket:id=cart tda href=# wicket:id=OggettoLink target=_blank img

Re: What real life scenario calls for page ID?

2012-03-27 Thread Paolo
Alle martedì 27 marzo 2012, Martin Grigorov ha scritto: On Tue, Mar 27, 2012 at 12:51 AM, Paolo irresistible...@gmail.com wrote: Alle giovedì 22 marzo 2012, Pointbreak ha scritto: On Thu, Mar 22, 2012, at 11:42, Igor Vaynberg wrote: No that is not what happens with NoVersionMount

Re: Wicket and Menu support

2012-04-08 Thread Paolo
Alle domenica 08 aprile 2012, Daniel Neugebauer ha scritto: Depending on how your menus are supposed to be defined, you could statically put them into your markup or dynamically create them by using a ListView or similar. If you want to avoid HTML/CSS as far as possible, other frameworks

I would url clear, without jsessionid and ?1

2012-10-25 Thread Paolo
Hi, I know that it is an old discussion, but I really want the url simply and clear, without ;jsessionid= and without ?1 ?2 etc. I am starting to upgrade to wichet 6.2.0 actually I use this in MainApplication: protected void init() { super.init();

Re: I would url clear, without jsessionid and ?1

2012-10-25 Thread Paolo
Alle giovedì 25 ottobre 2012, Martin Grigorov ha scritto: On Thu, Oct 25, 2012 at 4:57 PM, Paolo irresistible...@gmail.com wrote: Hi, I know that it is an old discussion, but I really want the url simply and clear, without ;jsessionid= and without ?1 ?2 etc. 1) make sure cookies

How to know the country of the user

2012-10-27 Thread Paolo
How can I know the country of the user that is connected to my wicket page? I only suppose to check the IP address with: String ipAddress = ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest().getRemoteHost(); And than with command line whois check the country whois

Re: How to know the country of the user

2012-10-28 Thread Paolo
Alle domenica 28 ottobre 2012, Andrea Del Bene ha scritto: You should try Session.get().getLocale(). By default Session returns the locale of the underlying HttpServletRequest. getLocale return the languange set in the browser, and it is not the same thing of country. You are right for

Re: How to know the country of the user

2012-10-28 Thread Paolo
Alle domenica 28 ottobre 2012, Wujek Srujek ha scritto: Locale has more information than just the language. For example: en_US is English in USA; en_UK is English in the UK, it_IT is Italian in Italy, but it_CH is Italian in Switzerland. Your example would differentiate between pt_PT

AjaxTabPanel stateless is possible?

2012-11-26 Thread Paolo
I would the url of my site without pageId ?2 or ?3 etc. I know that to do this I need to make the page stateless, so I did it for all my pages. But one page have 2 tabs, using AjaxTabbedPanel. I tried to use simple TabbedPanel, but it is not usefull, because so I have that all the page is

Variable changes on server running, don't change on localhost

2013-01-10 Thread Paolo
Hi, I am become crazy! My wicket web application works fine on my laptop on localhost, but don't work well on my home server. I made all the web site stateless. I don't need user login. But one page is stasefull because I use wicket Ajax Tab Panel. On this page I have youtube video, with some

Re: Variable changes on server running, don't change on localhost

2013-01-10 Thread Paolo
Alle giovedì 10 gennaio 2013, francois meillet ha scritto: Why do you make properties static, why TabPanel1 is static ? François Just cut and past from some examples or previews app. I removed static and now it works ok! Thank you so much! Long life to you!

Cometd Servlet mapping for wickestuff-push example

2009-04-19 Thread Paolo Marrone
the wicket filter definition, and the cometd servlet mapping? - Someone tried the wicketstuff-push example on a different servlet container? If yes, which is the right web.xml file to use? Please help me. Thank you Paolo Marrone

How discover the caller page (wicket 1.2.x)

2007-08-03 Thread Paolo Di Tommaso
to caller A page instance? Basically I'm trying to implement something like the HTTP referer mechanism. Any ideas ? Thanks, Paolo

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 columns

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: Uploading files without page reload

2007-08-09 Thread Paolo Di Tommaso
no output for the current cycle is ever sent. getRequestCycle().setRequestTarget( EmptyRequestTarget.getInstance()); Paolo On 8/9/07, Al Maw [EMAIL PROTECTED] wrote: legol wrote: Hi all, I have problem with uploading files. My uploading file form is placed in modal window

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 want

Re: Layout Panel

2007-08-23 Thread Paolo Di Tommaso
I'm still thinking that's a pure html problem, Try with a table like this: table height=100% tr td valign=top wicketcomponentup /td td valign=bottom wicketcomponentdown /td /tr /table Paolo On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote: the reason is that I need to consider

Re: Alternative to Wicket data binding

2007-08-25 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 ignored

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 THIS

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 versions

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 users! On behalf of Cocoon

Re: Weird Ajax non-English characters encoding problem.

2007-10-22 Thread Paolo Di Tommaso
request? I was expecting something like charset=defined encoding in the ajax request request header. Otherwise how the IRequestCycleSettings#setResponseRequestEncoding() will affect the charset definition in the ajax call? Thanks, Paolo On 10/22/07, Fabio Fioretti [EMAIL PROTECTED] wrote: Hi

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: 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=119783package_id=138753release_id=503024 On 10/27/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Folks, I'm looking for Wicket (1.2.x) JMX download

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 DynamicWebResource

Wicket session back button support

2008-12-10 Thread Paolo Di Tommaso
is based on session values, do not. Is there any best practice for Wicket session to support the browser back button (so that coming back the session is restored to the previous state)? Thank you, Paolo

Re: Wicket session back button support

2008-12-11 Thread Paolo Di Tommaso
() method. Other solution could be to create a custom UrlEncodingStrategy to propagate the session vars on URL ... What do you think ? -- Paolo On Thu, Dec 11, 2008 at 12:29 AM, Matej Knopp [EMAIL PROTECTED] wrote: No. You have to track the changes yourself. Or use Page as the scope. What's

Re: Wicket session back button support

2008-12-12 Thread Paolo Di Tommaso
Good, in this way it works. I'm apply the onBeforeRender trick to propagate the previous state in the session. Thank guys, long live to Wicket Paolo On Thu, Dec 11, 2008 at 6:27 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: or instead of pages use panels as content. that way you use

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 st...@flasby.org wrote: Brit (actually a Yorkshireman) working in Zürich, Switzerland.

Re: Wicket, FOP, Markup Inheritance and Markup Type

2008-12-16 Thread Paolo Di Tommaso
will a suffix .fop (instead of .html). This means that you can have a panel implementing a common business logic with two skins, one html and one fop. When used in html page it will use the HTML panel and when added in the FOP page will produce the FOP markup. Paolo On Mon, Dec 15, 2008

Re: Issue with the FileUploadField

2008-07-16 Thread Paolo Di Tommaso
().setRequestTarget(EmptyRequestTarget.getInstance()); } I'm attaching my code so you can check details. Have fun -- Paolo On Wed, Jul 9, 2008 at 4:35 PM, Arun Wagle [EMAIL PROTECTED] wrote: Hello All, I have an issue with the file upload I have a Fileupload input filed on a tabbed panel. The first

Wicket integration in Seam 2.1

2008-08-05 Thread Paolo Di Tommaso
and your business process management processes themselves. So basically, all the orchestration stuff that you need to do with writing the view side of your app. [..] http://java.dzone.com/articles/whats-new-seam-21-an-interview Enjoy. -- Paolo

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

Re: Apache FOP and Wicket

2008-09-11 Thread Paolo Di Tommaso
Why not? I was remembering that Wicket can manage any markup, not just HTML . . Am I missing something ? Paolo On Thu, Sep 11, 2008 at 3:03 PM, Edvin Syse [EMAIL PROTECTED] wrote: I don't think Wicket is the right tool for that, try Freemarker instead. You can still serve up the file through

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

2008-09-23 Thread Paolo Di Tommaso
to return a content different from HTML ? Thank you, -- Paolo

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

2008-09-23 Thread Paolo Di Tommaso
Interesting .. so I could extend QueryStringUrlCodingStrategy overriding the decode() method to return my PdfRequestTarget. Cool! Thank you, -- Paolo On Tue, Sep 23, 2008 at 3:04 PM, Matej Knopp [EMAIL PROTECTED] wrote: You don't have to do this from the pages. You can create your own simple

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

2008-09-23 Thread Paolo Di Tommaso
Because, I want to use Wicket to render PDF content in a trasparent way - just extending a base page - as normally it is done for a WebPage. -- Paolo On Tue, Sep 23, 2008 at 6:08 PM, [EMAIL PROTECTED] wrote: Why don't you use the DownloadLink component? Just create a file in the java.tmp.dir

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/classes

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 and Ext JS integration

2008-10-22 Thread Paolo Di Tommaso
any evident obstacle to a more complete integration. Paolo On Wed, Oct 22, 2008 at 1:53 PM, Richard Allen [EMAIL PROTECTED]wrote: We currently use Ext JS 2.2 (http://extjs.com) with Struts 1.x, and we are considering migrating to Wicket. I have seen on the mail archive that some people have

Re: Wicket and Ext JS integration

2008-10-23 Thread Paolo Di Tommaso
complex integration like Data Store could be always done using a Wicket ajax behavior. But I' haven't yet tryed to integrate more complex stuff like editable grids, groups and so on . . Paolo On Thu, Oct 23, 2008 at 1:41 PM, Richard Allen [EMAIL PROTECTED]wrote: The licensing is a pain. We

Re: Wicket and Ext JS integration

2008-10-23 Thread Paolo Di Tommaso
Yes, I'm working for a no-profit organization and it could be an interesting option to release it as an OSS. Do you have any suggestion where the project could be hosted? Google code? and any idea about the licence? Thank you, Paolo On Thu, Oct 23, 2008 at 2:19 PM, Richard Allen [EMAIL

Re: Wicket in Italy

2009-09-24 Thread Paolo Di Tommaso
Roma (~) On Thu, Sep 24, 2009 at 8:46 AM, francesco dicarlo evilsephir...@gmail.comwrote: 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 eufor...@gmail.com

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 jer...@wickettraining.com 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

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 danelave...@gmail.com wrote: I'm working on a small project where I'm limited to using only JavaScript. I love

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 danelave...@gmail.com 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

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 lutherba...@gmail.com wrote: Is anyone aware of a wicket refcardhttp://refcardz.dzone.com/refcardz/core-java-concurrency initiative? Thoughts? -Luther

Re: ExtJS

2009-07-24 Thread Paolo Di Tommaso
does cover all the huge ExtJS components library. Grid are supported as GroupingGrid as well, but unfortunately not the editable grids. Regards, Paolo On Fri, Jul 24, 2009 at 1:36 AM, John Armstrong siber...@siberian.orgwrote: Hi all, Does anyone have access to the javadocs for the ext-js

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 jdpatter...@gmail.comwrote: 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

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 SimpleTest { @Test

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 tried

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 to use a Panel

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)

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

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 form-less constructor so that when

Re: integrating extjs with wicket

2008-01-09 Thread Paolo Di Tommaso
. Would be interesting discuss this... -- Paolo On Jan 9, 2008 6:25 PM, Jeremy Fergason [EMAIL PROTECTED] wrote: wicket seems to provide some nice management classes like TextField, that do things like set the value for you, I don't see how to integrate this with a javascript solution like

Re: the flow of wicket

2008-01-12 Thread Paolo Di Tommaso
important to know I don't think is a good approach because it is precisely this that leads to wrong assumptions, that could break in future. Thank you, - Paolo On Jan 11, 2008 2:09 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: you guys want to know about internal implementation details. it has

Wicket 1.3.x DatePicket drop-in replacement

2008-02-22 Thread Paolo Di Tommaso
to 1.2.x wicket classes (wicket.xxx.Xxx classes) so I'm unable to use together the wicket 1.3 core classes. Is there a distribution of the previous DatePicker that works with Wicket 1.3 ? Thank you, Paolo

Re: Wicket 1.3.x DatePicket drop-in replacement

2008-02-23 Thread Paolo Di Tommaso
jar it would require also to deploy also the wicket 1.2.x core classes .. this seems a bit strange. Am I missing something ? Thanks, - Paolo On Fri, Feb 22, 2008 at 6:11 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: there is wicket-datetime that has a yui datepicker there is also wicket-stuff

Wicket 1.3.x PageParameters

2008-02-25 Thread Paolo Di Tommaso
to have to change all my PageParameters composition? Thank you, / Paolo

Cross fields validation

2008-02-29 Thread Paolo Di Tommaso
) + a DateValidator Field-B validation depends on the date value entered in Field-A and is mandatory only for certain date value entered in Field-A. So basically how write a validator that depends on values entered in other fields? Thank you. / Paolo

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 HTH, Kai

Re: Bookmarkable page absolute url

2008-03-04 Thread Paolo Di Tommaso
. / Paolo On Tue, Mar 4, 2008 at 12:47 PM, Daniel Frisk [EMAIL PROTECTED] wrote: I use RequestUtils to convert the path to an absolute path, seems to work like a charm :-) import org.apache.wicket.protocol.http.RequestUtils; RequestUtils.toAbsolutePath(relativePath); Regards // Daniel

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

Seam Wicket integration and conversation scope

2008-03-22 Thread Paolo Di Tommaso
? Thank you, // Paolo

Re: Seam Wicket integration and conversation scope

2008-03-23 Thread Paolo Di Tommaso
use causes (and integrating other frameworks like jbpm that need to share the same hibernate session) it will drive in a hell. Thank you. // Paolo On Sun, Mar 23, 2008 at 2:25 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: conversation scope is slightly different, for long running hibernate

How page handle a request wiki page

2008-04-12 Thread Paolo Di Tommaso
that have been deprecated. Haven't they? Thank 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

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: 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, is there an API in wicket to know if a Validator instance has

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

  1   2   >