Back/Forward buttons

2012-06-21 Thread ramlael
Hi, I have requirement like... Embed/include a wicket page in a third party jsp site ( with iframe ). the use can navigate the page through the links but when the user hits their browser’s back or forward button within the current session to arrive at the page that contains the

Re: How to get request page in Wicket 1.5

2012-06-21 Thread vineet semwal
i can think of these 2 ways.. 1) you can create a requestcycle listener which onRequestHandlerResolved checks if it's the pagrequesthandler ,if it's set the pagename or whatever you want to into requestcycle metadata and retrieve it later when you want to. 2) there is this another way but it

Re: How to get request page in Wicket 1.5

2012-06-21 Thread Martin Grigorov
I think we should add an implementation of IRequestCycleListener in wicket-core that tracks the request and response pages and save this info in the request cycle's metadata @Vineet, Thomas, Andrea: do you want to contribute this ? On Thu, Jun 21, 2012 at 10:52 AM, vineet semwal

Re: Back/Forward buttons

2012-06-21 Thread Martin Grigorov
Hi, Maybe there is a simpler way but you can use a JavaScript library like jquery.history.js or jquery.hashchange.js or Backbone and use the notifications when the user uses back/forward button and do whatever you need, e.g. location.href=... On Thu, Jun 21, 2012 at 9:59 AM, ramlael

How to link the DDC model with an LDM

2012-06-21 Thread Walter Rugora
Hi there, I've a LoadableDetachableModel which works pretty much like all LDM examples. There is an overwritten load method that returns an object based on an id member which is set via the constructor. In addition there is a DropDownChoice added to the WebPage (no form is used). The choices

Re: How to get request page in Wicket 1.5

