Autoscrolling table header

2008-10-24 Thread Ashika Umanga Umagiliya
Hi Wicketers, I am newbie to wicket and I want to know whether its possible to implement a DataTable which behaves like a spreadsheet. Its something like ActiveWidget datagrid as in http://www.activewidgets.com/grid/ As you can see , when we scroll , the tableheader also scrolls accordingly.

Re: What's the difference between Check and CheckBox

2008-10-24 Thread Minto van der Sluis
Hi igor, that's exactly where I discovered the existence of Check ;-) Being an almost complete newby I was surprised by the existence of 2 Classes so closely related. That is functionally related, since as far as I can tell from the javadoc they are not related in any way. regards, Minto

Re: What's the difference between Check and CheckBox

2008-10-24 Thread Igor Vaynberg
thats because they are not functionally related at all. just because they both represent a checkbox doesnt mean they are functionally equivalent. CheckBox only works with a imodelboolean while CheckGroup/Check can be used to populate a collection with arbitrary items. eg Check uses IModelT while

Re: IE6 + load balancer through proxy problem

2008-10-24 Thread Igor Vaynberg
in the homepage, or the very first page they hit try binding the session... in the page's constructor do getSession().bind() and see if that helps. it is possible on the first request to create more then one session and that will get wicket confused. -igor On Thu, Oct 23, 2008 at 11:55 AM,

Re: AjaxFallbackButton: inconsistend submit order

2008-10-24 Thread Igor Vaynberg
this sounds like a bug, please file a jira report -igor On Thu, Oct 23, 2008 at 6:47 AM, Stefan Fußenegger [EMAIL PROTECTED] wrote: Hi folks, I just stumbled upon a problem with a Form containing a nested Form and two AjaxFallbackButtons (submit and preview). I need to implement different

Re: how to unittest a checkbox

2008-10-24 Thread Minto van der Sluis
Added https://issues.apache.org/jira/browse/WICKET-1893 WICKET-1893 jwcarman wrote: Since this is not so obvious, we should probably file a request in JIRA to add a checkbox-specific method to FormTester. Care to take care of that, since you found the issue? On Thu, Oct 23, 2008 at

Re: Updating model for DropDownChoice

2008-10-24 Thread Swanthe Lindgren
If you combine setNullValid(true) with putting myComponent.nullValue=My null value in the properties file, you will always get a default null value with the title My null value. //Swanthe nanotech wrote: Hi, I have a search form which contains multiple search fields(as TextFields) and

Spring and servlet config instead of filter

2008-10-24 Thread Joni Lahtinen
I have problems to replace filter configuration in web.xml with servlet configuration. Why I try to use servlet configuration is to get wickets run with spring in websphere. I'm trying now to deploy this application in jetty but I run to problems. I have read from this mailing list that the

Re: Autoscrolling table header

2008-10-24 Thread Jeremy Thomerson
Could you use thead / tbody, and just use the overflow css attribute for the tbody? I've never done it, but it seems like it should work. Also, when you get to customizing the table like this, you might need to just implement your own table using another repeater. DataTable has a lot of

Re: What's the difference between Check and CheckBox

2008-10-24 Thread Minto van der Sluis
Thanx for clearing that up :-) Minto igor.vaynberg wrote: ... CheckBox only works with a imodelboolean while CheckGroup/Check can be used to populate a collection with arbitrary items. eg Check uses IModelT while CheckGroup uses IModelCollectionT ... -- View this message in

Forcing property models to update

2008-10-24 Thread walnutmon
I have two panels, a view panel where you can look for news and an edit panel. The edit panel has a reference to a news object and all of it's form elements have property models that use that object. When I pass a news object into the panel on creation all of the form elements fill as

Re: Forcing property models to update

2008-10-24 Thread Martijn Dashorst
No defensive copying happening. Just your plain old references updating. Read the models page on the wiki about chaining models. Put this in a unit test case: State s = new State(); s.setDescription(I haven't read Wicket in Action but hear it helps solve these questions); PropertyModel pm = new

AjaxButton - no label constructor?

2008-10-24 Thread Steve Swinsburg
Is there a special reason why an AjaxButton doesn't have a constructor that allows a label to be set onto it automatically like a normal form Button? Shouldn't the AjaxButton have a constructor like the Button constructor?: Button(java.lang.String id, IModel model) Constructor taking an

Re: Forcing property models to update

2008-10-24 Thread Jeremy Thomerson
Martijn is the guy that sprays buttered popcorn smell in the theatre vents for that extra little bit of subliminal selling power. :) Seriously, though - buy the book - it's worth it's weight in gold. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 24, 2008 at 9:18 AM, Martijn

Usability question for a birthdate DropDownChoice

2008-10-24 Thread fatefree
I'm just curious to hear some thoughts about the usability of selecting your birthdate on a form. Unfortunately the date picker doesn't seem to be the best solution because of the year requirement, so that leaves a combo of a month/day/year drop down choices or a textfield looking for a specific

