Re: Twenty Six Wicket Tricks

2009-07-28 Thread taha siddiqi
+1 26 Wicket Tricks or Wicket Cookbook or Wicket Recipes (Whenever I am trying something new I always try a cookbook, It later on acts as a reference too) taha On Wed, Jul 29, 2009 at 3:38 AM, Matej Knoppmatej.kn...@gmail.com wrote: On Tue, Jul 28, 2009 at 11:55 PM, Vladimir

Fwd: QuickCrud

2009-07-20 Thread taha siddiqi
Hi, There are simple set of libraries I had thought of commenting properly and sharing with the community but because of being busy with a few projects I am unable to do that. I don't know when I will get the time to properly comment, but until then I would like to share this as-is code... I

Re: 1.4 is ready for production?

2009-07-20 Thread taha siddiqi
One of my projects has just gone into testing phase, I ported the project from 1.35 to 1.4rc7 and I faced no problems. Let us see how testing goes ... Wassalam Taha On Tue, Jul 21, 2009 at 6:22 AM, Jeremy Thomersonjer...@wickettraining.com wrote: Oops - sorry - pasted the wrong thing.  It does

Re: Wicket Offline Applications

2009-05-04 Thread taha siddiqi
A popular Indian product FINACLE has an applet which kind of acts as a fat client and each time a customer detail or scheme detail is fetched the whole detail gets downloaded into the applet. But it is not an pure offline application as only the current page can we viewed or changed and every time

Re: Does javascript:onload get executed on each ajax update ?

2009-05-02 Thread taha siddiqi
Found the answer IHeaderResponse.renderOnDomReadyJavascript() regards Taha On Sat, May 2, 2009 at 11:45 AM, taha siddiqi tawushaf...@gmail.com wrote: Hi All, I have to execute some code every time a form gets loaded. When I load the form in a non-ajax way it works but in an ajax call

AjaxGoFilter

2009-03-22 Thread taha siddiqi
Hi I was working on AjaxFallbackDataTable and FilterForm. Although there is a GoFilter but there is no AjaxGoFilter. Am I missing something here ? Thankyou taha - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Why are we top-posting...

2009-03-21 Thread taha siddiqi
Now you all get a gun and shoot me :) I got your point How many times No No No .. Enough This is a declaration I, TAHA, WILL NEVER SAY THAT TOP POSTING IS BAD OR BOTTOM POSTING IS GOOD CLOSE THIS

Re: Just a little thank you

2009-03-20 Thread taha siddiqi
Me too taha On Sat, Mar 21, 2009 at 1:26 AM, Francisco Diaz Trepat - gmail francisco.diaztre...@gmail.com wrote: once you go wicket you never go back... :-) I also want to adhere to the thanks for this great framework and all your help. f(t) On Fri, Mar 20, 2009 at 4:33 PM, Vit Rozkovec

Re: Ajax Back Button

2009-03-16 Thread taha siddiqi
??) Not sure I understand your second question. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Mar 16, 2009 at 12:17 AM, taha siddiqi tawushaf...@gmail.comwrote: Hi, I have a panel filled application which has almost everything configured as AjaxFallback... Can I make the browser

Re: Ajax Back Button

2009-03-16 Thread taha siddiqi
http://www.wickettraining.com On Mon, Mar 16, 2009 at 11:37 PM, taha siddiqi tawushaf...@gmail.comwrote: Thanks Jeremy, My second question was As we have a BASIC HTML version and Ajax Version of Gmail, How should I implement the same in my application with least effort ?  ( Where I

Re: Why are we top-posting...

2009-03-15 Thread taha siddiqi
...@pappin.ca wrote: chuckle This is an old argument that I've seen get pretty heated, but I haven't heard it mentioned since I used news groups for this sort of thing. Anyway -- What Martijn said... - Brill On 14-Mar-09, at 9:25 PM, taha siddiqi wrote: I was not expecting this... ( look

Ajax Back Button

2009-03-15 Thread taha siddiqi
Hi, I have a panel filled application which has almost everything configured as AjaxFallback... Can I make the browser back button work... ( It seems I cannot ) Also is it possible that I can have components configurable as Ajax or Basic Html, so that I can have both Basic HTML version and Ajax

Which version is stable

2009-03-14 Thread taha siddiqi
Hi, Which version 1.3.x or 1.4.x should I use in production. Which one is stable ? ( stupid question I know :) but I am confused ) I use 1.3.5, should I be using 1.4.x. taha - To unsubscribe, e-mail:

Re: Trying Hibernate Validator Integration

2009-03-14 Thread taha siddiqi
, Mar 10, 2009 at 11:29 AM, taha siddiqi tawushaf...@gmail.comwrote: but then how to get a ResourceBundle from wicket resource ?? On Tue, Mar 10, 2009 at 8:43 PM, Peter Thomas ptrtho...@gmail.com wrote: On Tue, Mar 10, 2009 at 9:04 AM, taha siddiqi tawushaf...@gmail.com wrote

