[Wicket-user] Build failure

2007-03-13 Thread John Patterson
Hi,

I get this error message when trying to build wicket:

ERROR] BUILD FAILURE
[INFO]  

[INFO] Compilation failure

error: error reading /Users/john/.m2/repository/org/apache/wicket/ 
wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating- 
SNAPSHOT.jar; invalid header field


I am using Maven 2.0.3.  Any ideas?

Thanks,

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
I removed all wicket jars from my maven repo and also from the target  
folders of the source folders.  The file wicket-1.3.0-incubating- 
SNAPSHOT.jar was recreated but a similar error was shown:

Loading source file /Users/John/Development/wicket-1.x/jdk-1.4/wicket- 
extensions/src/main/java/wicket/extensions/wizard/WizardModel.java...
Loading source file /Users/John/Development/wicket-1.x/jdk-1.4/wicket- 
extensions/src/main/java/wicket/extensions/wizard/WizardStep.java...
1 error
[INFO]  

[ERROR] BUILD ERROR
[INFO]  

[INFO] An error has occurred in JavaDocs report generation.

Embedded error: Exit code: 1 - error: error reading /Users/John/ 
Development/wicket-1.x/jdk-1.4/wicket/target/wicket-1.3.0-incubating- 
SNAPSHOT.jar; invalid header field





On 13 Mar 2007, at 12:02, Martijn Dashorst wrote:

 Probably you have remove the jars from your local repository and  
 build again.

 Martijn

 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I get this error message when trying to build wicket:

 ERROR] BUILD FAILURE
 [INFO]
 - 
 ---
 [INFO] Compilation failure

 error: error reading /Users/john/.m2/repository/org/apache/wicket/
 wicket/1.3.0-incubating-SNAPSHOT/wicket-1.3.0-incubating-
 SNAPSHOT.jar; invalid header field


 I am using Maven 2.0.3.  Any ideas?

 Thanks,

 John

 - 
 
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -- 
 Learn Wicket at ApacheCon Europe: http://apachecon.com
 Join the wicket community at irc.freenode.net: ##wicket
 Wicket 1.2.5 will keep your server alive. Download Wicket now!
 http://wicketframework.org

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
On 13 Mar 2007, at 12:31, Frank Bille wrote:

 I get the same error and have tried to remove local jar files. I'll  
 look into it tonight (can't get workspace setup using new al  
 structure)


Great, cheers.  Until then I have checked out the last revision  
before the restructuring.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Build failure

2007-03-13 Thread John Patterson
Strange, I just deleted the entire .m2/repository/org/apache/wicket/  
directory and checked out a fresh copy of http://svn.apache.org/repos/ 
asf/incubator/wicket/branches/wicket-1.x into a new directory,  
updated mvn to 2.0.5 (using darwin ports) and ran:

mvn -Dmaven.test.skip=true  install

But got the exact same error as before:

Loading source file /Users/John/Development/wicket/current/wicket-1.x/ 
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/ 
WizardModel.java...
Loading source file /Users/John/Development/wicket/current/wicket-1.x/ 
jdk-1.4/wicket-extensions/src/main/java/wicket/extensions/wizard/ 
WizardStep.java...
1 error
[INFO]  

[ERROR] BUILD ERROR
[INFO]  

[INFO] An error has occurred in JavaDocs report generation.

Embedded error: Exit code: 1 - error: error reading /Users/John/ 
Development/wicket/current/wicket-1.x/jdk-1.4/wicket/target/ 
wicket-1.3.0-incubating-SNAPSHOT.jar; invalid header field

could it be a different javadoc binary that causes the different  
behaviour?

My Mac OS X java version is reported as:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)

On 13 Mar 2007, at 14:40, Martijn Dashorst wrote:

 I just did a clean checkout of our 1.x branch, removed my local
 repository, and it 'just worked'.

 I do use maven 2.0.5, perhaps that is the deciding factor?

 Martijn

 On 3/13/07, John Patterson [EMAIL PROTECTED] wrote:
 On 13 Mar 2007, at 12:31, Frank Bille wrote:

 I get the same error and have tried to remove local jar files. I'll
 look into it tonight (can't get workspace setup using new al
 structure)


 Great, cheers.  Until then I have checked out the last revision
 before the restructuring.

 - 
 
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -- 
 Learn Wicket at ApacheCon Europe: http://apachecon.com
 Join the wicket community at irc.freenode.net: ##wicket
 Wicket 1.2.5 will keep your server alive. Download Wicket now!
 http://wicketframework.org

 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
I have reverted to Wicket 1.3 now because of this and the NPE problem  
being thrown due to a null version manager.  So from what I remember...

