Re: Forward button null pointer

2011-06-22 Thread Phil Franken
I thought it might be related to this discussion, there is mention of an 
issue and a fix but I can't locate it...


http://markmail.org/search/?q=wicket%20forward%20button#query:wicket%20forward%20button%20order%3Adate-backward+page:2+mid:2scd6viwf5yg2uvn+state:results

On 6/22/2011 3:00 AM, Martin Grigorov wrote:

Without a ticket with a quickstart it wont be fixed for the next version.

On Tue, Jun 21, 2011 at 9:20 PM, Phil Frankenphil.fran...@gmail.com  wrote:

Am I correct there is a NPE on spring beans after browser forward issue?
  Does anyone know when the next version is due?

-
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



HybridUrlCodingStrategy SEO

2011-06-21 Thread Phil Franken

I've mapped my home page to home usingHybridUrlCodingStrategy.

Testing with http://www.internetofficer.com/seo-tool/redirect-check/ 
shows a 302 redirect for;


domain.com to domain.com/home.0
domain.com/home to domain.com/home.1

Google does not like the redirect and is reporting a redirect error in 
Webmaster Tools.  Google will not follow the page with a redirect and 
wants a direct link in sitemap.xml.  Well with HybridUrl I'm not sure 
this is possible because it will redirect to the numbered version, 
home.0, home.1, etc...


I'm thinking of switching to a BookmarkablePage mount to solve this 
issue, but the home page has ajax controls and I'd prefer to support the 
browser back button without the cache control fix for ajax.  Any other 
suggestions?


Re: HybridUrlCodingStrategy SEO

2011-06-21 Thread Phil Franken
I've considered stateless but I don't want google to follow any of my 
ajax links so I don't really need it (I think).  I only want google to 
index my home page, but I can't provide a direct link with the HybridUrl 
strategy as far as I know.  Also I've got a custom RequestCycle so I've 
got an integration with wicket-stateless.


On 6/21/2011 2:28 AM, Martin Grigorov wrote:

Hi,

To avoid the redirect the page should be stateless. You can use
Jolira's stateless Ajax behaviors/components instead.

On Tue, Jun 21, 2011 at 9:16 AM, Phil Frankenphil.fran...@gmail.com  wrote:

I've mapped my home page to home usingHybridUrlCodingStrategy.

Testing with http://www.internetofficer.com/seo-tool/redirect-check/ shows a
302 redirect for;

domain.com to domain.com/home.0
domain.com/home to domain.com/home.1

Google does not like the redirect and is reporting a redirect error in
Webmaster Tools.  Google will not follow the page with a redirect and wants
a direct link in sitemap.xml.  Well with HybridUrl I'm not sure this is
possible because it will redirect to the numbered version, home.0, home.1,
etc...

I'm thinking of switching to a BookmarkablePage mount to solve this issue,
but the home page has ajax controls and I'd prefer to support the browser
back button without the cache control fix for ajax.  Any other suggestions?







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Forward button null pointer

2011-06-21 Thread Phil Franken
Am I correct there is a NPE on spring beans after browser forward 
issue?  Does anyone know when the next version is due?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Execute Javascript after Ajax

2011-05-26 Thread Phil Franken

Here are my components;
Wicket 1.4.17
Page
AjaxTabbedPanel (with Panel1 and Panel2)
AdPanel which has adsense js, no components
AdPanel is on Panel1 and Panel2

When the tab panel renders the first tab (Panel1) the AdPanel executes 
its js and renders the ad.  Moving to the second tab (Panel2) the 
AdPanel executes its js (I know becuase i added an alert) but does NOT 
render the ad.  And moving back to the first tab, the ad that was 
previously shown fails to render.


Note: behavior as described is for IE and Chrome, Firefox fails to 
render the page altogether.  IE and Chrome at least render the page and 
panel without the ad.


I've also tried adding the js to a function (in AdPanel markup) and 
calling that function on dom load with a behavior.  As well as the 
response.renderOnDomReadyJavascript() and 
response.renderJavascriptReference() but this renders to head.


I've also tried an AjaxLazyLoadPanel for AdPanel with no effect, the ad 
renders once and only before an Ajax call.


