Re: "Page Expired" page with PatternDateConverter

2010-10-11 Thread Altuğ Bilgin Altıntaş
quickstart 11 Ekim 2010 16:00 tarihinde Hemant Shah yazdı: > Yes, it works fine if we do not override the getConverter method. In which > case it behaves like a normal AjaxEditableLabel, as would be expected, and > we are using AjaxEditableLabel instances in many places in our application. > >

Re: DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread vov
Can you write your code? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2991210.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: wicket osgi (not Pax)

2010-10-11 Thread David Leangen
If you're already using Wicket successfully in OSGi, then I don't see what benefit using pax-wicket will add for you. pax-wicket is useful to help get you going in OSGi, since the class loading / serialization stuff can be tricky. Sounds like you're doing ok, though. =David On Oct 12, 2010

Re: wicket osgi (not Pax)

2010-10-11 Thread kugaprakash
Hi, I have multiple Wicket Applications running on different servers, each of them runs on OSGI/Jetty, and a Master Wicket Application also runs on OSGI/Jetty. Master wicket application, has its own server, where it gets the data from the sub servers. Do you recommend Pax Wicket for such architec

Re: RadioChoice - what's wrong?

2010-10-11 Thread Jeremy Thomerson
Do you use Eclipse? There is a compiler warning that you can turn on (it should be on by default) that warns against this problem whenever you may inadvertently be "hiding" other variables. I suggest to everyone I teach that they turn it on (and perhaps even turn it up from warning to error), and

tomcat host gives 404 on dynamic resources including wicket-events.js

2010-10-11 Thread Terry
wicket 1.4 - tomcat 6.0 or 7.0 Having issue with resolving dynamic resources when deployed as virtual host in tomcat server.xml snippet... both apps load with either url... http://192.168.100.70:8080/BEMA OR http://a.bem.com:8080 http://192.168.100.70:8080/BEMB OR http://b.bem.com:8

Re: repaint a fragment

2010-10-11 Thread Jeremy Thomerson
On Mon, Oct 11, 2010 at 10:59 PM, fachhoch wrote: > > my fragment is inside a listitem ,on click I added this listitem to taget > nothing happened but if I call listitem.replace with new fragment it was > adding an additional div is ths the right way to repaint fragment ? You can call item.setO

Re: repaint a fragment

2010-10-11 Thread fachhoch
my fragment is inside a listitem ,on click I added this listitem to taget nothing happened but if I call listitem.replace with new fragment it was adding an additional div is ths the right way to repaint fragment ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repai

Re: repaint a fragment

2010-10-11 Thread Scott Swank
Exactly. On Mon, Oct 11, 2010 at 7:24 PM, fachhoch wrote: > > you mean If I put this fragment inside a webmarkupcontainer and add this > webmarkupcontainer to target this will repaint my fragmnet ? > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/repaint-a-frag

Re: Integrating Separate Different Wicket Applications Into One

2010-10-11 Thread Nivedan Nadaraj
Hi When you say integrate different applications, do u mean each one is a sub-application? Do those applications extend the WicketApplication class? If they don't then I have had some experience to integrate sub-modules into one main application. Let me know if that is what you mean. Otherwise I g

Re: repaint a fragment

2010-10-11 Thread fachhoch
you mean If I put this fragment inside a webmarkupcontainer and add this webmarkupcontainer to target this will repaint my fragmnet ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991045.html Sent from the Users forum mailing list arch

Re: repaint a fragment

2010-10-11 Thread Scott Swank
No html is rendered to represent a fragment. You will have to wrap it with a div and then refresh the div. Scott On Mon, Oct 11, 2010 at 5:06 PM, fachhoch wrote: > > I have a fragment I want to  repaint when user click on ajax link > > here is my fragment > >        private class  ProgramFragme

repaint a fragment

