Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
done in branches-1.x and trunk -igor On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont know if we need yet another setting/attribute > > lets go the

[Wicket-user] 金丰实业

2007-01-19 Thread 李少明
贵公司负责人(经理/财务)您好: 本公司为税务机关代开发票授权公司.本公司现有全国各 地各种行业固定纳税公司的余额发票.可以优惠对外开具.每月 有一部分增值税电脑发票(7%左右)海关代征(3%)和普通发票收 取税率为0.8-1%,详细税率可根据地区.行业.票额大小商谈! 普通国税发票为商品销售(包含所有行业的商品)。普 通地税发票为建筑、安装、广告、设计、运输、租赁、咨询、 培训、旅游、住宿等其它服务行业 。 本公司与全国各地区各行业的公司有发票业务来往。本 公司只需收到贵公司的开票内容后,便会通过税务机关筛选 出相匹配的行业及适合的公司开具发票。

Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-19 Thread Scott Swank
Very kind, thank you. So JavaScriptTemplate defines foo as a document-level object? Nice. Much appreciated. Scott On 1/19/07, Nathan Hamblen <[EMAIL PROTECTED]> wrote: > What, you're deciding between Wicket and JSF and no one has answered > your question? Unacceptable! > > JavaScriptTemplate i

Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-19 Thread Nathan Hamblen
What, you're deciding between Wicket and JSF and no one has answered your question? Unacceptable! JavaScriptTemplate is good for passing variables into Javascript. You can use a cache buster to make sure it gets loaded each time. So, with that approach you would have a plain onclick="oldJavaScript

Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-19 Thread Igor Vaynberg
glad to hear it you are welcome -igor On 1/19/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi Igor It's now working fine, that's great ! And thanks for the wiki link, it's most instructing. Cheers ZedroS On 1/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 1/17/07, ZedroS Schwart <[

Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-19 Thread ZedroS Schwart
Hi Igor It's now working fine, that's great ! And thanks for the wiki link, it's most instructing. Cheers ZedroS On 1/17/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On 1/17/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: > > Thanks again Igor ! > > > > You're most helpful. > > > > However, as a

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Aaron Hiniker
These links are the TreeTable expand/close ajax links. When I first load the page, and the jsessionid is there, I get AJAX errors due to a 404 with the url, ie: *INFO: * *INFO: *Initiating Ajax GET request on ;jsessionid=1jcm8a7y2riyj?wicket:interface=:0:category.editor:table:i:5:sideColumns:0:n

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Igor Vaynberg
i think if you try to encode a relative url jetty should translate it into a full one before inserting ;jsessionid=foo -igor On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: That jsessionid looks normal to me actually. Typically it is inserted right after the server path before the quer

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Eelco Hillenius
That jsessionid looks normal to me actually. Typically it is inserted right after the server path before the query string, but in this case you don't have server path. What happens when you have this? You have stacktraces or javascript errors? Eelco On 1/19/07, Aaron Hiniker <[EMAIL PROTECTED]>

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Igor Vaynberg
strange, i use 6.1.1 and i havent encountered this problem. maybe you should try their mailing list? -igor On 1/19/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: Tried both Jetty 6.1.0 and 6.1.1, which appears to be the latest stable version. Aaron Igor Vaynberg wrote: are you using the l

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Aaron Hiniker
Tried both Jetty 6.1.0 and 6.1.1, which appears to be the latest stable version. Aaron Igor Vaynberg wrote: > are you using the latest jetty? > > -igor > > > On 1/19/07, *Aaron Hiniker* <[EMAIL PROTECTED] > > wrote: > > I'm using maven2 jetty plugin to test my war

Re: [Wicket-user] Jetty Session Issue

2007-01-19 Thread Igor Vaynberg
are you using the latest jetty? -igor On 1/19/07, Aaron Hiniker <[EMAIL PROTECTED]> wrote: I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0: category.editor:ta

Re: [Wicket-user] Abort Ajax Operation

2007-01-19 Thread samyem
Is there any way to timeout if the ajax operation does not respond by a certain time? I've seen in other ajax frameworks where you can submit multiple ajax requests in parallel, but Wicket does not allow me to do such a thing. Matej Knopp wrote: > > I don't think this is about AJAX. I think the

[Wicket-user] Jetty Session Issue

