New lines are trimmed in textarea after ajaxrefresh

2010-12-14 Thread Michał Letyński
Hi. I have TextArea component with shouldTrimInput() set to false. It has AjaxFormComponentUpdatingBehavior("onblur") attached for validating purpose. On every update it refresh itself. And after update newline from the begining of textarea is trimmed. I debug wickets up to getReponse().write a

Re: Preventing user input script-injection attacks

2010-11-25 Thread Michał Letyński
You can also try to use: http://nekohtml.sourceforge.net/ W dniu 2010-11-25 18:39, Ian Marshall pisze: Thanks for that, Patrick. I'll take a look at these tomorrow to see what they have got. - To unsubscribe, e-mail: users

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Michał Letyński
Hi. I think its not a solution for problem which Martin described. If you cooperate with some outer company which provide you styled markup or they are modifing an existing one they can broke your hierarchy and you must change your code. It would be nice to not do this, for e.g adding everythin

BrowserInfoPage issues.

2010-11-02 Thread Michał Letyński
Hi. I found two problems while using wicket BrowserInfoPage. 1) Browser page can be shown for couple of seconds when page to which it redirects is heavy. Browser page has english hardcoded label "If you see this, it means that both javascript and meta-refresh are not support by your browser

Re: open Modal Window without AjaxRequestTarget

2010-07-02 Thread Michał Letyński
Hi. You must make content visible manually since its done in show(ajaxtarget) method. So override makeVisible() method from modal window or just set getContent().setVisible(true) in onBeforeRender. W dniu 2010-07-01 20:59, Pierre Goupil pisze: Good evening, I tried it but nothing shows. My F

java.util.ConcurrentModificationException from DefaultObjectStreamFactory

2010-06-29 Thread Michał Letyński
Hi. I got such error today Long time ago i had similar problem but with ClassCastException while deserialization. It was because i kept references from one page inside another. Nowdays i dont have such navigation, im using: RequestCycle.get().setResponsePage(xxxPage.class) Any ideas ? Hints ?

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-06-02 Thread Michał Letyński
Hi. I just checkout tinymce-parent with version 1.4.9 and everythink works both in FF3.5 and ie8 W dniu 2010-06-01 20:17, danisevsky pisze: Hello, I checkout wicket-stuff core, install and run tinymce-examples, every examples works fine except image upload. Firebug do not show any javascript

Re: [announce] Release Wicket 1.4.9

2010-05-23 Thread Michał Letyński
Hi. W dniu 2010-05-24 03:59, Jeremy Thomerson pisze: ** Improvement * [WICKET-2790] - wicketTester.executeAjaxEvent method does not check if form is multiPart Is this improvment a part of 1.4.9 ? Since on jira page this improvment is postponed to 1.4.10. --

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-20 Thread Michał Letyński
mponent like in that link which you gave me: new Image("image", new ResourceReference("images"), new ValueMap("id=" + imageId)) You are not interested with src attribute at all. I will try to work on a solution with shared resources :) Thanks for the help

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-20 Thread Michał Letyński
ated with youre code...: http://dotev.blogspot.com/2009/11/serving-images-and-other-resources-with.html And images could be referenced as in the link...: resources/global/images?id=image105 Would it be possible ? Best Regards Muro 2010/5/19 Michał Letyński Hi. Whay do you want to change exac

Re: Help me speed up my Wicket

2010-05-20 Thread Michał Letyński
Hi. W dniu 2010-05-20 10:28, Matthias Keller pisze: And it would not speed up page loading at all since in the end, the same data would have to be transferred but splitted into multiple requests which adds the request overhead to the total loading time compared to the prepared complete page.

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-19 Thread Michał Letyński
at 3:03 PM, Muro Copenhagenwrote: Hi Michal Great thanks for the help.. Best Regards Muro 2010/5/14 Michał Letyński Hi. Yes you are right the last released version is 1.4.1. So you must build it localy. W dniu 2010-05-14 11:19, Muro Copenhagen pisze: Hi Michal I appreci

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-14 Thread Michał Letyński
? Maybe it's a silly question... but i am not sure how to make it work... Best Regards Muro 2010/5/13 Michał Letyński Hi. Its commited to trunk and in pom we have 1.4.7-SNAPSHOT so it should be available ... W dniu 2010-05-12 15:23, Muro Copenhagen pisze: Hi again... I gu

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-13 Thread Michał Letyński
commited... Who can make a new release of wicket-stuff tinymce so we can use the commited code ? Best Regards Muro 2010/5/12 Michał Letyński Hi. Its one of tiny examples: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples W

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-12 Thread Michał Letyński
ce/plugins/emotions/img/smiley-cool.gif' this is what you get submitted to the server, but the image does not get displayed. Can you guide me to using the IResourceListener or getting the emoticon displayed at the client side. Regards, Kimotho. 2010/5/4 Michał Letyński Hi. If you have

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-04 Thread Michał Letyński
questCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) 2010/4/26 Michał Letyński I commited it to

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-05-04 Thread Michał Letyński
ycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479) 2010/4/26 Michał Letyński I commited it to wicket-stuff tinymce project with proper example. W dn

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-04-26 Thread Michał Letyński
I commited it to wicket-stuff tinymce project with proper example. W dniu 2010-04-21 10:23, Johan Haleby pisze: That would be really helpful. I'm struggling to get your example to work. - To unsubscribe, e-mail: users-unsu

Building tinymce-examples from wicketstuff

2010-04-23 Thread Michał Letyński
Did somebody build tinymce-examples from wicketstuff ? I get strange exception. C:/workspace1/wicketstuff-core/tinymce-parent/tinymce-examples/src/main/java/wic ket/contrib/examples/tinymce/AjaxTinyMCEPage.java:[8,-1] cannot access wicket.co ntrib.tinymce.settings.TinyMCESettings bad class fil

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-04-05 Thread Michał Letyński
Thanks. I was thinking to commit it to tinymce wicketsuff-project as separate plugin. In that project there are already some plugins present. Andreas Petersson pisze: Looks very helpful on first sight. maybe it would make sense to release the used code in the form of a wicketstuff project, fo

Image Upload Using TinyMCE Within Wicket Framework

2010-04-02 Thread Michał Letyński
I wrote an article for following topic: "Image upload using TinyMce within Wicket Framework" Article is based on functionality which i wrote to my project. I wrote it since during investigation i saw high demand for such fuctionality. I hope it will be helpful :) Any comments are welcome :) http:

Re: Bug with on IE

2010-03-29 Thread Michał Letyński
be done on the server side, there is no way to figure out which button was actually clicked. On 29/03/10 10:20 PM, Michał Letyński wrote: Code: Form form = new Form("form1"); form.add(new Button("submitButton2") { @Override

Bug with on IE

2010-03-29 Thread Michał Letyński
Code: Form form = new Form("form1"); form.add(new Button("submitButton2") { @Override public void onSubmit() { //logic2 } }); form.add(new Button("submitButton1") { @Override public void onSubmit() {

WicketTester and submiting form via ajax

2010-03-18 Thread Michał Letyński
Hi. Again topic with submiting form via ajax with FileUpload inside. Im submiting form via AjaxButton. For testing my panel im using: wicketTester.executeAjaxEvent(butooon, "onclick") - i want to test some logic in onSubmit() and i get ServletRequest does not contain multipart content. One pos

Re: Nested Forms and Multipart Fileupload Issue

2010-03-12 Thread Michał Letyński
Jirra issue with quickstart added: https://issues.apache.org/jira/browse/WICKET-2779 Michał Letyński pisze: Did you add a jira issue James ? If not i can do it. Its a showstopper for me. Ilja Pavkovic pisze: Hi, Hmmm...I thought the Wicket Team already implemented something similar to

Re: Nested Forms and Multipart Fileupload Issue

2010-03-12 Thread Michał Letyński
jira ticket? Best Regards, Ilja Pavkovic -- Michał Letyński ConSol* Consulting & Solutions Software Poland Sp. z o.o. ul. Piastowska 44c, 30-070 Krakow mail: mi...@consol.pl tel: +48 609 266 753 - To unsubsc

Re: Nested Forms and Multipart Fileupload Issue

2010-03-10 Thread Michał Letyński
Is there a wicket version where it works ? I tried with 1.4.6 and 1.4.7 but i get the same error which James got. My use case : I'm trying to submit a form via ajax to upload a file inside modal window. After debug: FileUploadBase.isMultipartContent get false because if (contentType.toLowerCa

Why getString() is replacing placeHolders in value ?

2010-02-26 Thread Michał Letyński
Hi. Lets consider following situation. I have a property: info.msg=User has added ${text} And the object named Content with such string field text. String textFromProperty = getString("info.msg", new Model(content))); When the text with my Content object have value for e.g "test" i will

Re: Wicket.Ajax.Call.failure: after update wicket from 1.4.1 to 1.4.3

2009-12-07 Thread Michał Letyński
Thanks, it was handled in: https://issues.apache.org/jira/browse/WICKET-2553 Igor Vaynberg pisze: first try with latest wicket-1.4.x branch build. if its still there then open a jira issue. -igor 2009/12/4 Michał Letyński : The problem came in wicket 1.4.2 and its connected with

Re: Wicket.Ajax.Call.failure: after update wicket from 1.4.1 to 1.4.3

2009-12-04 Thread Michał Letyński
dler() the submitButton is set only when getComponent() instanceof IFormSubmittingComponent . DropDownChoice is not an instace of IFormSubmittingComponent. Fast workaround ? Just change IFormSubmittingComponent to FormComponent both of them have key method #getInputName() (with the same logic, thi

Wicket.Ajax.Call.failure: after update wicket from 1.4.1 to 1.4.3

2009-12-04 Thread Michał Letyński
Hi i have simple select with AjaxFormSubmitBehavior attached to it. After changing selection i get: Error: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root element Is it a known problem ? - To unsub

Update of wicketstuff-tinymce's set of javascript

2009-07-27 Thread Michał Letyński
Hi. According to: http://wicketstuff.org/jira/browse/WCTINYMCE-6 Are somebody planning to do an update of javascripts ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wic

Re: Anybody know what is this situation?

2009-07-17 Thread Michał Letyński
I got the same error. It's also totally random. But i have a bit different situation. In my page i have panel, inside this panel i got panel which is anonymous class and inside of this panel is InlineFrame with Page. Any clues how to solve this ? Jeremy Thomerson pisze: Generally unexplained

Getting localized string in constructor.

2009-04-14 Thread Michał Letyński
Hi. When im getting localized string in constructor via getString method the warning message is dispalyed: "Tried to retrieve a localized string for a component that has not yet been added to the page. " I know that one possible way to "fix" this is to use ResourceModel("key'). But what if i