2010-10-11 Thread fachhoch
I have a fragment I want to repaint when user click on ajax link here is my fragment private class ProgramFragment extends Fragment { Long sysAuditProgId; public ProgramFragment( final ProgramStatusDTO programStatusDTO) { supe

Re: AjaxFormComponentUpdatingBehavior Question

2010-10-11 Thread pjacobsma
Doh! Never mind. I just discovered that buried in my Page was this piece of code: AjaxFormValidatingBehavior.addToAllFormComponents(form,"onblur"); That's what was adding the onblur call to the dropdown. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComp

Re: Integrating Separate Different Wicket Applications Into One

2010-10-11 Thread kugaprakash
Hi, Can you please let me know? thanks Kuga -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrating-Separate-Different-Wicket-Applications-Into-One-tp1889319p2990281.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: AjaxFormComponentUpdatingBehavior Question

2010-10-11 Thread pjacobsma
Again, I can offer a hack :D public class DoSomeHackBehavior extends AbstractBehavior { private static final long serialVersionUID = 3554634545756435367L; @Override public void onComponentTag(Component component, ComponentTag tag) { FormComponent comp =

Re: Confused about Resource basics

2010-10-11 Thread Wayne Pope
Further to this - if I look at the code in the wicket filter: resource = webApplication.getSharedResources().get(resourceReferenceKey); // If resource found and it is cacheable if ((resource != null) && resource.isCacheable())

Re: AjaxFormComponentUpdatingBehavior Question

2010-10-11 Thread pjacobsma
meduolis wrote: > > Again, I can offer a hack :D > > public class DoSomeHackBehavior extends AbstractBehavior { > > private static final long serialVersionUID = 3554634545756435367L; > > @Override > public void onComponentTag(Component component, ComponentTag tag) { >

Confused about Resource basics

2010-10-11 Thread Wayne Pope
Hi, I just realised that our session is getting loaded multiple times per web request. I see that aside from the page request the session is getting loaded for items such as css, js, etc that are referenced in the code. Now I'm trying to make sure I understand resources correctly in terms of sessi

RE: Testing concurrant updates on database

2010-10-11 Thread CREMONINI Daniele
SOLVED! I followed your advice and added an hidden field to the Page (this is much simpler than my previous solution) but instead of using a Validator I made the service layer catch OptimisticLockingFailureException (thrown by the ORM layer) and rethrow a custom Exception. Your advice on testi

Re: chrome + wicket ajax + back button = problem?

2010-10-11 Thread Pointbreak
See https://issues.apache.org/jira/browse/WICKET-923 for a solution. On Mon, 11 Oct 2010 09:31 -0500, "Ryan Crumley" wrote: > I have (I am using MixedParamHybridUrlCodingStrategy) however in this > case > the browser is not contacting the server on back button click so the > UrlCodingStrategy doe

Re: chrome + wicket ajax + back button = problem?

2010-10-11 Thread Ryan Crumley
I have (I am using MixedParamHybridUrlCodingStrategy) however in this case the browser is not contacting the server on back button click so the UrlCodingStrategy does not come into play. Ryan On Wed, Oct 6, 2010 at 4:13 PM, wrote: > I've had similar issues, have you tried HybridUrlCodingStrate

Re: "Page Expired" page with PatternDateConverter

2010-10-11 Thread Hemant Shah
Yes, it works fine if we do not override the getConverter method. In which case it behaves like a normal AjaxEditableLabel, as would be expected, and we are using AjaxEditableLabel instances in many places in our application. - Hemant On 10/11/2010 6:24 AM, Altuğ Bilgin Altıntaş wrote: if

Re: DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread splitshade
Hi, yes exactly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2989706.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread Altuğ Bilgin Altıntaş
did you bind DropDownChoices with models (ex : PropertyModel) ? 2010/10/11 splitshade > > Hi, > > i have spent some time researching this strange behaviour. > I have a Page with some Panels, that contain DropDownChoices. > These Panels are initially disabled on the Page. > > If a validationErro

DropDownChoice loses Selection in Disabled Panels

2010-10-11 Thread splitshade
Hi, i have spent some time researching this strange behaviour. I have a Page with some Panels, that contain DropDownChoices. These Panels are initially disabled on the Page. If a validationError occurs on this page, ALL dropdownchoices that are in disabled panels lose their values. Is this a k

Re: "Page Expired" page with PatternDateConverter

2010-10-11 Thread Altuğ Bilgin Altıntaş
if you don't override IConverter then everything works fine ? 2010/10/11 Hemant Shah > Altuğ, thanks for responding. > > There are no errors reported in the log. All the classes in the project are > serializable. > > Could this be a bug? > > Regards, > > > Hemant > > > > On 10/10/2010 5:03 PM,

Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
No problem. Glad to help. Happy Wicketeering! On Mon, Oct 11, 2010 at 4:44 AM, Josh Kamau wrote: > Just did it. > > It worked just as i wanted. > > Thanks. > > On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau wrote: > >> Thanks James. >> >> Let me look at it. >> >> Seems like there is always an an

Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Just did it. It worked just as i wanted. Thanks. On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau wrote: > Thanks James. > > Let me look at it. > > Seems like there is always an answer with wicket. > > Regards. > Josh > > > On Mon, Oct 11, 2010 at 11:35 AM, James Carman > wrote: > >> The lookup f

Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Thanks James. Let me look at it. Seems like there is always an answer with wicket. Regards. Josh On Mon, Oct 11, 2010 at 11:35 AM, James Carman wrote: > The lookup functionality is provided by you. You can do whatever you > want with the input. Look at the example and implementation of the >

Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
The lookup functionality is provided by you. You can do whatever you want with the input. Look at the example and implementation of the getChoices() method. It would be trivial to change it to do a "contains" rather than "startsWith" search. On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau wrote:

Re: ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
I have looked at the autocomplete box that you have suggested. The issue i have with it is that if i type some text that appears in the middle , it wont be looked up. If for example am looking for United Arabs Emirates, i cant look up by typing Arabs. I have to start by typing United. get my point

Re: ajax lazy suggestion box

2010-10-11 Thread James Carman
It's called a auto-complete: http://wicketstuff.org/wicket14/ajax/autocomplete On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau wrote: > Hi Team, > > I am looking for a dropdown list that narrows down based on what is typed > and Loads the values from the database as the user types. Something like t

ajax lazy suggestion box

2010-10-11 Thread Josh Kamau
Hi Team, I am looking for a dropdown list that narrows down based on what is typed and Loads the values from the database as the user types. Something like the dropdown in visural wicket http://wicket.visural.net/examples/app/dropdownbut doesnt preload all the values. My other option is the creat

Re: Testing concurrant updates on database

2010-10-11 Thread James Carman
You're really not supposed to be monkeying with the version property yourself. You're supposed to let the ORM provider do that. What I would do is create a hidden field and put a validator on that. The validator would check to make sure that the current version in the database is the same as wha

Re: Customizing the Datepicker for a background mask

2010-10-11 Thread amigo
Hello all, Have anyone tried to resolve this issue with wicket datepicker earlier?... Any suggestions regarding how to proceed are also welcome. Thanks in advance, Amigo -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Customizing-the-Datepicker-for-a-background-mas

RE: Testing concurrant updates on database

2010-10-11 Thread CREMONINI Daniele
Thank you for your reply. I'm using Wicket 1.3.4. The optimistic locking is enabled for sure (the program has been written by me) and metadata and data confirm that things are actually functioning the way I thought. Because the Page contains a LoadableDetachableModel, every time I submit the