Wicket and RSS

2009-08-19 Thread VGJ
I've got a simple RSS feed I'm trying to display on a page. Is wicketstuff-rome dead? Is there a better way? I'm not a maven user (not even familar with it) - so are there any jars I can download somewhere for wicketstuff-rome, if it's not dead? Appreciate the help, thanks.

WebSession issue - Netbeans Glassfish

2009-09-24 Thread VGJ
I've got a very strange problem with WebSession objects becoming null (suddenly ending) while debugging in Netbeans, using Glassfish as an app server. I'm using Wicket 1.3.2 and do not have the option of upgrading to the latest version on this project right now. I've got an e-commerce app that

Re: WebSession issue - Netbeans Glassfish

2009-09-24 Thread VGJ
24, 2009 at 10:39 AM, VGJ zambi...@gmail.com wrote: I've got a very strange problem with WebSession objects becoming null (suddenly ending) while debugging in Netbeans, using Glassfish as an app server. I'm using Wicket 1.3.2 and do not have the option of upgrading to the latest version

WebMarkupContainer and SimpleAttributeModifier problems on 1.4.1 upgrade.

2009-10-01 Thread VGJ
I've got a little helper method for replacing HTML tag attributes: public static WebMarkupContainer getContainer( String name, String attribute, String value) { //modify check add-on img tag WebMarkupContainer container = new

Re: WebMarkupContainer and SimpleAttributeModifier problems on 1.4.1 upgrade.

2009-10-01 Thread VGJ
Hmm...nevermind, I guess? It seems like the problem just went away. I can't explain it...a few redeploys later and it's all working as if the error never happened. I'll submit this one to the X-Files. On Thu, Oct 1, 2009 at 12:01 PM, VGJ zambi...@gmail.com wrote: I've got a little helper

Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-18 Thread VGJ
I'm completely at wits end here and I hope someone can point out what's wrong. I've got an e-commerce application that is simply moving between two pages using setRedirectPage() when going from a product detail page to the shopping cart page. There isn't anything remarkable about either of these

Re: Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-19 Thread VGJ
-spring support in your page. problem solved! Pieter On Wed, Nov 18, 2009 at 10:50 PM, VGJ zambi...@gmail.com wrote: I'm completely at wits end here and I hope someone can point out what's wrong. I've got an e-commerce application that is simply moving between two pages using

Re: Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-19 Thread VGJ
at 9:30 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: your CartProxy does not implement serialiazable so it cannot be serialized... -igor On Thu, Nov 19, 2009 at 7:30 AM, VGJ zambi...@gmail.com wrote: I'm not injecting it directly. I'm using a proxy class to get a reference

Re: Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-19 Thread VGJ
com.myapp.session.ShoppingCartLocal so looks like you are holding on to your bean directly instead of using a proxy. -igor On Thu, Nov 19, 2009 at 8:48 AM, VGJ zambi...@gmail.com wrote: One would think...however I tried it and it makes no difference. None of my proxy classes implement Serializable

Re: Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-19 Thread VGJ
at 9:57 AM, VGJ zambi...@gmail.com wrote: I reference the bean's interface in order to use it, yes. What's the alternative? Would I instead access everything through a proxy class and store the proxy itself into the WebSession, to retain a reference? As it is, each page in the checkout

Re: Wicket 1.4 + GF v2.1 causing WicketNotSerializableException

2009-11-19 Thread VGJ
that is what is causing your serialization problem. instead of having the final field, do the lookup ((UserSession)getSession()).getCart(); directly inside the //stuff happens here... -igor On Thu, Nov 19, 2009 at 9:57 AM, VGJ zambi...@gmail.com wrote: I reference the bean's

Pretty URLs and sessions

2009-11-30 Thread VGJ
I'm working on some changes for our storefront (Wicket 1.4, Java EE 5, Glassfish 2.1) based on some recommendations made to us by an SEO consultant. One of them is re-writing some of the URLs so as to have them indexed by Google, etc. My concern is the Wicket WebSession that I use to pass around

Re: Pretty URLs and sessions

2009-12-17 Thread VGJ
Thanks Alex. I just had another meeting w/ the SEO guy today and the idea is to track orders moving through our storefront in order go gauge sales based on the SEO strategy. In other words, where did our customers come from (Google search?), what did they buy, and did they make it all the way

Re: Pretty URLs and sessions

