Re: Usage of Servlets in Wicket, How ?

2009-09-08 Thread FaRHaN
-page.html If that doesn't help you should briefly explain what your requirement is. There may be a better way to achieve it within Wicket instead of hacking around with servlets. On Tue, Sep 8, 2009 at 10:57 AM, FaRHaN farhan.ba...@ymail.com wrote: but how can we call it from our wicket web page

Re: Usage of Servlets in Wicket, How ?

2009-09-08 Thread FaRHaN
, then you lose the rest of Wicket's stateful form handling. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Sep 8, 2009 at 1:04 AM, FaRHaN farhan.ba...@ymail.com wrote: I want to upload files through Commons FIleUpload API. As Commons FileUpload API requires HttpServletRequest

Re: Usage of Servlets in Wicket, How ?

2009-09-08 Thread FaRHaN
Subject: Re: Usage of Servlets in Wicket, How ? On Tue, Sep 8, 2009 at 12:33 PM, FaRHaN farhan.ba...@ymail.com wrote: I want to make it a separate API for file uploading. So that i can embed it in any of the application regardless of the framework (wicket, JSF, struts etc.). The only reason

Usage of Servlets in Wicket, How ?

2009-09-07 Thread FaRHaN
Hi, Is there any example in Wicket that uses Servlets (doGet() doPost()). I mean how can we configure Servlets in our wicket application and use doGet(request, response) doPost(request, response) methods. I know web.xml configuration for Servlets but how can we use doGet() doPost() methods.

Re: Usage of Servlets in Wicket, How ?

2009-09-07 Thread FaRHaN
Wicket - write a servlet and add it to your web.xml. See any servlet example on the web (non-Wicket related) for assistance. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Sep 7, 2009 at 11:54 PM, FaRHaN farhan.ba...@ymail.com wrote: Hi, Is there any example in Wicket that uses

Re: How to use Apache Commons FileUpload in Wicket ?

2009-09-03 Thread FaRHaN
in Wicket ? You have pickwick project that has an example exaclty as the way you want On Wed, Sep 2, 2009 at 4:02 AM, FaRHaN farhan.ba...@ymail.com wrote: I want to upload a file using apache commons FileUpload API. As it requires HttpServletRequest for uploading files, but in wicket

Re: How to use Apache Commons FileUpload in Wicket ?

2009-09-03 Thread FaRHaN
for uploading in Wicket. How can i cast it to HttpServletRequest, as an Exception occur while casting IMultipartWebRequest to HttpServletRequest. Thanks... From: FaRHaN farhan.ba...@ymail.com To: users@wicket.apache.org Sent: Thursday, September 3, 2009 1:16:19 PM

How to use Apache Commons FileUpload in Wicket ?

2009-09-02 Thread FaRHaN
I want to upload a file using apache commons FileUpload API. As it requires HttpServletRequest for uploading files, but in wicket IMultipartWebRequest/IMultipartServletWebRequest is required for uploading purposes. How can I use apache commons FileUpload for uploading in Wicket ? Is there any

How to get Project Folder's Relative Path ?

2009-08-19 Thread FaRHaN
I want to get relative path of my current wicket project folder. I have used System.getProperty(user.dir) method but it returns the path of Tomcat's bin directory. I want to access files of my project through relative path, so that i can access these files on other System also. I have my

How to get Relative Path ?

2009-08-19 Thread FaRHaN
Is there a way in wicket, to get relative path of current web project ? Thanks...

Enforcing CSS Styles to be Loaded From Server ?

2009-08-17 Thread FaRHaN
I want to customize themes for my website for each Valid User, for that purpose i have a unique StyleSheet for each user. When a user Logs IN, a respective CSS file turned ON. The problem exist when a user Logs IN again after modifying styles (theme) of his website, the latest CSS file not

Re: Enforcing CSS Styles to be Loaded From Server ?