Why are we top-posting...

2009-03-14 Thread taha siddiqi
Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming and joined a mailing list. My first post brought me a link which was not an answer to my question but an advice and today I feel we all need to look at it http://www.caliburn.nl/topposting.html Every

Re: Why are we top-posting...

2009-03-14 Thread taha siddiqi
the bikeshed is in and I'm not interested in what color you like, I just want to put my bike inside and get to work. Martijn On Sat, Mar 14, 2009 at 2:14 PM, taha siddiqi tawushaf...@gmail.com wrote: Hi, The story goes like this... Once I was brave enough to take on linux-kernal programming

Re: Trying Hibernate Validator Integration

2009-03-14 Thread taha siddiqi
field. If I add it simply to the form, the validation behavior doesn't happen. Am I missing something? Will On Sat, Mar 14, 2009 at 9:06 AM, taha siddiqi tawushaf...@gmail.com wrote: I was myself very much interested and finally I found wicket-hibernate at http://www.jroller.com/wireframe

Re: Trying Hibernate Validator Integration

2009-03-14 Thread taha siddiqi
w...@jaynes.org wrote: I guess I'm not sure what you mean. Can you please show a code snippet? On Sun, Mar 15, 2009 at 1:04 AM, taha siddiqi tawushaf...@gmail.com wrote: I actually used it as a listener and at component level in my project. I will try to add this feature to it.. Thanks

Re: DataView Model

2009-03-11 Thread taha siddiqi
I had a similar problem but then i found I was not adding a model to the components i was adding in my listview.populateItem() may be it helps.. taha On Thu, Mar 12, 2009 at 2:20 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Yeah.. but, why would get/set be called on a dataview? The

Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
Hi, I was working with Hibernate-validator and thought of sharing the code. It is a listener as well as a behavior which can be used at application level as well as with individual components. It is heavily inspired from wicket-jpa and wicket-hibernate projects... I just tried some changes...

Re: Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
, taha siddiqi tawushaf...@gmail.com wrote: Hi, I was working with Hibernate-validator and thought of sharing the code. Taha: I thought the ClassValidator will handle all the different cases and annotations for you, see line #89 http://code.google.com/p/perfbench/source/browse/trunk/perfbench

Re: Trying Hibernate Validator Integration

2009-03-10 Thread taha siddiqi
but then how to get a ResourceBundle from wicket resource ?? On Tue, Mar 10, 2009 at 8:43 PM, Peter Thomas ptrtho...@gmail.com wrote: On Tue, Mar 10, 2009 at 9:04 AM, taha siddiqi tawushaf...@gmail.com wrote: But the problem is when you begin to use the wicket resource files, hibernate

Re: Uppercasing inputs

2009-03-07 Thread taha siddiqi
). Hope I will be able to contribute to this project in a few months ... ( right now i am busy with two office projects ) Thanks everybody taha On Fri, Mar 6, 2009 at 8:11 PM, Leszek Gawron lgaw...@apache.org wrote: taha siddiqi wrote: Thanks!!( everyone MADE a joke and I BECAME one ) I'm

Re: Uppercasing inputs

2009-03-06 Thread taha siddiqi
Thanks!!( everyone MADE a joke and I BECAME one ) On Fri, Mar 6, 2009 at 3:55 PM, Leszek Gawron lgaw...@apache.org wrote: I've been out for one day. I come back and see a thread with 38 messages. That's crazy !:) jWeekend wrote: Leszek, Thank you asking such a deep question ;-) We may

Re: how to save validated fields in a form even if entire form still needs work

2009-03-04 Thread taha siddiqi
Take a look at IFormValidator. taha On Thu, Mar 5, 2009 at 7:31 AM, novotny novo...@gridsphere.org wrote: Hi, I have a form with 8 required fields. I'd like it if even if they just fill out 4 of the fields, I can go ahead and persist those field answers to the database and still remind

Re: Uppercasing inputs

2009-03-04 Thread taha siddiqi
Hi I have to agree with Jeremy. I would change the domain model and in case i must do it in Wicket I will use I will try to configure a Listener for a general purpose uppercase behavior taha On Thu, Mar 5, 2009 at 7:26 AM, James Carman jcar...@carmanconsulting.com wrote: On Wed, Mar 4, 2009 at

Re: Uppercasing inputs

2009-03-04 Thread taha siddiqi
that.  That was my facetious / sarcastic tone that unfortunately doesn't come through all that well in email (although Igor picked it up).  But, more power to you - there are certainly plenty of options! -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 4, 2009 at 10:30 PM, taha siddiqi

DropDownChoice and Large Models

2009-03-04 Thread taha siddiqi
Hi, DropDownChoice is used to hold a list of models which are then used for choosing a single model. What if the model is very large and I only want id/name combination to be used as a list of models and the use the choosen id to get the actual selected Model. The catch here is that I want to use

