Intercept AutoCompleteTextField choice...

2009-01-12 Thread Luca Provenzani
Hi to all! I've an AutoCompleteTextField and it's all ok. But how can i intercept the final choice of the user? I explain better. For example, the choices are Medium,Monster and Moon. The user types m and the AutoCompleteTextField print the three choices. The user clicks on Monster. How can i

Re: Intercept AutoCompleteTextField choice...

2009-01-13 Thread Luca Provenzani
Thank a lot! It's what i wanted!! 2009/1/12 noon rami.muurim...@gmail.com I followed the example introduced in Wicket wiki and it solved exaclty my problem. http://cwiki.apache.org/WICKET/autocomplete-using-a-wicket-model.html Luca Provenzani wrote: Hi to all! I've

Retrieve RemoteUser from HttpServletRequest

2009-01-21 Thread Luca Provenzani
Hi All! I'm in a webPage and i need to retrieve the RemoteUser and RemoteAddress from the httpServletRequest. I use this code: * **HttpServletRequest request = getWebRequestCycle().getWebRequest().getHttpServletRequest();* * String remUser = request.getRemoteUser(); **String remAddr =

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-21 Thread Luca Provenzani
Hi, I use RequestCycle.get().getClientInfo().getProperties().getRemoteAddress(); or RequestCycle.get().getClientInfo().getProperties().getUserAgent(); for this. hth Bert On Wed, Jan 21, 2009 at 11:35, Luca Provenzani eufor...@gmail.com wrote: Hi All! I'm in a webPage and i need

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-22 Thread Luca Provenzani
On Wed, Jan 21, 2009 at 14:37, Luca Provenzani eufor...@gmail.com wrote: Thank You for answer Bert I'll try to retrieve remoteAddress in this way(tomorrow morning, ehm for Italy ;-), because now i'm working for an other project). that would be the same timezone as me (germany

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-23 Thread Luca Provenzani
().getrequest()).gethttpservletrequest(); -igor On Thu, Jan 22, 2009 at 8:40 AM, Luca Provenzani eufor...@gmail.com wrote: my application works on an apache-tomcat server. And on this server my client has his authentication system that is similar to the Apache Basic Authentication. Than, i

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-23 Thread Luca Provenzani
no! i haven't a right web.xml... that is the problem! sorry! i'm a newbie in wicket.. Thank you all !! Luca 2009/1/23 Serkan Camurcuoglu serkan.camurcuo...@telenity.com is your wicket url also protected by security and login constraints in your web.xml? Luca Provenzani wrote: nothing

Change Year in DatePicker

2009-01-28 Thread Luca Provenzani
Hi All, i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker. with wicket 1.3.0 But when i open datePicker on my webpage i can't change year, i can only change the months. Does someone know how to configure DateField to do this? is it possible? Thank Luca

Re: Change Year in DatePicker

2009-01-28 Thread Luca Provenzani
Thank you for answer, but i can't do it in wicket 1.3.0. i think that the unique way is try to update the application to wicket 1.3.5 Luca 2009/1/28 Daniel Peters daniel.pet...@idealo.de Luca Provenzani wrote: i use org.apache.wicket.extensions.yui.calendar.DateField as DatePicker

Re: How can I clear the value of an AutoCompleteTextField

2009-02-12 Thread Luca Provenzani
i think you can put the field of the model/bean of the form to empty and then call target.addComponet(tagsContainer); what kind of effect do you want? If you need to call javascript you can use target.appendJavaScript()... Luca 2009/2/12 Azzeddine Daddah waarhei...@gmail.com Hello everyone,

ResourceLink, IE and https

2009-03-05 Thread Luca Provenzani
Hi all This is my situation: i've a ResourceLink based on a JasperReport Resource(DynamicWebResource ) and all is ok until i use http. But if the web server uses https IE can't download the file. i searched in the web but i 've found only an e-mail with similar problem (

Re: ResourceLink, IE and https

2009-03-05 Thread Luca Provenzani
if you set your Resource setCacheable(true)? On Thu, Mar 5, 2009 at 3:21 PM, Luca Provenzani eufor...@gmail.com wrote: Hi all This is my situation: i've a ResourceLink based on a JasperReport Resource(DynamicWebResource ) and all is ok until i use http. But if the web server uses https

Re: ResourceLink, IE and https

2009-03-05 Thread Luca Provenzani
(IResourceListener.INTERFACE) + wicket:antiCache= + System.currentTimeMillis() Unfortunatly, ResourceLink#getUrl is final, so you'll probably have to create your own Link subclass similar to ResourceLink On Thu, Mar 5, 2009 at 4:33 PM, Luca Provenzani eufor...@gmail.com wrote: in this way

Re: ResourceLink, IE and https

2009-03-05 Thread Luca Provenzani
OK it's all ok i just move the code from the onclick to onmousedown AjaxFormSubmitBehavior. and now all work fine! a big thank Jonas! Luca 2009/3/5 Luca Provenzani eufor...@gmail.com sorry i wrote a wrong thing... the result is NOT ever the same, but is the report with the previous

Re: Wicket in Italy

2009-09-24 Thread Luca Provenzani
Hi, we are a little company of software and to make webSoftware in the last two year we used only wicket! But we live in Florence ;-) Do you think to organize some events? Regards, Luca 3FConsulting S.r.l. 2009/9/23 Giovanni pino_o...@yahoo.com Hi, are there any Wicketers living in

Activate datapicker onblur

2009-09-25 Thread Luca Provenzani
Hi all, how can i activate (open datapicker window) when user click(or focus) on the correlate textbox? Thanks Luca