I initially had no filterPath parameter in my web.xml because the  
filter was mapped to the webroot /*

Then I copied the configuration from the phonebook app and found that  
this did not work either and that the phonebook app is broken due to  
this bug.

When debugging I could see that the method  
WicketFilter.isWicketRequest() was testing /app (from the filterPath  
arg) against /app/ and incorrectly returning false.

On 2 Mar 2007, at 17:45, Eelco Hillenius wrote:

 How did you configure the filter in web.xml?

 Eelco

 On 2/26/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I am trying to use the wicket filter in trunk but cannot get it to
 respond to a url to my home page.  The same problem seems to happen
 with the phonebook app.  When I run the phonebook app I enter http://
 localhost:8080/phonebook which redirects to http://localhost:8080/
 phonebook/app.

 The method WicketFilter.isWicketRequest() returns false and so the
 request is ignored.

 John.

 - 
 
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread John Patterson
OK, but the phone-book app is still broken in 2.0 due to this bug in  
WicketFilter.isWicketRequest () - at least it was a week ago when I  
wrote the initial email.  Can anyone get the current phonebook app to  
work?  I think when that bug is fixed my app would have worked.  But  
now I have reverted to 1.3 anyway...


On 5 Mar 2007, at 17:44, Igor Vaynberg wrote:

in latest 1.3 the wicket path param should not be necessary because  
wicket will scan your web.xml to find it for you


-igor


On 3/5/07, John Patterson [EMAIL PROTECTED] wrote:
I have reverted to Wicket 1.3 now because of this and the NPE problem
being thrown due to a null version manager.  So from what I  
remember...


I initially had no filterPath parameter in my web.xml because the
filter was mapped to the webroot /*

Then I copied the configuration from the phonebook app and found that
this did not work either and that the phonebook app is broken due to
this bug.

When debugging I could see that the method
WicketFilter.isWicketRequest () was testing /app (from the filterPath
arg) against /app/ and incorrectly returning false.

On 2 Mar 2007, at 17:45, Eelco Hillenius wrote:

 How did you configure the filter in web.xml?

 Eelco

 On 2/26/07, John Patterson [EMAIL PROTECTED] wrote:
 Hi,

 I am trying to use the wicket filter in trunk but cannot get it to
 respond to a url to my home page.  The same problem seems to happen
 with the phonebook app.  When I run the phonebook app I enter  
http://

 localhost:8080/phonebook which redirects to http://localhost:8080/
 phonebook/app.

 The method WicketFilter.isWicketRequest() returns false and so the
 request is ignored.

 John.

  
-

 
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys-and earn  
cash

 http://www.techsay.com/default.php?
 page= join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


  
--

 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-- 
---

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.phpp=sourceforgeCID=DEVDEV 
___

Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] URL problem in phonebook app

2007-02-26 Thread John Patterson
Hi,

I am trying to use the wicket filter in trunk but cannot get it to  
respond to a url to my home page.  The same problem seems to happen  
with the phonebook app.  When I run the phonebook app I enter http:// 
localhost:8080/phonebook which redirects to http://localhost:8080/ 
phonebook/app.

The method WicketFilter.isWicketRequest() returns false and so the  
request is ignored.

John.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Phonebook app links

2006-11-01 Thread John Patterson
Hi,

I have checked out the latest wicket 2.0 code from apache and the  
phonebook from Sourceforge and everything compiles correctly after  
changing some onSubmit methods from protected to public.

The phonebook home page displays correctly but no links work... maybe  
because they have links like this:

http://localhost:8080/phonebook/servlet?wicket:interface=: 
2:createLink::ILinkListener

Thanks,

John.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Javascript behaviour

2006-07-14 Thread John Patterson
Hi,

I need to add a behaviour to a link so that when it is clicked  
several other component are made visible.  I could do this with an  
AJAX link but it seems that this might be better acheived with a  
simple bit of client side script.

Is there any existing behaviour to to this sort of thing or should I  
write my own?

Thanks,

John.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Eclipse don't copy .html to output folder

2006-07-04 Thread John Patterson
This sounds like the problem I came across a few weeks ago:http://thread.gmane.org/gmane.comp.java.wicket.user/13599/focus=13605I solved it by creating a new workspace and importing all my projects again.I reported this bug to Eclipse and they said that it was a problem with the classpath format change but that they do not support workspace upgrades between milestone releases.  But they said that they do support upgrades between versions.Are you using the latest 3.2 release?JohnOn 4 Jul 2006, at 10:46, Paolo Di Tommaso wrote:Yes. It's really very strange. I don't use any filter, I've tried also to force a filter like "**/*.java, **/*.html"  ... but it still refuse to copy any html file. The only way to make it to work is switching to a fresh workspace. PaoloOn 7/4/06, Johan Compagner  [EMAIL PROTECTED] wrote: even after a refresh of your source dir the html stay behind?Do you have somewhere a filter defined?johanUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is it possible to embed jsp in wicket ?

2006-06-28 Thread John Patterson
Hi Ingram,I have been using Wicket in a Webwork based application which I imagine would be very similar to what you want to do.  Both frameworks register a Servlet to handle requests and can be mapped to any servlet path.  I have had no problems switching from pages in one framework to the other.  State can still be shared between frameworks using the HTTP session.I eventually plan to move all the code to Wicket and now that wicket supports stateless pages there is nothing stopping me completely removing Webwork.  You cannot directly use your JSP pages in Wicket but it is extremely simple to capture the output  of one (show source in your browser) and then add the necessary wicket:id tags.John.On 28 Jun 2006, at 12:58, Ingram Chen wrote:    We want to merge wicket into exist struts project and there are some parts of system still requires jsp. Could I include jsp (output of jsp) in wicket page ?  Any suggestion are welcome ! -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] will wicket-contrib-dojo upgrade to wicket 1.2?

2006-06-22 Thread John Patterson
Perhaps all 1.2 compliant stuff could be copied into the wicket-stuff/ 
WICKET_1_2 branch so we know what should work.

On 22 Jun 2006, at 01:45, Martijn Dashorst wrote:

 I tried (a 0.4 snapshot version of ) dojo with 1.2, but that got
 several exceptions. After putting the most recent (soon to be
 released) Wicket 1.2.1 and trunk from dojo into the project, both
 seemed to work.

 When 1.2.1 is released, I'll see to upgrade and put up a release  
 (0.4) of dojo.

 Martijn

 On 6/22/06, Nili Adoram [EMAIL PROTECTED] wrote:
 Hi all,
 Does anyone know whether it is planned to upgrade wicket-contrib- 
 dojo to
 wicket 1.2?
 Currently we cannot use them both in the same classpath since  
 there are
 collisions.
 Thanks
 Nili

 All the advantages of Linux Managed Hosting--Without the Cost and  
 Risk!
 Fully trained technicians. The highest number of Red Hat  
 certifications in
 the hosting industry. Fanatical Support. Click to learn more
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=107521bid=248729dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -- 
 Download Wicket 1.2 now! Write Ajax applications without touching  
 JavaScript!
 -- http://wicketframework.org

 All the advantages of Linux Managed Hosting--Without the Cost and  
 Risk!
 Fully trained technicians. The highest number of Red Hat  
 certifications in
 the hosting industry. Fanatical Support. Click to learn more
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=107521bid=248729dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is Wicket ok for DDA web applications?

2006-06-22 Thread John Patterson
Fascinating.  I had never heard of DDA compliance before but a little  
Googling makes me realise that I should really take notice.   
Especially the part about sites like Priceline.com being successfully  
sued over their accessibility.

http://www.webcredible.co.uk/user-friendly-resources/web- 
accessibility/uk-website-legal-requirements.shtml

Regards your question: wicket does by default use some Javascript to  
detect new windows for its PageMap implementation.  But this is not  
essential user interface script and I can't see how it could stop a  
site being accessed correctly.  All other JavaScript and AJAX is  
completely optional.  You have complete control over the mark-up that  
is returned (unlike JSF) so you can use CSS and basic HTML if you  
want and be completely compliant.

John.

On 22 Jun 2006, at 10:47, Andrew Bate wrote:

 Hi,

 I'm considering looking at Wicket after a painful two weeks on JSF
 (actually Apache MyFaces) and thinking there has to be a better
 way...!.   Most of my work over the last 5 years has been JSP/ 
 Struts etc...

 I'm a J2EE developer but coming firmly from the web side rather than a
 back-end developmer.  I want to use a framework that has clean markup
 and is intuitive for people with web skills.  (Anyone who has seen the
 ghastly JSF tabular layouts and poor Tomahawk div implementation will
 understand!)

 I am about to start work on a webapp where one of the requirements is
 for a DDA compliant interface.  If I were to use Wicket, does it have
 any reliance on Javascript or anything else that may jeopardise a DDA
 interface?

 Thanks,

 Andrew

 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with pre-integrated technology to make your  
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-22 Thread John Patterson
A link could exist on a Stateless page that creates state.  This would be the point where a stateless site moves to being stateful.For example, On my stateless home page I could have a link that has an onClick() handler which stores something in the users session (creating it also).On 22 Jun 2006, at 09:27, Johan Compagner wrote:yes we could but then a link really doesn't have state.The form has its new state pushed anyway,. And a link not. So then you need to encode something in the url..Because what should the link do? If it is only a next  page and no state of the current page is touched you can use bookmarkable links. johanOn 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote: We weren't only eating Tapas... I drank a lot of wine. That must haveblurred my memory a bit :)Cool Johan. So my hunch is that Links can be done in the same fashion?Though we should draw the line somewhere too. EelcoOn 6/14/06, Johan Compagner [EMAIL PROTECTED] wrote: WHAT! you have to listen more eelco :) i told you that i want to have exactly the same behaviour as a normal Form!  when we where eating tappas you wanted to go directly the to resulting page. And i said no i want to go first to the form page and go on from that so that the processing is exactly the same.. (remember? :))  It is exactly how igor describes it. For a developer it is completely transparant only for one thing: The state of the form (validators and so on are in the init state) The data is ofcourse 'new' because that is posted.  johan On 6/14/06, Eelco Hillenius [EMAIL PROTECTED] wrote:  Really? I haven't looked at it, but just remember Johan told me   processing would go via the pageparameters constructor. If it's via  the onSubmit handler, that's all the nicer.   EelcoOn 6/13/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:   you would use the onclick. what happens when a stateless form is submitted   is that a new page instance is created instead of looked up from sessionstored, and then processing continues as usual. -Igor  On 6/13/06, John Patterson  [EMAIL PROTECTED] wrote:   On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:Or maybe there will be more trade offs. Depends on how badly people  want it, and who will work on it. In 2.0, Johan built in a form that posts back to a bookmarkable page, so you can even build pages with forms that are still stateless.  Eelco   OK, thanks I will have a look into that.  I have not yet checked out2.0 but  would you just be able to clarify - when a stateless form issubmitted would I still use an onClick handler on my form component?Or do I need to work with page parameters and move my form processing logic away from the actual form component?  ___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user   ___   Wicket-user mailing list   Wicket-user@lists.sourceforge.net   https://lists.sourceforge.net/lists/listinfo/wicket-user   ___  Wicket-user mailing list   Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user   ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net  https://lists.sourceforge.net/lists/listinfo/wicket-user___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-userUsing Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is Wicket ok for DDA web applications?

2006-06-22 Thread John Patterson
Check this out!  First listing is a .gov.uk website giving info on DDA.  The Googlebot indexed a page saying "Your browser does not support _javascript_!".  Clearly they don't regard _javascript_ as a problem.http://www.google.com/search?hl=enlr=q=dda+support+_javascript_+worthingbtnG=SearchThe PageMap _javascript_ allows your site to have multiple windows open and give each its own in-session page stack.  Unless your application _must_ have multiple window support then this does not affect usability.  Also, Wicket 2.0 has infinite disk based page storage so I think that even this restriction no longer applies.One site I read said that compliance will probably equate to supporting this w3 accessibility guidelines at:http://www.w3.org/TR/WAI-WEBCONTENT/full-checklist.htmlwhich contains this relevant statement:6.3 Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page.So basically, the PageMap detection script does does not affect accessiblity but things like the SubmitLink could if there was no alternative.John.On 22 Jun 2006, at 12:08, Rüdiger Schulz wrote:Hello,a question regarding that PageMap-_javascript_:What will happen if a browser has JS disabled? Will it still bepossible to reach every page and all?Another thing to avoid is the SubmitLink, as it will _javascript_ aswell.Coming to think about it - are there other Components which _require__javascript_ to work? Maybe we should start a list on the wiki...DDA compliance becomes definitly more and more important, especiallyin the public sector.-- greetings from Berlin,Rüdiger SchulzJohn Patterson wrote on 22.06.2006 at 17:51: Fascinating.  I had never heard of DDA compliance before but a littleGoogling makes me realise that I should really take notice.   Especially the part about sites like Priceline.com being successfullysued over their accessibility.  http://www.webcredible.co.uk/user-friendly-resources/web- accessibility/uk-website-legal-requirements.shtml  Regards your question: wicket does by default use some _javascript_ todetect new windows for its PageMap implementation.  But this is notessential user interface script and I can't see how it could stop asite being accessed correctly.  All other _javascript_ and AJAX is  completely optional.  You have complete control over the mark-up thatis returned (unlike JSF) so you can use CSS and basic HTML if you  want and be completely compliant.  John.  On 22 Jun 2006, at 10:47, Andrew Bate wrote:  Hi,I'm considering looking at Wicket after a painful two weeks on JSF(actually Apache MyFaces) and thinking "there has to be a betterway"...!.   Most of my work over the last 5 years has been JSP/ Struts etc...I'm a J2EE developer but coming firmly from the web side rather than aback-end developmer.  I want to use a framework that has clean markupand is intuitive for people with web skills.  (Anyone who has seen theghastly JSF tabular layouts and poor Tomahawk div implementation willunderstand!)I am about to start work on a webapp where one of the requirements isfor a DDA compliant interface.  If I were to use Wicket, does it haveany reliance on _javascript_ or anything else that may jeopardise a DDAinterface?Thanks,AndrewUsing Tomcat but need to do more? Need to support web services,  security?Get stuff done quickly with pre-integrated technology to make yourjob easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache  Geronimohttp://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user  Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

Re: [Wicket-user] Wicket 2.0 Model change trap...

2006-06-16 Thread John Patterson
Nice one!  It is so fundamental and has always seemed odd to me.  That interface almost put me off using Wicket when I first checked it out.  I know that is a very superficial attitude, but first impressions are important.  I think I may have even hit the back button and then returned for another look only after thinking "well the rest of the framework sounds good".That makes me happier than it probably should.On 16 Jun 2006, at 12:53, Igor Vaynberg wrote:well, mark stumbled on some major work-in-progress. johan and i are still trying out our new idea to see if it will work. looks like it will though :)just to quickly summarize some stuff for anyone interested IModel.setObject(Component, Object) - IModel.setObject(Object)IModel.getObject(Component) - IModel.getObject()i know this is what everyone has been crying for and we listened. it took so long because it took some very innovating thinking to make it work == we are still confirming if the idea actually does work :) now for models that /do/ want to know what component they are attached to there are a couple of options. either pass the component into the constructor orthere are a couple of points where models can wrap themselves: a) models can wrap themselves any time they are assigned to a component by implementsIAssignmentAware { IWrapModel wrapOnAssignment(Component); }b) models that are inherited implement IInheritableModel (used to be ICompoundModel) and now also have IWrapModel wrapOnInheritance(Component) just a preview of things to come-IgorOn 6/16/06, Eelco Hillenius [EMAIL PROTECTED]  wrote:Maybe we - core devs - should email about the major changes we are doing in svn/ Wicket 2.0. It's all still very alpha though at thisstage.Also, we could /consider/ putting those methods back in with final(so your code will break) and a deprecation message? Or should we just settle for search (/replace) facilities being good enough forthe job and list what needs to be changed.And of course, once Johan and Igor are done with the model changes,they will add a section to  http://wicket-wiki.org.uk/wiki/index.php/Migrate-2.0EelcoOn Jun 16, 2006, at 4:16 AM, Mark Derricutt wrote: Just a heads up for anyone playing with HEAD/Wicket 2.0, one sneaky  little trap I just found is that the Model class has changed its method signature from:   public Object getObject(Component component) to   public Object getObject();  Anywhere I was extending Model this tripped up silently by -adding- my (now) overloaded getObject() method.  On the one or two instances where I was using AbstractReadOnlyModel (which doesn't  provide a standard getObject() method) this signature change was trippedup and lead to finding this breakage. Just a heads up for anyone else dipping there toes -- i like my video games - mamma said they are gonna melt my brains  i like my video games - i don't care what daddy said; they're my reality   - henning pauly ___ Wicket-user mailing list  Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Plan to develop a portal

2006-06-15 Thread John Patterson
Igor, sorry to turn this into a Spring QA!  I understand if you don't want to discuss Spring on this list but it is hard to get an unbiased opinion on theirs.I have only briefly looked at Springs IoC and was put off by the amount of configuration XML I would have to write.  I use Picocontainer which is very simple to configure in Java alone because it makes lots of default assumptions about how to build an object without me having to specify.Do you have any insight about how easily Spring can be configured in comparison to Pico?  I could see that the examples were almost exclusively using setter injection but I much prefer to use constructors.Does Spring automatically figure out an object's dependancies like Pico does?  Or do you need to specify them e.g. "Call this constructor with these arguments".  I like being able to let the container figure that out for me using a simple default rule - "Always use the largest satisfiable constructor unless I say otherwise".  Also, how easy is it to set up containers that manage object life-cycle at different scopes?Thanks,John.On 14 Jun 2006, at 18:23, Igor Vaynberg wrote:not to mention the decorator pattern is used a lot in spring and for that you also need interfaces. -IgorOn 6/14/06, Igor Vaynberg  [EMAIL PROTECTED] wrote: On 6/14/06, Vincent Jenks [EMAIL PROTECTED] wrote:  I guess I avoid it because it appears to force you into thinking in anIoC way and I don't like the idea of configuring my classes w/ XML andusing interfaces for *everything* - sometimes that's just more complex than the problem at hand.this is a common misconception, you do not need to use interfaces for everything. spring handles beans not backed by interface via cglib when they need to be proxied for aop/transactions. a good portion of things you declare in the spring container are the things that are going to vary from deployment to deployment - and for those things you need to have an interface that is backed by multiple implementations, otherwise it wont work. likewise in spring code itself there are multiple implementations for most things - that is why the spring code has a lot of interfaces. -Igor ___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Plan to develop a portal

2006-06-15 Thread John Patterson
Cheers Igor, that has really put things into perspective.  The lack of decent documentation for Pico means that I have spent countless hours getting things to work the way I want.  I suspect that I might switch to Spring when I get some time.John.On 15 Jun 2006, at 13:17, Igor Vaynberg wrote:On 6/15/06, Vincent Jenks [EMAIL PROTECTED] wrote: I'm kind of glad we're having this discussion here - it's not reallyoff-topic since I'm still half-wanting to be convinced that I coulduse Spring in this project :Dwhy would you want to be convinced? :) So, you're saying I don't *have* to wire classes together w/ XML inSpring but I could use GenericApplicationContext.registerBeanDefinition() programmaticallyinstead?  What are the drawbacks (besides the obvious -externalization.)none, its the same thing as the xml config, in fact thats probably what the xml reader calls.  I looked into Spring 2.0 yesterday shortly...it looks like they'vedone some work to be JPA (EJB 3 persistence) friendly...but I have to admit I really wasn't crazy about what I was seeing there - just"template" support for JPA.i dont know, i would use hibernate. it is evolving at a higher velocity then the spec and it has features i miss like the criteria api and custom types. the idea of running an application server just to get persistence sickens me. i havent checked out spring's jpa stuff either btw.  -Igor___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson
Just a quick question about how this will work in 2.0;  is it  
possible to have a page that has a normal link with an onClick  
handler which is not stored in the session?

In this case the link target would need to specify both the  
BookmarkablePage and the Listener to call and when the target is  
invoked it would need to instantiate the page and then call the  
handler onClick method.  So the page would be created twice but  
probably rendered once.

On 13 Jun 2006, at 03:07, Eelco Hillenius wrote:

 Anyway, there is a solution for it now... deferred session creation
 :). It's in 2.0, didn't make 1.2 unfortunately, as it would mean two
 API breaks, but it is scheduled for 1.3 whenever that comes out (I
 guess that depends on how badly people want it) and you can apply the
 patch I sent earlier for 1.2.

 Eelco


 On 6/12/06, Alexandru Popescu [EMAIL PROTECTED]  
 wrote:
 Unfortunately this is not completely accurate information.

 I was writing about my experience and I wrote it down accurately.


 Timo, sorry if you found my comments as offending. There was no  
 such intention.

 The session id is stripped from the link in the search result  
 page. At
 least in the cases I had to deal with. That means that the user  
 doesn't
 get a message like session expired.

 Probably, I am missunderstanding the session id is stripped from the
 link in the search result page part. I can see it there, and so the
 user request will go to the /tralala;jsessionid=value.

 For me stripped from the link means: the link will not contain the
 jsessionid part. But this is not true. It is there. Indeed the
 application may continue to work correctly as it may create a new
 session (so no error message will be displayed), but this is  
 something
 that happens on the application side and not on the search engine
 side.

 hth,

 ./alex
 --
 .w( the_mindstorm )p.


 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson

On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:

 Or maybe there will be more trade offs. Depends on how badly people
 want it, and who will work on it. In 2.0, Johan built in a form that
 posts back to a bookmarkable page, so you can even build pages with
 forms that are still stateless.

 Eelco


OK, thanks I will have a look into that.  I have not yet checked out  
2.0 but  would you just be able to clarify - when a stateless form is  
submitted would I still use an onClick handler on my form component?   
Or do I need to work with page parameters and move my form processing  
logic away from the actual form component?


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-13 Thread John Patterson
Perfect.  Wicket just keeps getting better and better.

On 13 Jun 2006, at 20:59, Eelco Hillenius wrote:

 Really? I haven't looked at it, but just remember Johan told me
 processing would go via the pageparameters constructor. If it's via
 the onSubmit handler, that's all the nicer.

 Eelco


 On 6/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 you would use the onclick. what happens when a stateless form is  
 submitted
 is that a new page instance is created instead of looked up from  
 session
 stored, and then processing continues as usual.

 -Igor



  On 6/13/06, John Patterson [EMAIL PROTECTED] wrote:

 On 13 Jun 2006, at 19:55, Eelco Hillenius wrote:

 Or maybe there will be more trade offs. Depends on how badly people
 want it, and who will work on it. In 2.0, Johan built in a form  
 that
 posts back to a bookmarkable page, so you can even build pages with
 forms that are still stateless.

 Eelco


 OK, thanks I will have a look into that.  I have not yet checked out
 2.0 but  would you just be able to clarify - when a stateless  
 form is
 submitted would I still use an onClick handler on my form component?
 Or do I need to work with page parameters and move my form  
 processing
 logic away from the actual form component?


 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-10 Thread John Patterson
Brilliant!  I'll definitely try out this patch.

On 9 Jun 2006, at 12:21, Eelco Hillenius wrote:

 Sorry, we (comitters) couldn't come to an agreement. Backporting
 deferring the session creation can be done in 1.2 (in fact, it's
 working on my laptop now), but it means two API breaks:
 IBehavior get additional method isStateless, and ISessionStore has
 method getSessionId(Request, boolean) instead of
 getSessionId(Request). One of the comitters felt the API break
 voilates our promise of not doing API breaks for .x.x versions.

 I'm attaching this patch for those of you that really need it badly.
 Hopefully, this patch will make it in 1.3 if/when we are going to
 release that, and it is in 2.0 now.

 Eelco


 On 6/8/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yeah, it's in 2.0. We're having the - heated - discussion about
 backporting it so that it will be available in 1.2.

 Eelco


 On 6/8/06, Michael Day [EMAIL PROTECTED] wrote:
  I thought that was the point of 2.0--to break the API for a better
  product. =D
 
  Michael Day
 
  On Jun 8, 2006, at 6:17 PM, Eelco Hillenius wrote:
 
   I'm just about to check in changes that - finally - lets  
 Wicket defer
   session creation until it is actually needed. The change is  
 done for
   2.0/ trunk, but we're currently voting on whether it is worth  
 an API
   break. IBehavior has one additional method. If you haven't been
   reading the API docs not to implement that interface directly  
 (and I
   wouldn't know any advantage to do that), it means you don't  
 have a
   drop in.
  
   So before you do a lot of work, you might want to wait until  
 we're
   done voting.
  
   Eelco
  
  
  
   On 6/8/06, John Patterson [EMAIL PROTECTED] wrote:
  
   On 8 Jun 2006, at 09:52, Johan Compagner wrote:
  
   you could return your own versions of ISessionStore
   that pretty much doesn't do anything..
   Dont know if that always works..
  
   Thanks, I think I will try this approach and see what  
 happens!  I
   will be building a new site in the next month or two which  
 will be a
   good experiment.  If it all works out I will convert the rest  
 of my
   main site from Webwork to Wicket.  I want to wait for 2.0 to  
 become a
   little more stable first and base it on that.
  
   John.
  
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 wicket-1.2.patch.txt
 wicket-examples-1.2.patch.txt
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson

On 8 Jun 2006, at 05:10, Johan Compagner wrote:


 Or make your own buffered response object  
 (WebApplication.newWebResponse())
 and override in the response object the
 public CharSequence encodeURL(CharSequence url)

 but then you have to analize the url and know which one you want to  
 encode and which not.


Thanks.  This sounds like a good place to start.  A complete hack but  
if it works it will allow me to use Wicket for my entire site which  
would be worth it.  All urls to a certain (mounted) section of my  
site will be stateless (they will function without state) so that  
should be fairly easy to determine.

 The problem is that we have to encode the bookmarkable pages. Even  
 if those pages where completely stateless by itself.
 Because a bookmarkable link on that page could still require the  
 session to get the logged in user or something.
 So for us we never can know that a bookmarkable page doesn't have  
 to be encoded or not.

 What we could do is have a bot detection in wicket. Where we see  
 that it is a bot and don't encode anything.


If I stopped an http session from being created (instead of disabling  
it) in certain circumstances would that break wicket?




___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson

On 8 Jun 2006, at 01:43, Timo Stamm wrote:
 Are you sure this issue is that important? In my experience, Google  
 does
 index pages with a session id parameter in the URL. The session id is
 stripped in the search result URL, so I don't see any problems.

See the quotes in my previous post from Matt Cutts (Google engineer)  
and GoogleGuy who have both warned that if you want maximum  
coverage by Google then avoid session ids.  Also, see the eamples I  
gave of sites that did not have their session ids stripped from the  
Google index.

I do not know how much of a difference this will make but it is not  
an experiment I am able to make.

It makes sense in a way though - pages in a session can be different  
for every user depending on how the user gets there.

 Even if
 there is any penalty, it is probably much more important to have good
 content.

My site has a lot of good content that needs to be well indexed and I  
depend on search engine traffic for my income so yes this is  
important.  I think that this business model is a common one.


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson

On 8 Jun 2006, at 09:52, Johan Compagner wrote:

 you could return your own versions of ISessionStore
 that pretty much doesn't do anything..
 Dont know if that always works..

Thanks, I think I will try this approach and see what happens!  I  
will be building a new site in the next month or two which will be a  
good experiment.  If it all works out I will convert the rest of my  
main site from Webwork to Wicket.  I want to wait for 2.0 to become a  
little more stable first and base it on that.

John.


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-08 Thread John Patterson

On 8 Jun 2006, at 18:17, Eelco Hillenius wrote:

 I'm just about to check in changes that - finally - lets Wicket defer
 session creation until it is actually needed. The change is done for
 2.0/ trunk, but we're currently voting on whether it is worth an API
 break. IBehavior has one additional method. If you haven't been
 reading the API docs not to implement that interface directly (and I
 wouldn't know any advantage to do that), it means you don't have a
 drop in.

 So before you do a lot of work, you might want to wait until we're  
 done voting.

 Eelco

Thanks Eelco, I will wait for things to settle down a bit I think.


___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Session ids and search engine bots

2006-06-07 Thread John Patterson
On 7 Jun 2006, at 22:15, Igor Vaynberg wrote:Because wicket components are stateful that state needs to live somewhere. So far it can only live in session for wicket 1.2 or on client in wicket 2.0. Thanks for the update.  I look forward to using this new facility.Maybe in 2.0 what we do is check for the bot and then switch from server to client state. But even then the problem is that urls are not stable, they are still session relative.All my pages which should be indexed by bots require no "conversation" state to be storedand would all be bookmarkable.  Would it be possible to have common pages (or page components) stored in the application scope instead?  They could then have their rendered content cached too.The workaround is simple but is a pain to implement. Basically you have to use only bookmarkable pages and bookmarkable links for the pages you want to be indexed. This means you are not using wicket's session handling and intstead yourself encoding state into the url just like you would with webwork. In 2.0 we have stateless forms so you can also perform POSTs. However even if you do this wicket will still create a session upon first request. This may or may not be resolved in the 2.0 frame. It would be really great if it could be solved.  I remember Jonathon Locke talking about Wicket 1.0 on TSS and saying "Client side state, including zero-state will be available in 1.1."  That statement was one of the reasons I chose to start developing in wicket.  Now I find I have to maintain two separate frameworks for different parts of my site.jsessionid is a well known variable and im sure googlebot is smart enough to know what it is, if not - well then you cannot use wicket if you want your site to be crawled by google. Now isnt there a file that you can serve to the google bot to tell it how to crawl your site? Which urls to hit, etc? If this is true then you can create a bookmarkable "gateway" page to the rest of your application. The sitemap is used to supplement the normal crawl mainly for pages that cannot be reached by crawling.  I would like both methods to crawl the maximum number of pages. I also want other bots to crawl my pages - not just Google.Currently, I am considering either apache url rewriting to remove all session ids from non-conversational pages or hacking wicket to disable url encoding for all pages that do not absolutely require a session.  Any comments on these approaches?  Is there any thing currently in wicket that would help me selectively disable url encoding?Thanks,John.___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RequestCycleProcessor / Transactions again

2006-05-11 Thread John Patterson
You can either implement your transaction handling in your business  
objects that are simply called from wicket or if you really want  
transactional code in your pages you can subclass WebRequestCycle and  
override the methods:


onRuntimeException() - rollback transaction
onEndRequest() - commit transaction if necessary

This would look something like this in your Application class:


protected IRequestCycleFactory getDefaultRequestCycleFactory()
{
return new IRequestCycleFactory()
{
			public RequestCycle newRequestCycle(Session session, Request  
request, Response response)

{
return new WebRequestCycle((WebSession) session, (WebRequest)  
request, (WebResponse) response)

{
... 
}
}
}

John.



On 11 May 2006, at 08:47, Ralf Ebert wrote:


Hi,

I'm using a RequestCycleProcessor to provide a threadlocal-based
transaction to my application. I use something like:

protected IRequestCycleProcessor newRequestCycleProcessor() {
return new DefaultWebRequestCycleProcessor() {

public void respond(RequestCycle requestCycle) {
System.out.println(Respond =);
//prepare tx
super.respond(requestCycle);
//close tx
System.out.println(Respond =);
}

};

}

With a page with form action, I get something like this:

onSubmit =
onSubmit =
Respond =
Respond =

This is not what I intended to do, because I need to provide one
transaction around every request to a WebPage (the only exception are
resources like images or css). So the request cycle processor doesn't
seem to be right. Servlet filter is too complicated as well, because I
want wicket exception handling and wraping requests to WebPages
only... Anything I can do about this?

Regards,
Ralf


---
Using Tomcat but need to do more? Need to support web services,  
security?
Get stuff done quickly with pre-integrated technology to make your  
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson

Ashley Aitken wrote:
So the pages are only serialised when the session is serialised for 
replication.  I am not sure how Wicket (or if it is even within Wicket's 
scope) handles replication/clustering, but if one were using sticking 
sessions (sessions mapped to the same server in the cluster) then I 
guess one wouldn't need to serialise the session or pages at all.  Does 
that sound right?




Pages are also serialized when a new browser window is opened - the 
current page is cloned (via serialization) and placed in a new PageMap. 
 This would occur, for example, if the user clicks on a link to your 
site in an email which usually opens the page in a new window.  Also 
when a your page creates a pop-up window explicitly or the user opens a 
link in a new tab.


I don't fully understand why wicket needs to clone the page rather than 
just moving the page into the new page map?


John



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson

Johan Compagner wrote:


Yes that is it.
The page that you are showing now in a different window can also be 
displayed in another window.
So we can't move it because it also have to exist with its different 
versions in the pagemap it came from.




I thought that whenever I click on a link, a new page object is created? 
If the link opens in a new window then why would the page need to exist 
in the old page map at all?  It was never shown in that window.


So I can understand the use case, can you give me an example where the 
same page is displayed in two windows?




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson

John Patterson wrote:


I thought that whenever I click on a link, a new page object is created? 
If the link opens in a new window then why would the page need to exist 
in the old page map at all?  It was never shown in that window.


So I can understand the use case, can you give me an example where the 
same page is displayed in two windows?




Now I can think of a use case!  In IE when the user presses ctrl-N a new 
window is created that contains the same page as the old window.  It has 
been so long since I have used IE that I didn't think of this case.  In 
Firefox and Safari I think that I would have to paste the old URL into 
the new window.  But then the new-window-detection code would not work 
(as the history is not 0) would it?




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: The other side of Wicket ...

2006-05-05 Thread John Patterson

Johan Compagner wrote:

there are other examples
What if a new link doesn't make a new page? But just sets a new modelobject?



Good example!  It seems to me that the most common case would be simply 
creating a new page in a new window.  In this case I can't see why it is 
necessary to clone the page.  Could wicket some how detect if a page has 
actually been used (rendered) and only clone it then?




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: Redirect to bookmarkable page

2006-05-05 Thread John Patterson

John Patterson wrote:
Do you mean the RedirectPage in the library application?  If so, can you 
explain why such a page is needed to logout?  I thought that 
Session.invalidate() waits until after the request is finished anyway?




Regarding the RedirectPage being used in the sample wicket-library 
module to logout - can someone explain why (or if) this approach is 
necessary?


Thanks,

John.



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson

Hi,

I would like users to be able to bookmark my login page with a nice 
link. I have mounted the page and tested that this link does indeed take 
you to my LoginPage.  However, when users are redirected to this page by 
 redirectToInterceptPage the page url is not the bookmarkable one 
(/member/login) but /member?wicket:interface=:0::


What can I do to make Wicket use the bookmarkable url when it redirects 
users to the login page?


Thanks,

John.



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson
Do you mean the RedirectPage in the library application?  If so, can you explain why such a page is needed to logout?  I thought that Session.invalidate() waits until after the request is finished anyway?On 3 May 2006, at 16:04, Johan Compagner wrote:yeah that could work. But that is really ugly.johanOn 5/3/06, Timo Stamm [EMAIL PROTECTED] wrote: Johan Compagner schrieb: that is currently not possibleWhat about using the RedirectPage? (I think it's ugly, but it should work)Timo we don't have a PageMap.redirectToInterceptPage(final Class pageClass) only a Page can you add a feature request for this?  johan On 5/3/06, John Patterson [EMAIL PROTECTED] wrote: Hi, I would like users to be able to bookmark my login page with a nice  link. I have mounted the page and tested that this link does indeed take you to my LoginPage.  However, when users are redirected to this page by   redirectToInterceptPage the page url is not the bookmarkable one  (/member/login) but /member?wicket:interface=:0:: What can I do to make Wicket use the bookmarkable url when it redirects users to the login page? Thanks,  John. --- Using Tomcat but need to do more? Need to support web services, security?  Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list  Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 

Re: [Wicket-user] Redirect to bookmarkable page

2006-05-03 Thread John Patterson
Done.On 3 May 2006, at 15:39, Johan Compagner wrote:that is currently not possiblewe don't have a PageMap.redirectToInterceptPage(final Class pageClass)only a Pagecan you add a feature request for this?johan On 5/3/06, John Patterson [EMAIL PROTECTED] wrote: Hi,I would like users to be able to bookmark my login page with a nicelink. I have mounted the page and tested that this link does indeed takeyou to my LoginPage.  However, when users are redirected to this page by   redirectToInterceptPage the page url is not the bookmarkable one(/member/login) but /member?wicket:interface=:0::What can I do to make Wicket use the bookmarkable url when it redirectsusers to the login page? Thanks,John.---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user

[Wicket-user] Adding Feedback messages

2006-03-23 Thread John Patterson
Hi,

I have added a FeedbackMessages instance to my session class so that I can add 
messages that will be displayed on the next page shown to the user.  After 
being displayed they will be cleared.

It looks to me as if the I should be able to override the 
newFeedbackMessageModel() method to return an instance that combines my 
session messages with any page specific messages.


FeedbackPanel feedback = new FeedbackPanel(feedback)
{
@Override
protected FeedbackMessagesModel 
newFeedbackMessagesModel()
{
return new FeedbackMessagesModel()
{
protected List processMessages(final 
List messages)
{
return messages;
}   
};
}
};

However the FeedbackMessagesModel is final.

The comment for processMessages() is:


/**
 * Override this method to post process to the FeedbackMessage list.
 * 
 * @param messages
 *List of sorted and filtered FeedbackMessages for further
 *processing
 * @return The processed FeedbackMessage list
 */