Re: Trying to create a calendar - need some guidance

2008-10-24 Thread V. Jenks
I'd really appreciate that Edgar, thanks! As for the GridView - duh for me. On another note, I just finished another one of our corporate sites, using Wicket. Check it out, let me know your thoughts, criticisms, etc. I used Wicket because I built our storefront a couple years ago with Wicket

Re: Trying to create a calendar - need some guidance

2008-10-24 Thread James Carman
Mmm. Waguy beef! On Fri, Oct 24, 2008 at 11:04 AM, V. Jenks [EMAIL PROTECTED] wrote: I'd really appreciate that Edgar, thanks! As for the GridView - duh for me. On another note, I just finished another one of our corporate sites, using Wicket. Check it out, let me know

nested AjaxFormComponentUpdatingBehavior

2008-10-24 Thread Rutger Jansen
Hi I'm having trouble refreshing a formcomponent with Ajax when it is nested in another Component which is updated by Ajax. My situation is: I have a large page with a form. The form contains a dataView and the dataView contains lines (a List) of objects. In each line I have a few DropDownChoice

Understanding JS Error on Wicket-Framewor (Ajax + F5)

2008-10-24 Thread Francisco Diaz Trepat - gmail
Hi all. I am getting the following error when refreshing (CTRL+R) my page. I work entirely with ajax except for the first-time loading of the page. After that it is all panel replacements. Everything kind of work but I have one formatting component that don't, and as a hint I get this error (on

Re: AjaxFallbackButton: inconsistend submit order

2008-10-24 Thread Igor Vaynberg
shows it was released here...maybe martijn sneaked that change in. -igor On Fri, Oct 24, 2008 at 12:52 AM, Stefan Fußenegger [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-1894 btw: 1.3.5 is still in the unreleased versions section regards igor.vaynberg wrote:

Re: Spring and servlet config instead of filter

2008-10-24 Thread Igor Vaynberg
are you running on jdk1.4? because that is pretty much the only reason to need to use spring web application factory... -igor On Fri, Oct 24, 2008 at 3:14 AM, Joni Lahtinen [EMAIL PROTECTED] wrote: I have problems to replace filter configuration in web.xml with servlet configuration. Why I try

Re: AjaxButton - no label constructor?

2008-10-24 Thread Igor Vaynberg
add an rfe into jira. there is no special reason afaik. actually if it were up to me button wouldnt waste its model on the label, you can just add that directly into markup with wicket:message in 90% of cases. -igor On Fri, Oct 24, 2008 at 7:20 AM, Steve Swinsburg [EMAIL PROTECTED] wrote: Is

Re: Forcing property models to update

2008-10-24 Thread Igor Vaynberg
m popcorn! -igor On Fri, Oct 24, 2008 at 7:47 AM, Jeremy Thomerson [EMAIL PROTECTED] wrote: Martijn is the guy that sprays buttered popcorn smell in the theatre vents for that extra little bit of subliminal selling power. :) Seriously, though - buy the book - it's worth it's weight

Re: Usability question for a birthdate DropDownChoice

2008-10-24 Thread Igor Vaynberg
this can be implementing as a formcomponentpanel that contains 3 drop down choices inside. nothing too complicated, in fact i think there are examples somewhere on the wiki or in the archives of this list. -igor On Fri, Oct 24, 2008 at 8:01 AM, fatefree [EMAIL PROTECTED] wrote: I'm just

Re: nested AjaxFormComponentUpdatingBehavior

2008-10-24 Thread Igor Vaynberg
calling setoutputmarkupid(true) on the datavew is a noop because dataview itself doesnt render. -igor On Fri, Oct 24, 2008 at 8:33 AM, Rutger Jansen [EMAIL PROTECTED] wrote: Hi I'm having trouble refreshing a formcomponent with Ajax when it is nested in another Component which is updated by

Re: Trying to create a calendar - need some guidance

2008-10-24 Thread V. Jenks
Igor, thanks again for the clue on using GridView, I got it figured out and it works great! I attached the code in case anyone's interested in drawing a basic calendar. It's lean and clean so it's easy to extend. http://www.nabble.com/file/p20153494/Cal.java Cal.java

Re: Trying to create a calendar - need some guidance

2008-10-24 Thread Igor Vaynberg
you are welcome -igor On Fri, Oct 24, 2008 at 9:38 AM, V. Jenks [EMAIL PROTECTED] wrote: Igor, thanks again for the clue on using GridView, I got it figured out and it works great! I attached the code in case anyone's interested in drawing a basic calendar. It's lean and clean so it's easy

ajax does not work in IE6 when using domain name. but works with IP

