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

2007-01-19 Thread Erik van Oosten
Wauw! Can also do that with more properties? Something like input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key,type=key2/ ? Erik. Igor Vaynberg wrote: input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make

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

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

2007-01-19 Thread Juha Alatalo
Thanks a lot. - Juha Igor Vaynberg wrote: input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make sure you have WicketMessageTagHandler added to markupparser. -igor On 1/18/07, *Juha Alatalo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

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

[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

[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

[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

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,

[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

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 input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key,type=key2/ ? Erik. Igor Vaynberg wrote: input

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] 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 that

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

Re: [Wicket-user] Highlighting error components

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

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

[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,

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

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

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] wrote: I

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

[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=Hellobr/World! But now when using wicket:message key=my.key/ wicket appears to be html escaping the

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:

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 fields

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

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
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 to

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

[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(wicket:scalar wicket:id=foo/); Which is then rendered as

[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:

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

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:

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

Re: [Wicket-user] Custom Databinder Login html

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

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] 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

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:

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 need

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 winmail.dat- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your

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 hiring

[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::IBehaviorListenerwicket:behaviorId=0', function() { }, function()

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

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:

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] mailto:[EMAIL PROTECTED] wrote: I'm using maven2 jetty plugin to test my war file, and

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

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
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 query

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 newbe I am, I

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 [EMAIL

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

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 is

[Wicket-user] 金丰实业

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

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