John


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] HTTPS switching

2006-03-22 Thread John Patterson
Hi,

Is there a standard way to handle switching between http and https?

Thanks,

John.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
OK Thanks.  It would get a bit messy to check this for every link ie links on 
secure pages going back to http also.  

I can set up redirections in Apache but this requires two requests eg the 
first http request returns a redirect to the https listener and it is also 
non portable.  Unfortunately the transport-guarantee CONFIDENTIAL in web.xml 
only handles moving you from http to https.

It would be great if PageLink had some kind of framework like the 
AuthorisationStrategy so it could tell which Page classes needed to be 
confidential (or not) and automatically generated the full URLs.

Is there any work planned on this already?

On Wednesday 22 Mar 2006 04:38, Johan Compagner wrote:
 the only thing i can think of right now is use the ExternalLink to specify
 the full url
 where you want to move to

 johan

 On 3/21/06, John Patterson [EMAIL PROTECTED] wrote:
  Hi,
 
  Is there a standard way to handle switching between http and https?
 
  Thanks,
 
  John.
 
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking scripting
  language
  that extends applications into web and mobile media. Attend the live
  webcast
  and join the prime developer group breaking into this new coding
  territory!
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
On Wednesday 22 Mar 2006 08:29, Juergen Donnerstag wrote:
 I think the last time we discussed that topic the conclusion was that
 no immediate action is required as most applications which require
 https tend to have only a very limited number of http pages.