2007-01-19 Thread Aaron Hiniker
I'm using maven2 jetty plugin to test my war file, and when a page is first rendered, I am getting links like: var wcall=wicketAjaxGet(';jsessionid=380dscefa0gpi?wicket:interface=:0:category.editor:table:i:0:sideColumns:0:link::IBehaviorListener&wicket:behaviorId=0', function() { }, function()

Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-19 Thread Scott Swank
I'll know in two weeks. Starting Monday we spend two weeks building proof-of-concept apps in Wicket & JSF/Facelets. If Wicket comes out on top then I'm pretty confident that the answer is a "yes". Cheers, Scott On 1/19/07, Nino Wael <[EMAIL PROTECTED]> wrote: > Scott, you still interested in h

Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-19 Thread Nino Wael
Scott, you still interested in hiring some wicket expertise? regards Nino <>- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Eelco Hillenius
Ok, I guess just not escaping would be fine is most if not all cases. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > i dont know if we need yet another setting/attribute > > lets go the simple route and have them always not escaped first, then if > someone wants it thats fine. do we

Re: [Wicket-user] Custom Databinder Login html

2007-01-19 Thread Nathan Hamblen
You can override DataSignInPage.getRegisterPanel(String id) to return a different panel. But I haven't had time to make those components as customizable as I'd like, so depending on your needs you may need to start with your own sign in page, etc. Feel free to plunder: http://databinder.net/wsvn/Da

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
i dont know if we need yet another setting/attribute lets go the simple route and have them always not escaped first, then if someone wants it thats fine. do we need to have a vote on this? -1 on a setting for sure, if i design a component to work in one setting and you drop it into a project th

Re: [Wicket-user] Bug or not? NPE in "wicket.markup.html.form.Check.java" Wicket1.2.4

2007-01-19 Thread Igor Vaynberg
On 1/19/07, Kadir Sener GUMUS <[EMAIL PROTECTED]> wrote: Reporter: Alex Burgel Created: Yesterday 12:10 PM Alex is faster than me :) actually if you see closer that issue was a dupe of another :) Igor, so there will be any sub-release of 1.2.4 for these kind of fixes contains? or we

Re: [Wicket-user] Custom Databinder Login html

2007-01-19 Thread Eelco Hillenius
http://databinder.net/forum/viewforum.php?f=1&sid=d76834571bb3d11284ddd55a03dfe8a4 On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you might want to send this to the databinder mailing list > > -igor - Take Surveys. Ea

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Eelco Hillenius
Yeah. It would probably be a better default. It would be best if you could at least override this default with an attribute on the wicket:message tag, and maybe as a global setting as well. What about wicket:message attributes though (actually, I didn't know they were working yet): those should pro

Re: [Wicket-user] Bug or not? NPE in "wicket.markup.html.form.Check.java" Wicket1.2.4

2007-01-19 Thread Kadir Sener GUMUS
Reporter: Alex Burgel Created: Yesterday 12:10 PM Alex is faster than me :) Igor, so there will be any sub-release of 1.2.4 for these kind of fixes contains? or we will wait for 1.3 / 2.0 release? Thanks Kadir On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: https://issues.apache.o

Re: [Wicket-user] Bug or not? NPE in "wicket.markup.html.form.Check.java" Wicket1.2.4

2007-01-19 Thread Igor Vaynberg
https://issues.apache.org/jira/browse/WICKET-223 -igor On 1/19/07, Kadir Sener GUMUS <[EMAIL PROTECTED]> wrote: Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGr

[Wicket-user] Bug or not? NPE in "wicket.markup.html.form.Check.java" Wicket1.2.4

2007-01-19 Thread Kadir Sener GUMUS
Hi, i have experienced a NullPointerException in Check.java during render of my page. I have a page which has DropDownChoice ( wantOnSelectionChangedNotifications=true) and CheckGroup (contains Check objects). If i change the dropdown, and refreshes the page, then i am getting NullPE as below:

[Wicket-user] legacy javascript integration

2007-01-19 Thread Scott Swank
What sort of options are there for embedding simple scalar values into an html page, particularly into the parameters of an existing javascript method? I'm looking for something along the lines of: onclick=oldJavaScript(); Which is then rendered as onclick=oldJavaScript(1234); Thanks as always

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
i guess maybe we should allow markup in wicket:message since it comes from .property files so no security threat. what do others think? -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
Yes, that would be great and I'll watch out for when it is released ! I am also wondering if this can be "globally" set (maybe slight performance improvement?) but you will be the best judge for that. Thanks, Peter. On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: if you want to upgrade

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
if you want to upgrade to 1.x (1.3) i can try adding a switch to wicket:message to disable escaping -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
I am using 1.2.4 Not sure if it matters but I'm using a Spring MessageSource so I have my own implementation of IStringResourceLoader set up in the Application through "getResourceSettings().addStringResourceLoader" Thanks, Peter. On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: what ver

