Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-14 Thread Zilvinas Vilutis
This guide is AWESOME! Big respect and thank you to everyone who contributed! Žilvinas Vilutis On Mon, Jan 13, 2014 at 6:00 PM, Martijn Dashorst dasho...@apache.orgwrote: The Apache Wicket PMC is proud to announce Apache Wicket 6.13.0! This release marks the thirteenth minor release of

Re: How to modify markup?

2013-02-21 Thread Zilvinas Vilutis
I think that is what borders are for ( read here: https://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html ) Regards Žilvinas Vilutis On Wed, Feb 20, 2013 at 8:20 PM, Stefan Renz s.r...@efonds.com wrote: Hi, what would be the best way to modify the HTML output of a

Re: Link Visited Color Doesn't Change, any ideas?

2011-11-29 Thread Zilvinas Vilutis
afaik BookmarkablePageLinks generate stateless URLs for stateless pages only, otherwise they act as regular links. Please correct me if I'm wrong. Regards Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Tue, Nov 29, 2011 at 12:29 PM, Andrea Del Bene

Re: [Wicket 1.5.1] Support for SpringBean proxy has gone

2011-09-30 Thread Zilvinas Vilutis
wow :) Well that feature definitely was in 1.4.1x :) I thought it was in 1.5.x by default? Regards Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Fri, Sep 30, 2011 at 12:17 AM, Mike Mander wicket-m...@gmx.de wrote: Yeah. It's mystic. I couldn't find any commit

Re: [Wicket 1.5.1] Support for SpringBean proxy has gone

2011-09-30 Thread Zilvinas Vilutis
nope, I just lied :) I was talking about the setProxy parameter in SpringComponentInjector constructor... Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Fri, Sep 30, 2011 at 10:26 AM, Zilvinas Vilutis cika...@gmail.com wrote: wow :) Well that feature

Re: Can I use Servlet Filer in Wicket Application

2011-09-29 Thread Zilvinas Vilutis
Filters are applied in the filter chain, in the order they're defined in the web.xml It's up to you how to set the order - I don't think wicket has to do anything here. Just make sure that your servlet filter is before wicket filter in the web.xml and it should do the job just fine, unless you

wicket is secure by default. why use spring security?

2011-09-19 Thread Zilvinas Vilutis
Hi all Wicket users. While I was trying to design a wicket app in my mind - the first thing I thought of was authentication and ( spring ) security. I know that wicket is secure by default ( a quote from wicket features? :), we can use wicket auth annotation based security. Wicket will

Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-02 Thread Zilvinas Vilutis
I thought session is managed by container ( Glassfish in this case ) and wicket version should not matter at all. Unless wicket is checking host / path / port or whatever when checking to create a session or not? Regards Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com

Re: Xforms Controls within Wicket Application

2011-08-01 Thread Zilvinas Vilutis
Hi, I don't see any current integration between wicket XForms available, but you can always start one, e.g. in code.google.com :) You may always extend the form component ( or any other ) and override the getMarkup ( or whatever method Wicket provide - Igor please correct me here ) to generate

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-26 Thread Zilvinas Vilutis
No, It's an off-topic for wicket, but maven just helps standardize things for development and make it easier to manage dependencies stuff. It enables you to forget all the little details required to run a project based on open source libraries frameworks - just add a dependency definition and

Re: Replacing Spring MVC with Wicket in Existing Spring/Hibernate project

2011-07-25 Thread Zilvinas Vilutis
You add a wicket filter in the web.xml and you're done! I've tried to use a wicket + spring + hibernate quickstart and posted the results here: http://blog.cikas.info/posts/27/dont-do-what-you-dont-need-to-do Regards Žilvinas Vilutis On Mon, Jul 25, 2011 at 10:15 PM, eugenebalt

Re: introducing wicket:for attribute

2011-07-13 Thread Zilvinas Vilutis
You can use pre in javadocs, and still you'd need to escape html entities ( to gt;, etc ) Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Wed, Jul 13, 2011 at 8:55 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: sweet, too bad  @literal does not preserve

Re: Google Chrome and Apache Wicket, an awesome combination

