Re: JSR356 Websocket with Wicket 6.18

2015-01-28 Thread Alexander Landsnes Keül
with ? On Tue, Jan 27, 2015 at 2:11 PM, Alexander Landsnes Keül alexander.landsnes.k...@visma.com wrote: I checked out Wicket 6.18 and fiddled a bit with it, but it seems there are a few minor API breaks. One of the most pervasive ones is Application#setMetaData(...), in 6.18.0 it's a void

Re: JSR356 Websocket with Wicket 6.18

2015-01-28 Thread Alexander Landsnes Keül
://twitter.com/mtgrigorov On Wed, Jan 28, 2015 at 5:02 PM, Alexander Landsnes Keül alexander.landsnes.k...@visma.com wrote: I forked Wicket to my github repo and took a look at it. Compiling wicket-native-websocket-javax with Java 6 and Wicket 6.19.0-SNAPSHOT was no problem at all, my problem popped

JSR356 Websocket with Wicket 6.18

2015-01-27 Thread Alexander Landsnes Keül
Reading the documentation I was under the impression that wicket-native-websocket-javax could be used along with Wicket 6.X, however that seems to not be the case. In the constructor of org.apache.wicket.protocol.ws.api.AbstractWebSocketProcessor line 120 (7.0.0-M4) it accesses

RE: JSR356 Websocket with Wicket 6.18

2015-01-27 Thread Alexander Landsnes Keül
Landsnes Keül alexander.landsnes.k...@visma.com wrote: Reading the documentation I was under the impression that wicket-native-websocket-javax could be used along with Wicket 6.X, however that seems to not be the case. In the constructor

Wicket-3438 seems to cause issues if a form is removed