2012-06-21 Thread vineet semwal
hi martin, i can try but i am not as fast as you ;) On Thu, Jun 21, 2012 at 1:27 PM, Martin Grigorov mgrigo...@apache.org wrote: I think we should add an implementation of IRequestCycleListener in wicket-core that tracks the request and response pages and save this info in the request cycle's

Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Hi, I have a panel with ajax button (i.e. form) inside it. When I submit the form, not all of the components of that panel are being refreshed. Here is the code: public ShowCommentPanel(final String id, final ListCommentDomain commentDomainList,

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Martin Grigorov
Read about dynamic models at http://cwiki.apache.org/WICKET/working-with-wicket-models.html On Thu, Jun 21, 2012 at 2:44 PM, kshitiz k.agarw...@gmail.com wrote: Hi, I have a panel with ajax button (i.e. form) inside it. When I submit the form, not all of the components of that panel are being

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Thomas Götz
… e.g. your Label ('numberOfCommentLabel') uses a static model (a String), but should use an IModelString in order to be refreshable. -Tom On 21.06.2012, at 13:44, kshitiz wrote: Hi, I have a panel with ajax button (i.e. form) inside it. When I submit the form, not all of the

Re: How to get request page in Wicket 1.5

2012-06-21 Thread robmcguinness
i build something like this for Wicket 1.3 that can give you can idea for Wicket 1.5 https://github.com/robmcguinness/wicket-events/blob/master/src/main/java/com/robmcguinness/WicketApplication.java#L30

Re: Sync up sessions

2012-06-21 Thread robmcguinness
from outside Wicket in web app container: httpServletRequest.getSession().getAttribute(wicket:yourWicketFilterName:session); the key might have changed in new wicket flavors -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650154.html

Re: guestbook application with database update

2012-06-21 Thread jaffa
Names and addresses provided in guestbooks, paper based or electronic, are frequently recorded and collated for use in providing statistics about visitors to the site, and to contact visitors to the site in the future. Thanks. Regards, http://www.webryze.com toronto online marketing -- View

Re: Message piggybacking vs polling

2012-06-21 Thread jaffa
Polling is sometimes used synonymously with busy wait polling. In this situation, when an I/O operation is required the computer does nothing other than check the status of the I/O device until it is ready, at which point the device is accessed. Thanks. Regards,

Re: Tighter Wicket-Spring integration

2012-06-21 Thread jaffa
Spring Integration is an open source framework for Enterprise application integration. It is a lightweight framework that builds upon the core Spring framework. Thanks. Regards, http://www.seoservicescanada.ca/seo-services-calgary seo companies -- View this message in context:

Re: guestbook application with database update

2012-06-21 Thread Martin Grigorov
This looks like a spam. Third mail in this thread with unrelated content. Who has the karma to block this user ? On Thu, Jun 21, 2012 at 3:23 PM, jaffa jaffa.w...@gmail.com wrote: Names and addresses provided in guestbooks, paper based or electronic, are frequently recorded and collated for use

Re: javascript and properties

2012-06-21 Thread jaffa
JavaScript is a prototype based scripting language that is dynamic, weakly typed and has first class functions. It is a multi paradigm language, supporting object oriented, imperative, and functional programming styles. Thanks. Regards, http://habitual.ca gym in mississauga -- View this message

Re: I have to say.....

2012-06-21 Thread jaffa
An application server is a server which provides software applications with services such as security, data services, transaction support, load balancing, and management of large distributed systems. Thanks. Regards, http://www.michellejohal.com/mississauga-criminal-lawyer criminal lawyer

Re: AJAX upload in modal window hangs when file size is too large @L

2012-06-21 Thread jaffa
The DOM is accessed with JavaScript to dynamically display, and to allow the user to interact with the information presented. JavaScript and the XMLHttpRequest object provide a method for exchanging data asynchronously between browser and server to avoid full page reloads. Thanks. Regards,

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Hi, I have tried out this: *Integer numberOfComments = commentDomainList.size(); Label numberOfCommentLabel = new Label(numberOfCommentLabel, new ModelInteger(numberOfComments));* But again nothing happens..I think the above statement is

Re: How to get request page in Wicket 1.5

2012-06-21 Thread LeaveNewb
Yeah, I've been to the RequestCycle page and saw the suggestion. I was just hoping for an easier solution, since the previous version worked so well. I guess I just need to get off my lazy butt and do the work. ;) Thanks for the suggestions -- View this message in context:

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Thomas Götz
Could you provide a Quickstart that demonstrates the problem? This will make it much easier for us to help you, thanks! -Tom On 21.06.2012, at 14:54, kshitiz wrote: Hi, I have tried out this: *Integer numberOfComments = commentDomainList.size(); Label

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread Martin Grigorov
On Thu, Jun 21, 2012 at 3:54 PM, kshitiz k.agarw...@gmail.com wrote: Hi, I have tried out this: *Integer numberOfComments = commentDomainList.size();                Label numberOfCommentLabel = new Label(numberOfCommentLabel,                                new

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Solved itactually I have to use property model and in that I have to use a domain model carrying a property for showing number of comments... *Label numberOfCommentLabel = new Label(numberOfCommentLabel, new PropertyModel(postDomain, numberOfComments));*

Re: How to get request page in Wicket 1.5

2012-06-21 Thread vineet semwal
you can just log the client url in onexception if it's what you want .. but i have written a requestcyclelistener today that registers lastresponsepage ,i am trying to improve it.. On Thu, Jun 21, 2012 at 6:39 PM, LeaveNewb myfamilyru...@gmail.com wrote: Yeah, I've been to the RequestCycle page

FormComponentPanel with default form processing disabled

2012-06-21 Thread Hill, Joel (DTMB)
With a normal FormComponent, you can disable default form processing on a submit button, and still process that component by calling processInput(). This doesn't work with FormComponentPanel, because processInput() doesn't call the processInput() method of child FormComponents, and is final so

Re: I have to say.....

2012-06-21 Thread Igor Vaynberg
now thats the way to beat bayesian filters. unless someone manually moderated this one through. -igor On Thu, Jun 21, 2012 at 5:35 AM, jaffa jaffa.w...@gmail.com wrote: An application server is a server which provides software applications with services such as security, data services,

Re: I have to say.....

2012-06-21 Thread Igor Vaynberg
there is no other way to do it. the problem is that in the UI visual positioning doesnt always match nesting, so cannot filter by nesting. -igor On Thu, Mar 15, 2012 at 2:08 AM, dhar...@yahoo.com wrote: Yup I agre; except I think the way messages are shared across fedback panels still defies

Ajax refresh component with initial setVisible(false)

2012-06-21 Thread kshitiz
Hi, How to ajax refresh components which are initially setvisible to false but later set to true. I know when it is false, then its mark up is not created in DOM. I have tried like **ajaxPagingNavigator.setOutputMarkupPlaceholderTag(true);** here, ajaxPagingNavigator is component. *But it is

Re: Ajax refresh component with initial setVisible(false)

2012-06-21 Thread Sven Meier
Did you add your component to the AjaxRequestTarget for update? target.add(ajaxPagingNavigator); ?? Sven On 06/21/2012 06:12 PM, kshitiz wrote: Hi, How to ajax refresh components which are initially setvisible to false but later set to true. I know when it is false, then its mark up is not

Re: How to link the DDC model with an LDM

2012-06-21 Thread Sven Meier
Hi Walter, you should keep the type of the DDC's model object the same as the type of choices. Either use full blown objects: IModelMy myModel = new MyLDM(...); add(new DropDownChoiceMy( idSelection, myModel, new PropertyModelMy(Cases, allCases)) { @Override

Re: Sync up sessions

2012-06-21 Thread wicket user
Thank you guys , i got it what i was looking for. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650175.html Sent from the Users forum mailing list archive at Nabble.com.

getRelativePathPrefixToWicketHandler

2012-06-21 Thread jbrendel
Can you tell me what to do now that Request.getRelativePathPrefixToWicketHandler() is no longer available in version 6.0? Thanks, J -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/getRelativePathPrefixToWicketHandler-tp4650173.html Sent from the Users forum mailing

Re: getRelativePathPrefixToWicketHandler

2012-06-21 Thread Martin Grigorov
Hi, There is no such method even in Wicket 1.5. From which version do you migrate ? On Thu, Jun 21, 2012 at 8:10 PM, jbrendel jbren...@gatessolutions.com wrote: Can you tell me what to do now that Request.getRelativePathPrefixToWicketHandler() is no longer available in version 6.0? Thanks,

Re: How to link the DDC model with an LDM

2012-06-21 Thread Walter Rugora
Dear Sven, thank you so much for pointing me into the right direction!! Indeed, I'm interested in your 2nd approach. I tried to go the direct way from DCC -- LDM. But as you said, the DCC model value should be the same as the ones stored in the choices. And therefore the way DCC --

is this a bug?

2012-06-21 Thread mlabs
I've got a ModalWindow containing a panel with a bunch of things enclosed in a Form. I use an AjaxSubmitLink to submit the stuff, do something with it and finally close the modal window. Works great in firefox. But in Chrome I get an error: Uncaught TypeError: Cannot read property 'onsubmit' of

Re: Ajax refresh component with initial setVisible(false)

2012-06-21 Thread kshitiz
Hi, I have added the whole panel in which that navigator is present. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-component-with-initial-setVisible-false-tp4650171p4650180.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket Events

2012-06-21 Thread Douglas Ferguson
I was able to get the EventDispatcher to work. I added an annotation and as well as an Enum with my EventTypes. It works quite nicely. Thanks for the tips. Douglas On Jun 19, 2012, at 7:15 PM, Douglas Ferguson wrote: Yeah.. when I read Jeremy's reply it was the kind of thing I was looking