2011-05-23 Thread Zilvinas Vilutis
And that is why the user acceptance testing must be done on IE FF :) Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com On Mon, May 23, 2011 at 10:45 AM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: FYI... I usually ask questions but I thought I post a

Re: Repeating two tags at the same level (i.e. without a container)

2011-04-28 Thread Zilvinas Vilutis
use wicket:container tag instead Regards Žilvinas Vilutis E-mail:   cika...@gmail.com On Thu, Apr 28, 2011 at 4:38 PM, Alexandros Karypidis akary...@yahoo.gr wrote: Hello, Can anybody recommend how to achieve the following: I need to repeat two tags at the same level, without placing

Re: Repeating two tags at the same level (i.e. without a container)

2011-04-28 Thread Zilvinas Vilutis
It's described here:https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket'XHTMLtags-Elementwicket:container Žilvinas Vilutis E-mail:   cika...@gmail.com On Thu, Apr 28, 2011 at 4:47 PM, Zilvinas Vilutis cika...@gmail.com wrote: use wicket:container tag instead Regards Žilvinas

Re: Wicket and youtube browser based upload

2011-04-18 Thread Zilvinas Vilutis
I think it is YouTubeDirect that you're looking for: http://code.google.com/p/youtube-direct/wiki/GettingStarted Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Mon, Apr 18, 2011 at 2:25 PM, Pavol Zibrita pavol.zibr...@gmail.com wrote: Hi There!   I'm

Re: how to direct from servlet to login page and then back to servlet?

2011-03-24 Thread Zilvinas Vilutis
You can use spring security for filtering the URL patterns... Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Thu, Mar 24, 2011 at 9:37 AM, Sam Zilverberg samzilverb...@gmail.com wrote: This works but the url doesn't change in the browser to /reports/?id=1, it

Re: Authorization using JAAS and getting the Principal.

2011-03-22 Thread Zilvinas Vilutis
https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html#SpringSecurityandWicket-auth-roles-Wicketsetup and call SecureSession.get().getUser() Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Mar 22, 2011 at 6:13 PM, Mansour Al Akeel

Re: dynamic navigation/side content depending on login status

2011-03-21 Thread Zilvinas Vilutis
See the following classes: Implement your AuthenticatedWebApplication to instantiate AuthenticatedWebSession, then use authorization stategies on component initialization: http://wicket.apache.org/apidocs/1.4/org/apache/wicket/authorization/package-summary.html Check the implementation here (

Re: [announce] Wicket Stuff Core 1.5-rc2 is released

2011-03-03 Thread Zilvinas Vilutis
Hi, I'm getting a missing resource error: Missing: -- 1) org.wicketstuff:annotation:jar:1.5-rc2 Try downloading the file manually from the project website. Seems that the project version is not changed in the pom.xml:

Re: Adding Title or AltText to CheckBoxMultipleChoice

2011-02-23 Thread Zilvinas Vilutis
Hi, I don't think you may customize the tags as the input generation is hard-coded: // Add checkbox element buffer.append(input name=\).append(getInputName()).append(\).append( type=\checkbox\).append( (isSelected(choice, index, selected) ? checked=\checked\ : )).append(

Re: usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-16 Thread Zilvinas Vilutis
Sorry, that was not WiQuery, it was JQuery from Wicketstuff :) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Feb 15, 2011 at 12:06 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Mon, Feb 14, 2011 at 12:11 AM, Zilvinas Vilutis cika...@gmail.comwrote

JQueryBehavior rendering javascript with renderString() vs renderJavascript() method

2011-02-16 Thread Zilvinas Vilutis
I've found that one of the core JQuery classes renders javascript with response.renderString method ( org.wicketstuff.jquery.JQueryBehavior.renderHead(IHeaderResponse) ): @Override public void renderHead(IHeaderResponse response) { try { super.renderHead(response);

Re: usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-13 Thread Zilvinas Vilutis
Thank you! That's what I needed! - nothing is impossible -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/usage-of-JavascriptFilteredIntoFooterHeaderResponse-tp3302046p3303816.html Sent from the Users forum mailing list archive at Nabble.com.