This doesn't really sound right to me.  Any application that requires users to 
be logged in to perform actions must use https on all of the pages involved 
so that their session cannot be hijacked.  For example, my application has 
many 'member' pages where users can write reviews, update their profile etc.

Surely this is a pretty common scenario?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Switching to https

2006-03-22 Thread John Patterson
On Wednesday 22 Mar 2006 08:44, Martijn Dashorst wrote:
 There is no work planned on such a thing, but you are welcome to provide an
 implementation :-)


Cool.  Yes I would love to... I am about to go on Safari in Venezeula for 
three weeks!  I recall someone saying a number of months ago that they were 
about to check in some related stuff.  If nothing has changed when I get back 
I would certainly be keen to give it a shot.

John.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Switching to https

2006-03-21 Thread John Patterson
Hi,

Is there a standard way to handle switching between http and https?

Thanks,

John.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] cannot checkout wicket-struff from cvs at sourceforge

2006-03-01 Thread John Patterson
Sourceforge anonymous cvs access is hopeless.  You will need to try during off 
peak hours or retry many times until you can get a connection.

On Wednesday 01 Mar 2006 08:30, Nili Adoram wrote:
 Hi,
 I tried to checkout wicket-stuff from cvs at sourceforge according to
 the instructions at
 http://wicket-stuff.sourceforge.net/cvs-usage.html:

 I tried:
 cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff login
 I pressed Enter when asked for password and the reply was:
 cvs [login aborted]: end of file from server (consult above messages if
 any)

 Is CVS server down or my command is wrong?
 thanks
 Nili



 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live
 webcast and join the prime developer group breaking into this new coding
 territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] HttpSession access

