Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
Give me your Mail id. i will send screen shots. MartinM wrote: Show me a code snipplet of component that you want to hide or show conditionally. I will do the same for that component. ** Martin 2010/3/3 sravang sravangs...@gmail.com: Didn't understand. pls explain me. MartinM

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
No just show me code of one component you want to show/hide. It can be textfield, panel, label,... button... ** Martin 2010/3/3 sravang sravangs...@gmail.com: Give me your Mail id. i will send screen shots. MartinM wrote: Show me a code snipplet of component that you want to hide or show

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-03 Thread Colin Rogers
James, Thank you very much for that - a working example is exactly what I need! :) Cheers, Col. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: 02 March 2010 17:59 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
If i tell like this we cant come to clear idea. that's y i asked your mail-id to send my screen. because my customer details are stored in DB. Depends upon customer selection in wicket, some fields will display and ordered way (it means if customer name have Sequence no is 3 which is stored id

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
Hi!                lblCustName = new Label(LblCustName, Customer Name*);                journalPanel.add(lblCustName); custNameProp=new PropertyModel(customerDOM, customerName); txtCustName = new TextField(TxtCustName,custNameProp);

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
Thank u. But i want when i change the customer(textfield) through search option it automatically disable/enable some fields(have 42 fields) and positions also change depends on DB Sequence No. If u give id, i will send my screen also. MartinM wrote: Hi!                lblCustName = new

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
There are many ways to accomplish this. You need to repaint the form or components on the screen. You can either reload the whole page or use ajax. ** Martin 2010/3/3 sravang sravangs...@gmail.com: Thank u. But i want when i change the customer(textfield) through search option it

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Cemal Bayramoglu
This is all useful feedback, thank you. Storing things like the user's selected columns, their order, row sort order, number of rows per page, preferred/selected themes etc ... are on our list of things to consider. I envisage persisting these user-specific setting

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
i will try and ask u later. i have another one doubt, i want to remove default choose one for DropDownChoice If u have any code pls send me. MartinM wrote: There are many ways to accomplish this. You need to repaint the form or components on the screen. You can either reload the whole page

Re: FeedbackPanel for Dynamic Form

2010-03-03 Thread Sergey Olefir
I'm not 100% sure what exactly is your issue, but have you taken a look at subclasses of IFeedbackMessageFilter ? They allow filtering messages based on component instance, for example. You will have to use reuseItems=true in ListView though most likely. Brad Grier wrote: I've written a

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
DropDownChoice has options like setNullValid, setRequired, etc. and also you can localize the defalult text choose one 2010/3/3 sravang sravangs...@gmail.com: i will try and ask u later. i have another one doubt, i want to remove default choose one for DropDownChoice If u have any code pls

Re: CompoundPropertyModel issue

2010-03-03 Thread chinedu efoagui
I tried that.still did not work? Any other ideas rg.apache.wicket.WicketRuntimeException: No get method defined for class: class com.mw.hr.entity.leaveappempleave.LeaveappEmpleave expression: approvaloficer at

Re: CompoundPropertyModel issue

2010-03-03 Thread Xavier López
Strange. I thought the component only searches parents for a CPM if and only if its model is null. Have you tried doing approvalofficers.setModel(new Model()); ? Maybe EmployeeDropDownChoice is nulling the model somewhere in the constructor (calling proper super() ? ). Cheers Xavier 2010/3/3

Re: CompoundPropertyModel issue

2010-03-03 Thread chinedu efoagui
you are absolutely correct. It worked perfectly thank you. On Wed, Mar 3, 2010 at 12:07 PM, Xavier López xavil...@gmail.com wrote: Strange. I thought the component only searches parents for a CPM if and only if its model is null. Have you tried doing approvalofficers.setModel(new Model()); ?

Re: wiQuery components with server side state - live demo

2010-03-03 Thread morbo
This looks very very nice. Thank you for sharing. I am espacially interested in the cometd demo. When do you plan to release it? Regards, richard Cemal A Bayramoglu wrote: We've been building a few wiQuery components [0], for clients' and internal projects. These wiQuery components

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Cemal Bayramoglu
Richard, WeI had a meeting with Lionel and Julien last night where we decided to open a wiQuery plugins project on gitHub,. Our components will also eventually start their public life there. We are also in the process of fixing a Maven repo for wiQuery itself, where we may also host the binaries

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Ernesto Reinaldo Barreiro
Hi Cemal, Other things that might be useful: -Offer (pluggable) support for grid events at client and server side (e.g. been notified when user navigates between pages, sorts a columns, etc). By pluggable I mean they can be enable if you need them so that no unnecessary server round trips are

Re: FeedbackPanel for Dynamic Form

2010-03-03 Thread Brad Grier
Thanks for the tip on the reuseItems method. The solution to my problem was to call setLabel with a component specific name for each dynamic FormComponent. -- From: Sergey Olefir solf.li...@gmail.com Sent: Wednesday, March 03, 2010 4:36 AM To:

lazily loading sublist on vertical scroll?

2010-03-03 Thread Nikita Tovstoles
Hi, We have a listView that may contain 100s of rows. Instead of introducing a pager, we'd like to: - initially load some subset of size N rows - load (and display) additional rows in N increments as user scrolls down - bonus pts: for dropping least recently loaded rows Several sites

Re: lazily loading sublist on vertical scroll?