Re: usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-13 Thread Zilvinas Vilutis
Hi Jeremy, Thanks for the implementation ( I've found that you're the author of most of the files :) ) - it will be really useful in the future. 1st problem I ran into - no usage example in Javadocs :) However, mailing list helped! ... after that I've found that one of the core WiQuery classes

usage of JavascriptFilteredIntoFooterHeaderResponse

2011-02-11 Thread Zilvinas Vilutis
Could anyone please explain how to use the JavascriptFilteredIntoFooterHeaderResponse, as the Javadoc says smth about what I actually need... Thank you! Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com

Re: PageExpiredException since version 1.4.13

2011-02-04 Thread Zilvinas Vilutis
well it is an open source project - you can checkout source of 1.4.12 and merge the require fix on to it build it yourself. Should be easy if you're not planning to migrate to newer versions :) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Fri, Feb 4, 2011 at

Re: Adding openid-authentication to spring/wicket-auth-roles?

2010-12-31 Thread Zilvinas Vilutis
In Spring you have to implement your own AuthenticationProvider ( e.g. extend AbstractUserDetailsAuthenticationProvider ) which supports() your own, e.g. OpenIDAuthenticationDetails which extend AuthenticationDetails. Implement your authentication logic here. Register it as a bean and add it to

Re: How to programmatically get PlatformTransactionManager of a DAO ?

2010-12-19 Thread Zilvinas Vilutis
why don't you expose a getTxManagerUser method in your AbstractDao class? regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Sat, Dec 18, 2010 at 9:36 AM, smallufo small...@gmail.com wrote: Thanks. but declarative txManagement add a lot of complexity to

Re: resource for href=...

2010-12-14 Thread Zilvinas Vilutis
(photos/img01.jpg) into wicket url (resources/eu.test.PhotoRepeater/photos/img01.jpg)? Constructor for Image do this when I call Image(image, path) but not so for Link. I check link you provide for me but not found the answer :-( -Original Message- From: Zilvinas Vilutis

Re: Invoke Validators manually, in arbitrary places (e.g. Ajax)

2010-12-14 Thread Zilvinas Vilutis
That was accurate :) Thank you! Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Mon, Dec 13, 2010 at 10:02 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: formcomponent.validate() -igor On Mon, Dec 13, 2010 at 6:56 PM, Zilvinas Vilutis cika...@gmail.com wrote

Re: resource for href=...

2010-12-13 Thread Zilvinas Vilutis
(under Tomcat). Maybe ExternalLink I'm using isn't right class? Is it possible to use path in onClick method in Link class? -Original Message- From: Zilvinas Vilutis [mailto:cika...@gmail.com] Sent: Monday, December 13, 2010 8:27 AM To: Ladislav DANKO Cc: users@wicket.apache.org

Re: resource for href=...

2010-12-13 Thread Zilvinas Vilutis
did that help? Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com 2010/12/13 Zilvinas Vilutis cika...@gmail.com: Image class creates a LocalizedImageResource which creates a resource reference from a file. What you can do ( probably not recommended ) is extend

Re: Invoke Validators manually, in arbitrary places (e.g. Ajax)

