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!

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

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

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

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

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

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: 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: 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,

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: 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

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: 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

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

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: 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)

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: 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

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

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

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

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

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

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

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

Forums tools ready-to-use?

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

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: 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: 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: 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: 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: 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 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

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

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: 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 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

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

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

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

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

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

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

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

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 AM

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
YESS! You are right, now it works. Thank you, Paolo On Wed, Apr 30, 2008 at 11:15 AM, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi Paolo, I had just the same problem as you. The display:none has nothing to do with this. It just hides the root of the tree. The problem was that the domain

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
Cool, good to know. Thanks, Paolo On Wed, Apr 30, 2008 at 11:59 AM, Gerolf Seitz [EMAIL PROTECTED] wrote: heh, didn't think of that ;) the correct way would be to override the methode getDomainFilter and return IDomainFilter.ALL (or something like that) Gerolf On Wed, Apr 30, 2008 at 11

WebRequestCycle and Open-session-in-view pattern

2008-04-28 Thread Paolo Di Tommaso
) served through the wicket application? Basically I'm looking for a method to identify requests for static resources that does not requires n open hibernate session. Thank you, // Paolo

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: JmxPanel

2008-04-23 Thread Paolo Di Tommaso
Absolutely, JMX feature is enabled. I'm adding a JmxPanel in my page using a simple: add(new JmxPanel(jmx)); but nothing is displayed .. You have it working? Have you used any trick? // Paolo On Wed, Apr 23, 2008 at 3:46 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: Paolo, I'm not sure

Re: JmxPanel

2008-04-23 Thread Paolo Di Tommaso
No. Just a plain html page without any custom css. What version of Wicket/Wicket-stuff-jmx-panel are you using ? Thanks, // Paolo On Wed, Apr 23, 2008 at 7:20 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: nope, did the same thing you did. do you have any custom css that might cause

Re: integrating extjs with wicket

2008-04-22 Thread Paolo Di Tommaso
Dear AT ... unfortunately I didn't had time to work out on this integration. I will let you know in future. // Paolo On Mon, Apr 21, 2008 at 4:58 PM, Advanced Technology(R) [EMAIL PROTECTED] wrote: Hi Paulo, Did you have sucess integrating Ext.form.FormPanel ??? Can you upload Wicket

Re: JmxPanel

2008-04-18 Thread Paolo Di Tommaso
Thanks, I will try it. Anyway strange that there's this still this issue .. // 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 here's patch, (you need stuff between

Re: AW: Wicket + CMS

2008-04-18 Thread Paolo Di Tommaso
easy to add Wicket support to it. // Paolo On Fri, Apr 18, 2008 at 9:28 PM, Frank van Lankvelt [EMAIL PROTECTED] wrote: Hi Uwe, plug shameless=true The repository is a JCR (JackRabbit) repository extended with workflow and faceted navigation. The CMS is composed as a set

JmxPanel

2008-04-17 Thread Paolo Di Tommaso
=display:none id=tree1_0/div /div/td tddiv id=detailPanel2 /div/td /tr /table /div div style=clear:both/div Any ideas ? Thanks. // Paolo

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

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

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

Seam Wicket integration and conversation scope

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

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

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

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

Wicket 1.3.x PageParameters

2008-02-25 Thread Paolo Di Tommaso
to have to change all my PageParameters composition? 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 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: 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

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: [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: [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: 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: 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: 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: 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-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

  1   2   >