2006-03-01 Thread John Patterson
Hi,

I am using a wicket 1.2 version from cvs from about 2 wekks ago.  There seems 
to be no way to access the HttpSession.  Is this still true?

John.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] HttpSession access

2006-03-01 Thread John Patterson
On Wednesday 01 Mar 2006 13:51, Juergen Donnerstag wrote:
 What do you need it for?


I am migrating my web application from WebWork to Wicket.  All new 
functionality is written in Wicket but I need to share some objects with the 
old code such as the currently logged in user.  This is stored in the http 
session.  Using the HttpSessionStore attributes that I set are prefixed.

I guess I could have changed my old code to use the wicket prefix.

John.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] VOTE

2006-02-17 Thread John Patterson
1. Give me the constructor change and the Java 5 functionality in one
pass (Wicket 2.0)

In the hope that we will have both sooner.

On Thursday 16 Feb 2006 21:33, Eelco Hillenius wrote:
 Hi all,

 This is a non-binding (the developers ultimately decide) call votes
 concerning whether we should fold the upcomming constructor changes
 with our move to Java 5 or not. See for a discussion of those changes
 other threads, please use this thread for voting only.

 1. Give me the constructor change and the Java 5 functionality in one
 pass (Wicket 2.0)
 2. Do the constructor change in a seperate release (Wicket 1.3) and
 put Java 5 in the next (Wicket 2.0)
 3. I don't want either one and I want to stay on Wicket 1.2.

 This last option has no real effect except that you explicitly say
 that you prefer a long lasting support on 1.2 over new features.

 Also, take into consideration that the less versions we have to
 maintain seperately, the quicker we probably can implement them.

 Your votes please?

 Btw, it is still our plan to be up-to-date with Wicket In Action.

 Eelco


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Post 1.2 roadmap