2010-12-13 Thread Zilvinas Vilutis
That's probably already popular topic, but I'll ask that question again ( please point me to the existing thread if you're aware of this question ) Is there any way to validate only one form component at a time and return the results to UI ( ajax )? Thank you! Žilvinas Vilutis Mobile:   (+370)

Re: resource for href=...

2010-12-13 Thread Zilvinas Vilutis
Why don't you just check-out the source code of wicket lightbox: http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-lightbox to check how it's done there once you decided to write your own one... Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com

Re: resource for href=...

2010-12-12 Thread Zilvinas Vilutis
I don't see where your path is constructed. Did you want to construct an url for an Image ResourceReference ? Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com 2010/12/13 Ladislav DANKO em...@1ac0.net: No, I don't need to download it, what I need is right path in href

Re: resource for href=...

2010-12-12 Thread Zilvinas Vilutis
in a href Laco -Original Message- From: Zilvinas Vilutis [mailto:cika...@gmail.com] Sent: Monday, December 13, 2010 8:11 AM To: users@wicket.apache.org Subject: Re: resource for href=... I don't see where your path is constructed. Did you want to construct an url for an Image

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-09 Thread Zilvinas Vilutis
On Wed, Dec 8, 2010 at 4:30 PM, Vit Rozkovec rozkovec...@email.cz wrote: Hi Žilvinas, would you mind to share some code how to wire this uploader to wicket? Thanks for the link. Vit On 12/08/2010 04:08 PM, Zilvinas Vilutis wrote: I use this AJAX uploader: http://valums.com/ajax-upload

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-09 Thread Zilvinas Vilutis
I've also added the following functions to the uploader JS to make them add to UI: http://pastebin.com/Qa55kZnh Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Thu, Dec 9, 2010 at 9:22 AM, Zilvinas Vilutis cika...@gmail.com wrote: Of course ;) There's a servlet

Re: File upload with inner form and modal window

2010-12-08 Thread Zilvinas Vilutis
Please use pastebin.com or similar for paste'ing code :) Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Dec 7, 2010 at 12:56 PM, Cédric Thiébault cedric.thieba...@gmail.com wrote: You're right, it works :-) So if I understand, all request will be

Re: SV: Multiple wicket applications in a single WAR

2010-12-08 Thread Zilvinas Vilutis
1. No one will steal your non-working code - that's for sure :) 2. Try to explain the scenario in more details. Are you using Spring Security or just wicket? What brings you to the app after login - component.continueToOriginalDestination() ? Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:  

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Zilvinas Vilutis
I use this AJAX uploader: http://valums.com/ajax-upload/ Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Wed, Dec 8, 2010 at 7:46 AM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Dec 8, 2010 at 3:18 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, I

Re: My New Book: Now in Dead Tree Format

2010-10-17 Thread Zilvinas Vilutis
free kindle is here: http://www.amazon.com/gp/feature.html/ref=kcp_ipad_mkt_lnd?docId=1000493771 :) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Sun, Oct 17, 2010 at 12:10 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: For those of you who were grumbling

Re: Catching maxSize of fileUpload error

2010-10-10 Thread Zilvinas Vilutis
See: org.apache.wicket.markup.html.form.Form.onFileUploadException(FileUploadException, MapString, Object) Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Fri, Oct 8, 2010 at 11:09 AM, meduolis meduol...@gmail.com wrote: Hello, is it possible to handle

Re: RadioChoice - what's wrong?

2010-10-08 Thread Zilvinas Vilutis
Oh come on! no one will want to steal your non-working code! Use http://pastebin.com/ to show your code if you want someone's help ;) Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Thu, Oct 7, 2010 at 11:35 PM, Zeldor pgronkiew...@gmail.com wrote: 186 is

Re: chrome + wicket ajax + back button = problem?

2010-10-03 Thread Zilvinas Vilutis
Yes, it is not repeatable on FF because FF does page caching which IE does not for Back history. Your page must be stateless on the server side. Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Sun, Oct 3, 2010 at 3:47 PM, Ryan Crumley crum...@gmail.com wrote: What

Re: Nested Repeaters in an HTML Table -- Uggh!

2010-07-02 Thread Zilvinas Vilutis
Show your component code and the error if you want someone to help this problem fixed. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Fri, Jul 2, 2010 at 12:58 PM, duncan787 duncan...@gmail.com wrote: I have been trying for several days to get this to work. I

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Zilvinas Vilutis
perTest is deprecated I think, you should use always - although it adds additional time for each test run. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com 2010/6/28 Major Péter majorpe...@sch.bme.hu Hi, Try something like this: plugin

Re: Override IAjaxIndicatorAware behavior

2010-06-02 Thread Zilvinas Vilutis
As I understood per http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/- you can make your BasePage implement that interface and all the app should use the same ajax indicator. Please correct me if I'm wrong. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail:

Re: Just launched - www.onmydoorstep.com.au

