Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Girts Ziemelis
I had similar problem and at the end it was easier to switch to ckeditor, which work fine in a modal window (so far tested only in development). There is no integration package for wicket AFAIK, but simple custom integration for a specific use case is simple. On 02/07/2014 05:45 PM,

Re: ajax file download...

2012-10-12 Thread Girts Ziemelis
The way I did it - I created a panel to be used by all reports. It uses IndicatingAjaxButton for Generate Report button which starts report generation in thread and adds AjaxSelfUpdating behaviour to the button panel. Once generation is finished, previously invisible Download Report button

Re: 1.5 migration and border magic

2012-05-14 Thread Girts Ziemelis
Sorry, answering my own questions ... ;) On 2012-05-11 17:03, Girts Ziemelis wrote: 1.I assume _header is staff added to page header? Can I identify it differently, not by string _header? instanceof HtmlHeaderContainer? Seems that check for HtmlHeaderContainer works fine. 2

Re: TableComponentAsXlsHandler Problem

2012-05-11 Thread Girts Ziemelis
I am using ByteArrayResource and it works great (Wicket 1.5.6). It is not link.onClick, but may be will do? Code: ByteArrayResource surveyExportXlsx = new ByteArrayResource(application/vnd.ms-excel) { private static final long serialVersionUID = 1L; @Override protected

1.5 migration and border magic

2012-05-11 Thread Girts Ziemelis
I was using border in 1.4 to dynamically add different borders to the page (like - for printing, popup, plain, with header/ footer etc based on page parameters and some other criteria) and really liked this method in 1.4. Seems that 1.5 makes this approach clumsy :( Now I must override the

Re: 1.5 migration and border magic

2012-05-11 Thread Girts Ziemelis
code maybe. On Fri, May 11, 2012 at 2:20 PM, Girts Ziemelis girts.zieme...@gmail.com wrote: I was using border in 1.4 to dynamically add different borders to the page (like - for printing, popup, plain, with header/ footer etc based on page parameters and some other criteria) and really liked

Re: What real life scenario calls for page ID?

2012-03-19 Thread Girts Ziemelis
On 2012-03-19 02:46, Paolo wrote: I support you! I implemented class NoVersionMount thanks to pointbreak in my MainApplication. And It will be my template for future app. But to do it, I needed to understood the problem, check on google, read a lot of pages, without found a solution, so post

Re: LocaleFirstMapper in 1.5 and statefull home page

2012-03-19 Thread Girts Ziemelis
=cabc1bee6a5e3e43e58c9f4c7f8b5cda401c558a The new code of this class at: http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob;f=wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper/CustomHomeMapper.java Have fun! On Sun, Mar 18, 2012 at 7:55 PM, Girts Ziemelis

LocaleFirstMapper in 1.5 and statefull home page

2012-03-18 Thread Girts Ziemelis
I am doing the conversion from 1.4 to 1.5.5 and at the same time trying to start using LocaleFirstMapper and CustomHomeMapper from wicket examples. Everything works nicely except, I have a statefull home page and seems CustomHomeMapper does not handle this case. Page renders fine, but Ajax

Re: Apache Wicket is a Flawed Framework

2011-11-19 Thread Girts Ziemelis
On Fri, 2011-11-18 at 06:27 -0800, Eric Kizaki wrote: I was not expecting so much hate. I guess now I am infamous in the Java world now. Look, it is just my opinion. Not many people actually stopped to address many of my points. They just immediately bashed me. I did not bother to

Re: Authorization through Spring Security

2010-12-25 Thread Girts Ziemelis
Do not fight the framework. Use wicket security (wichet-auth-roles + Spring security in my case) for all web tier classes. Use just spring security for service layer (annotations, etc). You can use also url spring security filter, if you need to. In normal wicket applications you do not. But if

Re: Wicket and Netbeans

2010-08-24 Thread Girts Ziemelis
I am not using maven with netbeans any more - at some point I configured, that it worked more or less OK, but I did not see any benefit in using it (from netbeans). Everything was slower and just pain to configure and run. Built in ant for netbeans works very well. Starting Jetty from runner

Re: wicket enclosure not finding child!?

2010-02-05 Thread Girts Ziemelis
, and object_title_classification in both cases, when enclosure IS displayed and when it is NOT. For the same reason I am still on 1.4.1, so this is only my guess ... See mailing list archives for enclosure related topics, e.g. http://old.nabble.com/Re:-enclosure-changes-in-1.4.4-p26763772.html Girts Ziemelis On 02/05

Re: wicket enclosure not finding child!?

2010-02-05 Thread Girts Ziemelis
, and object_title_classification in both cases, when enclosure IS displayed and when it is NOT. For the same reason I am still on 1.4.1, so this is only my guess ... See mailing list archives for enclosure related topics, e.g. http://old.nabble.com/Re:-enclosure-changes-in-1.4.4-p26763772.html Girts Ziemelis

Re: enclosure changes in 1.4.4

2009-12-13 Thread Girts Ziemelis
I also liked the behaviour - it made the code shorter, as I did not have to mirror the component tree in both then and else branches. I guess it is not a big deal, except for the testing headaches - this breaks the code at runtime :( I now, i know - I should have test cases covering all branches

Re: enclosure error

2009-10-18 Thread Girts Ziemelis
If you are using 1.4.2, there is a known problem with enclosures, which has been fixed in 1.4 snapshot: https://issues.apache.org/jira/browse/WICKET-2506 Either upgrade to snapshot or downgrade to 1.4.1. Sam Zilverberg wrote: i'm getting the following error: WicketMessage: Could not find

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
\u00d0\u00bb\u00d0\u00b6\u00d0\u00b8\u00d1\u201a\u00d0\u00b5\u00d0\u00bb\u00d0\u00bd\u00d0\u00be. 2009/10/11 Girts Ziemelis girts.zieme...@gmail.com Is anyone using wicket with bulgarian translations? It seems, the standard wicket messages for bulgarian Application_bg.properties are all messed up

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
Olivier Bourgeois wrote: I'm using BG translations for my app, but not the Wicket default ones, and I am using a mix of UTF-8 properties files and XML files. I just had a look with wicket 1.4.2 and the BG translations are broken : I think something went wrong with the native2ascii

Re: Wicket Bulgarian translation (bg)

2009-10-12 Thread Girts Ziemelis
team prefer for Wicket default property files. 2009/10/12 Girts Ziemelis girts.zieme...@gmail.com Olivier Bourgeois wrote: I'm using BG translations for my app, but not the Wicket default ones, and I am using a mix of UTF-8 properties files and XML files. I just had a look

1.4.2 upgrade problem

2009-10-12 Thread Girts Ziemelis
Sorry about double post - I sent it first to the dev list accidentally :( I believe there is a bug in wicket 1.4.2, which stopped me from upgrading :( I have created issue for this (quickstart added): https://issues.apache.org/jira/browse/WICKET-2519 Finally I narrowed it down to adding

Wicket Bulgarian translation (bg)

2009-10-11 Thread Girts Ziemelis
Is anyone using wicket with bulgarian translations? It seems, the standard wicket messages for bulgarian Application_bg.properties are all messed up :( Unfortunately I do not speak/write Bulgarian, but version of survey we are running is also in BG and our Bulgarian colleagues are complaining