Re: Where to disable a child component

2009-02-20 Thread taha siddiqi
, Jeremy Thomerson jer...@wickettraining.com wrote: Why not let you child components override isEnabled() and have part of the logic in it check if their parent is enabled? On Thu, Feb 19, 2009 at 11:25 PM, taha siddiqi tawushaf...@gmail.comwrote: Hi, I think I resolved it. I used

Re: how to hide parameter in URL? for parameters

2009-02-19 Thread taha siddiqi
use a post request !! tawus On Thu, Feb 19, 2009 at 2:31 PM, wch2001 wch2...@hotmail.com wrote: Dear all, I am doing a project , there is one url with some parameters as below

Re: How to deal with dynamic form issue

2009-02-19 Thread taha siddiqi
Hi, Can I use input type='hidden' in wicket to sort out the issue ( I saw a post stating hidden is something which is not part of wicket philosophy. ) regards tawus On Thu, Feb 19, 2009 at 12:25 PM, taha siddiqi tawushaf...@gmail.com wrote: Hi, I am stuck with a form where in I have to add

Where to disable a child component

2009-02-19 Thread taha siddiqi
Hi, I have a FormComponentPanel with child components and i need to disable the children when FormComponentPanel is disabled( isEnabled() == false ). I can do that in onBeforeRender() but the problem is that I have to take the decision on whether to disable the FormComponentPanel in my

Re: Where to disable a child component

2009-02-19 Thread taha siddiqi
Hi, I think I resolved it. I used FormComponentPanel.onRender( MarkupStream ) regards tawus On Fri, Feb 20, 2009 at 10:42 AM, taha siddiqi tawushaf...@gmail.com wrote: Hi, I have a FormComponentPanel with child components and i need to disable the children when FormComponentPanel

How to deal with dynamic form issue

2009-02-18 Thread taha siddiqi
Hi, I am stuck with a form where in I have to add new form elements dynamically in javascript. My Form contains an option to select the number of guests and then I add to the form(in javascript) 'select elements' to select the ages of the guests. How will I deal with it in wicket. I can do this

Re: Avoid serialization troubles with static members

2009-02-18 Thread taha siddiqi
I agree with John Krasnay I am new to wicket( 2 months old) but I find @SpringBean very easy to use and it minimizes the spring-context concern while developing the application. and I think avoiding annotations is something you wont be able to do for long.. tawus On Wed, Feb 18, 2009 at

Where can i find ResourceBundle

2009-01-28 Thread taha siddiqi
Hi everyone, I am using Hibernate's ClassValidator and one of its constructors requires a java.util.ResourceBundle to be given as a parameter, how can i attach the wicket resource stream to it Thanks in advance regards Tawus

Where can i find ResourceBundle

2009-01-28 Thread taha siddiqi
Hi everyone, I am using Hibernate's ClassValidator and one of its constructors requires a java.util.ResourceBundle to be given as a parameter, how can i attach the wicket resource stream to it Thanks in advance regards Tawus I tried to google but couldn't find any thing

Need for a annotation based validation

2009-01-24 Thread taha siddiqi
Hi everyone, The validation provided by wicket is sufficient but I feel that if we integrate it will EJB Persistence Domain Objects, it will be very easy to validate and duplication of code can be avoided. Any comments !! regards taha

Re: Need for a annotation based validation

2009-01-24 Thread taha siddiqi
On Sat, Jan 24, 2009 at 11:13 PM, igor.vaynb...@gmail.com wrote: There is a project that does this in wicketstuff. Hibernate-validator I believe. -igor On 1/24/09, taha siddiqi tawushaf...@gmail.com wrote: Hi everyone, The validation provided by wicket is sufficient but I feel

Re: Need for a annotation based validation

2009-01-24 Thread taha siddiqi
/wicket/EditBorder.java On Sun, Jan 25, 2009 at 9:45 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: wicket is a web application framework. integrating with hibernate is outside its core functionality. -igor On Sat, Jan 24, 2009 at 5:59 PM, taha siddiqi tawushaf...@gmail.com wrote: On Sat

Hibernate and SortableDataProvider

2009-01-22 Thread taha siddiqi
Hi everybody, I wonder which one is a better way of loading data into a DefaultDataTable 1. using iterator() in SortableDataProvider to load all the id's of objects only and then using model to load actual objects 2. loading full objects using iterator() regards Tawus

Re: Hibernate and SortableDataProvider

2009-01-22 Thread taha siddiqi
of object. Implement the load function, this will retrieve the object from hibrnate via id. Also see example in wicket in action. Regards, Frank Verstuurd vanaf mijn iPhone Op 23 jan 2009 om 07:17 heeft taha siddiqi tawushaf...@gmail.com het volgende geschreven:\ Hi everybody, I wonder