2009-08-17 Thread FaRHaN
Thanks Bas... It really works. From: bgooren b...@iswd.nl To: users@wicket.apache.org Sent: Monday, August 17, 2009 11:27:12 AM Subject: Re: Enforcing CSS Styles to be Loaded From Server ? Farhan, Please take a look at IResourceSettings (accessible from

How to add Random number to URL ?

2009-08-13 Thread FaRHaN
Hi, I want to add a random number to my requested URL, so that each request to my page go to server and not load from the cache. How can i add a random number to each requested URL ? Some examples acheiving this behaviour will be appreciated... Thanks...

Re: How to add Random number to URL ?

2009-08-13 Thread FaRHaN
. ??? From: burnstone burnst...@burnstone.ch To: users@wicket.apache.org Sent: Thursday, August 13, 2009 12:46:50 PM Subject: Re: How to add Random number to URL ? FaRHaN wrote: Hi, I want to add a random number to my requested URL, so that each request to my page go to server

Re: How to add Random number to URL ?

2009-08-13 Thread FaRHaN
: How to add Random number to URL ? Take a look at NonCachingImage. Witold Am Thu, 13 Aug 2009 00:44:07 -0700 (PDT) schrieb FaRHaN farhan.ba...@ymail.com: Hi, I want to add a random number to my requested URL, so that each request to my page go to server and not load from the cache. How can i

Re: Save CSS/StyleSheet in Database ?

2009-07-23 Thread FaRHaN
Can you please send me the sample codes of your implementation for Images ? I also want dynamic images to be displayed on my web page. Thanks, Farhan From: Michael O'Cleirigh michael.ocleir...@rivulet.ca To: users@wicket.apache.org Sent: Wednesday, July 22

Need Help in Dynamic CSS generation

2009-07-23 Thread FaRHaN
. body{background:${color1};} The css file doesn't recognizes $ simbol. Is this allowed in CSS file or not ? Please Help me out to fix this problem. Thanks --Farhan--

Re: Need Help in Dynamic CSS generation

2009-07-23 Thread FaRHaN
I am using netbeans IDE 6.5, but i dont think this is the problem of the IDE. It throws error of Unexpected Symbol found ($). Can you please provide me the working code of using variables in css ? From: Mathias Nilsson wicket.program...@gmail.com To:

Re: Need Help in Dynamic CSS generation

2009-07-23 Thread FaRHaN
Ok thanks, If any user of netBeans IDE have checked this example http://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html, then he must encountered this problem. Please help me out to resolve it ? --Farhan-- From: Mathias Nilsson

Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
user visits the website after deleting private data of browser. In this way, again default styles applies to all web pages. Is there any way to make css file dynamic (using variables in css file), or to save css classes (styles) into database ? Thanks, Farhan.

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
Thanks for quick response. Obviously, styles can be loaded from database after Login. But i want to make a separate css file and dont want ot add it in the java code, for sake of simplicity. Is there any way to store css styles directly from css file for a specific user, and then load styles

Re: Save CSS/StyleSheet in Database ?

2009-07-22 Thread FaRHaN
It means there will be a separate CSS file for each user. This will impose heavy load on the application, and where is database involved in that case, as i want to save and load css styles from database ? Is there any other way to do that ? Can we make CSS file dynamic e.g. body{background:

Re: need source code for [AutoCompleteTextField]

2009-04-02 Thread FaRHaN
Thomerson http://www.wickettraining.com On Thu, Apr 2, 2009 at 12:45 AM, FaRHaN farhan.ba...@ymail.com wrote: Anybody who loves to develop applications with Ajax will certainly know the Autocomplete behaviour of Ajax and most probably he developed this feature in his application also. I want

NameSpace usage in wicket ?

2009-04-01 Thread FaRHaN
Is there any way to use NameSpace in wicket applicatin ? Please reply... Regards, FaRHaN BaJWa.

Re: need Help on [AutoCompleteTextField]

2009-04-01 Thread FaRHaN
FaRHaN farhan.ba...@ymail.com: Is there any way to display User Defined values in AutoCompleteTextField (ajax behavior) by using array of values. Please refer me some examples and links to demonstrate such type of behaviour. Thanks, FaRHaN

Re: NameService usage in wicket ?

2009-04-01 Thread FaRHaN
= NameService.getInstance(names); List matching = service.findNames(prefix); but getInstance() method of NameService not being eccessible in java class of wicket appplication. Thanks, FaRHaN. --- On Wed, 4/1/09, nino martinez wael nino.martinez.w...@gmail.com wrote: From: nino martinez wael nino.martinez.w

Re: NameService usage in wicket ?

2009-04-01 Thread FaRHaN
other app. Now there might be something with an application context. 2009/4/1 FaRHaN farhan.ba...@ymail.com: Sorry, it was NameService instead of NameSpace. I want to use NameService for finding (extracting) values stored in an array. For Example, i want to use: List names = new ArrayList

need source code for [AutoCompleteTextField]

2009-04-01 Thread FaRHaN
Anybody who loves to develop applications with Ajax will certainly know the Autocomplete behaviour of Ajax and most probably he developed this feature in his application also. I want to introduce that feature in my application, that will take input (choices) stored in an array of strings or in

need Help on [AutoCompleteTextField]

2009-03-31 Thread FaRHaN
Is there any way to display User Defined values in AutoCompleteTextField (ajax behavior) by using array of values. Please refer me some examples and links to demonstrate such type of behaviour. Thanks, FaRHaN

Re: Need Wicket Examples

2009-03-26 Thread FaRHaN
I have Wicket in Action book but those examples are being explained in Ant/Maven and not in netbeans IDE. Are there any examples which are also executable in netbeans IDE ?