2010-05-20 Thread Zilvinas Vilutis
to the option in the facebook app settings? I can't find something like - only the Developer mode which restricts the users to only registered developers. On 19 May 2010 09:14, Zilvinas Vilutis cika...@gmail.com wrote: Actually you CAN test it locally, just you need to configure that you

Re: Just launched - www.onmydoorstep.com.au

2010-05-18 Thread Zilvinas Vilutis
Is it broken? URL http://www.onmydoorstep.com.au/ does not open any page for me Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 18, 2010 at 6:59 AM, Ajayi Yinka iamstyaj...@googlemail.comwrote: good job. On Tue, May 18, 2010 at 4:49 AM, Jeremy Thomerson

Re: Just launched - www.onmydoorstep.com.au

2010-05-18 Thread Zilvinas Vilutis
Actually you CAN test it locally, just you need to configure that you need this feature in your FB app in FB itself. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 18, 2010 at 2:29 PM, Richard Nichols r...@visural.com wrote: I pretty much used the code

Re: Replace panel+javaScript functions doesn't work

2010-05-17 Thread Zilvinas Vilutis
Well javascript should work, maybe the markup ids are changed and JS references non-existing elements or so. It's nothing clear from the markup you gave. What panel do you replace? What JS is invoked or what elements are used in JS are inside the panel? Žilvinas Vilutis Mobile: (+370) 652

Re: Best practises question

2010-05-17 Thread Zilvinas Vilutis
Are there any patterns described how to use PageReference efficiently? Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 17, 2010 at 9:55 AM, Jeremy Thomerson jer...@wickettraining.com wrote: You should use PageReference (Page#getPageReference()). --

Re: order of javascript sources

2010-05-17 Thread Zilvinas Vilutis
It can be accomplished by the component hierarchy, by knowing that parent components' references are added first or in other words renderHead is invoked earlier. So you may have a: class AbstractPrototypScriptaculousBehaviour extends AbstractBehaviour { renderHead( response ){

Re: Check and CheckGroup

2010-05-16 Thread Zilvinas Vilutis
, please create the ticket yourself. -igor On Fri, May 14, 2010 at 11:13 AM, Zilvinas Vilutis cika...@gmail.com wrote: Overall - the Javadoc does not explain how it supposed to be used, please create a ticket for that. Thank you Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail

Re: Best practises question

2010-05-16 Thread Zilvinas Vilutis
Speaking of performance, my pages are using quite a bunch of technologies and session size varies ~30-40 KB, sometimes it raises to 80-90 KB. Is that a considerable amount? Previously I've been working with JSF where session size was 2-6 MB - so comparing to that it seems to be almost zero :) But

Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
Hi all, Can anyone explain me how do I determine whether the checkbox is checked? Is the modelObject null if not or what? Don't understand that and javadoc's don't help :) What does the list in the CheckGroup model do? what does model in Check do? does the item in the check model require to be

Re: Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
Thanks for quick response! We'll try soon ;) Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Fri, May 14, 2010 at 9:33 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: Hi Zilvinas, The Model for a CheckGroup is a CollectionT; I looked in

Re: Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
No, I've got a list http://pastebin.com/KwZq49uG So I add all the items to a collection which is used as a model object for CG, and each of the items to each check. When I call selectedImages.getModelObject() - I get the same list which contains all the items. Still don't get how to resolve a

Re: Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
Ok, I got it, the list contains only selected items after form submit :) Thank you! Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Fri, May 14, 2010 at 9:48 AM, Zilvinas Vilutis cika...@gmail.com wrote: No, I've got a list http://pastebin.com/KwZq49uG So I add

Re: Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
Vilutis cika...@gmail.com wrote: Ok, I got it, the list contains only selected items after form submit :) Thank you! Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Fri, May 14, 2010 at 9:48 AM, Zilvinas Vilutis cika...@gmail.comwrote: No, I've got a list http

Re: Check and CheckGroup

2010-05-14 Thread Zilvinas Vilutis
-- Jeremy Thomerson http://www.wickettraining.com On Fri, May 14, 2010 at 11:59 AM, Zilvinas Vilutis cika...@gmail.comwrote: The problem was that I was trying to get those values inside onClick method of an AjaxLink, but did not submit the form. I've switched the link to a button and its

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Zilvinas Vilutis
I had the same problem, its something related to converters or how your text value is converted to ( in your case ) Subject - and as there is no converter for that - it is just failing. What I've done is set the model to null and added a method getChoice which does the conversion. This is not