2009-12-17 Thread VGJ
Hit a snag! At the cart page (going into the login page), I redirect to https like so: getRequestCycle().setRedirect(false); getRequestCycle().setRequestTarget(EmptyRequestTarget.getInstance()); getResponse().redirect(https://mysite/app/account;); user-account being mapped

Re: Pretty URLs and sessions

2009-12-17 Thread VGJ
Yes I know, I do this most of the time. However, I'm redirecting from http to https. When I wrote this app, this was what everyone was recommending. Is there another way? On Thu, Dec 17, 2009 at 2:45 PM, Alex Objelean alex_objel...@yahoo.comwrote: You shouldn't have a code like this:

Re: Pretty URLs and sessions

2009-12-18 Thread VGJ
Alex, this was a great help, thank you! On Thu, Dec 17, 2009 at 3:23 PM, Alex Objelean alex_objel...@yahoo.comwrote: Though I didn't use it, there is HttpsRequestCycleProcessor (you should add it in your Application) and @RequireHttps annotation (for each WebPage which must be accessed

@RequireHttps - forms misbehaving

2009-12-18 Thread VGJ
I'm now using @RequireHttps to switch to https on certain pages but it's not quite working right. In our storefront app, I'm switching to https at the point in the checkout process where you view your cart, and then proceed to a page to either login or create an account. When I submit my

Re: @RequireHttps - forms misbehaving

2009-12-18 Thread VGJ
I'll create one and post it, if I can. -v On Fri, Dec 18, 2009 at 9:21 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: can you recreate in a quickstart? -igor On Fri, Dec 18, 2009 at 7:56 AM, VGJ zambi...@gmail.com wrote: I'm now using @RequireHttps to switch to https on certain pages

Re: @RequireHttps - forms misbehaving

2009-12-18 Thread VGJ
. The entire site uses markup inheritance as well. On Fri, Dec 18, 2009 at 9:29 AM, VGJ zambi...@gmail.com wrote: I'll create one and post it, if I can. -v On Fri, Dec 18, 2009 at 9:21 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: can you recreate in a quickstart? -igor On Fri, Dec 18

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread VGJ
made but it works just fine. I can't submit the application with the issue I've described, it's company code. -v On Mon, Dec 21, 2009 at 12:45 PM, b...@actrix.gen.nz wrote: VGJ, You might have discovered a limitation of the system or a bug. As I wrote, I would recommend you make a testcase

Re: @RequireHttps - forms misbehaving

2009-12-21 Thread VGJ
problems, you could check the session id to make sure it is not being lost when switching from http-https (HttpFox is good for seeing the cookies, and see if the jsessionid cookie changed or not) VGJ wrote: I see, I guess I misunderstood you. I wasn't able to reproduce it in a separate test

Re: @RequireHttps - forms misbehaving

2009-12-22 Thread VGJ
to using a simple bookmarkable page and see if it works? I also noticed you have a method on your BasePage class called redirect(url) that disables wicket redirect... does that get called when you use setRedirect(true)? VGJ wrote: Jason...excellent! setResponsePage(UserAccount.class) did

301 Redirect

2010-01-05 Thread VGJ
Along with all of the SEO stuff I'm working on these days - I'm being asked to use 301 redirects on the sites we're optimizing. How would this be done in with Wicket? Are there alternatives, if not? Thanks!

Re: 301 Redirect

2010-01-05 Thread VGJ
(bytes,0,bytes.length,Buffer.IMMUTABLE); } catch (Exception e) { Utils.errorLog(getClass(), e); } 2010/1/5 VGJ zambi...@gmail.com: Along with all of the SEO stuff I'm working on these days - I'm being asked to use 301 redirects on the sites we're optimizing. How would

Re: 301 Redirect

2010-01-05 Thread VGJ
Is HttpStatus Jetty-specific? I'm unable to resolve the class. I'll see if I can somehow piece this together on the Glassfish side. Thanks. On Tue, Jan 5, 2010 at 9:10 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: In WicketApplication.init() 2010/1/5 VGJ zambi...@gmail.com

Re: 301 Redirect

2010-01-05 Thread VGJ
Makundi martin.maku...@koodaripalvelut.com wrote: It's jetty specific. You have to look at sources if this resolution works for you. ** Martin 2010/1/5 VGJ zambi...@gmail.com: Is HttpStatus Jetty-specific? I'm unable to resolve the class. I'll see if I can somehow piece this together

Access http headers?

2009-05-05 Thread VGJ
I have a page that is built on a 3rd. party Flash movie, which reads a very ugly, remote XML file. It doesn't work correctly unless the URL I point to in the embed tag is absolute. This makes testing it locally a complete PITA. I'd like to put something in the page that tests the URL and

Ajax ModalWindow - passing value *in*?

2010-03-05 Thread VGJ
I'm using the ModalWindow for the first time (1.4) and am wondering if a value can be passed into the modal window from the AjaxLink? I've got a page full of anchor links and I'd like to jump to the anchors inside of a modal page, depending on which link was clicked in the master page.