Rendered html to string

2009-09-30 Thread Luca Provenzani
Hi all, does someone know how to render a wicket component into a String? Thanks Luca

Re: Rendered html to string

2009-09-30 Thread Luca Provenzani
oops, yes, you are right! :-) 2009/9/30 Peter Arnulf Lustig u...@yahoo.de getMarkupStream().toString(); maybe? - Ursprüngliche Mail Von: Luca Provenzani eufor...@gmail.com An: users@wicket.apache.org Gesendet: Mittwoch, den 30. September 2009, 12:32:19 Uhr Betreff

Re: Rendered html to string

2009-09-30 Thread Luca Provenzani
in beforeRender for this component. in onRendered you can add the string again to the hole Response. We do this for caching HTML Fragments via EHCache. Martin Luca Provenzani schrieb: oops, yes, you are right! :-) 2009/9/30 Peter Arnulf Lustig u...@yahoo.de getMarkupStream().toString

Re: wicket bench 1.4

2009-10-07 Thread Luca Provenzani
i don't see difference between wicket1.3 and wicket1.4 with wicket bench. I like this plug-in, but it's still incoplete, and it has some little problems with java editor... Luca 2009/10/7 Douglas Ferguson doug...@douglasferguson.us Does wicket bench work with wicket 1.4?

Re: wicket bench 1.4

2009-10-07 Thread Luca Provenzani
in this case i don't know, because i don't use selenium... ;-) Luca 2009/10/7 Douglas Ferguson doug...@douglasferguson.us I'm interested in using the selenium features. D/ On Oct 7, 2009, at 2:01 AM, Luca Provenzani wrote: i don't see difference between wicket1.3 and wicket1.4

Re: Wicket 1.4.2 Released!

2009-10-10 Thread Luca Provenzani
Thank You very much, I'll update our project early. Luca 2009/10/10 Igor Vaynberg igor.vaynb...@gmail.com The Apache Wicket project is proud to announce the second maintenance release of Apache Wicket 1.4. Download Apache Wicket 1.4 --- You can

Re: Nullable resource link

2009-10-14 Thread Luca Provenzani
i don't understand the problem can't you check the resource before link is rendered? You can create a new resource object empty in the case of null bytesand setVisible(false) or extend link to do this automatically on empty resource... Luca 2009/10/14 Iain Reddick

Re: Nullable resource link

2009-10-14 Thread Luca Provenzani
of situation - do I use the solution you outlined, or do I add a simple invisible dummy link instead of the the resource link, or is there a better solution that I'm missing? Luca Provenzani wrote: i don't understand the problem can't you check the resource before link is rendered? You can

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-10 Thread Luca Provenzani
i don't think it is possible to do... because HomePage isn't a secure page and then it's not under swarm control when it's rendered. i'm afraid that you have to do by your hand... but i'm not an expert! ;-) Luca 2009/6/9 Christopher L Merrill ch...@webperformance.com I have a question about

Re: Wicket 1.4-rc6 Swarm

2009-07-09 Thread Luca Provenzani
Hi all, i'm interested too. Probably my company have to realize a new project in the near future and we think to use wicket 1.4, but we need something like swarm. I started to see in svn but if it is possible to have your updated code it would be fantastic. thank you Luca 2009/7/9 Olger Warnier

Re: Wicket 1.4-rc6 Swarm

2009-07-10 Thread Luca Provenzani
SVN El jue, 09-07-2009 a las 13:38 +0200, Olger Warnier escribió: Hi Luca, Maybe it is possible to commit the whole into an existing / new branch of the wicket-security project. Is there someone who could arrange that ? Kind Regards, Olger On 9 jul 2009, at 11:00, Luca Provenzani wrote

Re: Authorization with Wicket

2010-02-01 Thread Luca Provenzani
)); } } }; Regards Luca Provenzani 2010/1/29 Riccardo Trombini riccardo.tromb...@csnc.ch Hi I wrote an AuthorizationManager which checks if a user is authorized to access a given resource. An an example, I have an EditPage to edit articles. Only users

Re: DatePicker to pick a year

2010-11-30 Thread Luca Provenzani
Hi, it's better if you set the id of the input in the java code. Something like: yourinput.setOutpuMarkUpId(true); yourinput.setMarkUpId(mydatepicker); //i' don't remember exactly the name of the function, but it's something similar bye Luca Il 30/11/2010 16:40, Anna Simbirtsev ha scritto: Hi,

Re: NumberValidator.MinimumValidator

2012-04-02 Thread Luca Provenzani
Hi, try: Class MinimumValidatorZ extends java.lang.ComparableZ java.io.Serializable Bye Luca Il 02/04/2012 12:12, SudeepShakya ha scritto: I am reading Enjoying Web Programming with wicket(1st edition). And I found out that there is no such thing in wicket 1.5.x. So how to implement these

Re: Inserting String/Date problem .

2012-04-05 Thread Luca Provenzani
Hi, this is not a wicket question, but a java question. However: why do you use String for a Date information? Statement has setDate method and wicket has DateField and DateTextField. Bye Luca Il 05/04/2012 07:27, SudeepShakya ha scritto: I have two textboxes which take dates using

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Luca Provenzani
Thank you all for this new version! Il 05/09/2012 18:53, Martijn Dashorst ha scritto: With great pleasure we announce the availability of Apache Wicket 6.0.0 -- Martijn Dashorst, Vice President, Apache Wicket Apache Wicket v6.0.0 is the 6th major release of the popular open source Java web