Re: Image auto-resize in browser
Tried the filter, doesn't change From: Andrew Lombardi To: users@wicket.apache.org Sent: Sat, January 30, 2010 10:12:09 PM Subject: Re: Image auto-resize in browser try it with the filter, it could be that because it's passing through the servlet Wicket is modifying something on the other end. The filter should leave it alone On Jan 30, 2010, at 7:08 PM, Matt Zemeck wrote: > Wicket Servlet. Its a big image but in the end thats what the use case calls > for. > > > > > From: Andrew Lombardi > To: "users@wicket.apache.org" > Cc: "users@wicket.apache.org" > Sent: Sat, January 30, 2010 9:45:19 PM > Subject: Re: Image auto-resize in browser > > Is wicket somehow inhibiting this functionality? I would think it's not the > best user experience to force a user to download something larger than the > viewing image. Is this being served through wicket filter inside the webapp? > > Sent from my iPhone > > On Jan 30, 2010, at 6:15 PM, Matt Zemeck wrote: > >> There is a feature of IE that resizes large images automatically. When you >> hover over the image you can click to expand it to actual size. This >> feature is not working for my images. >> >> >> >> >> >> >> >> >> From: Andrew Lombardi >> To: users@wicket.apache.org >> Sent: Sat, January 30, 2010 9:04:26 PM >> Subject: Re: Image auto-resize in browser >> >> Can you be a little more specific? Are you resizing using a resource? What >> does your img tag look like in HTML? >> >> On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: >> >>> The images rendered by my page don't auto-resize (very large image) in the >>> browser. I have the setting enabled in IE and if I manually go to the >>> generated src value url they do auto-resize. The generated tags >>> looks fine. Any ideas? >>> >>> >> >> >> To our success! >> >> Mystic Coders, LLC | Code Magic | www.mysticcoders.com >> >> "Apache Wicket Training to get your team off on the right start!" >> >> ANDREW LOMBARDI | and...@mysticcoders.com >> 2321 E 4th St. Ste C-128, Santa Ana CA 92705 >> ofc: 714-816-4488 >> fax: 714-782-6024 >> cell: 714-697-8046 >> linked-in: http://www.linkedin.com/in/andrewlombardi >> twitter: http://www.twitter.com/kinabalu >> >> Eco-Tip: Printing e-mails is usually a waste. >> >> >> This message is for the named person's use only. You must not, directly or >> indirectly, use, >> disclose, distribute, print, or copy any part of this message if you are not >> the intended recipient. >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Re: Image auto-resize in browser
The autoresize can be turned off in IE so a longer term solution might be to add some onHover/onClick handlers to do what you require, rather than making the resize behaviour IE specific. http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/autoresize.mspx cheers, Steve On 31/01/2010, at 2:08 PM, Matt Zemeck wrote: > Wicket Servlet. Its a big image but in the end thats what the use case calls > for. > > > > > From: Andrew Lombardi > To: "users@wicket.apache.org" > Cc: "users@wicket.apache.org" > Sent: Sat, January 30, 2010 9:45:19 PM > Subject: Re: Image auto-resize in browser > > Is wicket somehow inhibiting this functionality? I would think it's not the > best user experience to force a user to download something larger than the > viewing image. Is this being served through wicket filter inside the webapp? > > Sent from my iPhone > > On Jan 30, 2010, at 6:15 PM, Matt Zemeck wrote: > >> There is a feature of IE that resizes large images automatically. When you >> hover over the image you can click to expand it to actual size. This >> feature is not working for my images. >> >> >> >> >> >> >> >> >> From: Andrew Lombardi >> To: users@wicket.apache.org >> Sent: Sat, January 30, 2010 9:04:26 PM >> Subject: Re: Image auto-resize in browser >> >> Can you be a little more specific? Are you resizing using a resource? What >> does your img tag look like in HTML? >> >> On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: >> >>> The images rendered by my page don't auto-resize (very large image) in the >>> browser. I have the setting enabled in IE and if I manually go to the >>> generated src value url they do auto-resize. The generated tags >>> looks fine. Any ideas? >>> >>> >> >> >> To our success! >> >> Mystic Coders, LLC | Code Magic | www.mysticcoders.com >> >> "Apache Wicket Training to get your team off on the right start!" >> >> ANDREW LOMBARDI | and...@mysticcoders.com >> 2321 E 4th St. Ste C-128, Santa Ana CA 92705 >> ofc: 714-816-4488 >> fax: 714-782-6024 >> cell: 714-697-8046 >> linked-in: http://www.linkedin.com/in/andrewlombardi >> twitter: http://www.twitter.com/kinabalu >> >> Eco-Tip: Printing e-mails is usually a waste. >> >> >> This message is for the named person's use only. You must not, directly or >> indirectly, use, >> disclose, distribute, print, or copy any part of this message if you are not >> the intended recipient. >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > smime.p7s Description: S/MIME cryptographic signature
Re: Image auto-resize in browser
try it with the filter, it could be that because it's passing through the servlet Wicket is modifying something on the other end. The filter should leave it alone On Jan 30, 2010, at 7:08 PM, Matt Zemeck wrote: > Wicket Servlet. Its a big image but in the end thats what the use case calls > for. > > > > > From: Andrew Lombardi > To: "users@wicket.apache.org" > Cc: "users@wicket.apache.org" > Sent: Sat, January 30, 2010 9:45:19 PM > Subject: Re: Image auto-resize in browser > > Is wicket somehow inhibiting this functionality? I would think it's not the > best user experience to force a user to download something larger than the > viewing image. Is this being served through wicket filter inside the webapp? > > Sent from my iPhone > > On Jan 30, 2010, at 6:15 PM, Matt Zemeck wrote: > >> There is a feature of IE that resizes large images automatically. When you >> hover over the image you can click to expand it to actual size. This >> feature is not working for my images. >> >> >> >> >> >> >> >> >> From: Andrew Lombardi >> To: users@wicket.apache.org >> Sent: Sat, January 30, 2010 9:04:26 PM >> Subject: Re: Image auto-resize in browser >> >> Can you be a little more specific? Are you resizing using a resource? What >> does your img tag look like in HTML? >> >> On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: >> >>> The images rendered by my page don't auto-resize (very large image) in the >>> browser. I have the setting enabled in IE and if I manually go to the >>> generated src value url they do auto-resize. The generated tags >>> looks fine. Any ideas? >>> >>> >> >> >> To our success! >> >> Mystic Coders, LLC | Code Magic | www.mysticcoders.com >> >> "Apache Wicket Training to get your team off on the right start!" >> >> ANDREW LOMBARDI | and...@mysticcoders.com >> 2321 E 4th St. Ste C-128, Santa Ana CA 92705 >> ofc: 714-816-4488 >> fax: 714-782-6024 >> cell: 714-697-8046 >> linked-in: http://www.linkedin.com/in/andrewlombardi >> twitter: http://www.twitter.com/kinabalu >> >> Eco-Tip: Printing e-mails is usually a waste. >> >> >> This message is for the named person's use only. You must not, directly or >> indirectly, use, >> disclose, distribute, print, or copy any part of this message if you are not >> the intended recipient. >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Re: Image auto-resize in browser
Wicket Servlet. Its a big image but in the end thats what the use case calls for. From: Andrew Lombardi To: "users@wicket.apache.org" Cc: "users@wicket.apache.org" Sent: Sat, January 30, 2010 9:45:19 PM Subject: Re: Image auto-resize in browser Is wicket somehow inhibiting this functionality? I would think it's not the best user experience to force a user to download something larger than the viewing image. Is this being served through wicket filter inside the webapp? Sent from my iPhone On Jan 30, 2010, at 6:15 PM, Matt Zemeck wrote: > There is a feature of IE that resizes large images automatically. When you > hover over the image you can click to expand it to actual size. This feature > is not working for my images. > > > > > > > > > From: Andrew Lombardi > To: users@wicket.apache.org > Sent: Sat, January 30, 2010 9:04:26 PM > Subject: Re: Image auto-resize in browser > > Can you be a little more specific? Are you resizing using a resource? What > does your img tag look like in HTML? > > On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: > >> The images rendered by my page don't auto-resize (very large image) in the >> browser. I have the setting enabled in IE and if I manually go to the >> generated src value url they do auto-resize. The generated tags looks >> fine. Any ideas? >> >> > > > To our success! > > Mystic Coders, LLC | Code Magic | www.mysticcoders.com > > "Apache Wicket Training to get your team off on the right start!" > > ANDREW LOMBARDI | and...@mysticcoders.com > 2321 E 4th St. Ste C-128, Santa Ana CA 92705 > ofc: 714-816-4488 > fax: 714-782-6024 > cell: 714-697-8046 > linked-in: http://www.linkedin.com/in/andrewlombardi > twitter: http://www.twitter.com/kinabalu > > Eco-Tip: Printing e-mails is usually a waste. > > > This message is for the named person's use only. You must not, directly or > indirectly, use, > disclose, distribute, print, or copy any part of this message if you are not > the intended recipient. > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image auto-resize in browser
Is wicket somehow inhibiting this functionality? I would think it's not the best user experience to force a user to download something larger than the viewing image. Is this being served through wicket filter inside the webapp? Sent from my iPhone On Jan 30, 2010, at 6:15 PM, Matt Zemeck wrote: There is a feature of IE that resizes large images automatically. When you hover over the image you can click to expand it to actual size. This feature is not working for my images. From: Andrew Lombardi To: users@wicket.apache.org Sent: Sat, January 30, 2010 9:04:26 PM Subject: Re: Image auto-resize in browser Can you be a little more specific? Are you resizing using a resource? What does your img tag look like in HTML? On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: The images rendered by my page don't auto-resize (very large image) in the browser. I have the setting enabled in IE and if I manually go to the generated src value url they do auto-resize. The generated tags looks fine. Any ideas? To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com "Apache Wicket Training to get your team off on the right start!" ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image auto-resize in browser
There is a feature of IE that resizes large images automatically. When you hover over the image you can click to expand it to actual size. This feature is not working for my images. From: Andrew Lombardi To: users@wicket.apache.org Sent: Sat, January 30, 2010 9:04:26 PM Subject: Re: Image auto-resize in browser Can you be a little more specific? Are you resizing using a resource? What does your img tag look like in HTML? On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: > The images rendered by my page don't auto-resize (very large image) in the > browser. I have the setting enabled in IE and if I manually go to the > generated src value url they do auto-resize. The generated tags looks > fine. Any ideas? > > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com "Apache Wicket Training to get your team off on the right start!" ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Re: Image auto-resize in browser
Can you be a little more specific? Are you resizing using a resource? What does your img tag look like in HTML? On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote: > The images rendered by my page don't auto-resize (very large image) in the > browser. I have the setting enabled in IE and if I manually go to the > generated src value url they do auto-resize. The generated tags looks > fine. Any ideas? > > To our success! Mystic Coders, LLC | Code Magic | www.mysticcoders.com "Apache Wicket Training to get your team off on the right start!" ANDREW LOMBARDI | and...@mysticcoders.com 2321 E 4th St. Ste C-128, Santa Ana CA 92705 ofc: 714-816-4488 fax: 714-782-6024 cell: 714-697-8046 linked-in: http://www.linkedin.com/in/andrewlombardi twitter: http://www.twitter.com/kinabalu Eco-Tip: Printing e-mails is usually a waste. This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.
Image auto-resize in browser
The images rendered by my page don't auto-resize (very large image) in the browser. I have the setting enabled in IE and if I manually go to the generated src value url they do auto-resize. The generated tags looks fine. Any ideas?
Mounting problem with GlassFishv3
Hi, I've an application, which in its web.xml has a 404 page declared: 404 /error/NotFound The filter-mapping for wicket that's why has the ERROR dispatcher. I created a NotFound page and mounted it via: mount("/error", PackageName.forClass(NotFound.class)); and the homepage is mounted via: mountBookmarkablePage("/homepage", HomePage.class); So, if the error page has a bookmarkablepagelink, which is pointing to the Homepage, and I request a wrong URL (e.g. 'asdf'), then the link is 'error/NotFound/homepage' instead of 'homepage'. But when I get the page with error/NotFound the link works just fine. I have a Quickstart app which demonstrates the problem, and it looks like with Jetty and GFv2 it works, but not with GFv3. Should I create a JIRA issue for this? I'm not sure that the web.xml-like errorpage is causing the error or the mount is the problem.. I also checked version-compatibilities, and both with 1.4.1 and 1.3.6 I got the same behaviour. Thanks, Peter - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Stateless AJAX links
Joachim. Thanks a lot got your contribution. Regards, Apple Grew my blog @ http://blog.applegrew.com/ On Sat, Jan 30, 2010 at 3:43 AM, Joachim Kainz wrote: > > I have created a wiki page with my solution for stateless Ajax at > > http://cwiki.apache.org/confluence/display/WICKET/A+StatelessAjaxFallbackLink > . > > > jcompagner-2 wrote: > > > > we dont know that really if it is the respond step > > And normally that getPage() isnt called in wicket when not in a Response > > step > > > > what you do is currently not supported by wicket > > having an ajax behavior request to a stateless page (through a > > BookmarkableListenerInterfaceRequestTarget) > > so i guess the fix is in processEvents is not doing this: > > > > else if (page == null) > > { > > page = getPage(requestCycle); > > } > > > > but > > > > else if (page == null) > > { > > page = newPage(getPageClass(), requestCycle); > > } > > > > johan > > > > > > > > On Mon, Oct 27, 2008 at 7:51 PM, aditsu wrote: > > > >> > >> Hi, I thought about what you said, and debugged some more. Here's what I > >> found out: > >> > >> > >> Johan Compagner wrote: > >> > > >> > RequestCycle.isRedirect() is right, because that is a call that tells > >> us > >> > must i redirect of i get a page redirect > >> > and with ajax this is always the case. > >> > > >> > Problem is that the BookmarkablePageRequestTarget.getPage(RC) should > >> only > >> > create a page when it is not a redirect > >> > And that also correct. > >> > > >> > >> Actually, neither BehaviorRequestTarget nor AjaxRequestTarget ever check > >> for > >> redirect. As long as the target is not changed to something else, the > >> redirect setting is ignored. > >> AFAICT, the redirect-for-ajax thing is there so that *if* the *final* > >> request target is something other than AjaxRequestTarget, it will cause > a > >> redirect. > >> E.g. if in my handler method I set the response page to a bookmarkable > >> page, > >> then it should do a redirect indeed (that is, a javascript redirect, not > >> an > >> http 302). > >> > >> The problem is that my initial target is > >> BookmarkableListenerInterfaceRequestTarget, before changing to > >> AjaxRequestTarget, and wicket doesn't expect that. It sees a non-ajax > >> target > >> for an ajax request, so it just blindly says "this is a redirect", when > >> actually I'm not gonna do that. > >> > >> So I think isRedirect should NOT check for ajax unless it's at the > >> RESPOND > >> step. In the PROCESS_EVENTS step it should only check for the redirect > >> flag. > >> That would probably solve my problem and at the same time it would start > >> to > >> make sense. What do you think? > >> > >> Adrian > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Stateless-AJAX-links-tp20031309p20193967.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Stateless-AJAX-links-tp20031309p27378984.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
help with OSGi
OK so I downloaded eclipse galileo classic 3.5.1 than Pax Wicket Department store from https://scm.ops4j.org/repos/ops4j/projects/pax/wicket I am following this manual from google cache http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html but didn't have any luck after setting the target my import's are still not resolved( for example: The import org.ops4j.pax.wicket.samples. departmentstore.model cannot be resolved) all I am getting is 404 powered by jetty :) but no department store, I did somethin wrong. I think it shoudl run under Eclipse Classic, or not? Can someone provide me a how-to for this(departmant store) === osgi> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling SLF4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.wicket.internal.Activator] : Initializing [org.ops4j.pax.wicket.pax-wicket-service] bundle. [Start Level Event Dispatcher] INFO org.mortbay.jetty - Logging to org.ops4j.pax.web.service.internal.util.jcllog...@1c6f579 via org.ops4j.pax.web.service.internal.util.JCLLogger [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.Activator - Starting pax http service [Framework Event Dispatcher] DEBUG org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED [Framework Event Dispatcher] DEBUG floor - BundleEvent STARTED [Framework Event Dispatcher] DEBUG org.eclipse.equinox.servlet.api - BundleEvent STARTED [Start Level Event Dispatcher] DEBUG org.ops4j.pax.web.service - ServiceEvent REGISTERED [Start Level Event Dispatcher] WARN org.ops4j.pax.web.service.internal.ConfigurationImpl - Reading configuration property org.ops4j.pax.web.session.timeout has failed [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.ServerControllerImpl - configuring server: ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http enabled=true,http port=8080,http secure enabled=false,http secure port=8443,ssl keystore=C:\Users\Janko33\.keystore,ssl keystoreType=null,session timeout=null,listening addresses=[Ljava.lang.String;@af8358} [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.ServerControllerImpl - starting server: ServerControllerImpl{state=STOPPED} [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.JettyServerImpl - adding connectorniosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - Container jettyserverwrap...@860d49 + niosocketconnectorwrap...@0.0.0.0:8080 as connector [Start Level Event Dispatcher] WARN org.ops4j.pax.web.service.internal.ConfigurationImpl - Reading configuration property org.ops4j.pax.web.session.timeout has failed [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.JettyServerImpl - starting JettyServerImpl{} [Start Level Event Dispatcher] INFO org.mortbay.jetty - jetty-6.1.x [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - Container jettyserverwrap...@860d49 + org.mortbay.thread.queuedthreadp...@64f6cd as threadpool [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started org.mortbay.thread.queuedthreadp...@64f6cd [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - starting jettyserverwrap...@860d49 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started org.mortbay.jetty.nio.selectchannelconnecto...@ce5b1c [Start Level Event Dispatcher] INFO org.mortbay.jetty - Started niosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started niosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started jettyserverwrap...@860d49 [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl - binding bundle: [init...@reference:file:pax-wicket-service-0.5.5-SNAPSHOT.jar/ [3]] to http service [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.HttpServiceStarted - Creating http service for: init...@reference:file:pax-wicket-service-0.5.5-SNAPSHOT.jar/ [3] [Start Level Event Dispatcher] DEBUG org.ops4j.pax.web.service - ServiceEvent REGISTERED [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.Activator - Started pax http service [Framework Event Dispatcher] DEBUG org.ops4j.pax.web.service - BundleEvent STARTED [Framework Event Dispatcher] DEBUG org.eclipse.osgi - FrameworkEvent STARTLEVEL CHANGED on ss I see Framew
Pax wicket osgi (on equinox)
OK so I downloaded eclipse galileo classic 3.5.1 than Pax Wicket Department store from https://scm.ops4j.org/repos/ops4j/projects/pax/wicket I am following this manual from google cache http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html but didn't have any luck after setting the target my import's are still not resolved( for example: The import org.ops4j.pax.wicket.samples.departmentstore.model cannot be resolved) all I am getting is 404 powered by jetty :) but no department store, I did somethin wrong. I think it shoudl run under Eclipse Classic, or not? Can someone provide me a how-to for this(departmant store) === osgi> org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling SLF4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.wicket.internal.Activator] : Initializing [org.ops4j.pax.wicket.pax-wicket-service] bundle. [Start Level Event Dispatcher] INFO org.mortbay.jetty - Logging to org.ops4j.pax.web.service.internal.util.jcllog...@1c6f579 via org.ops4j.pax.web.service.internal.util.JCLLogger [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.Activator - Starting pax http service [Framework Event Dispatcher] DEBUG org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED [Framework Event Dispatcher] DEBUG floor - BundleEvent STARTED [Framework Event Dispatcher] DEBUG org.eclipse.equinox.servlet.api - BundleEvent STARTED [Start Level Event Dispatcher] DEBUG org.ops4j.pax.web.service - ServiceEvent REGISTERED [Start Level Event Dispatcher] WARN org.ops4j.pax.web.service.internal.ConfigurationImpl - Reading configuration property org.ops4j.pax.web.session.timeout has failed [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.ServerControllerImpl - configuring server: ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http enabled=true,http port=8080,http secure enabled=false,http secure port=8443,ssl keystore=C:\Users\Janko33\.keystore,ssl keystoreType=null,session timeout=null,listening addresses=[Ljava.lang.String;@af8358} [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.ServerControllerImpl - starting server: ServerControllerImpl{state=STOPPED} [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.JettyServerImpl - adding connectorniosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - Container jettyserverwrap...@860d49 + niosocketconnectorwrap...@0.0.0.0:8080 as connector [Start Level Event Dispatcher] WARN org.ops4j.pax.web.service.internal.ConfigurationImpl - Reading configuration property org.ops4j.pax.web.session.timeout has failed [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.JettyServerImpl - starting JettyServerImpl{} [Start Level Event Dispatcher] INFO org.mortbay.jetty - jetty-6.1.x [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - Container jettyserverwrap...@860d49 + org.mortbay.thread.queuedthreadp...@64f6cd as threadpool [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started org.mortbay.thread.queuedthreadp...@64f6cd [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - starting jettyserverwrap...@860d49 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started org.mortbay.jetty.nio.selectchannelconnecto...@ce5b1c [Start Level Event Dispatcher] INFO org.mortbay.jetty - Started niosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started niosocketconnectorwrap...@0.0.0.0:8080 [Start Level Event Dispatcher] DEBUG org.mortbay.jetty - started jettyserverwrap...@860d49 [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl - binding bundle: [init...@reference:file:pax-wicket-service-0.5.5-SNAPSHOT.jar/ [3]] to http service [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.HttpServiceStarted - Creating http service for: init...@reference:file:pax-wicket-service-0.5.5-SNAPSHOT.jar/ [3] [Start Level Event Dispatcher] DEBUG org.ops4j.pax.web.service - ServiceEvent REGISTERED [Start Level Event Dispatcher] INFO org.ops4j.pax.web.service.internal.Activator - Started pax http service [Framework Event Dispatcher] DEBUG org.ops4j.pax.web.service - BundleEvent STARTED [Framework Event Dispatcher] DEBUG org.eclipse.osgi - FrameworkEvent STARTLEVEL CHANGED on ss I see Framewo
Re: nested forms onSubmit
Nested forms in wicket component hierarachy. Not in html. You can nest forms in wicket which are replaced when the page is rendered and swapped out for divs. http://cwiki.apache.org/WICKET/nested-forms.html On Fri, Jan 29, 2010 at 5:38 PM, Riyad Kalla wrote: > Are nested forms a valid HTML construct? I'm running through the use-case > here in my head and it doesn't click -- form submission is 1:1 with an HTTP > POST, what do multiple embedded forms even mean in this regard? > > I don't think this is kosher... > > On Fri, Jan 29, 2010 at 2:04 PM, Dave Kallstrom >wrote: > > > Hi, > > Is there anyway to notify nested forms that they are being submitted? > The > > onSubmit method of nested forms do not get called when the parent form is > > submitted. > > I tried implementing IFormSubmitListener but that didn't seem to help. > > > > -- > > Dave Kallstrom > > > -- Dave Kallstrom
RE: AjaxFallbackDefaultDataTable and delete via ModalWindow
Riyad, it's not a dumb question. I asked that already myself and checked via the debugger that the object is really deleted. But you've put me on the right track: I placed a link where I do a AjaxFallbackDefaultDataTable.modelChanged(); and that did the job. Now I've added an AbstractAjaxTimerBehavior with a duration of 1 second and that is updating the table after one second. Now I'm curious: do I generate too much Ajax traffic if that timer is running every second? I only need it to run once after I changed the model... Thanks Andreas > -Original Message- > From: Riyad Kalla [mailto:rka...@gmail.com] > Sent: Friday, January 29, 2010 8:35 PM > To: users@wicket.apache.org; sam.lued...@t-online.de > Subject: Re: AjaxFallbackDefaultDataTable and delete via ModalWindow > > Andreas, > > This might be a dumb question, but are you sure at the point > that the page > reloads and re-renders, the object *has* been erased from the > database or > cache you are utilizing? For example, right after you delete, > if you put in > some silly/junk code to immediately re-query for that object, > it comes back > null right? > > I'm sure this is an Ajax/model issue, but 1 time it took me 2 > days trying to > figure out why something "Wasn't deleting" just to find out > it was, but my > cache was deferring the operation to a few seconds later. So > I figured I'd > throw that out there just incase. > > -R > > On Fri, Jan 29, 2010 at 10:23 AM, Andreas Lüdtke > wrote: > > > Hi, > > > > I have an AjaxFallbackDefaultDataTable on a page and when I > delete a row of > > the displayed data, I can't get the DataTable to reload and show the > > reduced > > list. I tried already the following: > > > > - delete the object (row) in the database > > - reload the ISortableDataProvider class I'm using <-- this > is actually not > > needed, because the object is removed > > - AjaxFallbackDefaultDataTable.modelChanged() > > > > If I refresh the browser window I see that one object is > missing in the > > list, > > but this way I lose the sorting the user has done. > > > > Am I missing something? How do I bring the > AjaxFallbackDefaultDataTable to > > reflect the changes? > > > > Andreas > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org