Re: setOutputMarkupPlaceholderTag + value

2010-05-12 Thread Zilvinas Vilutis
Why don't you use input type=hidden / ? Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, May 12, 2010 at 7:41 AM, Ivoneta ietaraz...@gmail.com wrote: Hello! I need to manage the locale (choose from a combobox) in javascript. So I will create a hidden field

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Zilvinas Vilutis
a getChoice method would solve the problem. This means that I set the AutoCompleteTextField type to String and the String in the AutoCompleteTextField has to be unique in order to identify the right object, hasn't it? Thanks Sebastian Am 12.05.2010 um 19:26 schrieb Zilvinas Vilutis: I

Re: localizing images

2010-05-12 Thread Zilvinas Vilutis
Use parameterized ResourceReference's Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, May 12, 2010 at 3:38 PM, Ed _ ed_b...@hotmail.com wrote: Hi, Wanted to see how one could localize images. Esp if they are not in the same folder as the src code.

Re: localizing images

2010-05-12 Thread Zilvinas Vilutis
First, create an ExternalImage class as described in https://cwiki.apache.org/WICKET/how-to-load-an-external-image.html Add img wicket:id=localizedImage / to your markup Then in your code: ResourceReference imageReference = new ResourceReference( ScopeClass.class, image_file_name, locale,

Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-12 Thread Zilvinas Vilutis
There are no locks which thieves couldn't unlock or break - nevertheless the locks keep 99% of them not to try - that is why we lock our doors at home. The same is here, I believe that at least some security will make more than 90% spam / scrap bots fail, while the other few percent does not

Re: html namespace, formatting...

2010-05-11 Thread Zilvinas Vilutis
My BasePage.html contains these lines in the beginning: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns:wicket= http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; !-- some content here-- /html while ALL

Re: efficient resource downloading

2010-05-11 Thread Zilvinas Vilutis
See no problem of using spring services within a servlet, see my servlet example: http://pastebin.com/6tWstvAL http://pastebin.com/6tWstvAL Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 10, 2010 at 8:10 PM, Joe Fawzy joewic...@gmail.com wrote: Hi dear

Re: html namespace, formatting...

2010-05-11 Thread Zilvinas Vilutis
Formatting should work fine, just I don't like it as it merges several lines into one and there is no never merge lines option as there is in java. Not sure about auto-completion - I've seen a DTD somewhere which supports autocompletion, but it was long ago... and I don't need it anymore, as

Re: efficient resource downloading

2010-05-11 Thread Zilvinas Vilutis
If you need to have the current session in a servlet, you may use the WicketSessionFilter which injects the wicket session into a ServletRequest. In any way you want to use it - your chosen implementation of security part will still be heavyweight. Not sure if you can submit authentification

Re: Customizing CheckBoxMultipleChoice Images?

2010-05-11 Thread Zilvinas Vilutis
IE6/7 does not support those CSS selectors [type=checkbox] as far as I remember Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 11, 2010 at 11:23 AM, Corbin, James jcor...@iqnavigator.comwrote: Thanks Igor. I know this isn't a wicket issue...but, I'm

Re: [wiQuery] Custom Link to wiQuery Page doest not initialize target page

2010-05-10 Thread Zilvinas Vilutis
Why don't you try: setResponsePage( MyPage.class ); In your case - the constructor is invoked earlier, that may cause problems. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 10, 2010 at 9:17 AM, Jens Zastrow m...@jens-zastrow.de wrote: Hi experts, The

Re: load external image from url and use it application wide

2010-05-09 Thread Zilvinas Vilutis
There are examples how to load external images here: https://cwiki.apache.org/WICKET/how-to-load-an-external-image.html All you've got to do is implement your own image cache Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Sun, May 9, 2010 at 7:23 AM, Christoph Grün

Re: how to get some data from servlet