2006-02-14 Thread John Patterson
On Tuesday 14 Feb 2006 11:43, Eelco Hillenius wrote:

 move. I am always in favor of clarity and breaking early in these
 matters.


I would certainly rather see wicket become a better framework than be held 
back by backwards compatibility.  Those who are not willing to refactor their 
ui code can simply keep using wicket 1.2.  It is a good product now and 
always will be!


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: Pethate - long urls

2006-02-10 Thread John Patterson
On Friday 10 Feb 2006 01:04, Gili wrote:
   For example, if you have a multi-page image gallery, specifying page=0
 would be optional, since it is the default page that gets viewed unless
 you specify otherwise.


Again, generally all parameters passed to a page are passed for a reason - 
they alter the page content.

   Not if you use HTTP redirect. You can have multiple pages with
 identical content if all duplicates redirect to the canonical URL. From
 Google's point of view, it only sees one URL (the canonical one) and it
 disregards any pages which redirect.

You have missed the point.  I was not talking about pages with identical 
content.  If you read my post carefully you will see that I talk about pages 
that are significantly similar but NOT identical.

Such pages MUST have different URLs but perhaps 90% of the content may be the 
same.  Here is an example:

 /showRecord/id/123/userName/Gili
 /showRecord/id/123/userName/John

Every parameter is used to change the displayed page.  These pages would show 
mostly the same content but would only differ in the user name displayed.  
Google would see these as duplicate pages but they *cannot* have the same 
URL.

