[Wicket-user] I've done it again:) browser crashes/creating a custom component

2006-05-18 Thread Nino Wael
Title: I've done it again:) browser crashes/creating a custom component Im in the midst of developing a component that consists of sets of a radio buttons and  a listchoice. The functionality is supposed to be like this: When you click one specific radio button then the sibling(actually chi

Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread ali
now i can not read any page of wiki i no has a virus, firewall , i test opera, firefox, IE , = On Thu, 18 May 2006 12:18:34 +0430, Gwyn Evans <[EMAIL PROTECTED]> wrote: Hi, I'm not sure of the exact issue there, but on the other hand, as it'll cost if we exceed the bandwidth,

[Wicket-user] help

2006-05-18 Thread ketan gote
hello friends we want to change the images on diffrent events eg: suppose there is one image on its onMouseOver method we want to replace previous image is diaplyed on form wating for reply regards ketan d.gote

[Wicket-user] help, setModel

2006-05-18 Thread ketan gote
hello friends , we are fetching some values from database and displaying in some TextField bu model, on other part we have one image link on page on which on onClick method we want to get all the form component value, which we are not able to get wating for reply regards ketan d.gote

Re: [Wicket-user] Reusing markup

2006-05-18 Thread Igor Vaynberg
there are a couple of things you can doby default if the link is disabled wicket will morph the tag, so instead of it will becometextso you can use css selector sidebar em to style that text, but the text is not a link. you can also change the globally in wicket settings to any markup you want if

Re: [Wicket-user] Reusing markup

2006-05-18 Thread Paulo Sérgio Medeiros
I don't think so :-)Well, i took a look on them and i think i can now use it.But before i can use it i have one question ... im building a menu for my site and in that, the link for the current page uses a diferent css class, like in this example: OtherHow can i set the class="active" for the curre

Re: [Wicket-user] anyone at java one?

2006-05-18 Thread Akira Ueda
Hi, I'm not at javaone while stay very close to moscone center... Is is possible to join you for me? -Akira On 5/18/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Unfortunately, none of the core comitters are. But Timothy, Geertjan, Petr and maybe others are there. So if they read this in time.

Re: [Wicket-user] anyone at java one?

2006-05-18 Thread Eelco Hillenius
Unfortunately, none of the core comitters are. But Timothy, Geertjan, Petr and maybe others are there. So if they read this in time... Eelco On 5/18/06, evan <[EMAIL PROTECTED]> wrote: Any wicket users/contributors at Java one? If so, want to meet and go for a drink tonight? I will buy a few

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Timothy Bennett
On 5/18/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Timothy, you rock!Not me... These are the guys that rock... http://docs.safehaus.org/display/TRIPLESEC/TeamAnyway... While I'm not Mr. JAAS, I would like to point out that Guardian uses a subclass of the JAAS Krb5LoginModule to perform authenti

[Wicket-user] anyone at java one?

2006-05-18 Thread evan
Any wicket users/contributors at Java one? If so, want to meet and go for a drink tonight? I will buy a few rounds as part of my company's contribution back to the community :) Sorry for late notice. -evan --- Using Tomcat but need to do

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Johan Compagner
i was waiting for Mr JAAS to respond... MAURICE! where are you!johanOn 5/18/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:I think Topicus implemented that. Not sure... Martijn/ Johan? EelcoOn 5/18/06, Matej Knopp <[EMAIL PROTECTED]> wrote:> Michiel Trimpe wrote:> > Has anyone already tried to impl

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Eelco Hillenius
Timothy, you rock! Eelco On 5/18/06, Timothy Bennett <[EMAIL PROTECTED]> wrote: On 5/18/06, Michiel Trimpe <[EMAIL PROTECTED]> wrote: > > > > > > Has anyone already tried to implement LDAP-authentication with Wicket? Yup, and in earnest. Check out what we are doing with Triplesec over at ht

Re: [Wicket-user] tracking website usage