2008-10-24 Thread vkoratek
website runs on apache+resin 3.1.5 and wicket 1.3.3. Load balancer exists. Specifics of the problem are- 1. customer accesses the site from inside their company's network, have a problem. 2. Customer uses IE6. 3. Problem occurs when customer uses domain name. 4. No problem seen when IP address

Re: ajax does not work in IE6 when using domain name. but works with IP

2008-10-24 Thread Igor Vaynberg
there is already a thread posted about this by atrout [EMAIL PROTECTED]. thanks for spamming the list. -igor On Fri, Oct 24, 2008 at 10:03 AM, vkoratek [EMAIL PROTECTED] wrote: website runs on apache+resin 3.1.5 and wicket 1.3.3. Load balancer exists. Specifics of the problem are- 1.

Re: ajax does not work in IE6 when using domain name. but works with IP

2008-10-24 Thread vkoratek
Igor: Yes this is the same issue as posted by Anna. but I am only writing this becos the suggestion of using on the home page, getSession().bind() did not make the error go away... we still see the js error of Inavlid Chracter line 2 . Ajax does not work. Any alternative suggestion is greatly

No session requested when playing MP3 resource link

2008-10-24 Thread chris888
Hi, I have a fairly simple wicket page that displays a list of links that are DynamicWebResource links to MP3 streams. This works fine on most platforms I am running on (the link either plays in the browser or media player opens to play the link) but on Android I find that when the media player

Re: ajax does not work in IE6 when using domain name. but works with IP

2008-10-24 Thread Igor Vaynberg
yeah? why did you not mention that in your email, and why did you start a new thread instead of continuing the existing one? -igor On Fri, Oct 24, 2008 at 10:44 AM, vkoratek [EMAIL PROTECTED] wrote: Igor: Yes this is the same issue as posted by Anna. but I am only writing this becos the

Re: No session requested when playing MP3 resource link

2008-10-24 Thread Igor Vaynberg
the jsessionid should be there only during the first request. after the first request the container switches to using the session cookie. is the cookie set on the android end? is it being sent back? -igor On Fri, Oct 24, 2008 at 10:48 AM, chris888 [EMAIL PROTECTED] wrote: Hi, I have a fairly

Re: Wicket modals are not working in IE8 and Google chrome browsers

2008-10-24 Thread Matej Knopp
With IE8? That's a bad joke. The browser is nowhere near being usable even in beta2. -Matej 2008/10/24 Anirban Basak [EMAIL PROTECTED]: Hi, I'm using wicket for last 5+ months in my current project. We are planning to go live by mid Nov with a beta version. Yesterday our client came up

Re: No session requested when playing MP3 resource link

2008-10-24 Thread chris888
thanks for the lightning fast reply I'm guessing that the media player does not know about the browsers cookie so cant send it. How can I tell for sure if it is or not? On the browser requests object I see that a session id is requested and requestedSessionCookie is true When the media player

Re: No session requested when playing MP3 resource link

2008-10-24 Thread Igor Vaynberg
well, what you can do is disable session cookie tracking on your servlet container. that way sessionid will be written into every url. -igor On Fri, Oct 24, 2008 at 11:00 AM, chris888 [EMAIL PROTECTED] wrote: thanks for the lightning fast reply I'm guessing that the media player does not

Exception Forbidden 403

2008-10-24 Thread Chinnari
hi All, When i deployed my application on tomcat it worked fine but when the same is deployed in weblogic 10.0 i got following exception: Error 403--Forbidden From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.4 403 Forbidden The server understood the request, but is refusing to

Redirect to a page on a new browser window

2008-10-24 Thread Adriano dos Santos Fernandes
In a non-Wicket application, I had a page for report parameters editing and an execute button. Parameter validation was is Javascript, and I want my report opening on a new browser window. I done it with a form target=_blank tag. Now with Wicket, I succeeded done the same thing but I have

Re: Exception Forbidden 403

2008-10-24 Thread Igor Vaynberg
what do your logs say? -igor On Fri, Oct 24, 2008 at 11:22 AM, Chinnari [EMAIL PROTECTED] wrote: hi All, When i deployed my application on tomcat it worked fine but when the same is deployed in weblogic 10.0 i got following exception: Error 403--Forbidden From RFC 2068 Hypertext Transfer

Re: ajax does not work in IE6 when using domain name. but works with IP

2008-10-24 Thread vkoratek
I agree. I should have double checked prior to posting . I totally understand your concerns about having duplicate threads about the same subject.. igor.vaynberg wrote: yeah? why did you not mention that in your email, and why did you start a new thread instead of continuing the existing

RE: Wicket modals are not working in IE8 and Google chrome browsers

2008-10-24 Thread Anirban Basak
My query was can anybody help me out to make the wicket modals work in IE8? Personally I don't like IE but people already started using IE8. Warm Regards, Anirban Basak Ph : 91 33 2357 7177 Extn: 277 -Original Message- From: Matej Knopp [mailto:[EMAIL PROTECTED] Sent: Friday,