If one used the form:

/showRecord?id=123userName=John

Or even better:

/showRecord/id/123?userName=John

Then Google will recognise that the page is dynamic and will not penalise your 
site.  The major search engines no longer have a problem indexing such pages.  
I now use this second hybrid form and traffic has returned to normal.  From 
reading SEO news groups I know that others have had the same problem with 
duplicate content penalties after Google's Jagger update.

Hope this helps clarify the problem with passing parameters in the path.

John


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: To SSL And Back

2006-02-09 Thread John Patterson
Nick Heudecker nheudecker at gmail.com writes:

 
 I'm working on adding the functionality to Wicket.  Should be a few more 
 days.  

How did this work go?  Is there a recommended way to enforce pages to use 
https?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
Igor Vaynberg igor.vaynberg at gmail.com writes:

 its pretty easy to create an encoder that will process regular url
 formatted parameters. maybe that is a better default eventhough it is
 not as crawler friendly as the other one. you can also change your own
 implementation to the default by calling
 applicationsettings.setpageparametersencoder.

Just thought I would share my recent experience using urls of the form:

/action/param_name1/param_value1/param_name2/param_value2

I used this form in a website of mine to great success UNTIL november when
Google started penalising any site that contains duplicate content.
If the parameters passed to the page do not result in a significantly 
different resulting page then google will assume that you have duplicate 
pages on your site and will penalise you.

In November and December my site traffic dropped to 25% almost overnight
after their Jagger update.  After changing my URL's back to the more
conventional form:

/action?param_name1=param_value2param_name2=param_value2

My traffic has returned to normal.

Lesson learned: don't assume you are smarter than Google to gain more
traffic. Stick to statndard URL schemes.





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
On Thursday 09 Feb 2006 11:33, Gili wrote:
   I don't think this necessary has anything to do with your URL scheme.
 It has to do with having different URLs returning the same (or very
 similar) content.

