Re: [Wicket-user] Wicket Real World Performance!

2007-06-22 Thread Igor Vaynberg
believe me, i know that. but hopefully the way i repsonded has cured at least one person, no hard feelings :) -igor On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote: cool your jets mate... your never going to get rid of stupidity... igor.vaynberg wrote: maybe if you wouldve bothered

Re: [Wicket-user] Multiple wicket:child tags in the same page

2007-06-22 Thread Eelco Hillenius
Yes. Markup inheritance is meant to go one-on-one with Java inheritance which is limited to single parents. If people feel a markup inheritance-like pattern would be useful, we could discuss it, but it has to be a different kind of concept. Eelco On 6/21/07, Igor Vaynberg [EMAIL PROTECTED]

Re: [Wicket-user] Wicket Real World Performance!

2007-06-22 Thread Ballist1c
cure??? there is no cure... i promise you :D igor.vaynberg wrote: believe me, i know that. but hopefully the way i repsonded has cured at least one person, no hard feelings :) -igor On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote: cool your jets mate... your never going to get

Re: [Wicket-user] State selection from imagemap

2007-06-22 Thread Eelco Hillenius
You could use the image map component (see the example in org.apache.wicket.examples.linkomatic), but that would indeed result in a lot of components for not that much gains. I'm pretty sure that at least in Wicket 1.3 you don't need to put the servlet context in your hrefs yourself, as Wicket

Re: [Wicket-user] Form inside a modalWindow inside a Form :-/

2007-06-22 Thread Eelco Hillenius
I think the best thing you can do is somehow trying to really get it reproducable and try to fit it in a quickstart or junit test and open a JIRA issue for it. Eelco On 6/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i'm having an strange behavior in my application. i have a form with

Re: [Wicket-user] Wicket Real World Performance!

2007-06-22 Thread shumbola
Здравствуйте, Ballist1c. Вы писали Friday, June 22, 2007, 5:32:27 AM: whoa, okay guys, slow down a second... we need to get something clear here... I am not smearing wicket, this is an impression I got when 5/5 wicket websites i visited were slow there is nothing wrong with that and It

Re: [Wicket-user] Wicket Real World Performance!

2007-06-22 Thread David Leangen
That's right. I've been afflicted, too. Look at some of the questions I was asking today. Sigh. On Thu, 2007-06-21 at 23:24 -0700, Ballist1c wrote: cure??? there is no cure... i promise you :D igor.vaynberg wrote: believe me, i know that. but hopefully the way i repsonded has

Re: [Wicket-user] html wicket:id=html CSS

2007-06-22 Thread Juergen Donnerstag
I'll try my best to find some spare time to do it. Hopefully over the weekend. I already tried to open your tar.gz with Winzip 10, unfortunately winzip only comes up with an error. Could you please either zip them or send them to me separately. Thanks. Juergen On 6/21/07, Jan Kriesten [EMAIL

Re: [Wicket-user] TreeTable with nodes that are not links + rows with alternate background colours

2007-06-22 Thread Eelco Hillenius
Did you try overriding #newLink, #newJunctionLink or #newNodeLink? I don't really know the component, but it looks like you can return any markup component you like there... I think your best best is to browse around the code of the component and it's superclasses and experiment a bit. Eelco I

Re: [Wicket-user] Binding the Enter key with a button

2007-06-22 Thread David Leangen
I am indeed talking about the Go button in my form. It is providing the correct behaviour. Now, what I'm looking for is to allow the user to submit the form by just hitting enter rather than having to click the Go button. I thought that I would need to bind the enter key to the go button... are

Re: [Wicket-user] setBorderBodyContainer in 1.3

2007-06-22 Thread Juergen Donnerstag
This feature has not yet been backported to 1.3 the reason being that we first need to backport all of the markup fragment/render changes. That will not happen in 1.3. yes, open a jira issue please. Juergen On 6/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote: open a jira issue please -igor

Re: [Wicket-user] Binding the Enter key with a button

