Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Pierre-Yves Saumont
Thanks for the hint, Igor. I will have a look at channels. I don't remember seeing any information about these when I started my application (with Wicket 1.1). However, I suppose using channels does not prevent the user clicking on a regular link while an Ajax request is processed ? Pierre-Yve

Re: [Wicket-user] adding class to listview

2006-10-17 Thread Erik van Oosten
If you want to maintain existing classes, you'd better use: item.add(new AttributeAppender("class", new Model("foo"), " ")); Erik. Igor Vaynberg schreef: > item.add(new SimpleAttributeModifier("class", "foo")); > > -Igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ -

Re: [Wicket-user] Where can i find hibernate integration example

2006-10-17 Thread Igor Vaynberg
we have wicket-phonebook in wicket-stuff project on sf.net in svn. it is wicket+spring+hibernate.if you want just wicket+hibernate google "databinder"-igor On 10/17/06, ying lcs <[EMAIL PROTECTED]> wrote: Hi,Can you pleaes tell me where i can find wicket andhibernateintegration  example ?Thank you.

[Wicket-user] Where can i find hibernate integration example

2006-10-17 Thread ying lcs
Hi, Can you pleaes tell me where i can find wicket andhibernate integration example ? Thank you. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technolo

[Wicket-user] they'll cashmere

2006-10-17 Thread Roland Harmon
The drug-resistant strains, which are virtually untreatable, already have killed people in the United States and Eastern Europe. This agreement represents another positive step in preventing Michigan children from becoming addicted to tobacco. Cosgrove III, Governor Jon S. Currently, the site

Re: [Wicket-user] Safari yes, Firefox no

2006-10-17 Thread Iman Rahmatizadeh
Can you refresh the page ? Does it bring up the Page Expired again ? Try it with ie. I guess that shouldn't have any problems as well. On 10/18/06, Michael Welter <[EMAIL PROTECTED]> wrote: > This is a very strange problem. In Firefox, the page display is more or > less normal. However, if I dis

Re: [Wicket-user] Programatically access to CSS

2006-10-17 Thread Igor Vaynberg
the best way is to build the path manually by doing "/"+contextpath+"/style/abc.css" you can get the contextpath from the httpservletrequest object ((WebRequest)getRequest()).getHttpServletRequest().getContextPath() -IgorOn 10/17/06, wicketmarsh <[EMAIL PROTECTED]> wrote: Hi everybody,I have my .cs

[Wicket-user] Programatically access to CSS

2006-10-17 Thread wicketmarsh
Hi everybody, I have my .css file in web context directory i.e webapp/style/abc.css since this .css is used by plain html and wicket , i can't place it in my wicket webpages directory. I want to access this .css file in my webpage. i know , we can access is using HeaderContributor.forCss(Class sc

Re: [Wicket-user] Safari yes, Firefox no