As you have written immediately below, the problem IS due to the URL scheme.  
People need to be aware that using such a scheme can result in a penalty from 
Google if ANY one of the parameters does not alter the page significantly.

   The difference is that under niceurl, all URLs are considered
 individual pages whereas under the normal scheme it might be considered
 as a single page with multiple parameters. I believe Google has problems
 indexing the matter whereas if you use the former and different
 parameters yield the same page you will end up penalized.

Google and other major search engines no longer have problems indexing dynamic 
pages (urls with a ?)

   I would suggest you simply ensure that different parameters always
 result in different content 

Unrealistic.  If any parameter does not alter the page significantly your site 
will be penalised.

 and use HTTP redirects in case different 
 parameters yield the same content. Google will only penalize you if you
 don't HTTP redirect and pretend these are different pages.

If the redirect relies on a user session existing then Google will not even 
index the content page (Google does not support cookies and avoids any url 
with a session id).  If it doesn't rely on a session then all parameters must 
also be present in the redirected page URL which brings us back to the 
original problem.

Generally, steer clear of such a format if you want traffic from Google UNLESS 
every parameter results in a significantly different page.

I have combined the 2 different schemes so that the main parameters are 
included in the URL path and additional ones are in the query string.

/action/main_param_name/main_param_value?parm_name2=param_value2

This works well.

John


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: Pethate - long urls

2006-02-09 Thread John Patterson
On Thursday 09 Feb 2006 15:15, Gili wrote:
   You misunderstood. I wasn't saying you should be removing parameters. I
 was suggesting you canonicalize them. That is, if a user hits:
 foo.html?a=1b=2c=3 but this is identical to foo.html?a=1 (because b=2
 and c=3 are default values) than you need to issue a HTTP redirect from
 foo.html?a=1 to foo.html?a=1b=2c=3.


I really don't understand what you are getting at here?  When would you ever 
want to pass default values to a page?  I cannot see this situation ever 
arising.  Parameters are generally passed to the page for a reason ie they 
affect what is displayed.

   Google's guidelines specifically says:

 Allow search bots to crawl your sites without session IDs or arguments
 that track their path through the site. These techniques are useful for
 tracking individual user behavior, but the access pattern of bots is
 entirely different. Using these techniques may result in incomplete
 indexing of your site, as bots may not be able to eliminate URLs that
 look different but actually point to the same page.

   which implies you should not rely upon Sessions for crawler indexing
 (in fact, I have read that most crawlers will outright reject any URLs
 that make use of sessions). 

Isn't that what I just wrote?

 I'm saying that you should focus on ensuring 
 all BookmarkablePages expose canonicalized paths and redirect pages with
 equivilent parameter values to those canonicalized paths.


That is exactly what does NOT happen when you pass parameters in the URL path.  
Google assumes that they are different pages with similar (note: not 
identical) content and punishes your ass.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] After redirection doRender() still called

2005-12-22 Thread John Patterson
Hi Wicketeers,

I have a page which can only be viewed if the user is logged in.  If the user 
is not logged in then checkAccess() redirects to a sign in page and returns 
false.

I moved my page building code to the onBeginRequest() method so that it is 
only called when it is really needed (ie not when the page cannot be viewed).

However, in my original page doRender() is still called and the html is parsed 
etc.  This involves looking up data from the database which is never shown.

Is there any way to build a page that will only be built if it is actually 
going to be displayed?

Thanks,

John.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-20 Thread John Patterson
On Tuesday 20 Dec 2005 04:53, Johan Compagner wrote:
 it was there really at the beginning. But then developers complained that
 it was really difficult to have youre own request cycle
 because you needed to first make youre own SessionFactory then youre own
 Session then youre own RequestCycle factory and then last
 the RequestCycle itself. that where 4 classes and 5 methods just to do one
 thing (implement one method)


Sounds like a factory object would help here.  It could kind of 'denormalise' 
the object hierarchy - flatten it out - to make things easier to override 
while removing the clutter from the Application.

That would allow me to easily integrate Picocontainer into the framework by 
creating a dynamic Proxy.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 17:42, Igor Vaynberg wrote:
 imho, your transactions should only
 be concerned with what happens in event handlers (onclick/onsubmit) and not
 through the enitire request cycle

Are you suggesting putting transaction handling in each wicket event handler?


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson

On Saturday 17 Dec 2005 18:31, Igor Vaynberg wrote:
 of course i dont have txn management code in every event handler, i use
 spring. my service methods are demarkated with their txn attributes and
 spring handles it all for me transparently via aop. my wicket code knows
 nothing about transactions or hibernate or any perstence code, it only
 knows about service interfaces.


Ahh yes this does sound like a better approach.  I have never used Spring 
before.  a couple of questions:  

Can you call multiple operations on your service interfaces in the same 
transaction?  Or is this not done?

Can you leave the hibernate session open for the view to be rendered?


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-17 Thread John Patterson
On Saturday 17 Dec 2005 23:10, John Patterson wrote:
 I have checked it out and it looks to me like the method
 HibernateApplication.onRuntimeException() is never used so transactions
 will never be rolled back.  Despite this missing functionality it is still
 much more complicated than using a try-catch


Sorry, I forgot that this example was built against an older version of 
wicket.  That method would have been called before.  It doesn't seem to be 
called anymore however - at least 2 more classes are needed.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 05:40, Maurice Marrink wrote:
 We use the dao pattern. any exceptions are handled by the different dao's.

This would require duplicating error and transaction handling in every method.
It also creates a new transaction for every data operation which does not 
allow for making multiple operations atomic.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Hibernate transactions

2005-12-16 Thread John Patterson
On Friday 16 Dec 2005 02:47, Igor Vaynberg wrote:
 There is in fact an on error handler Application.onRuntimeException(). its
 called whenever there is a runtime exception. instead of trying to do
 try/catch in your filter you can use a request variable to indicate
 success/failure. set it to success, and in the error handler set it to
 failure. 

Thanks, this currently looks like the best place to do it but it is very 
untidy requiring coordination between more than one object using a request 
variable etc.

It also means that I must trust the wicket code to always call 
Application.onRuntimeException().  It would be much simpler if I could 
override a single method to wrap it in a try-catch-finally block.

for example, if Request cycle had a non-final method:

protected void doRequest() throws RuntimeException
{
  // Attach thread local resources for request
  threadAttach();

  // Response is beginning
  internalOnBeginRequest();
  onBeginRequest();

  // If request is parsed successfully
  if (parseRequest())
  {  
    // respond with a page
    respond();
  }
}

I would then feel much better being able to override this method and wrap it 
in my try-catch-finally block.  Good and safe.

 I use this approach whenever i know my requirements will never 
 exceed the single-transaction-per-request limitation.

Do you often need more than one transaction per request?

John


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wiki problem

2005-12-07 Thread John Patterson
Hi, 

There is a problem on the Wiki where all images appear as some kind of 
identifier.

John.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wiki problem

2005-12-07 Thread John Patterson
On Wednesday 07 Dec 2005 11:17, Martijn Dashorst wrote:
 It's not the images, but the source code examples... An even greater
 disaster. Gwynn, are you listening?

They are still available in Google's cache:

http://www.google.com/search?q=cache:j8nGc9VwnnEJ:www.wicket-wiki.org.uk/wiki/index.php/Newuserguide+hl=en


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user