[Wicket-user] [GMAP contrib 1.2.6] Howto interpolate markup id into javascript ?
Hi Currently the gmap contrib just have hardcoded ids, I need to interpolate the generated id's og some of the ajax buttons into the javascript on the html side. How do I do this? ps this is wicket 1.2.6 regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
might be a good idea, lets see how many wants to eat at the meeting... We would have around .5 hour to eat then... Jayway will provide some snacks and some Coca Cola:) Frank Bille wrote: On 6/26/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 1. Testing Wicket apps 2. Some Wicket Hibernate 3. Showing of the stuff we've done with wicket? Should we order something to eat as well? We could order some pizzas or sandwiches for around 18.30? Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] RESTFUL?
This is writen completely without thinking, so I might have missed the obvious.. But could wicket be used for RESTFUL webservices? I know we can make the nice urls and we can produce xml responses, but does it make sense? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [wicket 1.2.6]Listview and item.getModelObject()?
Ok, thanks. Igor Vaynberg wrote: On 7/3/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I have this setup: ListView blockContainer = new ListView(blockContainer, model) { protected void populateItem(ListItem item) { item.getModelObject (); more code... } I've experienced some what I belive unexpected behavior here. So I'll try to explain what I expect should happen when iterating trough the listview. In the above example, I would expect the following 1. listview should to call model.getObject to retrieve the list that it should iterate over. 2. item.getModelObject should give me the current items modelObject These two points are also what happens but its the way that they seem to be implemented that are odd. It looks like when calling item.getModelObject this is what happens: model.getObject.get(iterationnumber), I would have expected listview to extract the list only once? no, listview doesnt cache the list. but the model can do so. so if you use loadabledetachablemodel() then your list is only extracted once, and then cached by the model for the duration of the request. there are never contracts on how often a component will call getobject() on the model. -igor regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
Oeh an btw my cell number are 29367684. If you somehow get in trouble finding the address etc.. Flemming Boller wrote: Yes! See you on tuesday. On 6/26/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: the more the better:) So did we agree on the agenda? 1. Testing Wicket apps 2. Some Wicket Hibernate 3. Showing of the stuff we've done with wicket? regards Nino Frank Bille wrote: Cool. I have invited a colleague of mine. Frank On 6/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: sure... Flemming Boller wrote: could it be 17, then it is fine by me :-) have to get to frederiksberg... /FLemming On 6/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: O, then 16 a clock at jayway dk it is? Jayway address: Jakob Danefærdsvej 6b Frederiksberg C regards Nino Flemming Boller wrote: Great idea with the calendar! It is the same with me, after 16-17 is the best for me too. /Flemming On 6/22/07, *Frank Bille* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/22/07, * Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've created a public google calendar for us: http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com And entered your proposition Flemming. It looks ok for me. Cool, thx. I normally can't meet before 16-17. So it's either after 4 or in the weekends. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket
Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?
ahh, thanks.. Gwyn Evans wrote: On Friday, June 29, 2007, 8:03:08 AM, Nino [EMAIL PROTECTED] wrote: See http://www.nabble.com/remove-test-scope-for-slf4j-in-pom.xml-t3913261.html for background. thanks, now its working.. Thought that dependencies would have been setup... So belived that something else was causing it.. Igor Vaynberg wrote: add this into your pom: dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.0.1/version /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.14/version /dependency -igor On 6/28/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry for hanging on this for a couple of days... using the wicket 1.3 beta 2 release and mvn install on wicket quickstart project and the deploying on tomcat 6, with the war from target folder yields this on my laptop: jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter quickstart java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:57) at org.apache.wicket.protocol.http.WicketFilter .clinit(WicketFilter.java:73) ... /Gwyn - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
doh:( Martijn Dashorst wrote: I wonder how much spam this will attract :) Martijn - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax
Do you have a small example on howto do this? Using the servlet filter does not seem to end up applying the header. No matter where filterchain.do are placed. regards Nino mchack wrote: Another method to do this would be to Override the configureResponse method for the page, at least this is how I am doing it. This is where the cache-control header is being generated. If no change needed then call super.configureResponse() else add your header at this point. Seems like there are often many ways to accomplish the same task with Wicket :). Cheers Nino Saturnino Martinez Vazquez Wael wrote: Hi We are having some troubles using wicket and Oracle web server. It's some of our ajax calls that just hangs. By hanging I mean that if we click an ajax triggering control, if fires the event and just never gets a response. Debuggin a little deeper it seems that wicket does not even gets the request. We are suspecting that it has something todo with the oracle web cache. So the ajax call sends some attributs with it to avoid being cached, however it's missing the cache-control=no-store. We are not sure that this are causing our troubles. How can I make the ajax call include the attribute? Has anybody some ideas about this? I've tested the application on jetty, and here it works without any problems. any help highly appreciated. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [wicket 1.2.6]Listview and item.getModelObject()?
Hi I have this setup: ListView blockContainer = new ListView(blockContainer, model) { protected void populateItem(ListItem item) { item.getModelObject(); more code... } I've experienced some what I belive unexpected behavior here. So I'll try to explain what I expect should happen when iterating trough the listview. In the above example, I would expect the following 1. listview should to call model.getObject to retrieve the list that it should iterate over. 2. item.getModelObject should give me the current items modelObject These two points are also what happens but its the way that they seem to be implemented that are odd. It looks like when calling item.getModelObject this is what happens: model.getObject.get(iterationnumber), I would have expected listview to extract the list only once? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [wicket 1.2.6]Listview and item.getModelObject()?
Looks like it could be something that could be solved by setting reuseitems to true. But I still dont see why one would ever want to call the ListViews getModel more than once when updating? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi I have this setup: ListView blockContainer = new ListView(blockContainer, model) { protected void populateItem(ListItem item) { item.getModelObject(); more code... } I've experienced some what I belive unexpected behavior here. So I'll try to explain what I expect should happen when iterating trough the listview. In the above example, I would expect the following 1. listview should to call model.getObject to retrieve the list that it should iterate over. 2. item.getModelObject should give me the current items modelObject These two points are also what happens but its the way that they seem to be implemented that are odd. It looks like when calling item.getModelObject this is what happens: model.getObject.get(iterationnumber), I would have expected listview to extract the list only once? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [wicket 1.2.6]Listview and item.getModelObject()?
Hmm this just seems to make the Listview call the getModel list.size times before running the populateItem method. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Looks like it could be something that could be solved by setting reuseitems to true. But I still dont see why one would ever want to call the ListViews getModel more than once when updating? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi I have this setup: ListView blockContainer = new ListView(blockContainer, model) { protected void populateItem(ListItem item) { item.getModelObject(); more code... } I've experienced some what I belive unexpected behavior here. So I'll try to explain what I expect should happen when iterating trough the listview. In the above example, I would expect the following 1. listview should to call model.getObject to retrieve the list that it should iterate over. 2. item.getModelObject should give me the current items modelObject These two points are also what happens but its the way that they seem to be implemented that are odd. It looks like when calling item.getModelObject this is what happens: model.getObject.get(iterationnumber), I would have expected listview to extract the list only once? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] add class onlclick
I think it might have something todo with the fact that you are adding the attributemodifier in the ajax call? So each time you get the call you add another modifier, it would be better to add to modifier once and then change its model instead... regards Nino Pieter Cogghe wrote: If some link is clicked, I want to change the css-class of a label like this: // text final Label text = new Label(text, resourceRecord.getText()); add(text) // edit link add(new AjaxFallbackLink(edit-link){ @Override public void onClick(AjaxRequestTarget target) { // dome some other stuff text.add(new SimpleAttributeModifier(id,test)); if (target != null) { // add some other components target.addComponent(text); } } }); Somehow this doesn't work. I guess I simply missed something? thanks, Pieter -- Pieter Cogghe Ganzendries 186 9000 Gent 0487 10 14 21 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?
thanks, now its working.. Thought that dependencies would have been setup... So belived that something else was causing it.. Igor Vaynberg wrote: add this into your pom: dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.0.1/version /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.14/version /dependency -igor On 6/28/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorry for hanging on this for a couple of days... using the wicket 1.3 beta 2 release and mvn install on wicket quickstart project and the deploying on tomcat 6, with the war from target folder yields this on my laptop: jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter quickstart java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:57) at org.apache.wicket.protocol.http.WicketFilter .clinit(WicketFilter.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0 (Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef (ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java :3693) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild (ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) at org.apache.catalina.startup.HostConfig.deployWARs (HostConfig.java:714) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent (HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023) at org.apache.catalina.core.StandardHost.start (StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start (StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke (Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Jun 29, 2007 12:57:46 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jun 29, 2007 12:57:46 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jun 29, 2007 12:58:22 AM org.apache.catalina.core.StandardHostValve custom SEVERE: Exception Processing ErrorPage[errorCode=401, location=/401.jsp] Igor Vaynberg wrote: On 6/27/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I am trying to start the quickstart project on tomcat and it throws servere: Error FilterStart error. We've tried
Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax
Hi Matej I've tried adding this: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { if (servletRequest instanceof HttpServletRequest) { HttpServletRequest request = (HttpServletRequest) servletRequest; /* * First check if wicket ajax header are present, if true then add * missing parameter */ if (isHeaderPresent(request, Wicket_AJAX_HEADER)) { if (LOG.isDebugEnabled()) { LOG.debug(Got a wicket ajax header for domain: + request.getServerName()); } if (servletResponse instanceof HttpServletResponse) { if (LOG.isDebugEnabled()) { LOG.debug(Trying to add + CACHE_HEADER + , + CACHE_NO_STORE); } HttpServletResponse response = (HttpServletResponse) servletResponse; response.addHeader(CACHE_HEADER, CACHE_NO_STORE); if (LOG.isDebugEnabled()) { LOG.debug(Header added sucessfully, has these + CACHE_HEADER + 's:); Enumeration enum = request.getHeaders(CACHE_HEADER); while (enum.hasMoreElements()) { String header = (String) enum.nextElement(); LOG.debug(header); } } } } } filterChain.doFilter(servletRequest, servletResponse); } However it does not seem to add the header? Hoping you can tell what wrong? Log tells me that the filter does get activated and adds to header.. But on the web page firebug does not report that the header are there... regards Nino Matej Knopp wrote: I think we could make this by default in wicket. Until then, you can make a filter, that checks if the request contains wicket-ajax header, and when it does, add the cache-control no-store header. -Matej On 6/27/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are having some troubles using wicket and Oracle web server. It's some of our ajax calls that just hangs. By hanging I mean that if we click an ajax triggering control, if fires the event and just never gets a response. Debuggin a little deeper it seems that wicket does not even gets the request. We are suspecting that it has something todo with the oracle web cache. So the ajax call sends some attributs with it to avoid being cached, however it's missing the cache-control=no-store. We are not sure that this are causing our troubles. How can I make the ajax call include the attribute? Has anybody some ideas about this? I've tested the application on jetty, and here it works without any problems. any help highly appreciated. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?
Sorry for hanging on this for a couple of days... using the wicket 1.3 beta 2 release and mvn install on wicket quickstart project and the deploying on tomcat 6, with the war from target folder yields this on my laptop: jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter quickstart java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder at org.slf4j.LoggerFactory.clinit(LoggerFactory.java:57) at org.apache.wicket.protocol.http.WicketFilter.clinit(WicketFilter.java:73) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Jun 29, 2007 12:57:46 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jun 29, 2007 12:57:46 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jun 29, 2007 12:58:22 AM org.apache.catalina.core.StandardHostValve custom SEVERE: Exception Processing ErrorPage[errorCode=401, location=/401.jsp] Igor Vaynberg wrote: On 6/27/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I am trying to start the quickstart project on tomcat and it throws servere: Error FilterStart error. We've tried to use the servlet mapping instead this gives no error but doesnt work. whats wrong? regards Nino servere: Error FilterStart thats not a wicket error is it? -igor - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user
[Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax
Hi We are having some troubles using wicket and Oracle web server. It's some of our ajax calls that just hangs. By hanging I mean that if we click an ajax triggering control, if fires the event and just never gets a response. Debuggin a little deeper it seems that wicket does not even gets the request. We are suspecting that it has something todo with the oracle web cache. So the ajax call sends some attributs with it to avoid being cached, however it's missing the cache-control=no-store. We are not sure that this are causing our troubles. How can I make the ajax call include the attribute? Has anybody some ideas about this? I've tested the application on jetty, and here it works without any problems. any help highly appreciated. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax
Thanks:) Running on 1.2.6 btw. Matej Knopp wrote: I think we could make this by default in wicket. Until then, you can make a filter, that checks if the request contains wicket-ajax header, and when it does, add the cache-control no-store header. -Matej On 6/27/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are having some troubles using wicket and Oracle web server. It's some of our ajax calls that just hangs. By hanging I mean that if we click an ajax triggering control, if fires the event and just never gets a response. Debuggin a little deeper it seems that wicket does not even gets the request. We are suspecting that it has something todo with the oracle web cache. So the ajax call sends some attributs with it to avoid being cached, however it's missing the cache-control=no-store. We are not sure that this are causing our troubles. How can I make the ajax call include the attribute? Has anybody some ideas about this? I've tested the application on jetty, and here it works without any problems. any help highly appreciated. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax
We sadly have no access to this, I think matejs solution will work nicely:) Andrew Klochkov wrote: Matej Knopp wrote: I think we could make this by default in wicket. Until then, you can make a filter, that checks if the request contains wicket-ajax header, and when it does, add the cache-control no-store header. AFAIK it can be done by configuring oracle web cache. It has customizable rules and I guess it can analyze headers. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
the more the better:) So did we agree on the agenda? 1. Testing Wicket apps 2. Some Wicket Hibernate 3. Showing of the stuff we've done with wicket? regards Nino Frank Bille wrote: Cool. I have invited a colleague of mine. Frank On 6/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: sure... Flemming Boller wrote: could it be 17, then it is fine by me :-) have to get to frederiksberg... /FLemming On 6/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: O, then 16 a clock at jayway dk it is? Jayway address: Jakob Danefærdsvej 6b Frederiksberg C regards Nino Flemming Boller wrote: Great idea with the calendar! It is the same with me, after 16-17 is the best for me too. /Flemming On 6/22/07, *Frank Bille* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/22/07, * Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've created a public google calendar for us: http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com And entered your proposition Flemming. It looks ok for me. Cool, thx. I normally can't meet before 16-17. So it's either after 4 or in the weekends. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
O, then 16 a clock at jayway dk it is? Jayway address: Jakob Danefærdsvej 6b Frederiksberg C regards Nino Flemming Boller wrote: Great idea with the calendar! It is the same with me, after 16-17 is the best for me too. /Flemming On 6/22/07, *Frank Bille* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/22/07, * Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've created a public google calendar for us: http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com And entered your proposition Flemming. It looks ok for me. Cool, thx. I normally can't meet before 16-17. So it's either after 4 or in the weekends. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
sure... Flemming Boller wrote: could it be 17, then it is fine by me :-) have to get to frederiksberg... /FLemming On 6/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: O, then 16 a clock at jayway dk it is? Jayway address: Jakob Danefærdsvej 6b Frederiksberg C regards Nino Flemming Boller wrote: Great idea with the calendar! It is the same with me, after 16-17 is the best for me too. /Flemming On 6/22/07, *Frank Bille* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/22/07, * Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've created a public google calendar for us: http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com And entered your proposition Flemming. It looks ok for me. Cool, thx. I normally can't meet before 16-17. So it's either after 4 or in the weekends. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
I'd prefer a meeting in work hours, if possible else we can just do it after hours.. My weekends are totally booked though... I could arrange something at jayway if we wanted to? regards Nino Frank Bille wrote: Sounds good. Do you guys think we should try to find a date soon (like in early july) or should we wait to august. I have time to arrange something in august, but not in july. Would you prefer go-home meetings (weekdays after work) or weekends? Frank On 6/20/07, *Flemming Boller* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On 6/20/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So I guess we should be some where above the minumum limit:) What topics are people interested in hearing about? Perhabs we could start up and discuss about some of the projects we have used Wicket in? And I think a sure point of interest is the usage of the IModel in Wicket and how it can be used. I have done some testing in Wicket combined with spring so I could contribute with my small knowledge :-) /Flemming I would really like to here something about testing with wicket. regards Nino Flemming Boller wrote: Hello I would like to show up also. I come from Borup, but work in copenhagen. Perhabs I can persuade some of my collegues to show up also ;-) /Flemming On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yup better be late aug then, so we dont run into my vacation.. I've held a couple of getting started wicket things now.. This should defiantly attract some people(it's like a free getting started with wicket course...:))... regards Nino Frank Bille wrote: Yeah, perhaps we could start out as an introduction/getting-started thingy for a go-home-meeting or something. I don't have the time to arrange a lot right now, but perhaps in aug. Frank On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: We are 2 guys so far:) Guessing that we need at least 5 to make it happend? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino
Re: [Wicket-user] Binding the Enter key with a button
Actually I was just about to write a mail about starting a wicket stuff contrib on this, but did not have time for it this morning, as I was busy trying to fix a problem on the gmap contrib. I'll continue this on the dev list, for now i'll create a svn repo for 1.3 on stuff svn. it's gonna be called wicket-contrib-input-events (handling for keyevents mouseevents), and I'll be building for jdk 1.5. regards Nino Eelco Hillenius wrote: Also, I think that Julian Klappenbach had some good ideas on how to build in good key binding support in Wicket. Julian, are you reading with us? Eelco On 6/21/07, Joe Toth [EMAIL PROTECTED] wrote: Hope this helps http://www.nabble.com/forum/ViewPost.jtp?post=10675702framed=y -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Leangen Sent: Friday, June 22, 2007 2:33 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Binding the Enter key with a button I am indeed talking about the Go button in my form. It is providing the correct behaviour. Now, what I'm looking for is to allow the user to submit the form by just hitting enter rather than having to click the Go button. I thought that I would need to bind the enter key to the go button... are you suggesting that there is a way of capturing the enter key and binding it somehow to the form submission? If there is, then that would be fine, too. So I guess there's two ways of going about this: 1. Bind enter to a button 2. Capture enter and bind to form submission Either way, I don't know how to do this. Can anybody provide any hints? Thanks! Dave On Fri, 2007-06-22 at 10:05 +0530, Swaroop Belur wrote: Hi One solution but not the ideal one would be (assuming go is a submit button), to override the onSubmit of the form and to perform the action which you would do in your Go.So when u hit enter form would be submitted and action for go would be invoked. But may not what u r actally looking for On 6/22/07, David Leangen [EMAIL PROTECTED] wrote: I hope this isn't an obvious question again... I did try searching. ;-) Could somebody kindly point me to some doc that explains how to bind a key to a form component? In this case, I want to bind the Enter key with my Go button. Thanks! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
and I Frederikssund:) Frank Bille wrote: On 6/19/07, *Flemming Boller* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello I would like to show up also. I come from Borup, but work in copenhagen. Funny, I come from Viby Sjælland. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
So I guess we should be some where above the minumum limit:) What topics are people interested in hearing about? I would really like to here something about testing with wicket. regards Nino Flemming Boller wrote: Hello I would like to show up also. I come from Borup, but work in copenhagen. Perhabs I can persuade some of my collegues to show up also ;-) /Flemming On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yup better be late aug then, so we dont run into my vacation.. I've held a couple of getting started wicket things now.. This should defiantly attract some people(it's like a free getting started with wicket course...:))... regards Nino Frank Bille wrote: Yeah, perhaps we could start out as an introduction/getting-started thingy for a go-home-meeting or something. I don't have the time to arrange a lot right now, but perhaps in aug. Frank On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: We are 2 guys so far:) Guessing that we need at least 5 to make it happend? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2
Re: [Wicket-user] wicket-contrib-gmap2
Mats Norén wrote: Sorry guys for jumping in this late in the game, but has has anyone considered writing a contrib for OpenLayers[1]? OpenLayers covers a lot of the functionality of the GMap client and is open source with a BSD license. Some of the features: - Vector support for displaying and drawing - KML support - Markers - GeoRSS - GML Parser - SVG support - WMS and WFS compliant - Use Google Maps, VE or Yahoo as baselayers and add your own markers or layers on top. - Hooks for all map events On top of this, there are a boatload of examples to look at [2]. GeoServer[3] + Wicket + Openlayers would, in my opinion, be a killer gis/map enabled webstack. Throw in PostGIS [4] and you got the entire foodchain for your mapping needs. I would love to contribute in some way but I don´t see the relevance in just going the Google way. Is there a particular reason for choosing GMap? No not for me, only reason for choosing GMap was that it was already there, and I did not know of anything else. Also I think the documentation for GMap API are somewhat poorly described, not all functions and events are listed on the officalt pages. I'll look into the Openlayers stuff, seems like some very nice stuff.:) Best regards, Mats ps. In GeoServer community branch there is some old? code for their management GUI [5] that uses Wicket. ds. [1] http://openlayers.org [2] http://openlayers.org/dev/examples/ [3] http://geoserver.org [4] http://postgis.refractions.net/ [5]. http://svn.codehaus.org/geoserver/branches/1.4.x/community/modular_ui/wicket-sample/ On 6/19/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Wrote answers below.. Martin Funk wrote: Iulian Costan schrieb: yap, well done, also maybe we can put together the effort and improve things. yeah, right on wicket-contrib-gmap2 is the most constructive comment I was able to give on wicket-contrib-gmap. Do a diff -r wicket-contrib-gmap wicket-contrib-gmap2 and it'll precisely show which parts of the code I thought needed to be changed. Pick the parts you like and merge em. After all its all Apache Licensed. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-contrib-gmap2
Well I think youre correct. But I would also hate if any of the great stuff from both projects was lost in migration.. Lets wait a bit the n and see where end:) regards Nino Martin Funk wrote: Nino Saturnino Martinez Vazquez Wael schrieb: I completely agree. So I'd like for us to integrate the best stuff of the two maps into each other. Martin I guess we should discuss how we should go on with this? I think we are. Discussing I mean. The GMap thing currently is getting more attention and input than it has in a long time. And I'm not sure if I can raise my input rate any higher than this. I still haven't understood JavaScript, wicket or the Google Map API enough to come up with a final conclusion or even a decision which approach is better than the other. I wouldn't mind letting the things evolve for a little time. It shouldn't harm Wicket-Stuff to have two approaches to one subject. Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
Sure. Lets see if we can fit it in.. :) Frank Bille wrote: I was also thinking about having a little drink or something, to celebrate that Wicket is (hopefully) an Apache top level project. Copenhagen is perhaps too small to make some noise in, but I think we should try :) It could be at the same time as some wicket introduction/go-home meeting/seminar/something. Frank On 6/20/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So I guess we should be some where above the minumum limit:) What topics are people interested in hearing about? I would really like to here something about testing with wicket. regards Nino Flemming Boller wrote: Hello I would like to show up also. I come from Borup, but work in copenhagen. Perhabs I can persuade some of my collegues to show up also ;-) /Flemming On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yup better be late aug then, so we dont run into my vacation.. I've held a couple of getting started wicket things now.. This should defiantly attract some people(it's like a free getting started with wicket course...:))... regards Nino Frank Bille wrote: Yeah, perhaps we could start out as an introduction/getting-started thingy for a go-home-meeting or something. I don't have the time to arrange a lot right now, but perhaps in aug. Frank On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: We are 2 guys so far:) Guessing that we need at least 5 to make it happend? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user
Re: [Wicket-user] wicket-contrib-gmap2
Wrote answers below.. Martin Funk wrote: Iulian Costan schrieb: yap, well done, also maybe we can put together the effort and improve things. yeah, right on wicket-contrib-gmap2 is the most constructive comment I was able to give on wicket-contrib-gmap. Do a diff -r wicket-contrib-gmap wicket-contrib-gmap2 and it'll precisely show which parts of the code I thought needed to be changed. Pick the parts you like and merge em. After all its all Apache Licensed. Now back to serious: Some things that looked odd to me in wcg: There can be only one gmap on a page. Now this might look like a rather picky argument but the code that's the reason for this, shows that it might be a reason for other problems too. Line 73 of GMapInitializer.java StringBuffer buffer = new StringBuffer(var googleMap = null;\n).append( The name of the JavaScritp variable holding the GMap is hardcoded into a String in the Java code, ergo only one GMap per page. That's true, we could do something about that, so far I've only needed one map, so didnt thought of us having a need for two maps. Looking further into the code one can see that a lot of JavaScript code fragments are hardcoded Strings in the Java code. This is done for a reason. The project ought to be able to generate the definitions of the functions that set up the GMap, its Handlers and its Overlays at runtime. So that when the state of the GMap changes the needed function definitions are send over net and are triggered by wicket-ajax onSuccessScript on the client browser. When I first saw that, being an absolute JavaScript newbie, I thought its a cool trick and gives one a lot of flexibility. It's not lazy loading, it's lazy definition. The server can wait till the user clicks before the function implementing the maps behaviour, has to be defined. That's sort of neat. The downside of this, is that all this JavaScript code has to be transfered over the net. And if you look at it its a lot of redundant looking code, when one Overlay is added the definitions of all the others is send over the net too. When the server is on localhost this might not hurt, but I fear that the generated traffic might be too much for a dsl-line. This has not caused any problems thinking of latency, there seem to be a limit where adding markers on the fly seem to slow down, that's somewhere around 400-500 markers. However I do agree that we have some redundant code... My idea was to make the stuff work and then clean up afterwards.. Now becoming a JavaScript freshman, I think all that is not needed. Even though wicket allows to send JS-code around, I think a project shouldn't rely on it heavily. Wicket as a framework has to provide an JS-API for a problem domain it can't foresee, in most wicket projects the JS-problem domain is well defined. In this case a JS-file containing all the needed classes and function definitions should be provided. JS-function definitions are not meant to be shoved around the net, but JS-function calls are. However it seems a smart Idea you have about using functions instead, i'll have to look into how you add markers that way... It's the odd things, that inspire, Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-contrib-gmap2
I completely agree. So I'd like for us to integrate the best stuff of the two maps into each other. Martin I guess we should discuss how we should go on with this? regards Nino Al Maw wrote: I really think you guys should get together and do this, right now while the project still has lots of momentum and the code is fresh. Having two components, one of which seems to have a superset of the functionality of the other, seems a little unnecessary. I've checked gmap2 out, BTW - very nice. ;-) Al Iulian Costan wrote: yap, well done, also maybe we can put together the effort and improve things. /iulian On 6/14/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Martin Well, both Iulian and me has done a lot of work on this during the last couple of weeks. It's always nice to see to sides of the coin, maybe we should pick the best stuff from our components and join up? Currently Iulian are working on upgrading the gmap contrib to wicket 1.3, we decided not to make a release on wicket 1.2.6 since some of the ajax stuff we are using arent working on the IE browser series(I have another thread concering this). Upon releasing v 1 we will update confluence so that the features we are using will be shown installation instructions etc, heres a short list of features: All updates done via ajax, clicklisteners of all sorts(dragend, zoomend). Possibility to integrate loading screens. 2 step initialized and refresh, meaning no visible postbacks, we are using panTo. Control the map serverside eg if user clicks the las vegas button the map will pan to that area. Add overlays at will. Create custom overlays with tooltips. Since we are using ajax all normal wicket ajax behavior are also supported from the ajax target. Not sure if I forgot anything... regards Nino Martin Funk wrote: Hi, may I draw your attention to a little project I was allowed to add to the wicket-stuff svn repository yesterday. Being highly inspired by Julians and Nicos wicket-contrib-gmap I got exited enough to try to create a project that does the same and a little bit more with a little different approach. Kinda bold, since I haven't looked into JavaScript before. Julian and Nico I hope you don't mind that I tried to invent the wheel a second time, but if your project wouldn't have been around I probably never would have tried. So thank you for that. Features: There can be more than one GMap on a page, I think there can be many, at least I succeeded with two. Components may become controls of the GMap. Any Component capable of firing events can become a controller. The controls are executed whenever the named event is fired by the Component. Currently ZooOut, ZoomIn, PanDirection, AddOverlay and OpenInfoWindow are implemented. Listeners may be added to the GMap. These are called whenever the GMap fires the corresponding Events. So far a ClickListener and a MoveEndListener are implemented. This allows to dynamically update any Component and the GMap itself. The events and the controls always do a round trip from the browser to the server and back, this way any call can be intercepted and controlled on the server side. The network traffic is kept down, since all needed JavaScript functions are defined in a js-file. So only arguments have to be transfered. Status: Is best described by, consolidating. As I said, being a JavaScript newbie and a Java mediocre, it was sort of bold to start this. The features in mind I basically cut right through any API ahead of me without taking care of any design principles. So if you ever find the time to look into the code, give feedback! And I fear this project is in need for a lot of feedback. Last but not least: Installation. There is no release currently planed. The code compiles against the current HEAD of wicket. So get get wicket from svn as described in http://incubator.apache.org/wicket/building-from-svn.html first. This project relies on the well maintained structure of wickets pom.xml files. It needs to be checked out into wicket jdk-1.5 folder: cd wickets-jdk-1.5-folder svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2-examples This should do the install and get a jetty started for the examples: mvn -f wicket-contrib-gmap2/pom.xml install mvn -f wicket-contrib-gmap2-examples/pom.xml jetty:run Now browse to: http://localhost:8080/wicket-contrib-gmap2-examples/gmap/ and click around. Have fun, Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2
[Wicket-user] Copenhagen Wicket Users Group - interested?
Inspired by Al Maw's mail:) I've seen some guys from DK around here and wanted to hear if any were interested in a user day? Not topics has been decided, so its free for grabs, both on the taking and giving side. Depending on how many we are we could spl regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
We are 2 guys so far:) Guessing that we need at least 5 to make it happend? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Copenhagen Wicket Users Group - interested?
Yup better be late aug then, so we dont run into my vacation.. I've held a couple of getting started wicket things now.. This should defiantly attract some people(it's like a free getting started with wicket course...:))... regards Nino Frank Bille wrote: Yeah, perhaps we could start out as an introduction/getting-started thingy for a go-home-meeting or something. I don't have the time to arrange a lot right now, but perhaps in aug. Frank On 6/18/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: We are 2 guys so far:) Guessing that we need at least 5 to make it happend? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Aha:) Then we just need some people to sign up...:) regards Nino Frank Bille wrote: Was just thinking the same :) I also think we can borrow a room at Avaleo (ITU's meeting rooms). Frank On 6/15/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data
Re: [Wicket-user] [ajax]Replace Javascript component fails on IE
Hi Matej Thanks for your answer. It's well apreciated. I'll encorporate this into the gmap contrib and we will probally have a release for 1.2.6 and 1.3 within the commming week:) regards Nino Matej Knopp wrote: Hi, I've fixed this for 1.3. As a workaround for 1.2, this is what you can do: Don't update the script tag directly, but enclose it in a div, like this: div wicket:id=script span style=display:noneThis is an invisible tag to prevent buggy IE ignoring the script script type=text/javascripthere comes the script/script /div Btw, as a sidenote, i noticed this in your code: protected void onComponentTag(final ComponentTag tag) { add(new AttributeModifier(type, true, new Model(text/javascript))); add(new AttributeModifier(language, true, new Model(JavaScript))); } This is wrong. As a result on every render two attribute modifiers will be added (this would even throw an exception in 1.3, as you are changing component during the render). This is how it should look like: tag.put(type, text/javascript); tag.put(language, JavaScript); -Matej On 6/14/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Forgot to mention this is on 1.2.6 havent tried with 1.3. Nino Saturnino Martinez Vazquez Wael wrote: Hi Im starting a new thread as my old one has died. You can see it here : http://www.nabble.com/-GMAP-contrib--IE7-Ajax-target-appendJavascript-not-working--t3883506.html But to make a long story short. Problem are when we replace our javascript container via ajax IE doesnt update it or calls the old one. If we create new javascript functions(function myfunction1..2..3) instead it gives a javascript exception shown in wicket ajax debug window, again this is only on IE browsers. I've looked trough JIRA and could not find anything that poped into my eyes say that it was related. I've created a quickstart project showing the behavior, see that its working with FF and not with IE6 and IE7: http://www.badongo.com/file/3410432 regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] FireFox 1.5 macos, ajax fails..
Sorry, this turned out to be wrong.. Everything are working as it should..:) Matej Knopp wrote: What kind of errors? -Matej On 5/22/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi any had trouble with this. My Ajax calls fails with FF 1.5 on macos. Also following the wiki any trying the wicket examples fails or gives aleast a couple of errors. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicketstuff confluence and jira
hmm Martijn ive added the label component to this page: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket+GMap+Contribution but it does not show up on the wiki page list.. what am I doing wrong? Martijn Dashorst wrote: I have also updated the wiki page with an explanation how to add your page to the mix: http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Martijn On 6/15/07, Martijn Dashorst [EMAIL PROTECTED] wrote: The page is generated automatically. All you have to do is label your page as 'component': Martijn On 6/15/07, Martin Funk [EMAIL PROTECTED] wrote: Any Administrator of wicketstuff confluence and jira around? How do I create a link to http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 on http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki Also I haven't seen a form for creating a Wicket Contrib GMap2 project on http://wicketstuff.org/jira/secure/Dashboard.jspa Is that on purpose, or am I just blind? Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Copenhagen Wicket Users Group - interested?
Hi Inspired by Al im writing this mail. I think we should be enough people to make a group, however im not certain. So please reply to this mail if interested. Jayway will gladly host the group, providing we arent above 15 peeps or so(we havent got room for more:)) regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-contrib-gmap2
Hi Martin Well, both Iulian and me has done a lot of work on this during the last couple of weeks. It's always nice to see to sides of the coin, maybe we should pick the best stuff from our components and join up? Currently Iulian are working on upgrading the gmap contrib to wicket 1.3, we decided not to make a release on wicket 1.2.6 since some of the ajax stuff we are using arent working on the IE browser series(I have another thread concering this). Upon releasing v 1 we will update confluence so that the features we are using will be shown installation instructions etc, heres a short list of features: All updates done via ajax, clicklisteners of all sorts(dragend, zoomend). Possibility to integrate loading screens. 2 step initialized and refresh, meaning no visible postbacks, we are using panTo. Control the map serverside eg if user clicks the las vegas button the map will pan to that area. Add overlays at will. Create custom overlays with tooltips. Since we are using ajax all normal wicket ajax behavior are also supported from the ajax target. Not sure if I forgot anything... regards Nino Martin Funk wrote: Hi, may I draw your attention to a little project I was allowed to add to the wicket-stuff svn repository yesterday. Being highly inspired by Julians and Nicos wicket-contrib-gmap I got exited enough to try to create a project that does the same and a little bit more with a little different approach. Kinda bold, since I haven't looked into JavaScript before. Julian and Nico I hope you don't mind that I tried to invent the wheel a second time, but if your project wouldn't have been around I probably never would have tried. So thank you for that. Features: There can be more than one GMap on a page, I think there can be many, at least I succeeded with two. Components may become controls of the GMap. Any Component capable of firing events can become a controller. The controls are executed whenever the named event is fired by the Component. Currently ZooOut, ZoomIn, PanDirection, AddOverlay and OpenInfoWindow are implemented. Listeners may be added to the GMap. These are called whenever the GMap fires the corresponding Events. So far a ClickListener and a MoveEndListener are implemented. This allows to dynamically update any Component and the GMap itself. The events and the controls always do a round trip from the browser to the server and back, this way any call can be intercepted and controlled on the server side. The network traffic is kept down, since all needed JavaScript functions are defined in a js-file. So only arguments have to be transfered. Status: Is best described by, consolidating. As I said, being a JavaScript newbie and a Java mediocre, it was sort of bold to start this. The features in mind I basically cut right through any API ahead of me without taking care of any design principles. So if you ever find the time to look into the code, give feedback! And I fear this project is in need for a lot of feedback. Last but not least: Installation. There is no release currently planed. The code compiles against the current HEAD of wicket. So get get wicket from svn as described in http://incubator.apache.org/wicket/building-from-svn.html first. This project relies on the well maintained structure of wickets pom.xml files. It needs to be checked out into wicket jdk-1.5 folder: cd wickets-jdk-1.5-folder svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2-examples This should do the install and get a jetty started for the examples: mvn -f wicket-contrib-gmap2/pom.xml install mvn -f wicket-contrib-gmap2-examples/pom.xml jetty:run Now browse to: http://localhost:8080/wicket-contrib-gmap2-examples/gmap/ and click around. Have fun, Martin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-contrib-gmap2
There can be only one!:) regards Nino Igor Vaynberg wrote: /me plays theme from highlander -igor On 6/13/07, *Eelco Hillenius* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Soon to be read on The Server Side: gmap components shootout! ;) Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [ajax]Replace Javascript component fails on IE
Hi Im starting a new thread as my old one has died. You can see it here : http://www.nabble.com/-GMAP-contrib--IE7-Ajax-target-appendJavascript-not-working--t3883506.html But to make a long story short. Problem are when we replace our javascript container via ajax IE doesnt update it or calls the old one. If we create new javascript functions(function myfunction1..2..3) instead it gives a javascript exception shown in wicket ajax debug window, again this is only on IE browsers. I've looked trough JIRA and could not find anything that poped into my eyes say that it was related. I've created a quickstart project showing the behavior, see that its working with FF and not with IE6 and IE7: http://www.badongo.com/file/3410432 regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [ajax]Replace Javascript component fails on IE
Forgot to mention this is on 1.2.6 havent tried with 1.3. Nino Saturnino Martinez Vazquez Wael wrote: Hi Im starting a new thread as my old one has died. You can see it here : http://www.nabble.com/-GMAP-contrib--IE7-Ajax-target-appendJavascript-not-working--t3883506.html But to make a long story short. Problem are when we replace our javascript container via ajax IE doesnt update it or calls the old one. If we create new javascript functions(function myfunction1..2..3) instead it gives a javascript exception shown in wicket ajax debug window, again this is only on IE browsers. I've looked trough JIRA and could not find anything that poped into my eyes say that it was related. I've created a quickstart project showing the behavior, see that its working with FF and not with IE6 and IE7: http://www.badongo.com/file/3410432 regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
I'll build a quickstart to show this behavior and we can them determine if its the one you are talking about. Do you think it would be a minor effort to backport the fix to 1.2.6, if it turns out that it are related?? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Looking at the the post (I use paros as proxy), things are alright. Im now suspecting that its our function that aren't merged correctly. We have a function called refreshGmap which we replace on ajax calls and then evaluate on the client, im not sure if this are updated correctly in IE. The error I get are that the map wont go to the place where the user draged it, now when we intialize the gmap I in my example set the center to 0,0 and there it stays not matter what in IE. However it looks as everything are updated correctly. But the map keeps it center to 0,0 which makes me belive that the refreshGmap function arent updated correctly. So I guess it could be related to what you talked about in the first instance? regards Nino Matej Knopp wrote: I dunno. Could be problem with ajax form serialization. Can you intercept the post request to see what parameters are submitted? -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
I've created a quickstart project showing the behavior: http://www.badongo.com/file/3410432 Please check and see if its the same error as you mentioned Matej. Asking again:) Do you think it would be a minor effort to backport the fix to 1.2.6, if it turns out that it are related?? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: I'll build a quickstart to show this behavior and we can them determine if its the one you are talking about. Do you think it would be a minor effort to backport the fix to 1.2.6, if it turns out that it are related?? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Looking at the the post (I use paros as proxy), things are alright. Im now suspecting that its our function that aren't merged correctly. We have a function called refreshGmap which we replace on ajax calls and then evaluate on the client, im not sure if this are updated correctly in IE. The error I get are that the map wont go to the place where the user draged it, now when we intialize the gmap I in my example set the center to 0,0 and there it stays not matter what in IE. However it looks as everything are updated correctly. But the map keeps it center to 0,0 which makes me belive that the refreshGmap function arent updated correctly. So I guess it could be related to what you talked about in the first instance? regards Nino Matej Knopp wrote: I dunno. Could be problem with ajax form serialization. Can you intercept the post request to see what parameters are submitted? -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude
Re: [Wicket-user] wicket did not make the grade.
I think theres lots(Eelco usually being the friendliest), however considering the subject of this thread. I think most will be inclined to be not so friendly. - Kick a guy in his ass and then asking to borrow a coin won't get you any.. regards Nino A_flj_ wrote: Thanks, I'm just downloading the examples, hopefully I'll get what I need from them. Is there any friendlier poster here than Eelco? A_flj_ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
I can see in my form I have a action that looks like this(on IE): /quickstart/gmap/;jsessionid=blabla?wicket:interface:0:gmap in firefox it looks like this: /quickstart/gmap/?wicket:interface=:0:gmap:gmapUpdatingForm::IFormSubmitListener im not sure if that does affect anything? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
No I dont... It's pretty strange I guess it could be caused by IE not accepting cookies? And then web container trying with url rewrite. The difference in the action being called was a matter of me pasting from two different places, I guess the heat are getting to me now(its pretty hot here in dk).. regards Nino Matej Knopp wrote: this doesn't really makes sense. you have different action for IE and different for firefox? On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I can see in my form I have a action that looks like this(on IE): /quickstart/gmap/;jsessionid=blabla?wicket:interface:0:gmap in firefox it looks like this: /quickstart/gmap/?wicket:interface=:0:gmap:gmapUpdatingForm::IFormSubmitListener im not sure if that does affect anything? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
Looking at the the post (I use paros as proxy), things are alright. Im now suspecting that its our function that aren't merged correctly. We have a function called refreshGmap which we replace on ajax calls and then evaluate on the client, im not sure if this are updated correctly in IE. The error I get are that the map wont go to the place where the user draged it, now when we intialize the gmap I in my example set the center to 0,0 and there it stays not matter what in IE. However it looks as everything are updated correctly. But the map keeps it center to 0,0 which makes me belive that the refreshGmap function arent updated correctly. So I guess it could be related to what you talked about in the first instance? regards Nino Matej Knopp wrote: I dunno. Could be problem with ajax form serialization. Can you intercept the post request to see what parameters are submitted? -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked
Re: [Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
i'll try:) Matej Knopp wrote: I dunno. Could be problem with ajax form serialization. Can you intercept the post request to see what parameters are submitted? -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Looking even further into the problem I can see that the values are correct after the ajax post. So it seems that the models of our hidden fields arent updated. Im not sure what todo about this, Matej mentioned that it could be a problem with wicket 1.2.6 and IE7, im using IE6 are the same problem there? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: In addition to the previous mail I would like to add, that we would like to resolve this using wicket 1.2.6. Now if anything are unclear or so please write and I'll try to explain further. Also the current version are the one available from SVN, I belive Iulian upgraded the example so that its now using that aswell. So you can just check out the code from wicket stuff repo if you want to see the code.. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Matej Currently gmap contrib are using wicket 1.2.6. And currently im testing with IE 6 which has the problems I mentioned, the ajax calls seems to yield no problems so far I can see we get a call when the form are submitted and it calls back after processing. However form values arent updated, im not sure if that has anything to do with the ajax part? Im not sure how far we are in the process of upgrading the gmap contrib to 1.3. regards Nino Matej Knopp wrote: Can you please test it with latest wicket 1.3? There was a bug that prevented IE7 from processing ajax requests properly, it might be related. -Matej On 6/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Yes i'll try to explain in greater detail. Looks like it was not the appendjavascript that wasnt working. But something else.:) Our hidden variables arent updated when using IE. Why they arent updated correctly puzzles me, because just before the ajax call they seem to have the correct values. heres a snip of what I try to do(working everywhere but IE): GEvent.addListener(googleMap, dragend, function () { var center = googleMap.getCenter(); var sW = googleMap.getBounds().getSouthWest(); var nE = googleMap.getBounds().getNorthEast(); document.getElementById(latitudeCenter).value=center.lat(); document.getElementById(longitudeCenter).value=center.lng(); document.getElementById(latitudeSW).value=sW.lat(); document.getElementById(longitudeSW).value=sW.lng(); document.getElementById(latitudeNE).value=nE.lat(); document.getElementById(longitudeNE).value=nE.lng(); document.getElementById(zoomLevel).value=googleMap.getZoom(); document.getElementById(gmap_ajaxGMapUpdatingFormSubmit).onclick(); }); So the different variables are stored in hidden fields. Just before the last entry above, every value looks ok. Here are some of the java server side code: Form gMapUpdatingForm = new Form(gmapUpdatingForm); gMapUpdatingForm.setOutputMarkupId(true); gMapUpdatingForm.add(new HiddenField(latitudeCenter, new PropertyModel(gMap.getCenter(), latitude)) { public IConverter getConverter() { return getUSConverter(); } }); gMapUpdatingForm.add(new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(), longitude)) { public IConverter getConverter() { return getUSConverter(); } }); Please remember that it is actually working in both FF and safari. Ajax calls goes through as it should, values arent updated. regards Nino Eelco Hillenius wrote: I still only half understand the issue tbh. Can you elaborate about the problems you are experiencing? Eelco On 6/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [GMAP contrib] IE7 Ajax target appendJavascript not working?
Hi We are experiencing some issues with ajax in IE7, possibly IE6 as well when using the target.appendjavascript. Are there any workarounds? I've looked a bit at http://www.nabble.com/-BUG-%3Cscript%3E-tag-evaluation-in-IE-t3839952.html but it does not seem to work. Any ideas, solutions will be highly appreciated, as this are a showstopper for the v1 release of the gmap contrib. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] extension.Palette class
sound very wrong. Are you getting this displayed in the listboxes? Ken Leung wrote: Does anyone know why there is a XX displayed initially in the selected or available pane if that pane happens to contain an empty list. The XX will disappear once you start to add/remove selections You can see this if you just run the example... Anyone knows how to get rid of it ? thx - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Displaying a JavaScript alert after a click on a link
use a attribute modifier and a behavior for this.. Huergo Perez wrote: Hi All, I need to implement a functionality that in certain cases displays a JavaScript alert dialog after a click on a link. For example, a table of records may contain a [Delete] link against each record. When a user clicks on the link, the onClick handler attempts to delete the record, and in case of failure (e.g. due to integrity constraint violations) displays a JavaScript alert. What are the suggested ways to implement such a functionality for both AJAX and non-AJAX links? Thanks! Huergo - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Using Loop with ajax?
Hi Im having some trouble with loop and ajax. Now when the page initially are created the loop are empty, this makes the loop not render. When I get the ajax request I try to add the loop with addcomponent, however this tells me this: Component with id [[gmap_gmapContainer_gmarkersLoop]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update. However I have set .setOutputMarkupId(true) so Im not understanding the message? What am I doing wrong? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Using Loop with ajax?
I doesnt seem that loop works with ajax? I've created a quickstart project that displays this. Should I use a listview instead? heres the quickstart(http://localhost:8080/quickstart/app): http://www.badongo.com/file/3249801 regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Im having some trouble with loop and ajax. Now when the page initially are created the loop are empty, this makes the loop not render. When I get the ajax request I try to add the loop with addcomponent, however this tells me this: Component with id [[gmap_gmapContainer_gmarkersLoop]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update. However I have set .setOutputMarkupId(true) so Im not understanding the message? What am I doing wrong? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Using Loop with ajax?
forgot to mention that its wicket 1.2.6.. Nino Saturnino Martinez Vazquez Wael wrote: I doesnt seem that loop works with ajax? I've created a quickstart project that displays this. Should I use a listview instead? heres the quickstart(http://localhost:8080/quickstart/app): http://www.badongo.com/file/3249801 regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Im having some trouble with loop and ajax. Now when the page initially are created the loop are empty, this makes the loop not render. When I get the ajax request I try to add the loop with addcomponent, however this tells me this: Component with id [[gmap_gmapContainer_gmarkersLoop]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update. However I have set .setOutputMarkupId(true) so Im not understanding the message? What am I doing wrong? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Using Loop with ajax?
thanks.. Martijn Dashorst wrote: http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html Same applies for Loop On 5/31/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: forgot to mention that its wicket 1.2.6.. Nino Saturnino Martinez Vazquez Wael wrote: I doesnt seem that loop works with ajax? I've created a quickstart project that displays this. Should I use a listview instead? heres the quickstart(http://localhost:8080/quickstart/app): http://www.badongo.com/file/3249801 regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Im having some trouble with loop and ajax. Now when the page initially are created the loop are empty, this makes the loop not render. When I get the ajax request I try to add the loop with addcomponent, however this tells me this: Component with id [[gmap_gmapContainer_gmarkersLoop]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update. However I have set .setOutputMarkupId(true) so Im not understanding the message? What am I doing wrong? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Forms locale(europe) and numbers does not
This has nothing todo with it, already changed that part (I do know the code snipplet does not reflect this). Its because google always keep their formats in us locale not matter what the browser tells. So this gives a horrible conversion effect. making the numbers explode on EU locale. So inorder to work on european locale, the google related variables/markup parts must be converted via US locale. Regards Nino Ryan Gravener wrote: Hey Nino, remember that I changed longtitude to longitude. So try doing new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(),longitude)) . try changing On 29/05/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I have a form form wicket:id=Form input type=hidden wicket:id=longtitudeNE name=longtitudeNE id=longtitudeNE /form java part: gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new PropertyModel( gMap.getCenter(), longtitude))); If I am in US locale numbers are interpreted okay, however if in european locale they dont. Thats because the value are in US locale so how do I tell that these two fields should be interpereted as US. I have tried overiding the getlocale, but it does not seem to work? Should I create my own IConverter? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-contrib-gmap GMarkerComponent proposal
Sorry did firstly see this now. I think you already changed it... Iulian Costan wrote: alright, i think i need to escape the tooltip and everything should be fine. /iulian On 5/26/07, *Ryan Gravener* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Since the tool tip may contain possessive nouns, this causes a javascript syntax error, so i propose changing gmarker.getToolTip() to gmarker.getToolTip().replace(\',\\') in methods: createMarkerDefaultIcon, createMarkerCustomIcon http://www.papernapkin.org/pastebin/view/150 -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Forms locale(europe) and numbers does not
Resend, as something bad happend to the original mail... This has nothing todo with it, already changed that part (I do know the code snipplet does not reflect this). Its because google always keep their formats in us locale not matter what the browser tells. So this gives a horrible conversion effect. making the numbers explode on EU locale. So inorder to work on european locale, the google related variables/markup parts must be converted via US locale. Regards Nino Ryan Gravener wrote: Hey Nino, remember that I changed longtitude to longitude. So try doing new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(),longitude)) . try changing On 29/05/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I have a form form wicket:id=Form input type=hidden wicket:id=longtitudeNE name=longtitudeNE id=longtitudeNE /form java part: gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new PropertyModel( gMap.getCenter(), longtitude))); If I am in US locale numbers are interpreted okay, however if in european locale they dont. Thats because the value are in US locale so how do I tell that these two fields should be interpereted as US. I have tried overiding the getlocale, but it does not seem to work? Should I create my own IConverter? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] RadioGroup vs RadioChoice
Hi The largest difference between the two is how much control you want over the components. the Radio(used with radiogroup) lets you place your radios exactly where you desire where as the radiochoice has a somewhat fixed formatting and just prints out radios. regards Nino howzat wrote: The answer to the last question is that the model value is used (naturally). I just needed to adjust my models' value class' .equals implementation and it now the default selection works well. But any input on the other 2 questions is still useful: What is the difference between RadioChoice and RadioGroup? Are there use-case where one is more appropriate than the other? howzat wrote: What is the difference between RadioChoice and RadioGroup? Are there use-case where one is more appropriate than the other? If there are 3 choices in the RadioChoice or RadioGroup (eg radio buttons for each of a, b c on the form), what is the best way to set a default value (eg b as selected) when the page is first visited? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Forms locale(europe) and numbers does not
Hi I have a form form wicket:id=Form input type=hidden wicket:id=longtitudeNE name=longtitudeNE id=longtitudeNE /form java part: gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new PropertyModel( gMap.getCenter(), longtitude))); If I am in US locale numbers are interpreted okay, however if in european locale they dont. Thats because the value are in US locale so how do I tell that these two fields should be interpereted as US. I have tried overiding the getlocale, but it does not seem to work? Should I create my own IConverter? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Including wicket page from JSP?
We tried that, but the including jsp, does some pageprocessing and that gives on the included page. That just might what you mention about conficting html... Bruno Borges wrote: You can do it with a runtime include jsp:include page=/site/MyBookmarkablePage / But watch out for conflicts between HTMLs and you will need to do some hacks like substring code inside body tag only. Something like that. Possible it is, but isn't out of the box. :D Everything is possible. []'s -- Bruno Borges Summa Technologies Inc. www.summa-tech.com http://www.summa-tech.com (11) 8565-7739 (11) 3055-2060 (48) 8404-1300 On 5/25/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi I wont expect the above to be possible, but sometimes you just dont know? Is it possible, currently we are including it via an iframe tag, some say thats a bad way todo it... Whats your 2 cents? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Including wicket page from JSP?
Sound like a nice way, i'll have to dig into it. Seems pretty easy, should be on the wiki, and be included in wicket-extensions(as externalized able component)? That way it would be sorta out of the box:) regards Nino Scott Swank wrote: Consider also the solution we implemented in house to allow arbitrary Wicket components in an external web page -- including of course a JSP. http://www.nabble.com/Wicket-and-embeddable-Ajax-components-tf3604793.html#a10084198 On 5/25/07, Bruno Borges [EMAIL PROTECTED] wrote: You can do it with a runtime include jsp:include page=/site/MyBookmarkablePage / But watch out for conflicts between HTMLs and you will need to do some hacks like substring code inside body tag only. Something like that. Possible it is, but isn't out of the box. :D Everything is possible. []'s -- Bruno Borges Summa Technologies Inc. www.summa-tech.com (11) 8565-7739 (11) 3055-2060 (48) 8404-1300 On 5/25/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I wont expect the above to be possible, but sometimes you just dont know? Is it possible, currently we are including it via an iframe tag, some say thats a bad way todo it... Whats your 2 cents? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Including wicket page from JSP?
Hi I wont expect the above to be possible, but sometimes you just dont know? Is it possible, currently we are including it via an iframe tag, some say thats a bad way todo it... Whats your 2 cents? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best way to insert inline Javascript
Another way could be to create the javascript component and invoke it by adding a onload behavior to your dropdown, this should work? I've implemented a simple progress indicator this way, although I used the onclick event. regards Nino Mark van Leeuwen wrote: Thanks for the suggestions but I don't like either of these solutions. First one involving the use of the label is the hack to which I have already referred. In my case I am extending DropDownChoice and it would be messy to require a special label component to go with it. I want to use just the one component. If I make it a panel, then I lose the advantage of allowing the select and option tags to be used directly. The 2nd option is also a pain. The script needs to be invoked when the page is being loaded. To invoke script in the header means calling it from body onload etc. Much simpler to just have the script inline after the component html. I am investigating now whether I might be able to by overriding DropDownChoice.onRender(). Maybe a new behavior would be a more generic solution. Any other ideas would be welcome... -Original Message- From: [EMAIL PROTECTED] [mailto:wicket-user- [EMAIL PROTECTED] On Behalf Of Alex Objelean Sent: Wednesday, 23 May 2007 5:02 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Best way to insert inline Javascript There is at least two solutions. 1. The ideea is to use script tag as a Label component and its modelObject contains a generated script http://www.nabble.com/Feedbackmessages%3A-extend-by-new-type-ALERT--- tf3795933.html see this post . 2. Use TextTemplateHeaderContributor for adding javascript - you can also interpolate variables inside it. component.add(TextTemplateHeaderContributor.forJavaScript(getClass(),mysc ript.js, variables)); Mark van Leeuwen wrote: Writing my first custom component... I want to initialise the component using inline Javascript placed immediately after the component markup. Searching the message archive I found one solution which is to use a label to output the script. Seems a bit of a hack. Is there a better way? -- View this message in context: http://www.nabble.com/Best-way-to-insert- inline-Javascript-tf3802007.html#a10758551 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] FireFox 1.5 macos, ajax fails..
While developing on the gmap component, a collegue of mine needed to test it, unfortunately he had ff 1.5 and when moving around on the gmap(thats where the ajax fires) the script got non responsive. So I went ahead and checked the wicket examples they give errors aswell, but does not end up non responsive. Now I havent got FF 1.5 on 2.0 everythings just fine. I wont be able to give more exact error messages until next tuesday. As I dont think I can have both FF1.5 and 2.0 installed at the same time. BTW safari 2 works fine. regards Nino Matej Knopp wrote: What kind of errors? -Matej On 5/22/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi any had trouble with this. My Ajax calls fails with FF 1.5 on macos. Also following the wiki any trying the wicket examples fails or gives aleast a couple of errors. regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket vs. struts presentation
I must dissagree(on the part where you say that wicket are mostly used in intranet apps), although not a wicket veteran yet(only been doing wicket for around 1.5 years). The two projects I've been involved in during this periode has both been using wicket. Both projects being commercially and also public accessible. Also skimming the wiki looking at sites almost none seems to be intranet ones.. regards Nino Johan Compagner wrote: wicket is a very good fit for intranet development. I think it is mostly used in that kind of webapps. johan On 5/22/07, *Florian Hehlen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, the reason we are comparing to Struts is that that's one of the contender. We are not a web-app shop. We need a general purpose toolkit for intranet development. But since struts is so popular it's being pitted against wicket. Florian Erik van Oosten wrote: Hi Florian, 1- I am surprised you want to compare against Struts. Almost any modern web framework will kick ass compared to Struts. 2- I know only of one. It is the first article on this page on the wiki: http://cwiki.apache.org/WICKET/articles-about-wicket.html. It has a very nice comparison of Wicket and JSF listings. Its a simple application, you can easily image how to do it in Struts. 3- Wicket is weak at sites that need to handle millions of hits per minute (not many frameworks are good at this). Wicket is also not very good if you need absolute and complete control on the format of your URLs. These are both extremes. I think Wicket will do very well for at least 90% of the web applications. Good luck, Erik. Florian Hehlen-2 wrote: Hi all, I am looking for help presenting wicket to my development team. 1-Has anyone out there had to defend wicket vs. struts and would you have any resources/links/presentations to pass this way to help in presenting wicket to our group? 2-Has anyone made any measurements/analysis of the code-base needed for identical application in wicket vs. struts(or any other framework) 3-Objectively, I am also looking for what wicket is weak at. florian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to display applet in wicket?
ahh, so you wish to use wicket to generate dynamic content for the applet? Look at the howto include javascript thread, theres an example on howto create a attribute modifier, im not sure howto communicate with your applet though? edward durai wrote: Finally, It's working. My applet looks lik APPLET codebase=http://localhost:8080/projectName; CODE=ClassName WIDTH=400 HEIGHT=450 /APPLET Here Hardcoded values x_axis_value and y_axis_value is working fine. Consider I have one text box with label Dates and Consider I have one text box with label values(y). How to get both values and apply the above applet tags? I am the newbie of wicket. Please tell your suggestions. Robert Novotny wrote: One problem, which could arise, is the URL from which is the graph.class loaded. When you've got your applet page on http://server.com/page/applet.html, browser JVM willl try to load graph.class from http://server.com/page/graph.class URL. Also make sure that you have a correct case (Java classes should start with an uppercase letter, therefore I think it is better to have applect code=Graph.class.. and class called Graph). However, if you specify the JAR files in the archive attribute, your classes will be loaded from the specified JARs. There can be another hiccup dealing with URL mounting. In our project we have mounted the Wicket webapplication on the url-pattern/app/*/url-pattern. Therefore our applet page has URL http://[servername]:8080/[appname]/app?wicket:bookmarkablePage=:uinf.wid.tools.UserProfileApplet, which means that the JAR files are loaded from the http://[servername]:8080/[appname] directory, i. e. from JAR files which are located in the directory just above the WEB-INF. If your webpage is mounted (for example to http://[servername]:8080/[appname]/app/userprofile), you could come across JAR loading problems, because JVM will try to load JAR/CLASS file from that http://[servername]:8080/[appname]/app/userprofile, which does not correspond to any server directory, therefore it will not find your JARs/CLASSes. edward durai wrote: Hi to all, I have one graph.java file. In HTML I can display like APPLET CODE=graph.class WIDTH=900 HEIGHT=400 !-- Dynamic -- !-- Dynamic -- /APPLET In Wicket, how can I display this applet file? Please explain me. Thank you for answering - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket vs. struts presentation
Thats why peeps should add a user story if the site are non browsable(thats the part were you mention a video:).. But yeah I guess you're right:) Martijn Dashorst wrote: That is because there is little point in putting intranet applications (or non-public facing applications) on the wiki: nobody can see the applications or browse them. /me reminds himself to create a video of some sorts for the application built. Martijn On 5/23/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I must dissagree(on the part where you say that wicket are mostly used in intranet apps), although not a wicket veteran yet(only been doing wicket for around 1.5 years). The two projects I've been involved in during this periode has both been using wicket. Both projects being commercially and also public accessible. Also skimming the wiki looking at sites almost none seems to be intranet ones.. regards Nino Johan Compagner wrote: wicket is a very good fit for intranet development. I think it is mostly used in that kind of webapps. johan On 5/22/07, *Florian Hehlen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, the reason we are comparing to Struts is that that's one of the contender. We are not a web-app shop. We need a general purpose toolkit for intranet development. But since struts is so popular it's being pitted against wicket. Florian Erik van Oosten wrote: Hi Florian, 1- I am surprised you want to compare against Struts. Almost any modern web framework will kick ass compared to Struts. 2- I know only of one. It is the first article on this page on the wiki: http://cwiki.apache.org/WICKET/articles-about-wicket.html. It has a very nice comparison of Wicket and JSF listings. Its a simple application, you can easily image how to do it in Struts. 3- Wicket is weak at sites that need to handle millions of hits per minute (not many frameworks are good at this). Wicket is also not very good if you need absolute and complete control on the format of your URLs. These are both extremes. I think Wicket will do very well for at least 90% of the web applications. Good luck, Erik. Florian Hehlen-2 wrote: Hi all, I am looking for help presenting wicket to my development team. 1-Has anyone out there had to defend wicket vs. struts and would you have any resources/links/presentations to pass this way to help in presenting wicket to our group? 2-Has anyone made any measurements/analysis of the code-base needed for identical application in wicket vs. struts(or any other framework) 3-Objectively, I am also looking for what wicket is weak at. florian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Tapestry vs. Wicket
Heres something on the toppic, this has been up in the past on the list, I would use nabble to search for it. Also use google to search for wicket vs JSF and tapestry vs JSF. And then compare after wards.. http://www.nabble.com/Re:-Wicket-vs-Tapestry-p290050.html craigdd wrote: I started looking at tapestry today, for some reason through out all my webapp development experience I never have taken a look at it. With that said I see a lot of similarities to wicket. Can someone point out the advantages that wicket has over tapestry. Kind of a side note, and I little off subject, but does anyone know the process of the Wicket in Action book? -Craig - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)
Ok.. Just happy to contribute something back, for once:) regards Nino Martijn Dashorst wrote: On 5/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote: PS this is the right place to write about new features correct? Technically, the dev list would be better. But this is fine. Thanks for your contributions and keeping us up-to-date! Agreed. When the gmap project gets a release, it would be more of an announcement type of message for new exciting available features. The idea is to attract as many users as possible for the subproject, I think in that instance the user list is preferred. When discussing the technical issues on how to implement these features, or when the project is still not in a packaged state it should go to @dev. As for other wicket stuff projects: if you have something new and exciting to share, don't hesitate to submit it to @dev if you want a second opinion or be a show off of your code :). Martijn - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket stuff GMap: New Exciting Features:)
Hi I've been working on the gmap, and these new features are in place: Using gmap v 2 Custom gIcons can now be added(define your on small map pin). Gmap(serverside) are updated when the user moves,zooms etc via ajax. Control which Gmap controls you want displayed Using google recomendation for avoiding memory leaks in IE Upcomming features: Creating the Gmap in insert mode, the model you pass to the constructor will be notified when the user clicks a spot Please note these features are only available in svn, 1.2 branch, jdk14 version PS this is the right place to write about new features correct? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)
Now the insert mode works aswell:) Nino Saturnino Martinez Vazquez Wael wrote: Hi I've been working on the gmap, and these new features are in place: * Using gmap v 2 * Custom gIcons can now be added(define your on small map pin). * Gmap(serverside) are updated when the user moves,zooms etc via ajax. * Control which Gmap controls you want displayed * Using google recomendation for avoiding memory leaks in IE Upcomming features: * Creating the Gmap in insert mode, the model you pass to the constructor will be notified when the user clicks a spot Please note these features are only available in svn, 1.2 branch, jdk14 version PS this is the right place to write about new features correct? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Any Problems:Wicket on Tomcat 6
Hi you wouldnt be deploying in development mode? We've had this come up a lot of times before, and I think the problem are described somewhere... You need to deploy in production mode you can do that by: !-- There are three means to configure Wickets configuration mode and they are tested in the order given. 1) A system property: -Dwicket.configuration 2) servlet specific init-param 3) context specific context-param The value might be either development (reloading when templates change) or deployment. If no configuration is found, deployment is the default. -- context-param param-nameconfiguration/param-name param-valuedevelopment/param-value /context-param regards Nino Ayodeji Aladejebi wrote: Hi Wicket Family, Please I just want to ask if anybody is presently deploying a wicket based project on Tomcat 6 and Java 6 platform. From Wicket founders point of view, which app server is the best for wicket apps Tomcat, Resin, Jetty, Glassfish There is this too many open files problem that makes our test server to crash after a long period with tomcat 5 and wicket 1.2.4 Are there any presently know issues with this setup because I am about to bet my existence on Wicket1.2.7/Tomcat6/Java6 :) and i just needed to be sure. Our company also hopes to subsribe to wicket support once we deploy based on wicket Thanks -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: +234 9 481 7 156 Mobile: +234 803 589 1780 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Web: www.dabarobjects.com http://www.dabarobjects.com Blog: blog.dabarobjects.com http://blog.dabarobjects.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)
I wanted to explain what insert mode could be used for. Basicly its intended for user addition of markers, if for example your users would be allowed to add individual markers, like my maps on google. However these marker could be shared be between users etc. regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Now the insert mode works aswell:) Nino Saturnino Martinez Vazquez Wael wrote: Hi I've been working on the gmap, and these new features are in place: * Using gmap v 2 * Custom gIcons can now be added(define your on small map pin). * Gmap(serverside) are updated when the user moves,zooms etc via ajax. * Control which Gmap controls you want displayed * Using google recomendation for avoiding memory leaks in IE Upcomming features: * Creating the Gmap in insert mode, the model you pass to the constructor will be notified when the user clicks a spot Please note these features are only available in svn, 1.2 branch, jdk14 version PS this is the right place to write about new features correct? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff GMAP
Hi Iulian I'll start to upgrade the current 1.2 branch to be using the newest version of googlemaps. That will mean that I'll add support for these controls(I think two of them are already supported): * |GLargeMapControl| - a large pan/zoom control used on Google Maps. Appears in the top left corner of the map. * |GSmallMapControl| - a smaller pan/zoom control used on Google Maps. Appears in the top left corner of the map. * |GSmallZoomControl| - a small zoom control (no panning controls) used in the small map blowup windows used to display driving directions steps on Google Maps. * |GScaleControl| - a map scale * |GMapTypeControl| - buttons that let the user toggle between map types (such as Map and Satellite) * |GOverviewMapControl| - a collapsible overview map in the corner of the screen Also I'll be looking into markers manager and see if I can add that. I plan todo this before you come back from your vacation, so that you may continue upgrading to the 1.3 branch. regards Nino Iulian Costan wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ok:) I think we need to have a GMarker constructor that takes a GIcon also, I can see that you have already prepared the GMarker class for this. We could also create some off the shelf GIcons and package them, that might come in handy? I could do this, as the project Im on now needs some basic ones. So when I go over them I could just add em. need to add JS code as well to support custom GIcons About the the List containing the overlays. Would it work if I cleared the list, added some new overlays and re rendered? well, i've never tried, not sure what to say, but the generated JS code is part of the outer gmap panel, the entry point is initGMAP() method that get called on page's onLoad event. as well in 1.3 on ajax event we can call that method to re-init entire map, maybe a cleanup map is needed before. please try and see if it works. How do we proceed, I guess we should be working on the 1.2 branch as the 1.3 are still beta? as eelco said 1.3 for sure, maybe both. regards Nino Iulian Costan wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think its a pretty useful component, also very cool for wicket to have these kinds of components it makes it more complete. I could help if you want to, I saw some places where I could get an idea on howto add the slider, or we could just get the google one. But I do think I would need your help in order to continue in the same mindstream. sure, we can work together and see what needs to be done. I think you could use templating some of the places where you now use string buffer, but im not sure. yes, JS templating fits better here, rather than concatenating strings again and again. As the component are now, could'nt I add gmap markers via ajax? well, you can do it somehow, there is a list that contains all overlays to be displayed, as long as you add new items to that list and re-render the entire panel and it should work. Are there any way to display a custom gIcon instead of the standard one? as far as i remember there is a GIcon class that is supposed to do this but was never used till know. just the concept is there. regards Nino /iulian Iulian Costan wrote: On 5/7/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Iulian Are you still the sole contibutor behind this component? well, it seems so but i didnt really maintain this project for quite a while. Are you planing any new features? Would be nice to have a slider on the map aswell. i dont know what to say about new features, there were one more person who asked for dynamically added gmap markers. the component itself needs big refactoring to be able to add new google map features. Im currently getting familiar with the component
Re: [Wicket-user] Wicket-stuff GMAP
Eeek. I have to use java 1.4, we need to have a branch for 1.4 and aswell for it to work for me. I've already managed to update to gmap2 and add below features in the 1.5 version. I've also converted the 1.5 to an 1.4 so when I get commit access I will make the to versions. Currently Im looking at making custom GIcons, this feature fill come into the 1.4 first as this is my primary focus. When I've added the gmarkermanager aswell I'll convert the stuff to 1.5 regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Iulian I'll start to upgrade the current 1.2 branch to be using the newest version of googlemaps. That will mean that I'll add support for these controls(I think two of them are already supported): * |GLargeMapControl| - a large pan/zoom control used on Google Maps. Appears in the top left corner of the map. * |GSmallMapControl| - a smaller pan/zoom control used on Google Maps. Appears in the top left corner of the map. * |GSmallZoomControl| - a small zoom control (no panning controls) used in the small map blowup windows used to display driving directions steps on Google Maps. * |GScaleControl| - a map scale * |GMapTypeControl| - buttons that let the user toggle between map types (such as Map and Satellite) * |GOverviewMapControl| - a collapsible overview map in the corner of the screen Also I'll be looking into markers manager and see if I can add that. I plan todo this before you come back from your vacation, so that you may continue upgrading to the 1.3 branch. regards Nino Iulian Costan wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ok:) I think we need to have a GMarker constructor that takes a GIcon also, I can see that you have already prepared the GMarker class for this. We could also create some off the shelf GIcons and package them, that might come in handy? I could do this, as the project Im on now needs some basic ones. So when I go over them I could just add em. need to add JS code as well to support custom GIcons About the the List containing the overlays. Would it work if I cleared the list, added some new overlays and re rendered? well, i've never tried, not sure what to say, but the generated JS code is part of the outer gmap panel, the entry point is initGMAP() method that get called on page's onLoad event. as well in 1.3 on ajax event we can call that method to re-init entire map, maybe a cleanup map is needed before. please try and see if it works. How do we proceed, I guess we should be working on the 1.2 branch as the 1.3 are still beta? as eelco said 1.3 for sure, maybe both. regards Nino Iulian Costan wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think its a pretty useful component, also very cool for wicket to have these kinds of components it makes it more complete. I could help if you want to, I saw some places where I could get an idea on howto add the slider, or we could just get the google one. But I do think I would need your help in order to continue in the same mindstream. sure, we can work together and see what needs to be done. I think you could use templating some of the places where you now use string buffer, but im not sure. yes, JS templating fits better here, rather than concatenating strings again and again. As the component are now, could'nt I add gmap markers via ajax? well, you can do it somehow, there is a list that contains all overlays to be displayed, as long as you add new items to that list and re-render the entire panel and it should work. Are there any way to display a custom gIcon instead of the standard one? as far as i remember there is a GIcon class that is supposed to do this but was never used till know. just the concept is there. regards Nino /iulian Iulian Costan wrote: On 5/7/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Iulian Are you still the sole contibutor behind this component? well, it seems so but i didnt really maintain this project for quite a while
Re: [Wicket-user] Query String passing
You need to grasp the concept of models, please see http://cwiki.apache.org/WICKET/working-with-wicket-models.html and this for an example. http://wicketstuff.org/wicket13/forminput/ edward durai wrote: Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I click submit button goto another page that is two.jsp. I can get username field using request.getParameter(username); But In Wicket, How can I do it the same process? Please explain. Thanking You. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] XML Parsing
I think I would check xstream out. http://xstream.codehaus.org/ edward durai wrote: Hi Wicket Experts, I have one xml file, like Personal Information usernameDavid/username addressUSA/address /Personal Information I want to parse username and its value and address value. Is it possible in wicket? If Yes How? Thanking You Edward - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket/GMAP 1.2.6 trouble with ajax
Super and excellent, whats left for me todo then?:) regards Nino Iulian Costan wrote: take a look in gmap examples as well to see how it works and what needs to be added to ajax target. /iulian On 5/8/07, *Iulian Costan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: fixed in 1.2 branch, please do an update and you should be able to add/remove gmarkers via ajax calls. next days i'll be on short vacation but once i am back in i'll port it to 1.3 as well. /iulian On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well it works better. No exception now, the browser receives the new ajax response but the gmappanel does not render or is non visible? After a closer look this part of the ajax response seems strange: map.addOverlay(createMarker11121872332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); They are all referring to the same method, looks like the idea are to have separate functions for each marker? And it does not somehow manage to pickup or create the new methods but instead it only adds the old one? Found out what caused this, I added different gmarkers but their location was almost the same(,0001) difference. We might want to look into this and generate a more sensible id. But the component still does not render... Do you want the quickstart project to take a closer look at? And yes I am working on 1.2.6, but I could switch to 1.3 beta if required. Iulian Costan wrote: in populateMAP method you create new GMapPanel instance that gets added to ajax target. there is no need to create new panel everytime, try to keep only one instance of GMapPanel that will be re-rendered using ajax. more in ajax handler method just add new GMarker to existing list like this: 1. @Override 2. protected void onUpdate( AjaxRequestTarget target) { 3. gmap.getOverlays().add(new GMarker(...)); 4. target. addComponent(gmapPanel); 5. } let me know if it works or not, i can take a closer look, as far as i can see you work on 1.2.* code base right ? /iulian On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Im getting this error when trying to add my updated gmap: ERROR - RequestCycle - markupId cannot be empty java.lang.IllegalArgumentException: markupId cannot be empty at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:217) at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:201) at wicket.quickstart.Index$1.onUpdate(Index.java:75) at wicket.ajax.markup.html.form.AjaxCheckBox$1.onUpdate(AjaxCheckBox.java:64) at wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:139) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:167) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest (AbstractDefaultAjaxBehavior.java:236) Please note that I have set outputmarkupid to true. You can see the java code here: http://pastebin.ca/476843 but basically its this code it complains about: protected void onUpdate(AjaxRequestTarget target) { GMapPanel populatedMap = populateMap(); if (populatedMap != null) { target.addComponent(populatedMap); } and possibly: private final GMapPanel populateMap() { if (filterModel.isDisplayHotel()) { // add gmarkers here GPoint center = gmap.getCenter(); int zoomLevel = gmap.getZoomLevel(); gmap = new GMap(center, zoomLevel); GMarker hotel = new GMarker(new GPoint(-112.1872f , 33.2765f), new Label(gmarkerInfo, Hotel)); gmap.addOverlay(hotel
Re: [Wicket-user] Preventing DropDownChoice to reload the choice list on submit
Hi Dimitrio The solution(possibly) to your first problem are to call flush on your hibernate session. Altthough im far from a hibernate expert, this solved our problems with that kind of exception. You could also try merge(), im afraid im just guessing at this point. regards Nino Dimitrio wrote: Hello All, I am evaluating the possibility to use the Wicket / Spring / Hibernate stack for my next project (Spring / Hibernate being used for the middle tier + OpenSessionInViewFilter). Let me describe a simple test scenario that I am trying to implement - a City Editor panel. The panel contains a text field with a city name and a drop down choice with the available countries. The domain model (mapped to the DB via Hibernate) is the following: City - Long id; String name; @Cascade(SAVE_UPDATE) Country country; Country Long id; String isoCode; String name; Upon construction, the Country drop down choice for the panel is provided with a LoadableDetachableModel that loads a list of all available countries from a CountryDao. The form itself has a CompoundPropertyModel for the city being edited. The page renders just fine, the country list is correctly reloaded upon F5 - everything as expected. However, when the user clicks Submit, the form component reloads the country list again (so the list ends up in the new Hibernate session cache) and when I try to save the city in onSubmit, I sometimes get a Hibernate exception with the following message: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6] This exception only occurs if the user does not change the city's country. In that case the Country instance referenced by the city is different from the corresponding instance in Hibernate session cache and the SAVE_UPDATE cascading fails. So, my first question is whether there is a way to avoid this exception? The second thing is that I do not generally want all my reference data being completely reloaded on every submit. I really liked the way property editors were used in Spring to retrieve and validate reference data for such scenarios. In Spring I would have a CountryPropertyEditor that would retrieve the Country instance by an ISO code or ID and assign it to the city. So in Spring the submit would result in 2 statements like below: select from country where id=... update city where id=... and avoid the duplicate instances problem altogether. So, the second question is whether there is a way to not reload all the reference data upon submit? How do you address such scenarios in your Wicket applications? Many thanks! --Dimitrio - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket/GMAP 1.2.6 trouble with ajax
This works nicely. Although I would very much like for the gmap to be updated with a new gpoint/zoomlevel when the user moves the map around or zoooms in/out. That way i'll be able to tell which new overlays I should put on the map based on the coords and/or zoomlevel. Is this hard to implement? Im thinking that we could just use the ajaxFormSubmit and onclick thingy, we might have the need to have 3 hidden fields where we store zoomlevel, latitude and longtitude. Also some additional js are needed to update these fields i guess? I'll look a little further at it, while you are on vacation(hoping its a good one):) Another thing im a little unsecure about are the please wait text that comes up when you click the marker for the second time, it just hangs there? regards Nino Iulian Costan wrote: take a look in gmap examples as well to see how it works and what needs to be added to ajax target. /iulian On 5/8/07, *Iulian Costan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: fixed in 1.2 branch, please do an update and you should be able to add/remove gmarkers via ajax calls. next days i'll be on short vacation but once i am back in i'll port it to 1.3 as well. /iulian On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Well it works better. No exception now, the browser receives the new ajax response but the gmappanel does not render or is non visible? After a closer look this part of the ajax response seems strange: map.addOverlay(createMarker11121872332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); They are all referring to the same method, looks like the idea are to have separate functions for each marker? And it does not somehow manage to pickup or create the new methods but instead it only adds the old one? Found out what caused this, I added different gmarkers but their location was almost the same(,0001) difference. We might want to look into this and generate a more sensible id. But the component still does not render... Do you want the quickstart project to take a closer look at? And yes I am working on 1.2.6, but I could switch to 1.3 beta if required. Iulian Costan wrote: in populateMAP method you create new GMapPanel instance that gets added to ajax target. there is no need to create new panel everytime, try to keep only one instance of GMapPanel that will be re-rendered using ajax. more in ajax handler method just add new GMarker to existing list like this: 1. @Override 2. protected void onUpdate( AjaxRequestTarget target) { 3. gmap.getOverlays().add(new GMarker(...)); 4. target. addComponent(gmapPanel); 5. } let me know if it works or not, i can take a closer look, as far as i can see you work on 1.2.* code base right ? /iulian On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Im getting this error when trying to add my updated gmap: ERROR - RequestCycle - markupId cannot be empty java.lang.IllegalArgumentException: markupId cannot be empty at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:217) at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:201) at wicket.quickstart.Index$1.onUpdate(Index.java:75) at wicket.ajax.markup.html.form.AjaxCheckBox$1.onUpdate(AjaxCheckBox.java:64) at wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:139) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:167) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest (AbstractDefaultAjaxBehavior.java:236) Please note that I have set outputmarkupid to true. You can see the java code here: http://pastebin.ca/476843 but basically its this code it complains about: protected void onUpdate(AjaxRequestTarget target
Re: [Wicket-user] Preventing DropDownChoice to reload the choice list on submit
np. I think it's a good question you have there. You could make your model load method check if it were called via submit or not, you might do this via an hidden field and the updating it when the user clicks the submit button. Im not sure when wicket loads the values, im guessing after the submit has been processed right? Although this does not feel like the wicket way approach. Dimitrio wrote: Hello, Nino. Thanks for a quick reply! I think clearing the Hibernate session cache (via Session.clear()) before saving the city will work for me in this case. However the second concern remains. Consider a complex form with tens of drop down choice or list components. I want them loaded once (during the rendering phase) or reloaded upon page refresh (when the user refreshes a page, they expect to see fresh reference data). During submit I would try to avoid sucking in all that data from the database again. I wonder if there is a solution to that or maybe some Wicket design pattern to approach such situations. Best regards, Dimitrio On 5/9/07, * Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Dimitrio The solution(possibly) to your first problem are to call flush on your hibernate session. Altthough im far from a hibernate expert, this solved our problems with that kind of exception. You could also try merge(), im afraid im just guessing at this point. regards Nino Dimitrio wrote: Hello All, I am evaluating the possibility to use the Wicket / Spring / Hibernate stack for my next project (Spring / Hibernate being used for the middle tier + OpenSessionInViewFilter). Let me describe a simple test scenario that I am trying to implement - a City Editor panel. The panel contains a text field with a city name and a drop down choice with the available countries. The domain model (mapped to the DB via Hibernate) is the following: City - Long id; String name; @Cascade(SAVE_UPDATE) Country country; Country Long id; String isoCode; String name; Upon construction, the Country drop down choice for the panel is provided with a LoadableDetachableModel that loads a list of all available countries from a CountryDao. The form itself has a CompoundPropertyModel for the city being edited. The page renders just fine, the country list is correctly reloaded upon F5 - everything as expected. However, when the user clicks Submit, the form component reloads the country list again (so the list ends up in the new Hibernate session cache) and when I try to save the city in onSubmit, I sometimes get a Hibernate exception with the following message: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6] This exception only occurs if the user does not change the city's country. In that case the Country instance referenced by the city is different from the corresponding instance in Hibernate session cache and the SAVE_UPDATE cascading fails. So, my first question is whether there is a way to avoid this exception? The second thing is that I do not generally want all my reference data being completely reloaded on every submit. I really liked the way property editors were used in Spring to retrieve and validate reference data for such scenarios. In Spring I would have a CountryPropertyEditor that would retrieve the Country instance by an ISO code or ID and assign it to the city. So in Spring the submit would result in 2 statements like below: select from country where id=... update city where id=... and avoid the duplicate instances problem altogether. So, the second question is whether there is a way to not reload all the reference data upon submit? How do you address such scenarios in your Wicket applications? Many thanks! --Dimitrio - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2
Re: [Wicket-user] Preventing DropDownChoice to reload the choice list on submit
BTW, we did this on my last project and hibernate was not a limiting factor. regards Nino Wilko Hische wrote: Hi Dimitrio, You may want to have a look at this reply (and thread): http://www.nabble.com/Wicket---Hibernate---Application-Transactions-tf1947542.html#a5349464 In short, it *does* recommend reloading your city as well per request (in combination with a second level cache). The performance hit might be less then you would expect and the pattern obviously is much simpler. Best regards, Wilko Hische Dimitrio wrote: Hello, Nino. Thanks for a quick reply! I think clearing the Hibernate session cache (via Session.clear()) before saving the city will work for me in this case. However the second concern remains. Consider a complex form with tens of drop down choice or list components. I want them loaded once (during the rendering phase) or reloaded upon page refresh (when the user refreshes a page, they expect to see fresh reference data). During submit I would try to avoid sucking in all that data from the database again. I wonder if there is a solution to that or maybe some Wicket design pattern to approach such situations. Best regards, Dimitrio On 5/9/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Dimitrio The solution(possibly) to your first problem are to call flush on your hibernate session. Altthough im far from a hibernate expert, this solved our problems with that kind of exception. You could also try merge(), im afraid im just guessing at this point. regards Nino Dimitrio wrote: Hello All, I am evaluating the possibility to use the Wicket / Spring / Hibernate stack for my next project (Spring / Hibernate being used for the middle tier + OpenSessionInViewFilter). Let me describe a simple test scenario that I am trying to implement - a City Editor panel. The panel contains a text field with a city name and a drop down choice with the available countries. The domain model (mapped to the DB via Hibernate) is the following: City - Long id; String name; @Cascade(SAVE_UPDATE) Country country; Country Long id; String isoCode; String name; Upon construction, the Country drop down choice for the panel is provided with a LoadableDetachableModel that loads a list of all available countries from a CountryDao. The form itself has a CompoundPropertyModel for the city being edited. The page renders just fine, the country list is correctly reloaded upon F5 - everything as expected. However, when the user clicks Submit, the form component reloads the country list again (so the list ends up in the new Hibernate session cache) and when I try to save the city in onSubmit, I sometimes get a Hibernate exception with the following message: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [test.wicket.Country#6] This exception only occurs if the user does not change the city's country. In that case the Country instance referenced by the city is different from the corresponding instance in Hibernate session cache and the SAVE_UPDATE cascading fails. So, my first question is whether there is a way to avoid this exception? The second thing is that I do not generally want all my reference data being completely reloaded on every submit. I really liked the way property editors were used in Spring to retrieve and validate reference data for such scenarios. In Spring I would have a CountryPropertyEditor that would retrieve the Country instance by an ISO code or ID and assign it to the city. So in Spring the submit would result in 2 statements like below: select from country where id=... update city where id=... and avoid the duplicate instances problem altogether. So, the second question is whether there is a way to not reload all the reference data upon submit? How do you address such scenarios in your Wicket applications? Many thanks! --Dimitrio - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email
Re: [Wicket-user] Wicket-stuff GMAP
I think its a pretty useful component, also very cool for wicket to have these kinds of components it makes it more complete. I could help if you want to, I saw some places where I could get an idea on howto add the slider, or we could just get the google one. But I do think I would need your help in order to continue in the same mindstream. I think you could use templating some of the places where you now use string buffer, but im not sure. As the component are now, could'nt I add gmap markers via ajax? Are there any way to display a custom gIcon instead of the standard one? regards Nino Iulian Costan wrote: On 5/7/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Iulian Are you still the sole contibutor behind this component? well, it seems so but i didnt really maintain this project for quite a while. Are you planing any new features? Would be nice to have a slider on the map aswell. i dont know what to say about new features, there were one more person who asked for dynamically added gmap markers. the component itself needs big refactoring to be able to add new google map features. Im currently getting familiar with the component. regards Nino let's see what can be done. /iulian Iulian Costan wrote: where did you checked out gmap sources from? trunk? i dont know if any wicket 1.3 artifacts are deployed somewhere, but you can checkout wicket source code as well and build it for yourself as a quick workaround. or you can get gmap code from 1.2 branch, that depends on 1.2.* wicket that is available on central repository for sure. /iulian On 5/3/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Obvoiusly I've tried the 1.3 beta1 release but its not in the maven repo yet. Nino Saturnino Martinez Vazquez Wael wrote: Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency: dependency groupId org.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-incubating-SNAPSHOT/version /dependency ...dependency Does anybody have a jar or a working source, how do I solve this? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ http://sourceforge.net/powerbar/db2
Re: [Wicket-user] Send files with Wicket
Hi Galbu Could you rephraise your question, please? I got lost somewhere around where you asked about dragging and dropping? regards Nino galbu wrote: Hello world, I have a problem...I need to update a table reading data from a file Excel: I'm able to read and save the file from a specific fold on my computer to the db, but now I want that the final user of the application could choose which file save browsing his data folders and selecting it in the same way we do with attachments for an e-mail. Does anyone give me some ideas on which is the correct way to do that or which are the Wicket's components I must use? Thanks in advance - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] expression to get property
I think you need to use reflection for that part or/and implementing your own abstract model. This approach has spared me some trouble earlier on. If you want to I could dig up some examples... regards Nino ywtsang wrote: it is easy to reference the property of a model by using java bean notation as: add(new Label(name, new PropertyModel(myModel, name))); (get the value of name property from the myModel) what about if I want to insert some parameters in my property getter method? e.g. I have a getter method: String getName(int) is it possible to use this getter method by passing an integer value in PropertyModel? -Wing - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Send files with Wicket
no problem, I see Frank was a little quicker to answer than I was:) galbu wrote: Hi Nino thanks for interesting in my problem... I try to explain better what I need: I'm developing an application that allows to upload some report files in a db so I want to create a page like a ChooseFile in which there is a form with a button Browse that shows (on click) the folders' tree to the user and allows him to have the correct localization path of the file he wants to write on the db. I think it's a standard function for a web application, but I have not any example to do something like that with Wicket... I hope it's more clear Thanks in advance Galbu Nino Saturnino Martinez Vazquez Wael wrote: Hi Galbu Could you rephraise your question, please? I got lost somewhere around where you asked about dragging and dropping? regards Nino galbu wrote: Hello world, I have a problem...I need to update a table reading data from a file Excel: I'm able to read and save the file from a specific fold on my computer to the db, but now I want that the final user of the application could choose which file save browsing his data folders and selecting it in the same way we do with attachments for an e-mail. Does anyone give me some ideas on which is the correct way to do that or which are the Wicket's components I must use? Thanks in advance - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket app under websphere problem
Did you use any servlet context listeners? shumbola wrote: Hello, After migrating to 1.3 I decided to test if my application still works under Web Sphere 6.0. And I'm getting this error: SRVE0026E: [Servlet Error]-[Filter [MyApplication]: could not be initialized]: org.apache.wicket.WicketRuntimeException: Unable to create application of class com.nemat.MyApplication at java.lang.Throwable.init(Throwable.java:217) at java.lang.Exception.init(Exception.java:59) at java.lang.RuntimeException.init(RuntimeException.java:61) at org.apache.wicket.WicketRuntimeException.init(WicketRuntimeException.java:50) at org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:83) at org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:50) at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:375) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.init(FilterInstanceWrapper.java:109) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:326) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:152) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterChain(WebAppFilterManager.java:200) at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:764) at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:581) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2965) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1931) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:593) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1447) Caused by: java.lang.ClassNotFoundException: com.nemat.MyApplication at java.lang.Throwable.init(Throwable.java:217) at java.lang.Exception.init(Exception.java:59) at java.lang.ClassNotFoundException.init(ClassNotFoundException.java:65) at java.net.URLClassLoader.findClass(URLClassLoader.java:220) at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:110) at java.lang.ClassLoader.loadClass(ClassLoader.java:317) at java.lang.ClassLoader.loadClass(ClassLoader.java:263) at org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:69) ... 21 more With wicket 1.2 with wicket servlet it was working ok. Is this class loading problem due to wicket 1.3 filter? The only difference in my app now is that I've migrated it to the 1.3, and instead of commons-logging am using slf4j now. Do you have any idea idea how to solve this problem? Thanks! -- Regards shumbola - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Send files with Wicket
I think 1.2 are down, so you cant really access it any more? Frank Bille wrote: Yes Galbu if you use Wicket 1.3 (beta) then look at http://wicketstuff.org/wicket13/upload/single http://wicketstuff.org/wicket13/ If you use 1.2 it's http://www.wicket-library.com/wicket-examples/upload -- Frank On 5/8/07, *Johan Compagner* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: wicket - library is not really updated anymore: look for the latest examples here: http://wicketstuff.org/wicket13/ On 5/8/07, *Frank Bille* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Galbu It sounds like you are looking for FileUploadField: http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/upload/FileUploadField.html http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/upload/FileUploadField.html Take a look at the examples: http://www.wicket-library.com/wicket-examples/upload http://www.wicket-library.com/wicket-examples/upload -- Frank On 5/7/07, *galbu* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello world, I have a problem...I need to update a table reading data from a file Excel: I'm able to read and save the file from a specific fold on my computer to the db, but now I want that the final user of the application could choose which file save browsing his data folders and selecting it in the same way we do with attachments for an e-mail. Does anyone give me some ideas on which is the correct way to do that or which are the Wicket's components I must use? Thanks in advance -- View this message in context: http://www.nabble.com/Send-files-with-Wicket-tf3704527.html#a10359759 http://www.nabble.com/Send-files-with-Wicket-tf3704527.html#a10359759 Sent from the Wicket - User mailing list archive at Nabble.com http://Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing
[Wicket-user] wicket/GMAP 1.2.6 trouble with ajax
Hi Im getting this error when trying to add my updated gmap: ERROR - RequestCycle - markupId cannot be empty java.lang.IllegalArgumentException: markupId cannot be empty at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:217) at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:201) at wicket.quickstart.Index$1.onUpdate(Index.java:75) at wicket.ajax.markup.html.form.AjaxCheckBox$1.onUpdate(AjaxCheckBox.java:64) at wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:139) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:167) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:236) Please note that I have set outputmarkupid to true. You can see the java code here: http://pastebin.ca/476843 but basically its this code it complains about: protected void onUpdate(AjaxRequestTarget target) { GMapPanel populatedMap = populateMap(); if (populatedMap != null) { target.addComponent(populatedMap); } and possibly: private final GMapPanel populateMap() { if (filterModel.isDisplayHotel()) { // add gmarkers here GPoint center = gmap.getCenter(); int zoomLevel = gmap.getZoomLevel(); gmap = new GMap(center, zoomLevel); GMarker hotel = new GMarker(new GPoint(-112.1872f, 33.2765f), new Label(gmarkerInfo, Hotel)); gmap.addOverlay(hotel); GMapPanel gMapPanel = new GMapPanel(gmap, gmap, 800, 600, quickStartGmap_8080_Key); gMapPanel.setOutputMarkupId(true); return gMapPanel; } return null; } regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Send files with Wicket
yes I know, but the 2nd time I went to check it was dead and still are. I see that johan has mailed another link to use instead i guess:) Frank Bille wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think 1.2 are down, so you cant really access it any more? It's very recent then. When I posted the link it worked. Frank - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket app under websphere problem
ok, thats a dead end then, I once saw this problem because there was an exception in a servlet context listener. However this was pre 1.3 shumbola wrote: Hello Nino, Did you use any servlet context listeners? Do I use any servlet context listener? No, I'm not using any. And never did. shumbola wrote: Hello, After migrating to 1.3 I decided to test if my application still works under Web Sphere 6.0. And I'm getting this error: SRVE0026E: [Servlet Error]-[Filter [MyApplication]: could not be initialized]: [skipped] -- Regards, shumbola - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff GMAP
Ok:) I think we need to have a GMarker constructor that takes a GIcon also, I can see that you have already prepared the GMarker class for this. We could also create some off the shelf GIcons and package them, that might come in handy? I could do this, as the project Im on now needs some basic ones. So when I go over them I could just add em. About the the List containing the overlays. Would it work if I cleared the list, added some new overlays and re rendered? How do we proceed, I guess we should be working on the 1.2 branch as the 1.3 are still beta? regards Nino Iulian Costan wrote: On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think its a pretty useful component, also very cool for wicket to have these kinds of components it makes it more complete. I could help if you want to, I saw some places where I could get an idea on howto add the slider, or we could just get the google one. But I do think I would need your help in order to continue in the same mindstream. sure, we can work together and see what needs to be done. I think you could use templating some of the places where you now use string buffer, but im not sure. yes, JS templating fits better here, rather than concatenating strings again and again. As the component are now, could'nt I add gmap markers via ajax? well, you can do it somehow, there is a list that contains all overlays to be displayed, as long as you add new items to that list and re-render the entire panel and it should work. Are there any way to display a custom gIcon instead of the standard one? as far as i remember there is a GIcon class that is supposed to do this but was never used till know. just the concept is there. regards Nino /iulian Iulian Costan wrote: On 5/7/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Iulian Are you still the sole contibutor behind this component? well, it seems so but i didnt really maintain this project for quite a while. Are you planing any new features? Would be nice to have a slider on the map aswell. i dont know what to say about new features, there were one more person who asked for dynamically added gmap markers. the component itself needs big refactoring to be able to add new google map features. Im currently getting familiar with the component. regards Nino let's see what can be done. /iulian Iulian Costan wrote: where did you checked out gmap sources from? trunk? i dont know if any wicket 1.3 artifacts are deployed somewhere, but you can checkout wicket source code as well and build it for yourself as a quick workaround. or you can get gmap code from 1.2 branch, that depends on 1.2.* wicket that is available on central repository for sure. /iulian On 5/3/07, *Nino Saturnino Martinez Vazquez Wael * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Obvoiusly I've tried the 1.3 beta1 release but its not in the maven repo yet. Nino Saturnino Martinez Vazquez Wael wrote: Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency: dependency groupId org.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-incubating-SNAPSHOT/version /dependency ...dependency Does anybody have a jar or a working source, how do I solve this? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get
Re: [Wicket-user] wicket/GMAP 1.2.6 trouble with ajax
Well it works better. No exception now, the browser receives the new ajax response but the gmappanel does not render or is non visible? After a closer look this part of the ajax response seems strange: map.addOverlay(createMarker11121872332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); map.addOverlay(createMarker11121873332765()); They are all referring to the same method, looks like the idea are to have separate functions for each marker? And it does not somehow manage to pickup or create the new methods but instead it only adds the old one? Found out what caused this, I added different gmarkers but their location was almost the same(,0001) difference. We might want to look into this and generate a more sensible id. But the component still does not render... Do you want the quickstart project to take a closer look at? And yes I am working on 1.2.6, but I could switch to 1.3 beta if required. Iulian Costan wrote: in populateMAP method you create new GMapPanel instance that gets added to ajax target. there is no need to create new panel everytime, try to keep only one instance of GMapPanel that will be re-rendered using ajax. more in ajax handler method just add new GMarker to existing list like this: 1. @Override 2. protected void onUpdate( AjaxRequestTarget target) { 3. gmap.getOverlays().add(new GMarker(...)); 4. target. addComponent(gmapPanel); 5. } let me know if it works or not, i can take a closer look, as far as i can see you work on 1.2.* code base right ? /iulian On 5/8/07, *Nino Saturnino Martinez Vazquez Wael* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Im getting this error when trying to add my updated gmap: ERROR - RequestCycle - markupId cannot be empty java.lang.IllegalArgumentException: markupId cannot be empty at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:217) at wicket.ajax.AjaxRequestTarget.addComponent(AjaxRequestTarget.java:201) at wicket.quickstart.Index$1.onUpdate(Index.java:75) at wicket.ajax.markup.html.form.AjaxCheckBox$1.onUpdate(AjaxCheckBox.java:64) at wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:139) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:167) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest (AbstractDefaultAjaxBehavior.java:236) Please note that I have set outputmarkupid to true. You can see the java code here: http://pastebin.ca/476843 but basically its this code it complains about: protected void onUpdate(AjaxRequestTarget target) { GMapPanel populatedMap = populateMap(); if (populatedMap != null) { target.addComponent(populatedMap); } and possibly: private final GMapPanel populateMap() { if (filterModel.isDisplayHotel()) { // add gmarkers here GPoint center = gmap.getCenter(); int zoomLevel = gmap.getZoomLevel(); gmap = new GMap(center, zoomLevel); GMarker hotel = new GMarker(new GPoint(-112.1872f , 33.2765f), new Label(gmarkerInfo, Hotel)); gmap.addOverlay(hotel); GMapPanel gMapPanel = new GMapPanel(gmap, gmap, 800, 600, quickStartGmap_8080_Key); gMapPanel.setOutputMarkupId(true); return gMapPanel; } return null; } regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2
Re: [Wicket-user] Wicket-stuff GMAP
ok. I'll see if I manage to make maven work.. Eelco Hillenius wrote: How do we proceed, I guess we should be working on the 1.2 branch as the 1.3 are still beta? If you can, please work on the 1.3 version (trunk). Much improved, and it will be the version-to-use pretty soon. Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff GMAP
did i say thanks? thank you anyway:) Erik van Oosten wrote: Nino, There is a special repository for the snapshots. You can find instructions on http://incubator.apache.org/wicket/building-from-svn.html. Regards, Erik. Nino Saturnino Martinez Vazquez Wael schreef: Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-incubating-SNAPSHOT/version /dependency ...dependency Does anybody have a jar or a working source, how do I solve this? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user