Re: [Wicket-user] localhost/wicketApp works fine, PC_NAME/wicketApp throws page expire.
Which web browser? Which version of wicket? Which app server? On 7/20/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi has anyone has had this problem before? I have a page and everything works fine. but when I click on a link at the home page only works (goes to the page) if I am at localhost:// etc. even on my own computer. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] 401 HTTP authentication?
Have you tried: import org.apache.wicket.protocol.http.servlet.*; throw new AbortWithWebErrorCodeException(401) // or maybe: throw new AbortWithHttpStatusException(401, false) On 7/3/07, Maurice Marrink [EMAIL PROTECTED] wrote: I did some digging in the code and found the following: using the RequestCycle you can get the Response. which is most likely a WebResponse from there you can get the HttpServletResponse and set the statuscode to 401. Question remains how to tell wicket to stop processing and simply return the statuscode. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket ModalWindow, MaskType and opacity
Hello, I am using a Wicket 1.3.0 SNAPSHOT from the trunk. In the ModalWindow class, there are two masks available: MaskType.TRANSPARENT MaskType.SEMI-TRANSPARENT (10% opacity) Is there a way for me to have finer control of the degree of opacity? I'd love to be able to control it through a Java API. For what its worth, I inspected the Wicket's ModalWindow implementation and noticed that the mask is implemented in the modal.css file: div.wicket-mask-dark { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; opacity: 0.1; -moz-opacity:0.1; background-color: black; filter: alpha(opacity=10); background-image: url('transparent2.png'); } div.wicket-mask-transparent { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background-image: url('transparent1.gif'); } Cheers, Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket get together at O'Reilly Open Source convention? (Portland Oregon USA)
The O'Reilly open source convention is happening July 23-27 in Portland Oregon (USA): http://conferences.oreillynet.com/os2007/ Are there any Wicket people coming to Portland for OSCON? I could organize an informal gathering or (perhaps) an official birds-of-feather session: http://conferences.oreillynet.com/pub/w/58/bof.html Thoughts? Sean Portland, Oregon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dynamic Menus?
You are right. The link is broken: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-extensions-menubar/ It appears that the code is now located here: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-2-DISCONTINUED/wicket-extensions-menubar/ Sean It appears that somebody removed the menubar project from SVN. On 6/26/07, Doug Leeper [EMAIL PROTECTED] wrote: Sean, There appears to be a problem with the link you supplied. I am getting a File Not Found error. I am assuming that I should be able to access with a browser, correct? - Doug - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?
I encountered that error recently when I was running Tomcat 5.5.17 with Eclipse WebTools 1.5.4 I was unable to determine the root cause of the error. Sean On 6/27/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I am trying to start the quickstart project on tomcat and it throws servere: Error FilterStart error. We've tried to use the servlet mapping instead this gives no error but doesnt work. whats wrong? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dynamic Menus?
Doug: You should look at this code: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-extensions-menubar/ The code uses Wicket 2.x and Java 5 Generics. Since Wicket 2 has been abandoned, this component/code needs to be rewritten for Wicket 1.3 I've got commit access for this project and I hope to find the time to work on the code soon. Sean On 6/26/07, Doug Leeper [EMAIL PROTECTED] wrote: So am I to assume then that Wicket doesn't have any Java components to mimic such behavior? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Can I add a WebPage to a WebPage?
Since WebPage extends from Component, Is it possible to add a WebPage to another WebPage? // Pseudo code: public class FooPage extends WebPage { // implementation ommitted } public class BarPage extends WebPage { public BarPage() { add(new FooPage()); } } Cheers, Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
I was unable to get my Wicket 1.3 application to run in Websphere 6.0.2.13 After upgrading from Websphere 6.0.2.13 to Websphere 6.0.2.17, my Wicket 1.3application is running perfectly. Wicket 1.3 users should avoid Websphere 6.0.2.13... Sean On 5/24/07, Sean Sullivan [EMAIL PROTECTED] wrote: Hello, Is anybody using Wicket 1.3 beta 1 in a Websphere 6.x environment? I am running Websphere 6.0.2.13 and I'm having some trouble with my application. It appears that the WicketFilter is calling sendRedirect repeatedly. I am unable to view any of the pages in my application because the filter always responds with a redirect code. I'm open to any suggestions for how to debug this. Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] WicketTester class in Wicket 1.3
I'm using the WicketTester class from Wicket 1.3 trunk. WicketTester provides these methods: public Page startPage(Class c) public Page startPage(Page p) public void assertRenderedPage(Class expectedRenderedPageClass) I was wondering if there should also be a method with this signature: public void assertRenderedPage(Page p) What do you think? Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
Ok, I made the change to home/ but I'm still having the same problem. I am unable to visit the application homepage: http://dev.foobar.com/wicketdemo/home I've also tried http://dev.foobar.com/wicketdemo/home/ (trailing slash) but it yields the same result. I think that I am experiencing a Websphere specific bug. The WAR runs fine in Apache Tomcat 5.5.17 Sean On 5/24/07, Johan Compagner [EMAIL PROTECTED] wrote: make that home/ On 5/24/07, Sean Sullivan [EMAIL PROTECTED] wrote: I have an index.jsp file in the root of the WAR: jsp:forward page=/home / On 5/24/07, Johan Compagner [EMAIL PROTECTED] wrote: it seems that the home mount somehow does a redirect again to /home but then wicket again to /home/ so the question is who does that /home ? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
Question: Is Wicket setting the 302 response code for these HTTP requests? I am seeing the 302 status code in all responses. (302 == SC_MOVED_TEMPORARILY) Sean On 5/25/07, Sean Sullivan [EMAIL PROTECTED] wrote: Ok, I made the change to home/ but I'm still having the same problem. I am unable to visit the application homepage: http://dev.foobar.com/wicketdemo/home I've also tried http://dev.foobar.com/wicketdemo/home/ (trailing slash) but it yields the same result. I think that I am experiencing a Websphere specific bug. The WAR runs fine in Apache Tomcat 5.5.17 Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Autocomplete - selecting (higlighting) first option by default.
IMHO, it would be nice if Java programmers could control this behavior with a Java API. On 5/25/07, Dipu [EMAIL PROTECTED] wrote: At the moment with Wicket's auto complete list we need to scroll down to select an option from the Autocomplete list. It would be nice to have the first item highlighted by default. I tried changing selected to 0 where its declared and it didn't work for me. On setting selected to 0 a doUpdateChoices(resp) worked, function doUpdateChoices(resp){ var element = getAutocompleteMenu(); element.innerHTML=resp; if(element.firstChild element.firstChild.childNodes) { selected = 0; Can anyone please confirm if this is the right way to go. Regards Dipu - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
Hello, Is anybody using Wicket 1.3 beta 1 in a Websphere 6.x environment? I am running Websphere 6.0.2.13 and I'm having some trouble with my application. It appears that the WicketFilter is calling sendRedirect repeatedly. I am unable to view any of the pages in my application because the filter always responds with a redirect code. I'm open to any suggestions for how to debug this. Sean - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
Johan, My web context root is /wicketdemo and my application homepage is mounted as /home Here's what I see when I access the site from the command line (wget): wget -S http://dev.foobar.com/wicketdemo --08:08:47-- http://dev.foobar.com/wicketdemo = `wicketdemo' Resolving dev.foobar.com... 10.25.18.151 Connecting to dev.foobar.com|10.25.18.151|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:48 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/ Content-Length: 0 Keep-Alive: timeout=10, max=100 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/ [following] --08:08:48-- http://dev.foobar.com/wicketdemo/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:49 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=99 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:50-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:51 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=98 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:51 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=97 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=96 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=95 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=94 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=93 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=92 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=91
Re: [Wicket-user] Wicket 1.3 beta 1 and Websphere 6.0
I have an index.jsp file in the root of the WAR: jsp:forward page=/home / On 5/24/07, Johan Compagner [EMAIL PROTECTED] wrote: it seems that the home mount somehow does a redirect again to /home but then wicket again to /home/ so the question is who does that /home ? On 5/24/07, Sean Sullivan [EMAIL PROTECTED] wrote: Johan, My web context root is /wicketdemo and my application homepage is mounted as /home Here's what I see when I access the site from the command line (wget): wget -S http://dev.foobar.com/wicketdemo --08:08:47-- http://dev.foobar.com/wicketdemo = `wicketdemo' Resolving dev.foobar.com... 10.25.18.151 Connecting to dev.foobar.com|10.25.18.151|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:48 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/ Content-Length: 0 Keep-Alive: timeout=10, max=100 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/ [following] --08:08:48-- http://dev.foobar.com/wicketdemo/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:49 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=99 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:50-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:51 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=98 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:51 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=97 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=96 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=95 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content-Length: 0 Keep-Alive: timeout=10, max=94 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home/ [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home/ = `index.html.14' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home Content-Length: 0 Keep-Alive: timeout=10, max=93 Connection: Keep-Alive Content-Type: text/plain Content-Language: en-US Location: http://dev.foobar.com/wicketdemo/home [following] --08:08:51-- http://dev.foobar.com/wicketdemo/home = `home' Reusing existing connection to dev.foobar.com:80. HTTP request sent, awaiting response... HTTP/1.1 302 Found Date: Thu, 24 May 2007 15:08:52 GMT Server: IBM_HTTP_Server/2.0 Location: http://dev.foobar.com/wicketdemo/home/ Content
Re: [Wicket-user] Wicket 1.3 and WicketPortletServlet
I created an issue in JIRA: https://issues.apache.org/jira/browse/WICKET-295 On 2/16/07, Johan Compagner [EMAIL PROTECTED] wrote: i guess we only need to extend wicketfilter and do this: protected final IWebApplicationFactory getApplicationFactory() { return new IWebApplicationFactory(){ public WebApplication createApplication(WicketServlet servlet) { return new WebApplication(){ public Class getHomePage() { return AccessDeniedPage.class; } }; } public WebApplication createApplication(WicketFilter filter) { return new WebApplication(){ public Class getHomePage() { return AccessDeniedPage.class; } }; } }; } that does look simple johan On 2/16/07, Sean Sullivan [EMAIL PROTECTED] wrote: Are there any plans to convert the WicketPortletServlet to a filter in the wicket-1.x branch? http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/ portlet/ - 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] Wicket 1.3 and WicketPortletServlet
Are there any plans to convert the WicketPortletServlet to a filter in the wicket-1.x branch? http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/ - 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] How can I have difference HomePage for difference role?
Jonathan, How can I implement this using a security strategy? Do I need to implement my own strategy or does the wicket-auth-roles package take care of this automatically? Sean On 2/8/07, Jonathan Locke [EMAIL PROTECTED] wrote: if your home page is similar for different roles, you might even make one home page and hide/show different panels/components depending on who is signed in. you can /even/ do that automatically using a security strategy because in wicket you can create panels that are only visible to users having certain roles. the advantage there is that you can stick such panels anywhere and not be concerned that the wrong class of use might ever see them. - 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] Size of the HTML response page
I am building a web application with Wicket 1.3 and I want to be able determine the number of bytes in the HTML response. I know that I can inspect document.fileSize on the client, but what I'm looking for is to have access to this information on the server. Does Wicket's RequestCycle or Response object have this type of information? Sean - 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] Not sure how to use DatePicker component
In my application, I implemented a custom IConverterFactory class and I extended Wicket's DateConverter class. Here's what I did for my Intranet application: * import* wicket.util.convert.IConverterFactory; * import* wicket.util.convert.IConverter; * import* wicket.util.convert.Converter; * import* java.util.*; * import* java.text.*; * public* *class* *ConverterFactory* *implements* IConverterFactory { *public* ConverterFactory() { *super*(); } *public* *IConverter* newConverter(*final* Locale locale) { Converter c = *new* Converter(locale); *if* ( (locale == Locale.ENGLISH) || (locale == Locale.US) ) { MyDateConverter dc = *new* *My*DateConverter(); c.set(java.util.Date.*class*, dc); } *return* c; } } ** * public class MyDateConverter extends wicket.util.convert.converters.DateConverter { public DateFormat getDateFormat(Locale locale) { if ( (locale == null) || (locale == Locale.ENGLISH) || (locale == Locale.US) ) { SimpleDateFormat format = new SimpleDateFormat(MM/dd/); return format; } else { return super.getDateFormat(locale); } } } * On 2/1/07, Scott Swank [EMAIL PROTECTED] wrote: I just (a bit too optimistically) tried to get the converter from my TextField and use it to set the DateConverter for the corresponding DatePicker. I definitely want to retain the i18n (mm/dd/ for ENGLISH and dd/mm/ for FRENCH). Is there a straightforward way to synch up the DateConverters for a TextField and DatePicker while retaining internationalization? RequiredTextField checkIn = new RequiredTextField(checkIn, new PropertyModel(roomRequest, checkIn), Date.class); checkIn.setOutputMarkupId(true); checkIn.add(DateValidator.minimum(getToday())); add(checkIn); DatePicker dp = new CylleniusCalendar(checkInPicker, checkIn); dp.setOutputMarkupId(true); dp.setDateConverter ((DateConverter) checkIn.getConverter()); add(dp); java.lang.ClassCastException: wicket.util.convert.Converter at com.vegas.cart.wicket.components.RoomRequestForm.init( RoomRequestForm.java :69) Thank you, Scott - - 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] HTTP session expiration and Wicket pages
I'm building an Intranet web application that will run in Websphere. In a nutshell, this is my situation: - Websphere has a 30 minute timeout for inactive sessions - users open their browser in the morning and expect to be able to use the application on and off during the day - users may have idle periods that exceed 30 minutes (lunch, meetings, etc) According to the Wicket FAQ, Wicket pages are stored in the HTTP session: *When new pages are created they are added to the session, when pages are no longer needed they are expired (removed) from the session* My question is: What will happen when these users try to click on a Wicket link after the HTTP session has expired? I don't want the users to see a your page has expired message. I want the user to resume using the application in the same context that they were in before the HTTP session expired. Are there any best practices for this scenario? I studied the javadocs and I found the default error page ( wicket.markup.html.pages.PageExpiredErrorPage) as well as methods for changing the page: IApplicationSettings.setPageExpiredErrorPage IApplicationSettings.getPageExpiredErrorPage Cheers, Sean - 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] HTTP session expiration and Wicket pages
Hello again, Will it be possible to have zero serverside state in Wicket 1.3? Using Google, I found two references to this topic: * The next version of Wicket will support client-side models for zero-state scalability.* source: http://wicket.sourceforge.net/Features.html [...] *in 1.1 we are implementing the means to go near zero serverside state. However, we will again try to make it as easy as possible to go from full serverside state to minimal serverside state. * * source: http://www.theserverside.com/news/thread.tss?thread_id=34725* ** Regards, Sean * * On 1/31/07, Sean Sullivan [EMAIL PROTECTED] wrote: I'm building an Intranet web application that will run in Websphere. In a nutshell, this is my situation: - Websphere has a 30 minute timeout for inactive sessions - users open their browser in the morning and expect to be able to use the application on and off during the day - users may have idle periods that exceed 30 minutes (lunch, meetings, etc) According to the Wicket FAQ, Wicket pages are stored in the HTTP session: *When new pages are created they are added to the session, when pages are no longer needed they are expired (removed) from the session* My question is: What will happen when these users try to click on a Wicket link after the HTTP session has expired? I don't want the users to see a your page has expired message. I want the user to resume using the application in the same context that they were in before the HTTP session expired. Are there any best practices for this scenario? I studied the javadocs and I found the default error page ( wicket.markup.html.pages.PageExpiredErrorPage) as well as methods for changing the page: IApplicationSettings.setPageExpiredErrorPage IApplicationSettings.getPageExpiredErrorPage Cheers, Sean - 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] HTTP session expiration and Wicket pages
Awesome. Thanks Igor.Can Wicket 1.3 encode page state in URLs or in a hidden form field? By the way, I noticed Tapestry 4.1 can optionally encode page state as URL query parameters: http://tapestry.apache.org/tapestry4.1/usersguide/state.html *The [Tapestry] application may be stateless even when it has persistent page properties, if those properties use the client persistence strategy (which encodes pesistent page data into URLs as query parameters). This can be a very powerful approach, though it introduces its own problems: * - *The query parameters are an encoding of Java objects, and could be decoded to expose privileged information. * - *The encoding of page state can result in very long strings included as part of URLs, possibly extending beyond the 3000 to 4000 character effective maximum URL length. * Regards, Sean On 1/31/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, 1.3 has support for stateless pages and stateless forms. but notice that by doing this you give up a lot of what makes wicket wicket -igor On 1/31/07, Sean Sullivan [EMAIL PROTECTED] wrote: Hello again, Will it be possible to have zero serverside state in Wicket 1.3? Using Google, I found two references to this topic: * The next version of Wicket will support client-side models for zero-state scalability.* source: http://wicket.sourceforge.net/Features.html [...] *in 1.1 we are implementing the means to go near zero serverside state. However, we will again try to make it as easy as possible to go from full serverside state to minimal serverside state. * * source: http://www.theserverside.com/news/thread.tss?thread_id=34725 * ** - 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] Right-click context menu
Yahoo UI has a nice context menu: http://developer.yahoo.com/yui/menu/#contextmenu http://developer.yahoo.com/yui/examples/menu/contextmenu.html It should be possible to wrap this menu as a Wicket component. Sean On 1/31/07, Bruce Fraser [EMAIL PROTECTED] wrote: Hi, Does anyone know of, or is anyone working on, a Wicket-based right-click context menu? We are looking for something similar to the Dojo one ( http://dojotoolkit.org/ General Widgets - Menu - ContextMenu), and that will most likely be what we'll use if we can't find a Wicket alternative. If we do need to go down the Dojo route, does anyone have any tips regarding how to go about integrating that with our Wicket site? Any help would be most appreciated. - 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] Problem with cached HeaderContributor after upgrade from 1.2.3 to 1.2.4
See: http://www.mail-archive.com/wicket-dev@incubator.apache.org/msg01808.html http://issues.apache.org/jira/browse/WICKET-188?page=all On 1/25/07, Ryan [EMAIL PROTECTED] wrote: I have been using a custom HeadearContributor to add css dynamically to each page. This setup was working great in 1.2.3 but after I upgraded to 1.2.4 I am seeing problems where sometimes the css is not added to the page. After some debuging I have verified the HeaderContributor is being added as a behavior to the page however the css is not added to the rendered html. Further digging revealed AbstractBehavior.cleanup() is never called so my HeaderContributor is left in the thread local cache in AbstractHeaderContributor. On http requests that go to another jetty thread the css is added and everything works as expected. On subsequent requests to that thread the css is not added. Is this a bug? A little more information about my setup may be helpful: The following code is in MyPage.java: public MyPage() { add(new AbsolutePathCssContributor(/something.css)); add(HeaderContributor.forCss(../something.css)); } I put both my custom contributor (AbsolutePathCssContributor) and the built in contributor. Both are either added or not added depending on the state of the thread that serves the request. Am I doing something wrong or is there a problem in 1.2.4? Thanks! Ryan - 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] Client-side form validation in Wicket 1.2 or 1.3
Does Wicket 1.x have the ability to perform client-side form validation? I'm looking for something similar to Tapestry's client-side validation feature: http://tapestry.apache.org/tapestry4.1/usersguide/clientside-validation.html Cheers, Sean - 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] Client-side form validation in Wicket 1.2 or 1.3
Tapestry does a very good job with client-side form validation. Perhaps there is code in the Tapestry repository that could be using in Wicket? BTW, these are the things that I like about form validation in Tapestry 4.1 1) client-side form validation 2) CSS class for invalid fields fieldInvalid 3) CSS class for missing fields: fieldMissing Sean On 1/23/07, Igor Vaynberg [EMAIL PROTECTED] wrote: no, wicket doesnt provide this out of the box. there have been some attempts to provide such functionality, i think there was a project that integrated fvalidate js lib with wicket in wicket-stuff somewhere. -igor - 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] Excel to Table Example in Wicket
I wrote a similar example using Jakarta POI and Wicket's AjaxTabbedPanel http://oscon2006.sourceforge.net/images/screenshot-excel-component.png http://oscon2006.sourceforge.net/xref/oscon2006/web/DisplayExcelPage.html http://oscon2006.sourceforge.net/xref/oscon2006/web/FileUploadPage.html Ayodeji Aladejebi wrote: This is so easy to do in Wicket. Wicket is Fun oh. This example requires JExcelAPI attached is src.rar - 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] Missing 1.2.x in Ibiblio Maven repository
Look in the Maven 2 repository: http://www.ibiblio.org/maven2/wicket/wicket/ Jon Steelman wrote: Why aren't Wicket 1.2.0 1.2.1 in the Ibiblio Maven repository? Will you be putting it there? Thanks, Jon - 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] RadioChoice, default selection
I am using the RadioChoice class in Wicket 1.2 import wicket.markup.html.form.*; RadioChoice radio = new RadioChoice(choice); ListString choices = new ArrayListString(); choices.add(a); choices.add(b); choices.add(c); radio.setModel(new CompoundPropertyModel(this)); radio.setChoices(choices); When the page is displayed to the user, I want the a option to be selected by default. How can I do this with RadioChoice? I'm looking for a Java method like this: radio.setSelection(0); Cheers, Sean 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] RadioChoice, default selection
Thanks. I changed my implementation: radio.setModel(new Model(a)); This is a whole lot simpler than the CompoundPropertyModel approach that I was using. (BTW, my form has only input field: the radio choice) Sean Levy, Jeremy wrote: You could just set the option in your model. Jeremy -Original Message- Subject: [Wicket-user] RadioChoice, default selection I am using the RadioChoice class in Wicket 1.2 import wicket.markup.html.form.*; RadioChoice radio = new RadioChoice(choice); ListString choices = new ArrayListString(); choices.add(a); choices.add(b); choices.add(c); radio.setModel(new CompoundPropertyModel(this)); radio.setChoices(choices); When the page is displayed to the user, I want the a option to be selected by default. How can I do this with RadioChoice? I'm looking for a Java method like this: radio.setSelection(0); Cheers, Sean 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