Is there any way to execute the js inline after an ajax call?  Am I 
missing something, are there Ajax bugs here?



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: to integrate wicket with itext or any other framework

2011-05-24 Thread Phil Franken

Trying to answer your question directly...

Commons reasons to use spring;
Dependency Injection (@Component, @Autowired)
AOP
Transaction Management (@Transactional)
Templates - (Java Mail, LDAP, Hibernate, JDBC, Velocity, etc)
3.1 offers caching, and there are a variety of other projects/templates, 
see the website


On 5/24/2011 2:39 PM, hariharansrc wrote:

yeah i accept what you are saying, first i tried jsp/servlet then jumped to
wicket and from  jdbc i jumped  to hibernate we can quite understand when we
actually face the problems but anybody who already faced the problem when
they give me proper directions it will be easier quite a lot. So can tell me
the proper reason for the reason behind using spring for integrating wicket
and hibernate

The  i am having another clarifications for using any other framework  i
need spring like frameworks for DI
why i am asking is i need japer reports to integrate with wicket

How to find two frameworks need DI, because for JDBC i done that without any
DI

Thanks in advance

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/to-integrate-wicket-with-itext-or-any-other-framework-tp3543523p3547875.html
Sent from the Users forum 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




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



MetaPattern Usage

2011-05-23 Thread Phil Franken
Can someone give me an example of how to group MetaPatterns?  For 
example if I want to allow MetaPattern.WORD and 
MetaPattern.EXCLAMATION_POINT...


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken

Are there any plans to include a fix for this in 1.14.18?

https://issues.apache.org/jira/browse/WICKET-3594

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken
Thanks for the update Pedro.  I concur with your assesment based on what 
I've seen, but this makes me worry.  Does this mean if I set a file size 
limit of 1MB and someone uploads a 2GB file the container will read the 
entire 2GB?  Not good, with or without progress bar.  Anyone suggestions 
on how to handle this?


On 5/12/2011 7:47 AM, Pedro Santos wrote:

Hi Phil, I'm about to upload a quickstart to this ticket proving it is
not a Wicket related problem. The container is always reading the
entire input stream regardless of the application doing it or not.
I talked about in IRC and Igor suggested me to close the stream if it
exceed the max limit, but by doing so the client gets no response and
browser shows a page saying that the connection to server are lost.


On Thu, May 12, 2011 at 3:39 AM, Phil Frankenphil.fran...@gmail.com  wrote:

Are there any plans to include a fix for this in 1.14.18?

https://issues.apache.org/jira/browse/WICKET-3594

-
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



Re: [Announce] Wicket Stuff Core 1.5-RC4.2 Released

2011-05-12 Thread Phil Franken
Firewall not really an option (no budget).  Ok so instead of closing the 
stream can you at least make sure the progress bar is invisible and let 
the container do its thing?  I'm using Tomcat do you know of any way to 
set a max file size in Tomcat?



On 5/12/2011 1:02 PM, Pedro Santos wrote:

You can setup a firewall to prevent DOS attacks, I'm not sure if
Wicket needs to read the input stream regardless of its HTTP header
specifying that the upload exceed the limit just to close the stream.

On Thu, May 12, 2011 at 1:52 PM, Phil Frankenphil.fran...@gmail.com  wrote:

Thanks for the update Pedro.  I concur with your assesment based on what
I've seen, but this makes me worry.  Does this mean if I set a file size
limit of 1MB and someone uploads a 2GB file the container will read the
entire 2GB?  Not good, with or without progress bar.  Anyone suggestions on
how to handle this?

On 5/12/2011 7:47 AM, Pedro Santos wrote:

Hi Phil, I'm about to upload a quickstart to this ticket proving it is
not a Wicket related problem. The container is always reading the
entire input stream regardless of the application doing it or not.
I talked about in IRC and Igor suggested me to close the stream if it
exceed the max limit, but by doing so the client gets no response and
browser shows a page saying that the connection to server are lost.


On Thu, May 12, 2011 at 3:39 AM, Phil Frankenphil.fran...@gmail.com
  wrote:

Are there any plans to include a fix for this in 1.14.18?

https://issues.apache.org/jira/browse/WICKET-3594

-
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








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org