2006-05-18 Thread Eelco Hillenius
Many ways to do it. You might even consider throwing in some AOP. Eelco On 5/18/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: Probably only in contruction. I want to know how often users are using various pages, and not the number of operations they perform on each one. (In other words,

Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Igor Vaynberg
Well, next time also look into the FormLayout of the JGoodies (Forms)fame. It's easy to do by hand, even easier if you use the factories and builders it provides. Excellent library JGoodies, it's my choice as alayout manager for the desktop.sure, but html is about much much more then just form layo

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Martijn Dashorst
The dojo.js library is a product under very high construction. Our full time students had a really hard time of working with it. This makes is very hard to actually implement anything stable. The students have now joined our company, but we put a lot of work on their shoulders so that they can't co

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Igor Vaynberg
if someone wants to maintain it then go ahead, we can add you to wicket-stuff. i dont think the core team has the resources for it.also as far as collapsable pane goes, i would use something small like moo.fx -IgorOn 5/18/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: are we still someday soon ex

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
are we still someday soon expecting wicket-dojo-contrib...jeez i really loved what i was learning with the old wicket-dojo until Wicket 1.2 was no longer compatible.On 5/18/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi < [EMAIL PRO

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Martijn Dashorst
rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: :D. okay pls who has links to any free cross browser _javascript_ library that can do this? thank yuOn 5/18/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:i dont think there is a component like that right now

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?thank yuOn 5/18/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:i dont think there is a component like that right now, but feel free to contribute one :) -IgorOn 5/18/06, Ayodeji Aladejebi < [EMAIL PROTECTED]>

Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Igor Vaynberg
i dont think there is a component like that right now, but feel free to contribute one :)-IgorOn 5/18/06, Ayodeji Aladejebi < [EMAIL PROTECTED]> wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo http://demo.nextapp.com/Demo/app i was tryin to do it with wick

[Wicket-user] Error in Wicket Bench

2006-05-18 Thread Ayodeji Aladejebi
please is someone here using the wicket bench? i keep getting this error when attempting to run my applicationException in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0    at wicketbench.runner.Main.main (Main.java:10)I am using Eclipse 3.2M2any help..thanks

[Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
This sliding effect collapsing side menu bar like the one in the Echo2 App Demo http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the Tab

RE: [Wicket-user] tracking website usage

2006-05-18 Thread Frank Silbermann
Probably only in contruction.  I want to know how often users are using various pages, and not the number of operations they perform on each one.  (In other words, the question is, “How important is this page to the users?” rather than “How much impact does this page have on the performance

Re: [Wicket-user] Indeces based access with PropertyModel

2006-05-18 Thread Johan Compagner
you could use ognl for that again by making a property model that uses ognl.But wicket property resolver will not support that syntax. It is just for properties on objects/maps and listsand simple method calls with no arguments. but what you also can do is something like this:final int tmpIter = an

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Eelco Hillenius
I think Topicus implemented that. Not sure... Martijn/ Johan? Eelco On 5/18/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Michiel Trimpe wrote: > Has anyone already tried to implement LDAP-authentication with Wicket? > Wicket has nothing to do with authentication. You might consider using Acegi o

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Timothy Bennett
On 5/18/06, Michiel Trimpe <[EMAIL PROTECTED]> wrote: Has anyone already tried to implement LDAP-authentication with Wicket?Yup, and in earnest.  Check out what we are doing with Triplesec over at http://docs.safehaus.org/display/TRIPLESEC/Home . Triplesec is a strong authentication

Re: [Wicket-user] tracking website usage

2006-05-18 Thread Igor Vaynberg
class BasePage {static Map counter=public BasePage() { int count=counter.get(getClass().getName()); count++; counter.put(getClass().getName(), count);...}} -IgorOn 5/18/06, Nick Heudecker <[EMAIL PROTECTED]> wrote: If you're using bookmarkable pages, you could just use a servlet filter.  But th

Re: [Wicket-user] tracking website usage

2006-05-18 Thread Johan Compagner
storing the getClass() and a counter looks to me like the best thing to do.Except is in construction only what you want or when the page is used (rendered)johanOn 5/18/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: If all the pages in my Wicket application extend a common base

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Igor Vaynberg
you have to understand how ajax works.ajax updates the regiout between the component's html tags and the tags themselves.take Labelin markup it is some text if you update the text and add it to the target you get this html sent throughsome other textand this region will then replace the old region

Re: [Wicket-user] tracking website usage

2006-05-18 Thread Nick Heudecker
If you're using bookmarkable pages, you could just use a servlet filter.  But that's really the same thing as processing your access logs.  Another approach might be to wrap the various Link classes to log when pages are accessed.  Cumbersome if you don't already have Link subclasses - which we do

Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Matej Knopp
Michiel Trimpe wrote: Has anyone already tried to implement LDAP-authentication with Wicket? Wicket has nothing to do with authentication. You might consider using Acegi or JAAS for this. Altough Acegi seems little over-complicated. Hmm.. thinking of it, it would be nice to have a wicket implem

[Wicket-user] tracking website usage

2006-05-18 Thread Frank Silbermann
If all the pages in my Wicket application extend a common base page, what are some of the ways I could keep track of the each page’s popularity?  I’m thinking of something I could put on the base page that, upon construction, would identify the actual subclass being constructed and add it

[Wicket-user] LDAP Authentication

2006-05-18 Thread Michiel Trimpe
Has anyone already tried to implement LDAP-authentication with Wicket?   If so, do you have some examples??   If not, could someone give me quick step-by-step pointers of what is needed to implement it?   Kind regards,   Michiel Trimpe   P.S. Are 20Kb Page objects (as reported by

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Matej Knopp
Bruno Borges wrote: But why? Of course setVisible works on listview, why wouldn't it? The problem is that you are adding the list view to target. You should add a component that contains the listview. Matej, ListView is a component conceptually equal to Label, TextField or what

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Bruno Borges
But why? Of course setVisible works on listview, why wouldn't it? Theproblem is that you are adding the list view to target. You should add a component that contains the listview.Matej, ListView is a component conceptually equal to Label, TextField or whatever. The code I sent doesn't work. And yes

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Matej Knopp
Bruno Borges wrote: One thing at a time: 1) setVisible works, when not doing through Ajax components like AjaxLink; 2) ListView outputs one different id for each repeated line. 3) when calling ListView.setVisible(false) from some onClick(AjaxRequestTarget), it does not works. So pay attenti