Re: [Wicket-user] Highlighting error components

2007-01-19 Thread Loren Rosen
The wiki has an example of how to write this kind of validator: http://cwiki.apache.org/WICKET/validating-related-fields.html Timo Rantalaiho wrote: > > On Fri, 19 Jan 2007, [EMAIL PROTECTED] wrote: >> message. In other words I can not use the build in valdiation by itself >> since all those fi

Re: [Wicket-user] [AjaxSubmitBehaviour & Upload] No Behaviour

2007-01-19 Thread Henning Bredel
Igor Vaynberg schrieb: > afik ajax requests do not support multipart forms > > -igor hmm, okay thanx for answere -- I'll try another way - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pane

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Eelco Hillenius
On 1/19/07, Ryan <[EMAIL PROTECTED]> wrote: > I think session#attach and #detach are some what undesirable for the > purpose of clustering since attach and detach are called on every > request rather than only on requests that bounce between servers. Again, I'm not defending that method has to sta

Re: [Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Igor Vaynberg
what version of wicket are you using? -igor On 1/19/07, Peter Thomas <[EMAIL PROTECTED]> wrote: Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=Hel

[Wicket-user] Escaping of HTML by wicket:message - can this be disabled?

2007-01-19 Thread Peter Thomas
Hi, I'm migrating a JSP app which already has i18n to wicket and re-using an existing resource bundle. There are a few cases where HTML has been embedded in the string resource - e.g: my.key=HelloWorld! But now when using wicket appears to be html escaping the value of the localized string re

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Ryan
I think session#attach and #detach are some what undesirable for the purpose of clustering since attach and detach are called on every request rather than only on requests that bounce between servers. I would suggest removing it if it does not provide much value for people... Gives less of a chance

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Eelco Hillenius
I know, I'm not defending it, just explaining what I think was the original idea behind it a long time ago. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > but that can be done lazily! we dont have imodel.attach() > > -igor > > > > On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED] > wr

Re: [Wicket-user] [AjaxSubmitBehaviour & Upload] No Behaviour

2007-01-19 Thread Igor Vaynberg
afik ajax requests do not support multipart forms -igor On 1/19/07, Henning Bredel <[EMAIL PROTECTED]> wrote: hi there, I have got a form with radioChoice (AjaxSubmitBehaviour) and an FileUploadField (alike the wicket-expample) on it. The problem is, that the SubmitBehaviour works without t

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Igor Vaynberg
but that can be done lazily! we dont have imodel.attach() -igor On 1/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wick

[Wicket-user] [AjaxSubmitBehaviour & Upload] No Behaviour

2007-01-19 Thread Henning Bredel
hi there, I have got a form with radioChoice (AjaxSubmitBehaviour) and an FileUploadField (alike the wicket-expample) on it. The problem is, that the SubmitBehaviour works without the uploadfield but don´t, when I integrate the upload. Can you give me a hint, if there is s.th. in development, or

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Eelco Hillenius
I vaguely remember WebSession#attach was meant for occasions where you run in clustered mode and you want some way to resurrect session variables. I think it has been in Wicket for a very long time. But if no-one is using it we better remove it. Eelco On 1/19/07, Igor Vaynberg <[EMAIL PROTECTED

Re: [Wicket-user] Highlighting error components

2007-01-19 Thread Igor Vaynberg
final Form form...; add(new WebMarkupContainer("form-error") { isvisible() { return form.hasError(); }}); Form contains errors ^wrap in a panel instead of wmc to make reusable class ErrorHighglither extends AbstractBehavior { private FormComponent fc; public void bind(Component c) { /// c

Re: [Wicket-user] Custom Databinder Login html

2007-01-19 Thread Igor Vaynberg
you might want to send this to the databinder mailing list -igor On 1/19/07, la guo <[EMAIL PROTECTED]> wrote: In databinder-1.0.jar ,How to Customer DataRegisterPanel.html ? - Take Surveys. Earn Cash. Influence the Futu

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Igor Vaynberg
i dont even understand why we have session.attach(), we dont need it. -igor On 1/19/07, Johan Compagner <[EMAIL PROTECTED]> wrote: And the locking on session should or can be removed i guess. Because it is not really used anymore.. Because the lock for the component hierarchy is done on the p

Re: [Wicket-user] Highlighting error components

2007-01-19 Thread Timo Rantalaiho
On Fri, 19 Jan 2007, [EMAIL PROTECTED] wrote: > message. In other words I can not use the build in valdiation by itself > since all those fields by themselves are fine but their combination is not > valid. ANd the business wants to see jsut one error message on top, but > have all of the fields tha

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to "final" methods

2007-01-19 Thread Igor Vaynberg
handleMultiPart() has been made protected non-final -igor On 1/19/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Just making sure it didn't get lost in some sourceforge tracker. Thx for submitting! Martijn On 1/18/07, beboris <[EMAIL PROTECTED]> wrote: > > Yes, it is. I am sorry. I guess I

Re: [Wicket-user] Setting html-tags properties

2007-01-19 Thread Igor Vaynberg
yes you can :) -igor On 1/19/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Wauw! Can also do that with more properties? Something like ? Erik. Igor Vaynberg wrote: > wicket:message="value=key"/> > > make sure you have WicketMessageTagHandler added to markupparser. > > -igor > -- Er

[Wicket-user] Highlighting error components

2007-01-19 Thread Gennadiy . Vasilevskiy
Hello All, I have the following question: Doing the business validation I need to say that compoents a, b ,c d out of the form that has 10-15 components are invalid and show just 1 error message. In other words I can not use the build in valdiation by itself since all those fields by themselves ar

Re: [Wicket-user] Wicket visual designer

2007-01-19 Thread Ayodeji Aladejebi
at least something that can help to quickly mock up pages and components wont be bad. Hopefully IDEs communities like netbeans and Eclipse can see the beauty of the framework and support this visual designer project. JSP visual designer for netbeans is great example, since its now open source, som

[Wicket-user] Wicket visual designer

2007-01-19 Thread Paolo Di Tommaso
Is there any project about a Wicket Visual Designer? I think it would be a huge help for Wicket developers. Paolo - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the

Re: [Wicket-user] Customizing StringValidator

2007-01-19 Thread Johan Compagner
So you are using the Range StringValidator? /** * Gets a String range validator to check if a string length is between min * and max. * * If that is not the case then an error message will be generated with the * key "StringValidator.range" and the messages keys that can be us

[Wicket-user] Custom Databinder Login html

2007-01-19 Thread la guo
In databinder-1.0.jar ,How to Customer DataRegisterPanel.html ? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topic

[Wicket-user] Customizing StringValidator

2007-01-19 Thread Ayodeji Aladejebi
I have been having problems customizing my StringValidator message from Wickets defaults: 'mysecretpass' must be between 6 and 9 chars. this is not working: passwordForm.newPassword.StringValidator.minimum=Passwords must be greater than 6 Characters passwordForm.newPassword.StringValidator.maxi

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-19 Thread Johan Compagner
And the locking on session should or can be removed i guess. Because it is not really used anymore.. Because the lock for the component hierarchy is done on the pagemap level when the page is get from the session. But i can't completely see what happens if we really remove it But if we move Sessi

Re: [Wicket-user] Setting html-tags properties

2007-01-19 Thread Juha Alatalo
Thanks a lot. - Juha Igor Vaynberg wrote: > wicket:message="value=key"/> > > make sure you have WicketMessageTagHandler added to markupparser. > > -igor > > > On 1/18/07, *Juha Alatalo* <[EMAIL PROTECTED] > > wrote: > > Is there any way to set html components

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to "final" methods

2007-01-19 Thread Martijn Dashorst
Just making sure it didn't get lost in some sourceforge tracker. Thx for submitting! Martijn On 1/18/07, beboris <[EMAIL PROTECTED]> wrote: > > Yes, it is. I am sorry. I guess I confused some "transaction" ID with an > issue ID... > > > Eelco Hillenius wrote: > > > > It's this http://issues.apach

Re: [Wicket-user] Setting html-tags properties

2007-01-19 Thread Erik van Oosten
Wauw! Can also do that with more properties? Something like ? Erik. Igor Vaynberg wrote: > wicket:message="value=key"/> > > make sure you have WicketMessageTagHandler added to markupparser. > > -igor > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ---