Re: How to automatically log access to data objects in wicket gui

2017-12-15 Thread Martin Makundi
raining and Consulting > https://twitter.com/mtgrigorov > > On Fri, Dec 15, 2017 at 2:20 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > > > Thanks > > > > We don't want to log ALL invocations, only those in particular wicket > > imodels. Aspe

Re: How to automatically log access to data objects in wicket gui

2017-12-15 Thread Martin Makundi
Martin Grigorov <mgrigo...@apache.org>: > Hi, > > You can use Aspect Oriented Programming for this too. > See wicket-metrics module for example. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Dec 15, 2017 at 7:5

How to automatically log access to data objects in wicket gui

2017-12-14 Thread Martin Makundi
Hi! We are investigating ways to automatically log access to data objects in wicket gui. Oldschool solutions would be, for example to override/customize PropertyModel and log target object and method invoked, and possibly result value, together with necessary information from session (timestamp,

Re: Performance issue (possible bug since 7.2.0…up to and including 8.0.0-M8)

2017-12-12 Thread Martin Makundi
Performance is no joking mantter =) 2017-12-13 3:56 GMT+02:00 Lon Varscsak <lon.varsc...@gmail.com>: > Haha, sure…I was sure someone was going to argue with me. :P > > -Lon > > On Tue, Dec 12, 2017 at 6:23 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com>

Re: Performance issue (possible bug since 7.2.0…up to and including 8.0.0-M8)

2017-12-12 Thread Martin Makundi
Good find! Sounds like a bug, file to jira? 2017-12-12 23:38 GMT+02:00 Lon Varscsak : > Okay, so here's the situation, I have a component where an Ajax request > displays a large table (1000ish rows). It display fast, no problem, not a > great use of resources (not

Re: Ajax refresh and feedback panel

2017-12-02 Thread Martin Makundi
obably the existing test case for normal rendering (if such exists) could be modified for testing the same with ajax update. ** Martin > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Sat, Dec 2, 2017 at 3:15 PM, Martin Makundi < &

Ajax refresh and feedback panel

2017-12-02 Thread Martin Makundi
Hi! For normal rendering we have: /** * We need to postpone calling beforeRender() on components that implement {@link IFeedback}, to * be sure that all other component's beforeRender() has been already called, so that IFeedbacks * can collect all feedback messages. This is the key under list of

Re: IndicatingAjaxButton locks other buttons

2017-10-26 Thread Martin Makundi
If you dig with firebug, what can you find that causes the buttons to be non-responsive? 2017-10-26 20:12 GMT+03:00 Entropy : > We have an IndicatingAjaxButton that launches an AjaxDownload of a PDF that > we generate on the fly from Crystal Reports. It's spawns the PDF

Re: Joda-time dependency

2017-09-22 Thread Martin Makundi
>> >> Shall I proceed :))) ? >> >> On Wed, Sep 20, 2017 at 7:53 PM, Martin Grigorov <mgrigo...@apache.org> >> wrote: >> >>> https://github.com/menodata/time4j - in case Java 8 Date APIs are not >>> good >>> enough >&g

Re: Joda-time dependency

2017-09-19 Thread Martin Makundi
2017-09-19 9:35 GMT+03:00 Martin Grigorov <mgrigo...@apache.org>: > On Tue, Sep 19, 2017 at 8:12 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > > > 2017-09-19 7:16 GMT+03:00 Martin Grigorov <martin.grigo...@gmail.com>: > > > &g

Re: Joda-time dependency

2017-09-18 Thread Martin Makundi
2017-09-19 7:16 GMT+03:00 Martin Grigorov <martin.grigo...@gmail.com>: > On Sep 19, 2017 6:22 AM, "Martin Makundi" < > martin.maku...@koodaripalvelut.com> wrote: > > IMO it's better to big mang whole wicket to drop joda date. All wicket 8 > without joda.

Re: Joda-time dependency

2017-09-18 Thread Martin Makundi
IMO it's better to big mang whole wicket to drop joda date. All wicket 8 without joda. ** Martin 2017-09-18 22:43 GMT+03:00 Martin Grigorov <mgrigo...@apache.org>: > On Mon, Sep 18, 2017 at 6:50 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > > >

Re: Joda-time dependency

2017-09-17 Thread Martin Makundi
, 2017 at 10:50 AM, Martin Makundi > <martin.maku...@koodaripalvelut.com> wrote: > > Is it possible to also drop joda from wicketstuff for consistency? > > > > 2017-09-17 22:09 GMT+03:00 Andrea Del Bene <an.delb...@gmail.com>: > > > >> +1 to move lega

Re: Joda-time dependency

2017-09-17 Thread Martin Makundi
Is it possible to also drop joda from wicketstuff for consistency? 2017-09-17 22:09 GMT+03:00 Andrea Del Bene : > +1 to move legacy code to WicketStuff. For 'legacy code' I mean all the > code based on yui library and class StyleDateConverter which is tailored on > Joda

Re: Joda-time dependency

2017-09-15 Thread Martin Makundi
Just brute force it and we can fine-tune later. 2017-09-14 7:11 GMT+03:00 Maxim Solodovnik : > Hello Martin, > > I tried to continue this work, but it seems I need some information > before I can proceed > Could you please tell me What was the goal of these changes? > > I

Re: Joda-time dependency

2017-09-11 Thread Martin Makundi
+1 dropping joda time. 2017-09-11 14:02 GMT+03:00 Rakesh A : > Hi, > > Joda-time library dependency in Wicket was added long back for valid > reasons > then. With improvements to Date time API in JDK, do we still need this > dependency ? > Can we replace its usage in

Re: How do you handle rolling upgrades?

2017-07-26 Thread Martin Makundi
Also if you shut down sessions, you need a grace period which lengthens the update time. 2017-07-26 16:05 GMT+03:00 Bas Gooren : > Hi All, > > TL;DR: How/where do you host your wicket apps so you can deploy a new > version while users are actively using the old/current version? In

Re: Question about ajax encoding/decoding, problem with image data url

2017-05-03 Thread Martin Makundi
t; compared to https://twitter.com/mtgrigorov >>> >>> On Wed, May 3, 2017 at 4:11 PM, Martin Makundi < >>> martin.maku...@koodaripalvelut.com> wrote: >>> >>> > Here is a sample how it works in jsfiddle without problems: >>> > https://

Re: Question about ajax encoding/decoding, problem with image data url

2017-05-03 Thread Martin Makundi
Really strange, works on same installation in simpler installation. No difference in http traffic... 2017-05-03 18:07 GMT+03:00 Martin Makundi < martin.maku...@koodaripalvelut.com>: > Interesting, it works in a quickstart also on v1.4. > > Need to investigate more. > > 2017-

Re: Question about ajax encoding/decoding, problem with image data url

2017-05-03 Thread Martin Makundi
ticket in JIRA. > > Check what is in the Ajax response, not what is in the DOM. > Also you can check with Google Chrome. Maybe Firefox does something funky. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, May 3, 2017

Re: Question about ajax encoding/decoding, problem with image data url

2017-05-03 Thread Martin Makundi
Here is a sample how it works in jsfiddle without problems: https://jsfiddle.net/#=0SQvHmm6Nj But when same content is in ajax update it breaks. Wonder what happens to it before render? 2017-05-03 16:06 GMT+03:00 Martin Makundi < martin.maku...@koodaripalvelut.com>: > Hi! > &

Question about ajax encoding/decoding, problem with image data url

2017-05-03 Thread Martin Makundi
Hi! I am trying to display (wicket 1.4) an image using base64 image data representation. For some reason the base64 gets garbled every time with ajax. For example:

Re: Wicket is #3 in the JSON perf test by TechEmpower

2017-03-23 Thread Martin Makundi
Would be interesting to run this performance test Wicket with speed patch #6177 https://issues.apache.org/jira/browse/WICKET-6177 2017-03-23 15:58 GMT+02:00 Marcel Barbosa Pinto : > That is really good! > > On Thu, Mar 23, 2017 at 5:47 AM, Andrea Del Bene

Re: Drag/drop multiple items

2017-01-18 Thread Martin Makundi
Can you group them in javascript and detect group in wicket side, for example as list of ids? 2017-01-19 8:29 GMT+02:00 Maxim Solodovnik : > Hello Sebastien, > > I'm trying to implement subj. > JS example I'm using as POC is here [1] > Everything works, except for one

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
> PS: I don't see this problem in single-page application though. The page >>> state itself can represent the state of the tab. >>> >>> >>> On 12/07/2016 01:45 PM, Martin Grigorov wrote: >>> >>> Could you please expand on >>>> &

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
. ** Martin > > > > > > ** > > Martin > > > > > > > > > > On 12/07/2016 01:45 PM, Martin Grigorov wrote: > > > > > >> Could you please expand on > > >> "and you do not want to make custom lo

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
gt; On 12/07/2016 01:45 PM, Martin Grigorov wrote: > >> Could you please expand on >> "and you do not want to make custom logic to allow multi >> window/tab (in browser)" ? >> >> How exactly Wicket prevents the "multi browser tabs/windows" ? >>

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
plication will always show same wicket TabbedPanel tab for all browser windows because they share session and they share information about which tab is active. ** Martin > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Dec 7, 2016 at 1:37 P

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
com/mtgrigorov > > On Wed, Dec 7, 2016 at 12:07 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > > > This should be built into wicket core, automatic session management. > Login > > once and enable multiple tabs and a new sub-session for ea

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
:00 Urbani, Edmund <edmund.urb...@lilandit.com>: > Ok, but how do you create a session per tab? Also, I would at least need > to login the authenticated user in the new session. > > > On 12/07/2016 11:43 AM, Martin Makundi wrote: > > We have noticed that most robust if yo

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Martin Makundi
We have noticed that most robust if you can get different session for each tab because the session shares models and will easily conflict if session is not distinct for each tab. 2016-12-07 12:42 GMT+02:00 Urbani, Edmund : > Hi all, > > I have a some questions about

Re: Approach to changing value in input field before validation

2016-07-25 Thread Martin Makundi
We have made an utility method that uses reflection to set rawinput, and have found this very useful. You set both rawInput and rawInputArray ** Martin 2016-07-26 1:18 GMT+03:00 Lon Varscsak : > Okay, so I have a need…I’m sure I’m going to get “why are you doing that?”,

Re: Blocking page serialization

2016-06-05 Thread Martin Makundi
many components do you have? > I have seen some pretty big pages with tables with many rows but this has > not been a problem. > We have tables with 200x400 cells and each cell has nested structures which brings to millions of components. ** Martin > On Jun 5, 2016 10:48 AM, "

Blocking page serialization

2016-06-05 Thread Martin Makundi
Hi! https://issues.apache.org/jira/browse/WICKET-6177 We have a performance issue with our Wicket app, page serialization causes inconvenience to user because PageStoreManager.storeTouchedPages() blocks the request until pageSerializer.serialize(page) has been handled. Could this be solved by

Re: Getting the model

2016-03-31 Thread Martin Makundi
2016-03-31 17:06 GMT+03:00 Ron Smits : > I have searched but I dont find a clear way of getting the model when one > is creating a custom component: > > > public MoneyLabel(String id) { > super(id); > add(new AttributeAppender("class", " number")); > } > > public

Re: How to set the page title?

2015-12-09 Thread Martin Makundi
Another way in overriding class: /** * @see org.apache.wicket.Component#renderHead(org.apache.wicket.markup.html.internal.HtmlHeaderContainer) */ @Override public void renderHead(HtmlHeaderContainer container) { super.renderHead(container); getResponse().write("" +

Re: Session leak issue, trying to optimize 1.4x

2015-01-13 Thread Martin Makundi
Bounty: https://www.elance.com/j/java-wicket-core-jetty-internals-expert-fix-session-leak-issue/67287632/ 2015-01-09 16:16 GMT+02:00 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! Can anybody help with this? https://issues.apache.org/jira/browse/WICKET-5805 ** Martin 2015-01-08

Re: Wicket request processing

2015-01-11 Thread Martin Makundi
It's easiest if you use maven, simply check box [x] download sources. Also you can use mvn commandline mvn eclipse:eclipse -Dsources 2015-01-11 12:04 GMT+02:00 kumar ramanathan kumarramana...@gmail.com: Hi Martin, Am not using maven.But using eclipse,placed necessary jar files and run it via

Re: Wicket request processing

2015-01-10 Thread Martin Makundi
Do you have wicket sources available in your dev environment (e.g., via maven)? Put breakpoint inside model.setObject() and start debugging and you will see everything happen real-time in debugger. ** Martin 2015-01-10 16:24 GMT+02:00 kumar ramanathan kumarramana...@gmail.com: Hi friends ,Am

Re: Session leak issue, trying to optimize 1.4x

2015-01-09 Thread Martin Makundi
Hi! Can anybody help with this? https://issues.apache.org/jira/browse/WICKET-5805 ** Martin 2015-01-08 9:24 GMT+02:00 Martin Makundi martin.maku...@koodaripalvelut.com : Hi! We have a performance issue with our Wicket 1.4 app, page serialization causes inconvenience to user because

Wicket job opening in Estonia

2014-11-21 Thread Martin Makundi
Hi! We have a wicket job opening in Estonia, required fluency in Estonian and Finnish. Feel free to email me or apply via http://www.youritprofile.com/job_ad/id/701 ** Martin

Transpose html table

2014-10-03 Thread Martin Makundi
Hi! We have a html table in wicket implemented as: foreach :: listview of table rows { .. foreach :: list view of table cells { .. } } (note: that was pseudocode) What we would like to do, is offer users possibility to transpose the table, however, with minimum changes to the code.

Re: Transpose html table

2014-10-03 Thread Martin Makundi
. Otherwise... look at transposing your table in jQuery alone on the client side and not on the server side. On Fri, Oct 3, 2014 at 11:53 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! We have a html table in wicket implemented as: foreach :: listview of table rows

Re: Support for optgroup ?

2014-06-05 Thread Martin Makundi
) { // OptGroup ended int start = tmp.lastIndexOf(/option); tmp.insert(start + 9, /optgroup); } 2014-06-05 9:37 GMT+03:00 Thies Edeling tedel...@gmail.com: thanks! On Thu, Jun 5, 2014 at 1:48 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Look at: http

Re: Support for optgroup ?

2014-06-05 Thread Martin Makundi
Ah.. and token was: private static final String TOKEN = value=\\; 2014-06-05 9:42 GMT+03:00 Martin Makundi martin.maku...@koodaripalvelut.com : The optgroup code might be buggy, here is a fresh one: private String previouslyAppendedOptGroupLabel; private int choices

Re: Support for optgroup ?

2014-06-04 Thread Martin Makundi
Look at: http://mail-archives.apache.org/mod_mbox/wicket-users/200912.mbox/%3c303141550912040641r1e00841dudaacfefda9497...@mail.gmail.com%3E 2014-06-05 1:41 GMT+03:00 Thies Edeling tedel...@gmail.com: Is there any support for optgroup's in Wicket? I can only find some examples using

Re: Link in Feedback Message

2014-05-02 Thread Martin Makundi
You can look at how a link/button renders its url and render that to the message. ** Martin 2014-05-02 22:01 GMT+03:00 Entropy blmulholl...@gmail.com: I am currently putting a link into one of our feedback messages so give the user a quick way to navigate in response to a particular

Re: WicketTester - asserting on HTML

2013-11-21 Thread Martin Makundi
assertContains 2013/11/21 Nick Pratt nbpr...@gmail.com Is it possible to to make assertions on the rendered HTML of a Wicket page? Im trying to make assertions on element attributes (class contents specifically). Is this possible with WicketTester? N

Re: OutOfMemoryError: Java heap space when i try to upload and show a hundred 100kb pics

2013-09-01 Thread Martin Makundi
Try memory profiler to see what is at matter. ** Martin 2013/9/1 Giovanni van334...@gmail.com Martin Grigorov-4 wrote Hi, Read about Java memory settings (-Xms, -Xmx) Yes, I can increase heap space by settings, but is this a good approach? If displaying one 10Mb pic consumes 1.5Gb heap

Re: Wicket Charts

2013-08-05 Thread Martin Makundi
Plug and play: https://developers.google.com/chart/ Use that with remoteimage ;) 2013/8/5 Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net: Hi all, In your opinion, what is the best library (open source licensed) for creating charts with wicket? Regards M -- Dott. Marco Di

Re: Multiple F5 refreshes create multiple threads

2013-07-19 Thread Martin Makundi
Hi! Not knowing what 1.3 does, but 1.4 locks pagemap in org.apache.wicket.Session. ** Martin 2013/7/18 Mateusz Mieszkowski mmieszkow...@objectivity.co.uk: Hi, I'm having a problem with quite old version of Wicket (1.3.6) and I'm wondering if this still exists in the latest version as we're

Re: Need to know which button is pressed in Modalwindow

2013-07-10 Thread Martin Makundi
Look at xxButtonCallback 2013/7/10 Tommy Sadiq Hinrichsen tommy.ly...@gmail.com: Hej I have a modalwindow where in there is a save button and a cancel button. When i pres the cancel button i somehow need to know that this button has been pressed. I tried creating the modalpage as an

Re: Looking to pair

2013-07-07 Thread Martin Makundi
Hands-on head-first head-banging is the way to go. Watching aside won't take you fare and won't float long. Unless you just want to manage ;) ** Martin 2013/7/7 Mike Pence mike.pe...@gmail.com Remote pairing works, too, with some effort. I am working my way through Wicket in Action, and I am

Dynamic listview

2013-05-28 Thread Martin Makundi
Hi! Is it possible to implement a listview that evaporates on detach and builds itself again whenever one iterates over its items? We have a huge page with thuge listview and the serialization/deserialization of the structure slows down the page. The models are detachable and maybe the

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
FormComponents in its items, because they won't be reachable. It can have pretty much only Labels inside. On Tue, May 28, 2013 at 10:01 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Is it possible to implement a listview that evaporates on detach and builds itself

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
like to allow in general all wicket actions...ofcourse we will go brute force if necessary, but we would like to try first a wicket 'inline' component that rebuilds itself for form processing and rendering but evaporates its body on detach. ** Martin On Tue, May 28, 2013 at 11:01 AM, Martin Makundi

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
something along these lines. ** Martin On Tue, May 28, 2013 at 11:32 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: You could use something that builds itself at client side... while at server side is still very lightweight. Something like http://www.antiliasoft.com

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
2013/5/28 Martin Grigorov mgrigo...@apache.org: On Tue, May 28, 2013 at 10:41 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: You could not use normal form processing, I guess, as there will not be any form components at server side... (they will be removed after list

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
Hi! @Martin, Sometimes when wheels at hand are not good enough for a certain terrain you should ask yourself if it it not easier to invent a new one. Only shortsightedness might get one convinced that writing new code is easier than levaraging legacy..eventually ;) [1] [1]

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
I look at the code in master branch (7.x) and I guess you still use 1.4.x. In 7.x Form#process() is the first non-final method where you can plug your code. I doubt that 1.4 is different in this area but you can check yourself. Start from Form#onFormSubmitted() and follow the flow. Thanks,

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
Martin Makundi wants to rebuild the ListView items when the form is submitted. I.e. the form components will be created and then the form processing will proceed. Yes, I understand that. But my point would match the info coming from client with new component tree being created? i.e

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
Ajax update might be tricky, it uses component ids. 2013/5/28 Martin Grigorov mgrigo...@apache.org: On Tue, May 28, 2013 at 11:00 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi Martin, Martin Makundi wants to rebuild the ListView items when the form is submitted. I.e

Re: Dynamic listview

2013-05-28 Thread Martin Makundi
That's quite critical for form component input processing too.. 2013/5/28 Martin Grigorov mgrigo...@apache.org: On Tue, May 28, 2013 at 11:22 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Ajax update might be tricky, it uses component ids. True. You can override

Re: Feedback panel and form buttons in Wicket 6

2013-05-15 Thread Martin Makundi
It is possible to add feedback panel automatically by implementing org.apache.wicket.ajax.IListener Here are are some examples: /** * TODO Suggest for jira addition, see * * http://apache-wicket.1842946.n4.nabble.com/HowTo-inject-FeedbackPanel-td2295430.html * * @author Martin

Re: Update Model on DropDown Item Selection

2013-04-08 Thread Martin Makundi
Use ajax behavior, e.g., OnChangeAjaxBehavior ** Martin 2013/4/9 Bruno Moura brunormo...@gmail.com: I need to update a model or object immediately after select a DropDownChoice item. Bellow is the code that I'm working: //

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
...@apache.orgwrote: http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html On Wed, Dec 19, 2012 at 4:34 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: xb also 2012/12/19 Michael Mosmann mich...@mosmann.de: Am 15.12.2012 06:22, schrieb

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
such invalid XML characters in the Ajax responses. On Wed, Dec 19, 2012 at 12:34 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I wonder if it is performance-wise best place to have it as a wrap-it-all? 2012/12/19 Martin Grigorov mgrigo...@apache.org: I think it is a good idea to have

Re: Illegal utf characters in ajax xml response

2012-12-19 Thread Martin Makundi
What are conditions when you want to plug it ? I know a certain ajax response might contain illegal characters? Though it might be easier just to filter the known contents. ** Martin On Wed, Dec 19, 2012 at 12:47 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Is there a way

Re: Illegal utf characters in ajax xml response

2012-12-18 Thread Martin Makundi
xb also 2012/12/19 Michael Mosmann mich...@mosmann.de: Am 15.12.2012 06:22, schrieb Martin Makundi: We could use AjaxSelfUpdatingTimerBehavior to iterate over most characters and see where it fails (which could be easily detected).. As today i only know of 0x1a as a bad one. Michael

Re: Illegal utf characters in ajax xml response

2012-12-14 Thread Martin Makundi
Can you point me to an example for this? 2012/12/15 Martin Grigorov mgrigo...@apache.org org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax and normal responses. On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi

Re: Illegal utf characters in ajax xml response

2012-12-14 Thread Martin Makundi
? } }); ? 2012/12/15 Martin Makundi martin.maku...@koodaripalvelut.com Can you point me to an example for this? 2012/12/15 Martin Grigorov mgrigo...@apache.org org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax and normal responses. On Sat, Dec 15, 2012 at 7

Re: AJAX updating of non typical components

2012-12-13 Thread Martin Makundi
Maybe add a dummy component inside the panel that is refreshed instead and piggybacks your js or smth. 2012/12/13 Ernesto Reinaldo Barreiro reier...@gmail.com: Hi, On Wed, Dec 12, 2012 at 8:29 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Why not have outputmarkupid=true

Re: AJAX updating of non typical components

2012-12-12 Thread Martin Makundi
IHeaderContributor? 2012/12/12 Ernesto Reinaldo Barreiro reier...@gmail.com: Hi, Several times I have encountered the situation where I want to update a component via AJAX and this component does not have setOutputMarkupId(true) or even the component generates no visible markup. All this

Re: AJAX updating of non typical components

2012-12-12 Thread Martin Makundi
, component.getMarkupId()); } } On Wed, Dec 12, 2012 at 4:59 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: IHeaderContributor? 2012/12/12 Ernesto Reinaldo Barreiro reier...@gmail.com: Hi, Several times I have encountered the situation where I want to update a component via

Re: AJAX updating of non typical components

2012-12-12 Thread Martin Makundi
(false).setUseHoverIntent(false), NotificationsPanel.CloseAllBeforeOpenFunction.instance); } } 2. Looking at timeManagement.error, does it work with different level errors/warnings/info? 2012/12/12 Martin Makundi martin.maku...@koodaripalvelut.com Why not have outputmarkupid=true? 2012/12

Re: Wicket Application instance from outside Wicket Application

2012-11-08 Thread Martin Makundi
BTW: Is useful to pass the context path... ;) 2012/11/7 Martin Makundi martin.maku...@koodaripalvelut.com: Solved, extend this class from your webservice or other: public abstract class AbstractWicketCompatibleWebService { private static Application application; // Set in Application

Re: Wicket Application instance from outside Wicket Application

2012-11-08 Thread Martin Makundi
= getApplication().newWebRequest(mockHttpServletRequest); final WebResponse wicketResponse = getApplication().newWebResponse(servletResponse); getApplication().newRequestCycle(wicketRequest, wicketResponse); } 2012/11/8 Martin Makundi martin.maku...@koodaripalvelut.com: BTW: Is useful

Re: Wicket Application instance from outside Wicket Application

2012-11-07 Thread Martin Makundi
org.apache.wicket.protocol.http.servlet.WicketSessionFilter On Tue, Sep 18, 2012 at 9:31 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Can't the wicket filter be put in from of axis (servlet/filter) so that you have a session and application attached to the thread? On Tue, Sep 18, 2012 at 6:05 PM, Martin

Wicket Application instance from outside Wicket Application

2012-09-18 Thread Martin Makundi
Hi! We have Axis web services running in the same Jetty as Wicket. Our Axis web services happen to call some wicket helper methods, which assume there is a session and application on thread. For localization, etc. How can our Wreb Service best get hold of the wicket application at runtime? **

Re: Question about unit testing

2012-09-05 Thread Martin Makundi
https://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html =) 2012/9/5 Markward Schubert markward.schub...@gmail.com: Hi folks! I am sure this is a trivial question, but i am simply too dumb to figure this out. We have a DopDownChoice, which is prefilled by some modelvalue, given to

Re: Fix for WICKET-3947 and WICKET-4700

2012-09-02 Thread Martin Makundi
I propose that because this is a bugfix (https://issues.apache.org/jira/browse/WICKET-3947) with thorough junit tests, it should be added to 1.4.x ** Martin 2012/8/21 Veikko Törmänen veikko.torma...@hotmail.com: Thank you for the information. I had missed the correct patch protocol and wasn't

Re: Fix for WICKET-3947 and WICKET-4700

2012-09-02 Thread Martin Makundi
of InlineEnclosure ? Well that was the original boilerplate code we wanted to get rid of in first place. Ofcourse everything can be done the hard way but built in support for such basic functionality is beneficial. ** Martin On Sun, Sep 2, 2012 at 12:53 PM, Martin Makundi martin.maku

Re: Fix for WICKET-3947 and WICKET-4700

2012-09-02 Thread Martin Makundi
no sense, upgrading would take us way backwards. ** Martin On Sun, Sep 2, 2012 at 12:53 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I propose that because this is a bugfix (https://issues.apache.org/jira/browse/WICKET-3947) with thorough junit tests, it should be added to 1.4

Re: Fix for WICKET-3947 and WICKET-4700

2012-09-02 Thread Martin Makundi
immagine yet. Maybe it will be wicket 60.0 ;) ** Martin On Sun, Sep 2, 2012 at 12:53 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I propose that because this is a bugfix (https://issues.apache.org/jira/browse/WICKET-3947) with thorough junit tests, it should be added to 1.4.x

Re: Session Serialization optimization

2012-08-26 Thread Martin Makundi
, 2012 at 4:13 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Has anyone tried some serialization booster (e.g., http://static.netty.io/3.5/api/org/jboss/netty/buffer/ChannelBuffer.html) with wicket session page serializer? Successfully? ** Martin

Re: Wicket Render speed

2012-08-25 Thread Martin Makundi
Are you using loadabledetachable models everywhere possible? ** Martin 2012/8/25 steven.li steven...@skyworthglobal.com: Hi All I have a dataview table, for 50 rows, it takes around 10 seconds to show the page, and the render part take around 8-9 seconds from debug log, Any way to improve

Re: Wicket Render speed

2012-08-25 Thread Martin Makundi
Use a real profiler to see.. also running application in deployment mode will give you more appropriate results. ** Martin 2012/8/26 steven.li steven...@skyworthglobal.com: yes. I use loadabledetachable model. it's the initial time loading takes too long time. and from the debug log, it shows

Re: Wicket Render speed

2012-08-25 Thread Martin Makundi
http://wicket.apache.org/help/ JProfiler or YourKit for example. 2012/8/26 steven.li steven...@skyworthglobal.com: what profiler can we use ? I changed to deploy mode, the result is the same . If I remove the 4 combo checkbox, it will be much faster. -- View this message in context:

Looking for A Telecommuting Wicket Specialist

2012-08-14 Thread Martin Makundi
Hi! We are looking for a telecommuting wicket private contractor to do some application development using Wicket (1.4.x). We prefer a direct contract with the developer-contractor instead of software companies. ** Martin http://code.google.com/p/koodaripalvelut-wicket/

Session Serialization optimization

2012-07-06 Thread Martin Makundi
Hi! Has anyone tried some serialization booster (e.g., http://static.netty.io/3.5/api/org/jboss/netty/buffer/ChannelBuffer.html) with wicket session page serializer? Successfully? ** Martin - To unsubscribe, e-mail:

Re: setOutputMarkupPlaceholderTag not working to render panel with setvisible false...

2012-07-01 Thread Martin Makundi
Try setOutputMarkupPlaceholderTag(true) 2012/7/1 kshitiz k.agarw...@gmail.com: Hi, I am using a panel with setVisible false on a condition. But it is not getting rendered when its visibility becomes true. Here is  the code : *final ShowCommentPanel showCommentPanel = new ShowCommentPanel(  

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread Martin Makundi
Did you look at wicket ajax debugin browser? It usually gives quite good clues about what's missing ... 2012/6/9 kshitiz k.agarw...@gmail.com: Hi, I am trying to refresh ajax container after firing an event. The code is: *final WebMarkupContainer searchContainer = new WebMarkupContainer(    

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread Martin Makundi
Ajax debug is a small hover window visible in browser when you have application configuration in development mode. ** Martin 2012/6/9 kshitiz k.agarw...@gmail.com: I have never tried out that beforeI have enabled debug mode but I to debug the ajax part? Can you please tell me ?? --

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread Martin Makundi
Listview has this parameter reuseitems, if you set it to false it will rebuild when its container is refreshed. 2012/6/9 kshitiz k.agarw...@gmail.com: I got the problem atleast...what is happening that it is using the same search object (where results are being stored and then displayed in

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread Martin Makundi
clearinput can be used with forms when submit is not done but model is changed ** Martin 2012/6/9 kshitiz k.agarw...@gmail.com: Okk...actually when I analysed more, what  I found is that when I enter new value in text field, the event takes the old value only. Even I am now refreshing the

Re: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Martin Makundi
Also you can hack jetty or similar... // Force 302 redirect status code into 301 'permanent redirect' Field statusField = HttpGenerator.class.getDeclaredField(__status); statusField.setAccessible(true); Object[] statusMap = (Object[])

Re: How do I keep component paths constant across unit tests when using Wicket Tester

2012-04-21 Thread Martin Makundi
Test safely: https://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html 2012/4/21 mmuk...@gmail.com mmuk...@gmail.com: I have several wicket tests that target a sortable DataTable, specifically ajax-clicking the sortable column headers and asserting the contents of the rendered body

Re: A/B testing with wicket

2012-04-19 Thread Martin Makundi
You can use Google adwords to implement A/B testing. ** Martin 2012/4/19 Decebal Suiu decebal.s...@asf.ro: Hello Any advice how can I implement the A/B testing (http://en.wikipedia.org/wiki/A/B_testing) in wicket. Anybody already implemented this concept in an ecommerce or page landing

Re: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?

2012-04-18 Thread Martin Makundi
You can kill it in Session but killing a thread will leave it in unknown state. ** Martin 2012/4/18 fachhoch fachh...@gmail.com: If a page is stuck with this error , is there any way I can identify this and throw  a RestartResponseAtInterceptPageException exception to error page ? I am using

Re: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?

2012-04-18 Thread Martin Makundi
these cases. -igor On Wed, Apr 18, 2012 at 11:42 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: You can kill it in Session but killing a thread will leave it in unknown state. ** Martin 2012/4/18 fachhoch fachh...@gmail.com: If a page is stuck with this error , is there any way I

  1   2   3   4   5   6   7   8   9   10   >