Re: [Wicket-user] Reusing markup

2006-05-18 Thread Eelco Hillenius
There are more ways, but Borders, Panels and Fragments are the preferred ones (and markup inheritancee of course). Is there anything you can't do with them? Eelco On 5/18/06, Paulo Sérgio Medeiros <[EMAIL PROTECTED]> wrote: Hi all, im new to wicket and was wondering if 'reusable panels' (http

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Bruno Borges
One thing at a time:1) setVisible works, when not doing through Ajax components like AjaxLink;2) ListView outputs one different id for each repeated line.3) when calling ListView.setVisible(false) from some onClick(AjaxRequestTarget), it does not works.So pay attention to 3': setVisible can be cal

[Wicket-user] Indeces based access with PropertyModel

2006-05-18 Thread Anders Peterson
Hi all, With Wicket 1.1 (ognl) I could do this: Loop tmpLoop = new Loop("instruments", Instrument.ALL.size()) { protected void populateItem(LoopItem anItem) { int tmpIter = anItem.getIteration(); anItem.add(new Label("name", Instrument.ALL.

Re: [Wicket-user] popup button

2006-05-18 Thread Eelco Hillenius
You can also use any link you want with the popup specification including something like Link("link") { onClick() { setRepsonsePage(new YourPage()); } } Eelco On 5/18/06, Nino Wael <[EMAIL PROTECTED]> wrote: But I need to do something when it is clicked.. Is there any other component I

Re: [Wicket-user] popup button

2006-05-18 Thread Martijn Dashorst
2 words: hot coffee :-)(I feel your pain, having stared at an input screen where the input fields were empty instead of filled with values from the database. Wrapping my loadable model in a compoundpropertymodel solved that one, but it took about half an hour) MartijnOn 5/18/06, Nino Wael <[EMAIL P

RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
Doh, im a little slow today. When overriding I just call the super.onclick :) This works fine:) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael Sent: 18. maj 2006 11:55 To: wicket-user@lists.sourceforge.net Subject: RE: [Wicket-user] popup butt

Re: [Wicket-user] popup button

2006-05-18 Thread Johan Compagner
super.onClick()On 5/18/06, Nino Wael <[EMAIL PROTECTED]> wrote: But I need to do something when it is clicked.. Is there any other component I could use instead?-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Eelco HilleniusSent: 18. maj 2006 11:04To: wic

Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Johan Compagner
but there are more components like that "ListView" for example.and what does it matter what it renders?? A Component is a component when it is in java a component.And you could render a span or div tag so that it has a marker in the html (so that ajax also works on it..) johanOn 5/18/06, Ittay Dror

Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Dorel Vaida
Igor Vaynberg wrote: imho, html is the best layout manager out there for browser apps. add css to the mix and you have a great skin manager as well. the one thing you always hear swing developers bitching about is how they have to fight the layout managers to get the results they want. gridba

RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
But I need to do something when it is clicked.. Is there any other component I could use instead? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: 18. maj 2006 11:04 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] pop

Re: [Wicket-user] popup button

2006-05-18 Thread Eelco Hillenius
Don't override the onclick method. Eelco On 5/18/06, Nino Wael <[EMAIL PROTECTED]> wrote: Im now using the Pagelink which has the nice onClick event, when the new page pops up its just a copy of the current page. And not the class I specified. Code: PageLink myReport = new PageLi

[Wicket-user] Error on compref live examples

2006-05-18 Thread Nino Wael
Hi im getting and error when trying to look at this link: http://www.wicket-library.com/wicket-examples/compref   regards Nino

Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Ittay Dror
this is what the CompositeComponent i posted a while ago does. what i don't like so much about it is that it is not a real component, in the sense it renders nothing. it is just a mediator between the actual model and other components. anyways, Johan Compagner wrote: Isn't youre controller

RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
Hi Eelco It did. Thanks :) -regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: 17. maj 2006 12:41 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] popup button Simpler than that. I just added this example

Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Matej Knopp
The doctype is xhtml transitional. But there's an additional comment () before doctype to trick IE and make it work in quirks mode. (Because in standard compliance mode IE uses the W3C box model, which sucks). This should work with strict too. Also wicket is kind of reluctant to print it, so i j

Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Johan Compagner
Isn't youre controller just the Parent formcomponent that can have childs (form components)Then you can attach validators to the childs to make sure that input is right. (the partial input)And you can attach validators to the parent formcomponent and that parent component has the connection with th