2011-03-01 Thread Alexander Landsnes Keül
Upgraded to wicket 1.4.16 yesterday, and it seems to cause issues when a form is removed after submit. Problem is probably related to the change in Wicket-3438 (https://issues.apache.org/jira/browse/WICKET-3438 https://issues.apache.org/jira/browse/WICKET-3438 ) The usage we have a few

Model equals/hashCode

2008-10-20 Thread Alexander Landsnes Keül
Hi, Is there any particular reason why Model doesn't implement a default equals(..) and hashCode() function? I have a very simple IDataProvider that simply wraps the returned object in a Model, and since I want to reuse the items I had to inline override the aforementioned functions.

RE: Ajax loading tooltip?

2008-08-18 Thread Alexander Landsnes Keül
I can't say anything about having done it, I certainly haven't even if I'm using the prototip-minis, but I can comment on upgrading to prototip 2. I asked the same question a month ago, and the thing is that Richard has permission to use prototip 1.2 for free whereas prototip 2.x has a license

RE: How to build a dynamic navigation bar

2008-07-22 Thread Alexander Landsnes Keül
I'd use a ListView :) Assuming this lil code add( new ListView(list, linkList ) { public void populateItem(ListItem item) { item.add( (Link)linkList ); } }); You'd have the html look something like this ul wicket:id=list lia href=#

RE: How to build a dynamic navigation bar

2008-07-22 Thread Alexander Landsnes Keül
text here /li li # Link02 text here /li li # Link03 text here /li /ul Alexander Landsnes Keül wrote: I'd use a ListView :) Assuming this lil code add( new ListView(list, linkList ) { public void populateItem(ListItem item) { item.add( (Link

RE: TextField in IE and Opera

2008-07-04 Thread Alexander Landsnes Keül
I found the problem with this eventually, it was related to using NTLM authentication. IE doesn't perform any POST on forms until you've negotiated the password hashes again. Something which we seem to not do :) Alex -Opprinnelig melding- Fra: Alexander Landsnes Keül [mailto:[EMAIL

TextField in IE and Opera

2008-07-03 Thread Alexander Landsnes Keül
I'm having a wee bit of a problem getting TextFields to cooperate in our project. I'm baffled by the problem, because it's something that's been working fine for months. The panel I'm working with is very a simple, a form with two text fields; username and password. If I submit the form in

FileUploadField and AjaxButton

2008-06-11 Thread Alexander Landsnes Keül
Hi, I'm trying to use an AjaxButton along with a FileUploadField, and that produces an unfortunate but predictable result. Whenever I call _fileUploadField.getFileUpload() it returns null. If I try to replace the button with a regular one it works just fine. Am I missing something obvious

AjaxEditableChoiceLabel woes

2008-05-06 Thread Alexander Landsnes Keül
I may very well be daft, but it seems that the AjaxEditableChoiceLabel doesn't take the ChoiceRenderer into account when creating the label version of itself. There's no override, so in my case the toString() of most Enum's have to be the database value which means my labels are F instead of

AuthenticatedWebSession

2008-04-25 Thread Alexander Landsnes Keül
Hi, I'm trying to have a user signed on directly with an id rather than the username/pwd when a new user is created. This gives me some trouble seeing as the boolean signedIn is private. I considered writing my own WebSession to handle this, but the problem here is that there is no

Roles and Tabbed Panel

2008-02-25 Thread Alexander Landsnes Keül
Hi, I'm looking at using Roles more fully in our application, and I'm trying to hide the tabs if the user isn't authorized for it. The way I'm doing it now is manually checking before I add each Abstract Tab to the List. If the user has the right role, well and good. What I'm wondering,

SV: defaultNullLabel()

2007-11-30 Thread Alexander Landsnes Keül
I have something of the same issue, if you have a value of in an AjaxEditableLabel it's unclickable. It's not removed from the markup, I just can't click it. Probably because the Label is 0 pixels wide. For me the solution was to have ... if the String was null, and have all getters translate

Custom implementation of TabbedPanel HTML

2007-11-27 Thread Alexander Landsnes Keül
Is there some way for me to control the HTML of the TabbedPanel implementation? I need to provide a tab panel with tables for our designers, however that's proven to be a mite hard to get done. A solution I can see is to rewrite the TabbedPanel class, but that's not something I'd prefere to

AuthenticatedWebSession

2007-11-22 Thread Alexander Landsnes Keül
Hi, In setting up the logon of our application, I'd like to use the AuthenticatedWebSession to hold some additional information. There shouldn't be a problem with that I assume, however I'm getting a problem with this. It seems the session isn't created until the user encounters an

Dynamic content on a panel

2007-11-19 Thread Alexander Landsnes Keül
Hi, I'm having a bit of trouble setting up a panel with a dynamic content. What I'm working on is a panel where the customers can specify what they want to ask for in a CV. Basically they can choose if they want dropdowns, textfields etc. Is there a way to support this? I'm thinking of adding

SV: Setting up Wicket with Tomcat

2007-10-31 Thread Alexander Landsnes Keül
/30/07, Frank Bille [EMAIL PROTECTED] wrote: On 10/30/07, Alexander Landsnes Keül [EMAIL PROTECTED] wrote: ?xml version=1.0? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/TR/xmlschema-1/; xsi:schemaLocation= http://java.sun.com/xml/ns/j2ee

Tabbed panels

2007-10-31 Thread Alexander Landsnes Keül
I have two questions regarding tabbed panels. I've read the example, so I've been able to create a navigation with it but it's a bit limited. First thing, is it possible to nest tabbed panels? I tried to do so, but then all the wickets in the panels stopped working. Way I set it up was create

Setting up Wicket with Tomcat

2007-10-30 Thread Alexander Landsnes Keül
After much sweat and tears I've finally been able to get web.xml to load properly in tomcat, however I'm having a bit of issues actually starting the Web app. What I've got is the very bare bones of a wicket application. Just a class extending WebApplication, and StartPage.java/html.

Issue with border

2007-10-26 Thread Alexander Landsnes Keül
Hi, We're looking into moving our presentation layer over to Wickets, and I'm creating a mockup of our current web interface to see how it works. So far I'm quite pleased, but I have an issue with borders. I'm trying to create a navigation border similar to the Navomatic example on the