2006-10-17 Thread Michael Welter
Firefox v1.5.0.7 Nick Heudecker wrote: > What version of Firefox are you using? > > On 10/17/06, *Michael Welter* <[EMAIL PROTECTED] > > wrote: > > This is a very strange problem. In Firefox, the page display is more or > less normal. However, if I display th

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
easiest thing to do is probably to reuse Link as it is.abstract class MyLabel extends Panel {MyLabel(String id, IModel model) {  Link link=new Link("link") { onclick() { MyLabel.this.onclick(); }}   link.add(new SimpleAttributeModifier("ondblclick", "this.onclick();");  link.setPopupSettings(PageMa

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
Igor,   I'm trying to have a Label (not a link) that opens a popup when double-clicked.   -- Karl From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor VaynbergSent: Tuesday, October 17, 2006 4:53 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup v

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
erm, the problem is the url - if the page is not bookmarkable you cannot create a url to it without having a page instance. that would be bad cause you would be precreating the page instance so you have its url available in the page that calls it. what is the usecase? does the link do something dif

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
if its not bookmarkable then you can just put that code into attribute modifier and attach it to the link. js poupup settings generates should work fine there.-IgorOn 10/17/06, Karl M. Davis <[EMAIL PROTECTED]> wrote: Wow, that was idiotic of me.  I somehow got it stuck in my head that the p

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Igor Vaynberg
too bad you are blocking the entire window.wicket has "ajax channels" with different channel modes such as queue/disregard. that way you can disable certain groups of components only by assigning them to the same ajax channel. -IgorOn 10/17/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote: I found

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
Wow, that was idiotic of me.  I somehow got it stuck in my head that the page I was linking to was bookmarkable-- it's not.   Is there a way to have _javascript_ open a popup to a page that is not bookmarkable?  Looking through the Wicket source I don't see anything quite as simple as urlFor

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Pierre-Yves Saumont
I found there are sevral things that I missed with Ajax links: indicating that some activity is occuring, preventing the user to click several times on the link, and warning the user if something is going wrong (most often, the session has expired). So I extended AjaxLink : public abstract clas

Re: [Wicket-user] Safari yes, Firefox no

2006-10-17 Thread Nick Heudecker
What version of Firefox are you using?On 10/17/06, Michael Welter <[EMAIL PROTECTED]> wrote: This is a very strange problem.  In Firefox, the page display is more orless normal.  However, if I display the source, I see the "Page Expired" source.  Clicking on any of the links on the page takes me to

[Wicket-user] Safari yes, Firefox no

2006-10-17 Thread Michael Welter
This is a very strange problem. In Firefox, the page display is more or less normal. However, if I display the source, I see the "Page Expired" source. Clicking on any of the links on the page takes me to the "Page Expired" page. Using Safari, I don't have this problem. Has anyone seen this

Re: [Wicket-user] adding class to listview

2006-10-17 Thread Eelco Hillenius
item.add(new SimpleAttributeModifier("class", "foo")); ? Eelco On 10/17/06, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > I'm using a listview to output an ordered list. I would like to add a class > to my li programatically. I don't see a way to do that using the ListView > > simple template: > >

Re: [Wicket-user] adding class to listview

2006-10-17 Thread Igor Vaynberg
item.add(new SimpleAttributeModifier("class", "foo"));-IgorOn 10/17/06, Ryan Sonnek < [EMAIL PROTECTED]> wrote:I'm using a listview to output an ordered list.  I would like to add a class to my li programatically.  I don't see a way to do that using the ListView simple template:    text goes here

[Wicket-user] adding class to listview

2006-10-17 Thread Ryan Sonnek
I'm using a listview to output an ordered list.  I would like to add a class to my li programatically.  I don't see a way to do that using the ListView simple template:    text goes here code:populateItem(Item item) {   //how to add a class to this li?   item.addClass("foo");} ---

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Erik van Oosten
Yes you are right. The error methods are final on FormComponent not in AbstractValidator. Thanks Frank, Erik. Frank Bille schreef: > On 10/17/06, *Erik van Oosten* <[EMAIL PROTECTED] > > wrote: > > > A more easy sollution is to, in your test, subclass your >

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Frank Bille
On 10/17/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > A more easy sollution is to, in your test, subclass your validator and> override error() in that and check if that is invoked correctly.>This is not possible as all the error methods are final. Hmm are you sure of that? http://wicket.source

Re: [Wicket-user] Wicket-CMS Templates

2006-10-17 Thread Martijn Dashorst
Perhaps we need to define the problem better... A typical article has an author, date written, date last modified, tags, content, summary, keywords, title, subtitle, etc. Some people like to show everything on their blogs, so you get in a Wicket template: [title] Now if som

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Erik van Oosten
Nice improvement. Erik. Igor Vaynberg wrote: > in 2.0 the validators are decoupled so it should be trivial to test > them fwiw :) > > -Igor > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Using Tomcat b

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Erik van Oosten
Frank Bille wrote: > Just of the top of my head I have two surgestions. One is to Do the > full association of the validator to a field which is then associated > with a form and then, using the FormTester, submit the form and check > the messages. > That looks like a bit of overkill. But thanks

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Igor Vaynberg
there is really nothing to itsomewhere in body haveLOADING...and before your body tag have

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
Thanks, it is what I was looking for.  I'm not sure I am ready to dive directly into _javascript_ like that, but to know it is possible is interesting.Thanks a lot for the quick answer.Marc On 10/17/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: yesyou need to write your own _javascript_ - wicket has

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Igor Vaynberg
yesyou need to write your own _javascript_ - wicket has hooks thereseeWicket.Ajax.registerPre/PostCallHandlerandWicket.Ajax.registerFailureHandlerin wicket-ajax.jsyou can use those to toggle visibility of some page-wide "loading..." indicator -IgorOn 10/17/06, Marc-Andre Houle <[EMAIL PROTECTED]> w

Re: [Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
I was looking at Gmail and I think my example is bad.  I think I just said another stupid thing and gmail is "actually" changing all the page.Anyway, the question is the same, is there a way to make a feedback for "all" ajax call. On 10/17/06, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: I have chec

[Wicket-user] Ajax refresh feedback

2006-10-17 Thread Marc-Andre Houle
I have checked what is avalaible from the Ajax exemple and I also searched the API to see if there is something to make the browser make a little feedback during an ajax call.I want the browser to react like if something is happening during an ajax Call.  The fact is : when the server is loaded and

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Igor Vaynberg
in 2.0 the validators are decoupled so it should be trivial to test them fwiw :)-IgorOn 10/17/06, Frank Bille < [EMAIL PROTECTED]> wrote:Just of the top of my head I have two surgestions. One is to Do the full association of the validator to a field which is then associatedwith a form and then, usi

Re: [Wicket-user] Netscape 8.1.2 problems

2006-10-17 Thread Frank Bille
Hurray. then we can (perhaps) update the faq to also include Netscape 8.1.2. Allen, if you're in the mood for it you are very welcome to try to test the AJAX examples out (with latest 1.x branch) and if it works we would appreciate if you update the FAQ :) Frank On 10/17/06, Matej Knopp <[EMAIL

Re: [Wicket-user] How to test validators?

2006-10-17 Thread Frank Bille
Just of the top of my head I have two surgestions. One is to Do the full association of the validator to a field which is then associated with a form and then, using the FormTester, submit the form and check the messages. A more easy sollution is to, in your test, subclass your validator and overri

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-17 Thread Matej Knopp
Okay. For 2.0 we can have detach(Component component).. or maybe componentDetached(Component component), and we can call the cleanup() from there. I wouldn't mind. But what to do for 1.2? One solution would be to call cleanup() from AbstractBehavior.detachModel(), the only thing that bothers me

Re: [Wicket-user] Netscape 8.1.2 problems

2006-10-17 Thread Matej Knopp
I don't know if ff 1.0 works, but Netscape 8.1.2 does, after I fixed it :) Frank Bille wrote: > I can see that the Gecko version used is 1.7.5 which AFAIR corresponds > to FireFox 1.0 which I don't think works with our AJAX at the moment. > > Frank > > On 10/17/06, Matej Knopp <[EMAIL PROTECTED]

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
2006/10/17, Pierre-Yves Saumont <[EMAIL PROTECTED]>: Hi Ted,Unless you already found them, you might be interested by these articles: http://www.onjava.com/pub/a/onjava/2006/10/04/what-is-java-content-repository.html?page=1http://www-128.ibm.com/developerworks/java/library/j-jcr/ Pierre-Yves     

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Pierre-Yves Saumont
Hi Ted, Unless you already found them, you might be interested by these articles: http://www.onjava.com/pub/a/onjava/2006/10/04/what-is-java-content-repository.html?page=1 http://www-128.ibm.com/developerworks/java/library/j-jcr/ Pierre-Yves Ted Roeloffzen a écrit : > You're absolutely right Ee

Re: [Wicket-user] Netscape 8.1.2 problems

2006-10-17 Thread Frank Bille
I can see that the Gecko version used is 1.7.5 which AFAIR corresponds to FireFox 1.0 which I don't think works with our AJAX at the moment. Frank On 10/17/06, Matej Knopp <[EMAIL PROTECTED]> wrote: > Strange. It seems that getResponseHeader throws an exception in netscape > if the requested head

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-17 Thread Igor Vaynberg
im not sure why we have detachModel() as opposed to detach() maybe we should just add detach(), it seems logical to me-IgorOn 10/17/06, Matej Knopp <[EMAIL PROTECTED]> wrote:Well, as far as I can see there's only detachModels in IBehavior. Is this the place?-MatejIgor Vaynberg wrote:> why not do t

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Joe Toth
Do you plan on using Spring?If so, spring modules support JCR.https://springmodules.dev.java.net/docs/reference/0.6/html/jcr.html The sub projects wicket-spring and wicket-spring-annot make injecting spring managed beans into your pages EXTREMELY easy.  If you ever used spring to manage anything be

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-17 Thread Matej Knopp
Well, as far as I can see there's only detachModels in IBehavior. Is this the place? -Matej Igor Vaynberg wrote: > why not do the cleanup in detach() ? > > -Igor > > On 10/17/06, *Matej Knopp* <[EMAIL PROTECTED] > > wrote: > > Well, it seems like a bug, the ques

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
this has nothing to do with popup settings. if you have a bookmarkable page - which looks like you do because you are using that urlfor variant you must provide either the default constructonr () or since you are using parameters a (PageParemeters params) constructor. -igprOn 10/17/06, Karl M. Davi

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-17 Thread Igor Vaynberg
why not do the cleanup in detach() ?-IgorOn 10/17/06, Matej Knopp <[EMAIL PROTECTED]> wrote: Well, it seems like a bug, the question is how to fix it?The problem is that rendered() should be called after component isrendered. But we do call it even after header is rendered, because weneed to do som

Re: [Wicket-user] ajax refresh on date picker

2006-10-17 Thread Martijn Dashorst
and to add to the confusion, 1.x will first become 1.2.3 as soon as we fix those damn bugs. 1.3 (or 1.2.4) will follow quickly. Martijn On 10/17/06, Matej Knopp <[EMAIL PROTECTED]> wrote: > Yeah, sorry, I meant 1.x. > > -Matej > > Pierre-Yves Saumont wrote: > > Hi Matej, > > > > I suppose 1.3 is

[Wicket-user] How to test validators?

2006-10-17 Thread Erik van Oosten
Hello, I wrote a custom validator for Dutch burger service numbers. However, whatever I try, I can't seem to be able to write a JUnit test for the onValidate method. An abstract of the code is included below. I tried using EasyMock to mock the form component. However this is not possible becau

[Wicket-user] Re: [Wicket-user] Re: [Wicket-user] Re : [Wicket-user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Gwyn Evans
Babel Fish says... Hello! Because I take charge of the income to be more and many enterprises and company's request: Provides each month remaining sum bill to outside; The reciprocal benefit mutually benefits by Xie Guisi the service operates ` to make up account ` to make the account the urgent

Re: [Wicket-user] Role authorization per page

2006-10-17 Thread ChuckDeal
OK, so narrowing down my thought process... Attempting to play with the application or Session AuthorizationStrategy doesn't seem to be a good idea because it I would need to somehow inject the current page into the "Authorization Process". So, I am back to adding the AuthorizationStrategy to

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
You're absolutely right Eelco, we are starting with the Design, so you'll see it soon.Than it can be judged by you all, LOL - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Eelco Hillenius
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > You are right, I'm sorry. I misread the first answer i got from Tobias. > But i do believe what is said on the mailinglist, but i'm still learning > Wicket and JackRabbit, so some answer may seem strange to me. > That is why i ask so much. A

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
You are right, I'm sorry. I misread the first answer i got from Tobias. But i do believe what is said on the mailinglist, but i'm still learningWicket and JackRabbit, so some answer may seem strange to me. That is why i ask so much. 2006/10/17, Alexandru Popescu <[EMAIL PROTECTED]>: On 10/17/06, T

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > You are right, i did you a transientrepository. So when i use a different > one, the performance should be better? > Maybe you should start trying things by your own, as long as it looks you don't believe most of the answers you are getting

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > >Exactly my point :-). And yes, JCR Sessions are not thread-safe so in > >many cases (and as a best practice) you need to make sure it is > >thread-confined. > > > >./alex > >-- > >.w( the_mindstorm )p. > > I just asked that on the JackRabbi

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
You are right, i did you a transientrepository. So when i use a different one, the performance should be better? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integr

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Seems they think keeping a reference in the session is a good idea: > http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449. > That might work, though I don't know how well it scales. That depends > on the resources a session ho

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
>Exactly my point :-). And yes, JCR Sessions are not thread-safe so in>many cases (and as a best practice) you need to make sure it is>thread-confined. >>./alex>-->.w( the_mindstorm )p.I just asked that on the JackRabbit userlist, as you know, and i got a completely different answer ---

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > I'll ask around on the JackRabbit user and dev list, maybe that they have a > solution. But it is pretty expensive to create Sessions in JackRabbit. Your > performance is really shot to hell, when you are constantly creating > sessions. We us

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > The only requirement would be that the JCR Session to be > > request-confined (so thread safe). I really think this is possible in > > Wicket, but I am still waiting for your book to go out so that I can > > give better answers to this :-)

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
It is going to be a first version of the CMS, so we can change it later.I'll take a look at the article. Thanks2006/10/17, Eelco Hillenius < [EMAIL PROTECTED]>:Seems they think keeping a reference in the session is a good idea: http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449.That

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Eelco Hillenius
Seems they think keeping a reference in the session is a good idea: http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449. That might work, though I don't know how well it scales. That depends on the resources a session holds on to. If it does hold on to resources directly, a pool woul

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
I'll ask around on the JackRabbit user and dev list, maybe that they have a solution. But it is pretty expensive to create Sessions in JackRabbit. Your performance is really shot to hell, when you are constantly creating sessions. We used it in a very small App and the first time we run it, it can

[Wicket-user] Re: [Wicket-user] Re: [Wicket -user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Manuel Barzi
hon! da isu zu mit su bi shi kawa zaki dae wo! ya ta... ;) On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: That's our localization test of the email list ;) Eelco On 10/17/06, Manuel Barzi <[EMAIL PROTECTED]> wrote: > :? > > On 10/17/06, 陈小姐 <[EMAIL PROTECTED]> wrote: > >您好! 因我司进项较

[Wicket-user] Re: [Wicket-user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Eelco Hillenius
That's our localization test of the email list ;) Eelco On 10/17/06, Manuel Barzi <[EMAIL PROTECTED]> wrote: :? On 10/17/06, 陈小姐 <[EMAIL PROTECTED]> wrote: >您好! 因我司进项较多及受多家企业与公司的委托:将每个月余额的些票据向外提供; - Using Tomcat but ne

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Eelco Hillenius
Requests and components are thread safe in Wicket. The pattern you are looking for might be a thread local (maybe with a servlet filter or custom request cycle). I don't know how expensive sessions are to create, and whether a pool of them is maintained by a repository. You might have to do some po

[Wicket-user] Re: [Wicket-user] 希望合作!

2006-10-17 Thread Manuel Barzi
:? On 10/17/06, 陈小姐 <[EMAIL PROTECTED]> wrote: 您好! 因我司进项较多及受多家企业与公司的委托:将每个月余额的些票据向外提供; 互惠互益以解贵司业务运作`补帐`作帐的燃眉之急;提供如下票据服务:★普通商品/运输/广 告/建筑安装/服务业等各种发票可以向外提供,税率为1-2%;并可上网查询或税务验证后付 款的方式与贵司合作! 联系人:陈小姐 电话 :13510678960 - Us

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
I really want it to be threadsafe, but at this point  i don't have a good picture of how that is done.2006/10/17, Alexandru Popescu < [EMAIL PROTECTED]>:On 10/17/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:> Do you even need to keep a reference to it? Get a session when you> need it or let it ge

[Wicket-user] 希望合作!

2006-10-17 Thread 陈小姐
您好! 因我司进项较多及受多家企业与公司的委托:将每个月余额的些票据向外提供; 互惠互益以解贵司业务运作`补帐`作帐的燃眉之急;提供如下票据服务:★普通商品/运输/广 告/建筑安装/服务业等各种发票可以向外提供,税率为1-2%;并可上网查询或税务验证后付 款的方式与贵司合作! 联系人:陈小姐 电话 :13510678960 - Using Tomcat but need to do more? Need to support web

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Eelco Hillenius
> The only requirement would be that the JCR Session to be > request-confined (so thread safe). I really think this is possible in > Wicket, but I am still waiting for your book to go out so that I can > give better answers to this :-). Heh. If a session is thread bound (though I wouldn't see the

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Do you even need to keep a reference to it? Get a session when you > need it or let it get injected. > > Eelco > The only requirement would be that the JCR Session to be request-confined (so thread safe). I really think this is possible in

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
It could be easy to keep a reference, else we have to work with or something like it, because if you have create a session everytime you need it, your performance is shot to hell2006/10/17, Eelco Hillenius < [EMAIL PROTECTED]>:Do you even need to keep a reference to it? Get a session when you need

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Eelco Hillenius
Do you even need to keep a reference to it? Get a session when you need it or let it get injected. Eelco On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > Alexandru were did you keep the JackRabbit Session in your Wicket > Application? > Did you keep them in your Wicket-Session or somewhe

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > Oh yeah Sorry, i did't realize that it was you. > Oh yes that's me everywhere :-D. ./alex -- .w( the_mindstorm )p. > > 2006/10/17, Alexandru Popescu > <[EMAIL PROTECTED]>: > > > > On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED] > wrote:

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
Oh yeah Sorry, i did't realize that it was you. 2006/10/17, Alexandru Popescu <[EMAIL PROTECTED]>: On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED] > wrote:> Alexandru were did you keep the JackRabbit Session in your Wicket> Application?> Did you keep them in your Wicket-Session or somewhere else?>As

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > Alexandru were did you keep the JackRabbit Session in your Wicket > Application? > Did you keep them in your Wicket-Session or somewhere else? > As I already think I have answered you on the Jackrabbit list: the JCR Session is better fitted

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
Alexandru were did you keep the JackRabbit Session in your Wicket Application? Did you keep them in your Wicket-Session or somewhere else?greetsTed2006/10/17, Alexandru Popescu < [EMAIL PROTECTED]>: On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote:> Hi all,>> I was wondering if there is anyone

Re: [Wicket-user] deprecated methods in current SVN version

2006-10-17 Thread Eelco Hillenius
Don't worry too much about them. Most of those deprecation warnings are there to help people migrate to 2.0. They will be supported for 1.2.x and 1.3.x. Usually the deprecation javadoc tag will say what the replacement is. Though there are/ have been a few tags where the lazy bum dev who put it in

Re: [Wicket-user] wicket-contrib-data-ejb3

2006-10-17 Thread Martijn Dashorst
And since you now have an underused, working sf.net account... :-) (underused because the security breach was a couple of months ago ;-) Martijn On 10/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > No plans from the core devs. But anyone from the list of wicket-stuff > committers could take

Re: [Wicket-user] Move to Apache: Namespace?

2006-10-17 Thread Martijn Dashorst
and 1.3? Martijn On 10/17/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > The reason why this is relevant is because we determine the namespace > from this statement. Meaning > xmlns:wicket=http://wicket.sourceforge.net/ is our current default. > But xmlns:xxx=http://wicket.sourceforge.net/ w

[Wicket-user] deprecated methods in current SVN version

2006-10-17 Thread Pierre-Yves Saumont
After switching to current SVN version, I get lots of warnings for deprecated methods. The problem is I can't find any replacement for setUnexpectedExceptionDisplay What are we supposed to use to replace : getApplicationSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
Igor,   Thanks for the reply and the suggestion to just extend AbstractBehavior.  That definitely does work better.    Now, however, it looks like the URL I'm generating (using Component.urlFor(Class, PageParameters)) isn't working out quite right.  The generated ondblclick attribute is: <<

Re: [Wicket-user] ajax refresh on date picker

2006-10-17 Thread Matej Knopp
Yeah, sorry, I meant 1.x. -Matej Pierre-Yves Saumont wrote: > Hi Matej, > > I suppose 1.3 is current branch 1.x ? I checked out this, and it works. > It still don't work with 1.2.2, but never mind. I hope it will continue > working as I add functionnalities to the application ;-) > > Thanks,

Re: [Wicket-user] ajax refresh on date picker

2006-10-17 Thread Pierre-Yves Saumont
Hi Matej, I suppose 1.3 is current branch 1.x ? I checked out this, and it works. It still don't work with 1.2.2, but never mind. I hope it will continue working as I add functionnalities to the application ;-) Thanks, Pierre-Yves Matej Knopp a écrit : > Hi Pierre-Yvers, > > I've tested your

Re: [Wicket-user] wicket-contrib-data-ejb3

2006-10-17 Thread Eelco Hillenius
No plans from the core devs. But anyone from the list of wicket-stuff committers could take it up if they like. Eelco On 10/17/06, cowwoc <[EMAIL PROTECTED]> wrote: > Hi, > > There exists a module called wicket-contrib-data-hibernate-3.0. Are > there plans for releasing wicket-contrib-da

Re: [Wicket-user] Move to Apache: Namespace?

2006-10-17 Thread Juergen Donnerstag
The reason why this is relevant is because we determine the namespace from this statement. Meaning xmlns:wicket=http://wicket.sourceforge.net/ is our current default. But xmlns:xxx=http://wicket.sourceforge.net/ will change Wickets namespace to "xxx". So instead of wicket:id you can write xxx:id. B

Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-17 Thread Matej Knopp
It fails to execute because the header javascript is executed before the elements are inserted to DOM. The solution would be not to render the javascript to head, question is how to determine whether header is being rendered or not. -Matej Caleb Land wrote: > For some reason if the javascript

Re: [Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-17 Thread Matej Knopp
Well, it seems like a bug, the question is how to fix it? The problem is that rendered() should be called after component is rendered. But we do call it even after header is rendered, because we need to do some cleanup there. So for 2.0 I think we need something like IBehavior.cleanup() - where

Re: [Wicket-user] Netscape 8.1.2 problems

2006-10-17 Thread Matej Knopp
Strange. It seems that getResponseHeader throws an exception in netscape if the requested header is not there. I added a try/catch block there so it should work now. -Matej Allen James wrote: > Has anyone run into issues using AJAX behaviour with Netscape 8.1.2 using > the Firefox rendering mo

Re: [Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Alexandru Popescu
On 10/17/06, Ted Roeloffzen <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering if there is anyone who has used Wicket in combination with > JackRabbit, so he\she could help us avoid some major problems. > In the past, I have been looking at using Wicket and JCR when building InfoQ.com. Howev

Re: [Wicket-user] How to reload page from within ajax call

2006-10-17 Thread Frank Bille
Hmm, which browser(s) are you using? You could also take a look at this site to see the browsers that *has* been tested with our AJAX implementation: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#Which_browsers_have_been_tested_with_Wicket_AJAXFrankOn 10/17/06, De Soca < [EMAIL PROTECTED]> wrot

[Wicket-user] JackRabbit and Wicket

2006-10-17 Thread Ted Roeloffzen
Hi all,I was wondering if there is anyone who has used Wicket in combination with JackRabbit, so he\she could help us avoid some major problems. greets,Ted - Using Tomcat but need to do more? Need to support web services, secur