Re: [Wicket-user] HTTPS "switching"

2006-05-18 Thread Johan Compagner
that would be the way yes.On 5/18/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: Because it's a shopping cart and either way a form has to besubmitted...so I'd rather do it when the form is submitted and nothave the extra step.I got around it by redirecting externally like the wiki shows, only I used

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Alvar Lumberg
yea, my bad. I was thinking about ajax side of things, sorry. On 5/18/06, Johan Compagner <[EMAIL PROTECTED]> wrote: setVisible doesn't work? It should work fine listview will not get rendered when you set it to none visible. And yes (talking to igor) i think it is a bit stupid that we do gener

Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Johan Compagner
So you are saying that it is possible to support many browser to get border-box?hmm that would solve so many problems we have...So you let IE stay in quircks mode and have for firefox that  -moz-box-sizing: border-box; and for other browsers (maybe IE7) the CSS3? standard: box-sizing: border-box;Wh

Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread Gwyn Evans
Hi, I'm not sure of the exact issue there, but on the other hand, as it'll cost if we exceed the bandwidth, I'm not really sure that I want to encourage the practice of periodically auto-downloading the Wiki... It might be that this product uses HEAD requests to check if the download's needed b

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Johan Compagner
setVisible doesn't work?It should work fine listview will not get rendered when you set it to none visible.And yes (talking to igor) i think it is a bit stupid that we do generate the items when the listview is not visible.. johanOn 5/18/06, Alvar Lumberg <[EMAIL PROTECTED]> wrote: Bruno, your prob

Re: [Wicket-user] Link to Anchor

2006-05-18 Thread Eelco Hillenius
Yeah, I like that. I'll try to give it a look today. Eelco On 5/18/06, nato <[EMAIL PROTECTED]> wrote: So, would the named anchor be supported in the next version of Wicket? BTW, I vote for Link.setAnchor() so that I could set the anchor dynamically. I also vote for the proposed an href with

Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread Timo Stamm
ali schrieb: please help , i would use offline explorer to track changes and auto update downloaded wiki pages but wiki reponse me this : Precondition Failed We're sorry, but we could not fulfill your request for = /wiki/index.php/FAQs on this server. Read the rest of the page. It gives yo