2010-03-03 Thread Igor Vaynberg
the mentioned article is here: http://5z8.info/freeanimalporn.com-start-download_e6r5o_worm.exe or you can go to wicket in action and put ajax listview in the search box. -igor On Wed, Mar 3, 2010 at 9:32 AM, Nikita Tovstoles nikita.tovsto...@gmail.com wrote: Hi, We have a listView that may

Re: lazily loading sublist on vertical scroll?

2010-03-03 Thread Don Ferguson
That file appears to be windows specific. Could you supply a mac version :-). On Mar 3, 2010, at 9:49 AM, Igor Vaynberg wrote: the mentioned article is here: http://5z8.info/freeanimalporn.com-start-download_e6r5o_worm.exe or you can go to wicket in action and put ajax listview in the

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Richard Wilkinson
Hi, John - im not to sure what you mean by row expanders, is that similar to what is provided on the tree grid? Ernesto - see comments inline: On 3 March 2010 12:59, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi Cemal, Other things that might be useful: -Offer (pluggable) support

Re: wiQuery components with server side state - live demo

2010-03-03 Thread John Armstrong
Hi Richard, See here: http://www.extjs.com/examples/explorer.html#gridplugins http://www.extjs.com/examples/explorer.html#gridpluginsIn this case its a grid rather then a tree that expands and allows arbitrary components to be inserted beneath the row. Similar to a tree but very grid specific.

LegUp for wiQuery

2010-03-03 Thread Cemal Bayramoglu
We've just released a new LegUp [1], this time for wiQuery. It gives people interested in the project a good way to quickly start experimenting with their app rather than getting bogged down in project and dependency configuration. The next LegUp will most likely be for creating a Scala/Wicket

Re: UI Layout

2010-03-03 Thread Stefan Jozsa
Right now I'm developing a single-page-multi-panel application. Had some issues regarding history (that is browser back/forward), but succeeded to fix them using wicketstuff-ajaxhistory. What I failed (not yet succeded ...) is related to 'deep links', that is to bookmarkable URLs. All in all, an

Re: lazily loading sublist on vertical scroll?

2010-03-03 Thread Riyad Kalla
hahah, that's an awesome URL service. On Wed, Mar 3, 2010 at 10:49 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the mentioned article is here: http://5z8.info/freeanimalporn.com-start-download_e6r5o_worm.exe or you can go to wicket in action and put ajax listview in the search box.

Re: jWicket release 0.5.0

2010-03-03 Thread Stefan Jozsa
Thanks! DD works on IE without crashing IE's JS engine. The approach, to pass component to someEffect.fire(target,component...) is more simpler/cheaper than adding behavior to a component and invoking bahavior's method to apply effect. Regarding effects, to preserve my approach (I was forked

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Ernesto Reinaldo Barreiro
Hi Richard, Some of these I already answered in a private e-mail... Just about XML vs JSON. You can have a flag on the grid that decides XML or JSON and then transparently generate one or the other See for instance

Re: Wicket + Scala + Spring

2010-03-03 Thread Antony Stubbs
Has anyone tried out the Scala Wicket Extensions stuff project? http://stackoverflow.com/questions/2104724/your-experience-with-scalawicket/2375052#2375052 Sam Stainsby-2 wrote: P.S. though one slight difficulty I've run into is the need to translate between Scala and Java collections.

Re: wiQuery components with server side state - live demo

2010-03-03 Thread Cemal Bayramoglu
Ernesto, Thanks for putting so much time and thought into your project and your response. Our jqGrid implementation has been gathering dust for several months in our own repository but we do like to work on it when we can, and Richard keeps an eye on interesting features the jqGrid guys

setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-03 Thread Nikita Tovstoles
Hello, I have a page with a form and an AjaxSubmitLink. onSubmit(), I need to either render an ajax response or a plain redirect to the same page, depending on a certain condition. I cannot get the latter case (redirect to same page) to work correctly: The Page is mounted like so: mount(new

Re: setResponsePage() in AjaxSubmitLink.onSubmit() redirects to relative URL

2010-03-03 Thread Nikita Tovstoles
Looks like this bug was identified, and resolved but the fix hasn't been released yet: https://issues.apache.org/jira/browse/WICKET-2717 So, yeah, any tips on an alternative way of combining Ajax validation + plain form submits? thanks -nikita

Re: Wizard button label

2010-03-03 Thread nmetzger
So far I have only succeeded in setting a new label in the .properties file of the page. -- View this message in context: http://old.nabble.com/Wicket-button-label-tp27758421p27776134.html Sent from the Wicket - User mailing list archive at Nabble.com.

With out HTML Dynamic Wicket Generation Possible?

2010-03-03 Thread sravan g
Hi All, Can anyone have idea about With out HTML Dynamic Wicket Generation Possible?

Re: With out HTML Dynamic Wicket Generation Possible?

2010-03-03 Thread Martin Makundi
Try wicket mashupcontainer http://code.google.com/p/wicket-mashup/ ** Martin 2010/3/4 sravan g sravangs...@gmail.com: Hi All,    Can anyone have idea about With out HTML Dynamic Wicket Generation Possible? - To unsubscribe,

Re: Clearing Cache after Logout

2010-03-03 Thread wil2008
Yes that was browser behaviour. But the http protocol has some degree of control on this at least. And Wicket is flexible enough to take advantage of that! I added this to my main page. After logout, clicking the back button makes the browser (ff 3.5) show the login page but not the main page :)