2007-06-22 Thread Joe Toth
Hope this helps http://www.nabble.com/forum/ViewPost.jtp?post=10675702framed=y -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Leangen Sent: Friday, June 22, 2007 2:33 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Binding the

Re: [Wicket-user] Binding the Enter key with a button

2007-06-22 Thread Eelco Hillenius
Also, I think that Julian Klappenbach had some good ideas on how to build in good key binding support in Wicket. Julian, are you reading with us? Eelco On 6/21/07, Joe Toth [EMAIL PROTECTED] wrote: Hope this helps http://www.nabble.com/forum/ViewPost.jtp?post=10675702framed=y

[Wicket-user] [Fwd: Re: html wicket:id=html CSS]

2007-06-22 Thread Jan Kriesten
copy to the list, as sourceforge doesn't allow zip-attachments atm. Original Message Subject: Re: [Wicket-user] html wicket:id=html CSS Date: Fri, 22 Jun 2007 08:53:23 +0200 From: Jan Kriesten [EMAIL PROTECTED] Hi Juergen, I'll try my best to find some spare time to do

Re: [Wicket-user] TreeTable with nodes that are not links + rows with alternate background colours

2007-06-22 Thread Matej Knopp
All you need to do is override newNodeLink imho. Also to change row background color you'll need to tweak the styles and add attribute modifier inside populateItem, it's not really trivial, but it's not a rocket science as well. Simple alternateive in 1.3 would be to call setEnabled(false) on the

Re: [Wicket-user] setBorderBodyContainer in 1.3

2007-06-22 Thread Igor Vaynberg
juergen, there are two of you in jira, which makes it hard to assign issues. do you think you can work it out with asf infrastructure group to remove the account you no longer use? -igor On 6/21/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: This feature has not yet been backported to 1.3

Re: [Wicket-user] Binding the Enter key with a button

2007-06-22 Thread David Leangen
Ok, thanks everybody! So, am I to assume that the only way to do this is through the use of Javascript? If that's so, then I'll do as suggested in the previous posts. I'll post back with the results of what I find, though if it's more complicated than I thought, I may have to put it aside for

Re: [Wicket-user] How to best deffend models and entity classes

2007-06-22 Thread severian
I'm not sure I fully understand your situation, but if your wicket front end is obtaining xml-serialised versions of business objects (or data transfer objects or whatever), can you not generate a simple Java version from the xml schema? Then perhaps your colleagues objections about having to

Re: [Wicket-user] Form inside a modalWindow inside a Form :-/

2007-06-22 Thread Frank Bille
On 6/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i'm having an strange behavior in my application. i have a form with a listview inside and the items in this listview can be reordered using buttons (that's why the list is inside a form). In the form i have a link that opens a

[Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Hi, I got the latest 1.3.0-SNAPSHOT through Maven yesterday and all my pages that use markup inheritance stopped working. My login page which does not use markup inheritance works and then after submitting that ito goes to the home page, nothing works. Thing is I tried a very simple quickstart

[Wicket-user] No way to customize how autolinks look like

2007-06-22 Thread Serge P. Nekoval
Hello, We have markup which displays currently visited(disabled) links in a special way. By default, if you use wicket:link, autolinks for current page will look like: spanemCurrent Page/em/span I need to make them look like: a class=selectedCurrent Page/a This is just a design rule

Re: [Wicket-user] Form inside a modalWindow inside a Form :-/

2007-06-22 Thread Matej Knopp
What wicket version are you using? Nested forms are only supported in 1.3. If you are using modal window with 1.2, the only reliable way to use forms is putting a page inside modal window. -Matej On 6/22/07, Frank Bille [EMAIL PROTECTED] wrote: On 6/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-22 Thread Matej Knopp
That's weird. You should be able to call setRequired from that listener, that's the point why i have introduced it! -Matej On 6/22/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I'm *still* trying to find a way to modify a component *when the model is bound*. The new

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-06-22 Thread Nino Saturnino Martinez Vazquez Wael
I'd prefer a meeting in work hours, if possible else we can just do it after hours.. My weekends are totally booked though... I could arrange something at jayway if we wanted to? regards Nino Frank Bille wrote: Sounds good. Do you guys think we should try to find a date soon (like in early

Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Ok I think the problem is related to the ReloadingWicketFilter which I was extending and using. When I remove this, things are fine. So my conclusion is that latest ReloadingWicketFilter has problems for pages using Markup inheritance. Thanks, Peter. On 6/22/07, Peter Thomas [EMAIL

Re: [Wicket-user] London Wicket Users Group, July 3rd - interested?

2007-06-22 Thread Jan Stette
I would very much like to attend, but I'm out of the country on that date. I hope there will be more such gatherings in the future though! Jan On 14/06/07, Al Maw [EMAIL PROTECTED] wrote: Hello everyone, As Wicket grows in popularity, we bump into increasing numbers of UK users. We think

Re: [Wicket-user] wicket markup inside javascript ?

2007-06-22 Thread Matthieu Casanova
2007/6/19, Gerolf Seitz [EMAIL PROTECTED]: take a look at the class org.apache.wicket.extensions.yui.calendar.DatePicker (in wicket-datetime) there is the following statement in line 183 TextTemplateHeaderContributor.forJavaScript(DatePicker.class, DatePicker.js,

Re: [Wicket-user] [OT] Wicket Real World Performance!

2007-06-22 Thread Gwyn Evans
On Friday, June 22, 2007, 7:33:40 AM, C. [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: believe me, i know that. but hopefully the way i repsonded has cured at least one person, no hard feelings :) I'm mostly just read-only on this list and not able to contribute as much useful bits as

Re: [Wicket-user] [OT] Wicket Real World Performance!

2007-06-22 Thread C. Bergström
Gwyn Evans wrote: On Friday, June 22, 2007, 7:33:40 AM, C. [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: believe me, i know that. but hopefully the way i repsonded has cured at least one person, no hard feelings :) I'm mostly just read-only on this list and not able to

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-06-22 Thread Flemming Boller
Great idea with the calendar! It is the same with me, after 16-17 is the best for me too. /Flemming On 6/22/07, Frank Bille [EMAIL PROTECTED] wrote: On 6/22/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I've created a public google calendar for us:

Re: [Wicket-user] Copenhagen Wicket Users Group - interested?

2007-06-22 Thread Frank Bille
On 6/22/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I've created a public google calendar for us: http://www.google.com/calendar/embed?src=7mkimsnp84i09nh48u5ju59pqg%40group.calendar.google.com And entered your proposition Flemming. It looks ok for me. Cool, thx. I

Re: [Wicket-user] Moving mailing list?

2007-06-22 Thread Reinout van Schouwen
Op woensdag 20-06-2007 om 17:32 uur [tijdzone -0700], schreef Eelco Hillenius: Yeah, we should do that soon. We'll get to that within a few weeks hopefully. Please don't forget to update the Gmane gmane.comp.java.wicket.* newsgroup hierarchy too. Thanks. :) regards, -- Reinout van Schouwen

[Wicket-user] Use of Session

2007-06-22 Thread Matthieu Casanova
Hi, I'm not familiar with wicket sessions. I understand that I can create my own session object that extends the WebSession, and that will have some fields containing my sessions datas. In that case I have to replace the ISessionFactory of my application. The other choice to store datas in the

Re: [Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-22 Thread Ryan Sonnek
it should be pretty easy to update the wicketstuff-hibernate project to verify this is broken. how should i proceed with this issue? On 6/22/07, Matej Knopp [EMAIL PROTECTED] wrote: That's weird. You should be able to call setRequired from that listener, that's the point why i have introduced

Re: [Wicket-user] Binding the Enter key with a button

2007-06-22 Thread Nino Saturnino Martinez Vazquez Wael
Actually I was just about to write a mail about starting a wicket stuff contrib on this, but did not have time for it this morning, as I was busy trying to fix a problem on the gmap contrib. I'll continue this on the dev list, for now i'll create a svn repo for 1.3 on stuff svn. it's gonna be

Re: [Wicket-user] Use of Session

2007-06-22 Thread Maurice Marrink
imo your best option is to override the newSession method in Application and use your own custom session as it allows you to get your objects back without casting, as you would have to with metadata, and it allows you to do do some detach logic (if you need to). Alternatively you could use the

Re: [Wicket-user] Accessing HttpSession attributes

2007-06-22 Thread Kees de Kooter
Yes, indeed it does. Good catch. So you do need to get to the httpsession directly after all. Which I guess is a bit safer. Eelco OK. So how am I going to get to the HttpSession directly? - This SF.net email is

Re: [Wicket-user] Use of Session

2007-06-22 Thread Thies Edeling
shameless plug: http://blog.ehour.nl/index.php/archives/14 :) Matthieu Casanova wrote: Hi, I'm not familiar with wicket sessions. I understand that I can create my own session object that extends the WebSession, and that will have some fields containing my sessions datas. In that case I have

Re: [Wicket-user] Accessing HttpSession attributes

2007-06-22 Thread Timo Rantalaiho
On Fri, 22 Jun 2007, Kees de Kooter wrote: OK. So how am I going to get to the HttpSession directly? Something like ((WebRequest)getRequest). getHttpServletRequest().getSession() . Typically to find this kind of things it's a good idea to get a relevant object (webSession or WebRequest in this

Re: [Wicket-user] [announce] Apache Wicket

2007-06-22 Thread Patrick Angeles
Congratz guys. This news will certainly turn some heads in your direction... - 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.

Re: [Wicket-user] Use of Session

2007-06-22 Thread Johan Compagner
you should really create your own session. Usage of the metadata things should really be avoided for that kind of data. I almost could say. don't use meta data at all, its a wicket internal thing to store quickly markers and stuff like that. johan On 6/22/07, Matthieu Casanova [EMAIL

Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Eelco Hillenius
Could you describe the problems in a JIRA issue? Thanks. Eelco On 6/22/07, Peter Thomas [EMAIL PROTECTED] wrote: Ok I think the problem is related to the ReloadingWicketFilter which I was extending and using. When I remove this, things are fine. So my conclusion is that latest

Re: [Wicket-user] Use of Session

2007-06-22 Thread Matthieu Casanova
2007/6/22, Johan Compagner [EMAIL PROTECTED]: you should really create your own session. Usage of the metadata things should really be avoided for that kind of data. I almost could say. don't use meta data at all, its a wicket internal thing to store quickly markers and stuff like that.

Re: [Wicket-user] Multiple wicket:child tags in the same page

2007-06-22 Thread Eelco Hillenius
On 6/22/07, Scott Swank [EMAIL PROTECTED] wrote: I've often seen folk want what I see as abstract tags that can then be implemented by subclasses. The way I've handled that for our application is by creating an abstract component (say it's a page) with div tags with appropriate wicket:ids.

Re: [Wicket-user] How to best deffend models and entity classes

2007-06-22 Thread Igor Vaynberg
or create models that bind to xml, something like class XmlPropertyModel(String xml, String path) extends AbstractReadOnlyModel { Object getObject() { return XmlUtils.getPath(xml, path); } } add(new TextField(foo, new XmlPropertyModel(xml, address.street)); also create anl

Re: [Wicket-user] Custom request listener (wicket 1.2.x)

2007-06-22 Thread Paolo Di Tommaso
The quick start was in the included email, anyway here it is again .. public interface IHelloListener extends IRequestListener { public static final RequestListenerInterface INTERFACE = new RequestListenerInterface( IHelloListener.class); void onHello(); }

Re: [Wicket-user] No way to customize how autolinks look like

2007-06-22 Thread Igor Vaynberg
application.init() { getmarkupsettings().setdefaultbeforedisabledlink(a class=\selected\); getmarkupsettings().setdefaultafterdisabledlink(/a); } -igor On 6/22/07, Serge P. Nekoval [EMAIL PROTECTED] wrote: Hello, We have markup which displays currently visited(disabled) links in a special

Re: [Wicket-user] Custom request listener (wicket 1.2.x)

2007-06-22 Thread Igor Vaynberg
give us a quickstart/something we can work with and then we can take a look. cant expect us to poke in the dark. -igor On 6/22/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: I'm trying to create a custom request listener like the following code, but something is wrong because I always get the

Re: [Wicket-user] Use of Session

2007-06-22 Thread Eelco Hillenius
Like Johan said, the typical case is to provide your own custom session. You'll have strongly typed variables that way and that's the whole idea users being able to provide their own in the first place. Metadata is intended for framework-like use. When you don't know/ don't want to force clients

Re: [Wicket-user] Multiple wicket:child tags in the same page

2007-06-22 Thread Scott Swank
I've often seen folk want what I see as abstract tags that can then be implemented by subclasses. The way I've handled that for our application is by creating an abstract component (say it's a page) with div tags with appropriate wicket:ids. public class BasePage extends WebPage { public

Re: [Wicket-user] Has something changed in markup inheritance?

2007-06-22 Thread Peter Thomas
Sure Eelco, JIRA logged: https://issues.apache.org/jira/browse/WICKET-685 On 6/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you describe the problems in a JIRA issue? Thanks. Eelco On 6/22/07, Peter Thomas [EMAIL PROTECTED] wrote: Ok I think the problem is related to the

Re: [Wicket-user] Custom request listener (wicket 1.2.x)

2007-06-22 Thread Igor Vaynberg
yeah, dont think we ever thought about doing that...please open a jira issue. it is probably something we should support. -igor On 6/22/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: The quick start was in the included email, anyway here it is again .. public interface IHelloListener extends

Re: [Wicket-user] State selection from imagemap

2007-06-22 Thread Tauren Mills
Eelco, Thanks for the reply! You could use the image map component (see the example in org.apache.wicket.examples.linkomatic), but that would indeed result in a lot of components for not that much gains. The problem with the ImageMap component is that it doesn't support alt and title

[Wicket-user] Question on Serialization

2007-06-22 Thread Iman Rahmatizadeh
Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } would it make any difference if it was inside another object, like : class MyPage extends Page { MyPageHolder pageHolder; //

Re: [Wicket-user] Betr.: Write javascript to inlineframe

2007-06-22 Thread Igor Vaynberg
will try to get to it soon, maybe on the weekend -igor On 6/21/07, Marieke Vandamme [EMAIL PROTECTED] wrote: Hello, I could reproduce in a very simple example.. Could you check it for me? I don't see any exception.. MainPage.java - add(new InlineFrame(myIframe,

Re: [Wicket-user] Betr.: Write javascript to inlineframe

2007-06-22 Thread Igor Vaynberg
where are those writejavascript lines? in inlinepage constructor? -igor On 6/21/07, Marieke Vandamme [EMAIL PROTECTED] wrote: Hello, I could reproduce in a very simple example.. Could you check it for me? I don't see any exception.. MainPage.java - add(new

Re: [Wicket-user] Question on Serialization

2007-06-22 Thread Eelco Hillenius
Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } Yep, if you are using the SecondLevelCacheSessionStore, which is the default for Wicket 1.3, evry page will get serialized as a

Re: [Wicket-user] Multiple wicket:child tags in the same page

2007-06-22 Thread rc.china
Scott Swank wrote: I've often seen folk want what I see as abstract tags that can then be implemented by subclasses. The way I've handled that for our application is by creating an abstract component (say it's a page) with div tags with appropriate wicket:ids. public class BasePage

Re: [Wicket-user] Question on Serialization

2007-06-22 Thread Iman Rahmatizadeh
On 6/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Does holding references to other Pages inside a Page make them be serialized twice ? Like : class MyPage extends Page { ListPage otherPages; } Yep, if you are using the SecondLevelCacheSessionStore, which is the default