Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Frank Bille
I guess it would be more like a Session.exists() :)+1 for that. it's backportable.FrankOn 8/26/06, Jaime De La Jara [EMAIL PROTECTED] wrote:I think Igor proposal, session.exists(), is correct and it could be added without any impact.Jaime.i think thats better then an npe, didnt even know we were

Re: [Wicket-user] Howard is bluffing here ...

2006-08-26 Thread Nick Heudecker
A high-class Java framework debate? Impossible. The stakes are too low for any class other than none. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Igor Vaynberg
remind me again why we let smartasses in?-IgorOn 8/25/06, Frank Bille [EMAIL PROTECTED] wrote: I guess it would be more like a Session.exists() :)+1 for that. it's backportable. FrankOn 8/26/06, Jaime De La Jara [EMAIL PROTECTED] wrote: I think Igor proposal, session.exists(), is correct and it

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Johan Compagner
Eelco wants company.On 8/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: remind me again why we let smartasses in?-IgorOn 8/25/06, Frank Bille [EMAIL PROTECTED] wrote: I guess it would be more like a Session.exists() :)+1 for that. it's backportable. FrankOn 8/26/06, Jaime De La Jara [EMAIL

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Johan Compagner
yes it is backportable (that method)but we can't kill the exception throwing in 1.2 that is not backportable.johanOn 8/26/06, Frank Bille [EMAIL PROTECTED] wrote: I guess it would be more like a Session.exists() :)+1 for that. it's backportable.Frank On 8/26/06, Jaime De La Jara [EMAIL

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Eelco Hillenius
If I were the teacher, my student passed me by far ;) Eelco On 8/26/06, Johan Compagner [EMAIL PROTECTED] wrote: Eelco wants company. On 8/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: remind me again why we let smartasses in? -Igor On 8/25/06, Frank Bille [EMAIL

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Igor Vaynberg
you are so humble, anyways just checked in exists() for app and session, seems requestcycle doesnt follow the same rules and will just return null - not something we should tweak in 1.x stream because of silent failure. -IgorOn 8/26/06, Eelco Hillenius [EMAIL PROTECTED] wrote: If I were the

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread Martijn Dashorst
The not-throwing exception change could go into 1.3 IMO. Martijn On 8/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you are so humble, anyways just checked in exists() for app and session, seems requestcycle doesnt follow the same rules and will just return null - not something we should

[Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Geoff hendrey
Hi All, I was one of the early users of Wicket before 1.0. I did a lot of work to use Wicket with my JDO implementation JDOMax (no longer supported). In the process I learned a lot about why it is harder than it has to be to use many ORM frameworks with Wicket and Tapestry. I'm a member of JSR

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Korbinian Bachl
hi, my thought is: with EJB3 and hibernate (and both together if you want) - why do we need more ? regards, korbinian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Geoff hendrey Gesendet: Samstag, 26. August 2006 18:54 An:

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Igor Vaynberg
because there is always an opportunity to make the wheel rounder - aka innovation :)-IgorOn 8/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote:hi,my thought is: with EJB3 and hibernate (and both together if you want) - why do we need more ?regards,korbinian -Ursprüngliche Nachricht- Von:

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Igor Vaynberg
i glanced over the code - but i dont get it after the first glance. perhaps you can explain what difficulties you hit when using wicket and an orm to help us better understand.seems to me like you are trying to work with a ui connected to a persistence layer - without a service layer in between.

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Landry Soules
:-( That's just what lots of people say in java forums when a new Wicket release is announced : We already have [replace with the framework you think is the market leader] , why the hell should we learn a new one ? One of java's strength is in the choice we have to make our job done :-)

Re: [Wicket-user] Re : Session.get() behaviour

2006-08-26 Thread cowwoc
I'm in favor of Session.get() returning null in 2.0, if not earlier. You could add exists() in 1.3 and deprecate it in 2.0. Gili Frank Bille wrote: I guess it would be more like a Session.exists() :) +1 for that. it's backportable. Frank On 8/26/06, *Jaime De La Jara*

[Wicket-user] Shades

2006-08-26 Thread Geoff hendrey
Shades isn't threatening to JDO, EJB, or Hibernate. I'm a member of the JDO2 expert group, and I've built a free JDO driver, which as far as I know was the only non-commercial driver to pass the Sun TCK for JDO, at the time. It was called JDOMax. I recently stopped supporting it and I've taken the

Re: [Wicket-user] Shades

2006-08-26 Thread Igor Vaynberg
hmm, thats pretty interesting. let me show you how it is done with a fully transparent orm - maybe it will give you some ideasclass EntityModelT extends LoadableDetachableModelT { private final Class clazz; private final Serializable id; public EntityModel(Class clazz, Serializable id) {

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Igor Vaynberg
ive read your blog, and agree with some points you make about full orm solutions. but as i said i couldnt grasp everything from looking at the code youve provided. are you planning on writing tutorials for shades in the near future as it sounds appealing. -IgorOn 8/26/06, Geoff hendrey [EMAIL

Re: [Wicket-user] Shades

2006-08-26 Thread Geoff hendrey
Hi Igor, Don't get hung up on the loop. As I noted, there is an automatic way to do it, which you provided, using the BoundPropertyModel. Shades works fine with this. I've had these debates too many times before. I'm able to argue both sides, and believe both sides. When we put ourselves into a

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Geoff hendrey
Hi Igor, Cool. I'm trying to find the right venue for open sourcing Shades, and for putting up the javadocs, etc. I was wondering why you guys left codehaus? -geoff --- Igor Vaynberg [EMAIL PROTECTED] wrote: ive read your blog, and agree with some points you make about full orm solutions.

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Juergen Donnerstag
We left codehaus because at that time we had some issues with the support. They didn't respond in time and somtimes not at all. But Martjin may give you more details Juergen On 8/26/06, Geoff hendrey [EMAIL PROTECTED] wrote: Hi Igor, Cool. I'm trying to find the right venue for open

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Roman Mandeleil
What can I do if I have a simple form with AjaxSubmitButton and some TextArea, every submit I want to update the TextArea with some new text (it can't be read only model because it get's an input) ??? -- View this message in context:

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Eelco Hillenius
We left Codehaus because we had to wait for weeks for even an answer to Jonathan's request of adding another committer (me). So we decided to go to SF where we were less dependent on other people. SF works. I've heard good stories about http://developer.berlios.de/. And you could consider

Re: [Wicket-user] can'nt checkout wicket from svn

2006-08-26 Thread Eelco Hillenius
Maybe try again a few times? Could be your connection failed. Eelco On 8/26/06, ali [EMAIL PROTECTED] wrote: please see attachment image i want checkout svn co https://svn.sourceforge.net/svnroot/wicket/branches/WICKET_1_2/wicket-parent as Mr Igor told. -- Using Opera's revolutionary

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Igor Vaynberg
add the textarea to the target provided by the button's onsubmit() call and the textarea will be repainted.-IgorOn 8/26/06, Roman Mandeleil [EMAIL PROTECTED] wrote: What can I do if I have a simple form with AjaxSubmitButton and someTextArea,every submit I want to update the TextArea with some

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Igor Vaynberg
there is also google oss hosting which i have heard good things about. http://code.google.com i believe.-IgorOn 8/26/06, Eelco Hillenius [EMAIL PROTECTED] wrote: We left Codehaus because we had to wait for weeks for even an answerto Jonathan's request of adding another committer (me). So we

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Igor Vaynberg
another interesting problem i find with identity in full blown orms is that it can cause a nasty cascade of loading object graph when using business identity instead of db identity.if you have school-semester-class relationships and you do not want to depend on db identity which is the recommended

Re: [Wicket-user] Server Push (COMET / Reverse Ajax)

2006-08-26 Thread Lorin Metzger
Lorin Metzger wrote: Eelco Hillenius wrote: The problem that I had was that it seemed like all other requests for that session were also blocked even ones that had nothing to do with that behavior. You would have to make sure the request for a push behavior is

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-26 Thread Eelco Hillenius
Yeah, forgot about that. http://code.google.com/hosting/ Eelco On 8/26/06, Igor Vaynberg [EMAIL PROTECTED] wrote: there is also google oss hosting which i have heard good things about. http://code.google.com i believe. -Igor On 8/26/06, Eelco Hillenius [EMAIL PROTECTED] wrote: We

[Wicket-user] refreshing the contents of page back

2006-08-26 Thread Jaime De La Jara
Hi, playing with the phonebook example app. I ran into the problem of how can be updated the contents of a page whose instance is passed to another page constructor?. In the phonebook the back page is ListContactsPage and the page that holds the instance is EditContact. This happens when one adds

Re: [Wicket-user] Server Push (COMET / Reverse Ajax)

2006-08-26 Thread Igor Vaynberg
the problem with the approach is that a behavior is tired to a component that is tied to a page. any thread accessing the page needs to block because you dont want two or more theads working on the page.i think you need to take a bit of a different approach have a threadsafe queue of push events

[Wicket-user] 互惠互利

2006-08-26 Thread 王红
贵公司负责人(经理/财务)您好: 我是深圳联欧有限公司的,我公司实力雄厚,有着良好的社会关系。因进项较多 现完成不了每月销售额度,每月有一部分增值税电脑发票,海关代征(6%左右)和 普通商品销售、广告、服务费、劳务费、咨询费、交通运输、建筑安装、餐饮等, 国税、地税发票(1.5%至1%左右),优惠代开或合作,点数较低,还可以根据所做数量 额度的大小来商议优惠的点数。我公司成立多年一直坚持以诚信为中心立足商场中, 本公司郑重承诺所用绝对是真票!更希望能够有机会与贵司合作! 如贵公司在发票的真伪方面有任何疑虑或担心,可上网查证或我司直接与贵司去 税务局抵扣核对。

Re: [Wicket-user] refreshing the contents of page back

2006-08-26 Thread Igor Vaynberg
i dont really understand what you are sayinggenerally this is not the problem because at the end of the request the models are detached - so when the page renders again - even from some saved reference - the models are attached again and the appropriate data/component hierarchies are refreshed

Re: [Wicket-user] Applying Style Sheets to Wicket Portlet Components?

2006-08-26 Thread David Russell
-- Message: 1 Date: Fri, 25 Aug 2006 22:05:21 +0300 From: Janne Hietam?ki [EMAIL PROTECTED] Subject: Re: [Wicket-user] Applying Style Sheets to Wicket Portlet Components? To: wicket-user@lists.sourceforge.net

[Wicket-user] About AjaxPagingNavigator doesnt support dataview

2006-08-26 Thread Koji Lin
hello all i found the code like this in the AjaxPagingNavigator. protected void onAjaxEvent(AjaxRequestTarget target){ if ((pageable instanceof MarkupContainer) !(pageable instanceof ListView)) } this makes dataview wont work well. or AjaxPagingNavigator wont support

[Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Koji Lin
Hi. Sorry, i didnt write this in the previous mail when i try the wicket examples(wicket.examples.ajax.builtin.PageablesPage) in the IE(all wicket 1.2.1) the wicket ajax debug shows ERROR: error while processing response: [object Error].blah blah but it works well in the firefox. and i

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Igor Vaynberg
you cannot update tr/td/tbody and a few others via outerhtml which is how our ajax updates work - it makes IE choke.-IgorOn 8/26/06, Koji Lin [EMAIL PROTECTED] wrote:Hi. Sorry, i didnt write this in the previous mailwhen i try the wicketexamples(wicket.examples.ajax.builtin.PageablesPage) in the

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Roman Mandeleil
I have tried it and it is not works, do you have any idea why ? -- View this message in context: http://www.nabble.com/Refreshing-page-contents-tf1367256.html#a6004232 Sent from the Wicket - User forum at Nabble.com. -

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Igor Vaynberg
are there any _javascript_ errors? anything interesting in the ajax debug window?-IgorOn 8/26/06, Roman Mandeleil [EMAIL PROTECTED] wrote:I have tried it and it is not works, do you have any idea why ? --View this message in context:

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Koji Lin
thanks what means outerhtml? I foud in http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=wicket-0:wicket.examples.ajax.builtin.PageablesPage the ajax reponse looks like this *?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=data ![CDATA[table id=data

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Igor Vaynberg
the difference is that in the original example the entire table is updated - where as in your example the table is updated - which works fine - and then only the td containing the navigator is updated - which causes the error. outerhtml:

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Roman Mandeleil
Ok it looks for component with id: [form.id]_[component.id], now it works if i give that special id to the component but it good for a workaround, the more intuitive behavior is when the response will find component by it's origin id. -- View this message in context:

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Koji Lin
Thanks Igor, but the original example(i downloaded and never modify, i just put the war in tomcat ). the example will make the table is updated - and then only the td containing the navigator is updated(found in wicket ajax debug window). The page renders well but ajax debug windows shows

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Igor Vaynberg
right - that error is because the td is updated. i dont understand why the first time it shows just the table but the second time the table and the pager - did you change anything? why does it change behavior all of a sudden? -IgorOn 8/26/06, Koji Lin [EMAIL PROTECTED] wrote: Thanks Igor,but the

Re: [Wicket-user] More on refreshing page contents

2006-08-26 Thread Igor Vaynberg
heh, you didnt call setOutputMarkupId(true) on the textarea before you tried updating it via ajax? that is a prereq for any component you will be adding to the ajax target.-Igor On 8/26/06, Roman Mandeleil [EMAIL PROTECTED] wrote: Ok it looks for component with id: [form.id]_[component.id], now it

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-26 Thread Koji Lin
No i didnt change the example. i just put the wicket-examples-1.2.1.war into my tomcat and just runs the example http://localhost:8080/wicket-examples-1.2.1/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.PageablesPage the IE will complain the error so i try to download