2010-05-09 Thread Zilvinas Vilutis
SecureSessionHolder.addSecureSession( sessionId ); Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Sun, May 9, 2010 at 6:57 PM, Fernando Wermus fernando.wer...@gmail.comwrote: would you paste your code here? I will get a try if there is no problem. On Sat, May 8, 2010 at 9:04 PM, Zilvinas Vilutis

Re: how to get some data from servlet

2010-05-08 Thread Zilvinas Vilutis
The problem is not in wicket, but in SwfUpload or more specific would be the Adobe Flash itself - which uses IE cookies in any case, even when you're using FF or Chrome or Safari on Windows ( http://swfupload.org/forum/generaldiscussion/869 ) Not sure how secure is it - but I've solved this in

Re: WicketSessionFilter and empty HttpSession

2010-05-08 Thread Zilvinas Vilutis
Didn't work for me :( - nothing is impossible -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-empty-HttpSession-tp1888171p2136548.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: convert wicket pages html to excel

2010-05-06 Thread Zilvinas Vilutis
+1 for POI ;) Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Wed, May 5, 2010 at 10:36 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: +1 for poi, used it, worked great -igor On Wed, May 5, 2010 at 10:31 PM, Adrian Wiesmann awiesm...@somap.org wrote: On

Re: Session Timeout - detect last visited page and redirect accordingly

2010-05-04 Thread Zilvinas Vilutis
I've added an ajax timer so session timeout never happens on an open browser. Or you can always store your user state in the DB if you want, e.g. the URL visited. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Mon, May 3, 2010 at 4:59 PM, Tony Wu e90t...@gmail.com

Re: statefulness, and multiple tabs

2010-05-04 Thread Zilvinas Vilutis
I think you may be able to separate those things into transactions using spring annotation based transactions? So then you can handle your transactions being created / flushed by a method scope - so the data will be flushed to DB when the method invokation is finished. You can read more at:

Re: Panel without HTML

2010-05-04 Thread Zilvinas Vilutis
You can do it with ListView's - you can make a list of panels and add your own custom panel in each iteration. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Tue, May 4, 2010 at 10:36 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: somewhere somehow you have to

Re: mexico.com

2010-04-30 Thread Zilvinas Vilutis
Well done! The site's working perfectly! Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com On Fri, Apr 30, 2010 at 8:12 AM, Scott Swank scott.sw...@gmail.com wrote: Wicketeers, We at Vegas.com have been able to re-purpose our Wicket-based air/hotel search

Re: SignInPage as panel in an AuthenticatedWebApplication?

2010-04-25 Thread Zilvinas Vilutis
ModalPanel is unsecure - as you can hide it using JavaScript But if you still want to do that - then you can add the modal panel to your ScurePage - which all your other pages extend - display it every time if the user is not logged in. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail:

Re: String Resource Loading from DB

2010-04-22 Thread Zilvinas Vilutis
void putIntoCache(String cacheKey, String string) {      // Do nothing... no caching desired, since our DB layer caches   } }); On Tue, Apr 20, 2010 at 1:53 PM, Zilvinas Vilutis cika...@gmail.com wrote: Yes, That seems to work. Although each component which needs to be localized needs

Re: String Resource Loading from DB

2010-04-20 Thread Zilvinas Vilutis
Yes, That seems to work. Although each component which needs to be localized needs to implement a unique class, 'cause in many cases the Component class is WebMarkupContainer ( if we use components in list etc ). Does anyone have practice on using any performance experience on that? Do you use

Re: What can I do to speed up wicket initialization?

2010-04-19 Thread Zilvinas Vilutis
Spring / hibernate usually loads *before* seeing the message Started Wicket in deployment mode. Although i,n my project ( wicket / spring / hibernate ) it takes less than a second to finish the app loading after this message has appeared. It might be eh-cache, which usually takes a few secods to

String Resource Loading from DB

2010-04-19 Thread Zilvinas Vilutis
Has anybody had implemented smth like that ( @see topic ) and / or had any practice with this? I'm looking for a resource loading solution for quite a big web-site project which would be localized to many languages and may need to require update at runtime using some administration panel. Or is