Re: Session MetaData Synchronization and Flushing

2011-06-08 Thread Igor Vaynberg
most likely it is an oversight. open an issue. at some point session access was synchronized, but later it was made more granular. the metadata code may have never been updated. -igor On Wed, Jun 8, 2011 at 11:29 AM, Dan Retzlaff dretzl...@gmail.com wrote: Hey all, Can someone help me

Re: Using Validators Outside of Wicket Components/Pages

2011-06-07 Thread Igor Vaynberg
all validators need to work is IValidatable, so simply new your validator and give it your own impl of ivalidatable. -igor On Tue, Jun 7, 2011 at 6:52 AM, eugenebalt eugeneb...@yahoo.com wrote: We have two applications, one is a Wicket app with Validator classes, and another is an Apache

Re: Wicket

2011-06-02 Thread Igor Vaynberg
mount your wicket page so it has a well known url which you can call from the struts app. -igor On Thu, Jun 2, 2011 at 8:51 AM, Ivoneta ietaraz...@gmail.com wrote: hello everyone I need some help.. I have an application based on struts... This application has some links, and I need this

Re: Images referencing in CSS with Wicket

2011-06-02 Thread Igor Vaynberg
if you want to reference images from css the images have to live next to the css file. so if your css is in webapp, the images have to be based in webapp, but if your css lives in a java package the images have to live there as well. this way relative urls work. -igor On Thu, Jun 2, 2011 at

Re: Preserving user input on ajax changes

2011-06-02 Thread Igor Vaynberg
you want setDefaultFormProcessing(false) -igor On Thu, Jun 2, 2011 at 3:41 PM, Nelson Segura nsegu...@gmail.com wrote: I have a form to which I need to add dynamic fields using ajax, whenever the user clicks on the add new input link. I need to preserve the current user input, without

Re: Preserving user input on ajax changes

2011-06-02 Thread Igor Vaynberg
I do that, the input of the other fields is lost (which has not been previously submitted). How does wicket exactly decides whether to show the model value or the user raw input? My Ajax links is refreshing the whole panel. -Nelson On Thu, Jun 2, 2011 at 4:14 PM, Igor Vaynberg igor.vaynb

Re: FormComponent convertInput for children FormComponets

2011-06-02 Thread Igor Vaynberg
create a quickstart and we can see if there is an easy fix. at first glance it seems rather strange to have a form inside a formcomponentpanel -igor On Wed, Jun 1, 2011 at 6:56 PM, Clint Checketts checke...@gmail.com wrote: I finally had a chance to create a quickstart and play with it. The

Re: RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread Igor Vaynberg
we do not support portlets, i am afraid you are on your own there. -igor On Wed, Jun 1, 2011 at 3:16 AM, sap2000 sap2...@indiatimes.com wrote: Following code works fine on jettty 6.1.22 but not on tomcat 6.0.24 with Liferay 5.2 To be specific, the following line always returns string optionB

Re: RefreshingView - Comparing Items in List Model

2011-06-01 Thread Igor Vaynberg
alternatively override renderiterator() and sort your items there. -igor On Wed, Jun 1, 2011 at 8:45 AM, Corbin, James jcor...@iqnavigator.com wrote: I was able to solve this issue by defining a new class that extends LoadableDetachableModel.  The class also overrides hashcode and equals

Re: Execute Javascript after Ajax

2011-05-26 Thread Igor Vaynberg
target.appendJavascript(js) will execute it after components have been updated via ajax. -igor On Thu, May 26, 2011 at 6:12 PM, Phil Franken phil.fran...@gmail.com wrote: Here are my components; Wicket 1.4.17 Page AjaxTabbedPanel (with Panel1 and Panel2) AdPanel which has adsense js, no

Re: How to check markup attributes?

2011-05-24 Thread Igor Vaynberg
());                }                return tag;        }         } Craig -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: May-13-11 5:02 PM To: users@wicket.apache.org Subject: Re: How to check markup attributes? if you are doing validation you can use

Re: facebook like iframe in wicket

2011-05-23 Thread Igor Vaynberg
whatver component writes that out should take a imodelstory and use it to put the right thing into the like url -igor On Sat, May 21, 2011 at 3:33 AM, labano10 okuneislabo2...@gmail.com wrote: I  want to incorporate the facebook like button in my wicket application page. The page is a story

Re: facebook like iframe in wicket

2011-05-23 Thread Igor Vaynberg
how are you outputting it now? -igor On Mon, May 23, 2011 at 11:27 AM, labano10 okuneislabo2...@gmail.com wrote: @Igor, my main problem actually is updating the src attribute of the iframe at run time because that's what facebook uses to construct the like button. The href part(within src)

Re: wicket showing traces that we used wicket is it a problem

2011-05-23 Thread Igor Vaynberg
thousands of applications show they use php with .php extensions. thousands more show that they use jsp by .jsp extensions, and a lot more show they use struts with a .do extension. why does it matter? -igor On Sat, May 21, 2011 at 9:01 AM, hariharansrc hariharan...@gmail.com wrote: html    

Re: facebook like iframe in wicket

2011-05-23 Thread Igor Vaynberg
oncomponenttag(tag) { tag.put(onclick, value); } -igor On Mon, May 23, 2011 at 12:59 PM, labano10 okuneislabo2...@gmail.com wrote: What is the best way of replacing the href part with the url of the story page every time I launch it (in wicket)? -- View this message in context:

Re: wicket showing traces that we used wicket is it a problem

2011-05-23 Thread Igor Vaynberg
by default wicket does not enforce https. it does, however, give you an easy way to switch - just google it. -igor On Mon, May 23, 2011 at 9:02 PM, hariharansrc hariharan...@gmail.com wrote: i am just a beginner so i am just asking, it may cause a problem if any security holes we found, other

Re: Set FeedbackPanel with Error from JavaScript?

2011-05-20 Thread Igor Vaynberg
class specialpanel extends feedbackpanel implements iheadercontributor { abstractdefaultajaxbehavior callback; public specialpanel() { callback=new abstractdefaultajaxbehavior() { getCallbackUrl(boolean active) { return super.getCallbackUrl+message='+message+'';

Re: Set FeedbackPanel with Error from JavaScript?

2011-05-19 Thread Igor Vaynberg
you have two options: add the message into the feedback panel using javascript and dom manipulation - you need to know the markup id of the feedbackpanel or let javascript issue an ajax request passing in the error message, adding it to the feedback panel and repainting it. -igor On Thu, May

Re: Howto modify css-class prefix of all components on a panel?

2011-05-18 Thread Igor Vaynberg
you can use css child selectors to override the layout when they are inside a specific div. -igor On Tue, May 17, 2011 at 4:49 AM, Mike Mander wicket-m...@gmx.de wrote: Hi, i use a component twice. Layout of first component has to be horizontal of second vertical (MainMenu, Sidebar).

Re: Last Page visited

2011-05-17 Thread Igor Vaynberg
you can pass PageReference objects around. see Page#getPageReference() -igor On Tue, May 17, 2011 at 7:38 AM, Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com wrote: Wicketers, What is the Best way to store the last Page visited? My business need that to create a Page control to make

Re: Re: DataTable and FilterToolbar

2011-05-17 Thread Igor Vaynberg
it is meant to go into one of the columns. usually there is an action column and this filter is meant to go with that column. if you do not have such, simply replicate the functionality - you have the source. -igor On Tue, May 17, 2011 at 11:34 AM, Tom Eicher r...@teicher.net wrote: there is a

[ANN] Apache Wicket Cookbook Giveaway Contest

2011-05-17 Thread Igor Vaynberg
Packt Publishing has generously allowed me to give away a free copy of the ebook version of Apache Wicket Cookbook [1], and a free one year subscription to PacktLib. For details see the announcement [2]. [1] http://link.packtpub.com/AzN8N9 [2]

Re: FormComponent convertInput for children FormComponets

2011-05-17 Thread Igor Vaynberg
On Mon, May 16, 2011 at 2:35 PM, Clint Checketts checke...@gmail.com wrote:  I have a FormComponentPanel that contains multiple child formcomponent. The purpose of this panel is to be able to add in several cihldren dynamically. The end model is supposed to be the list from all the children

Re: Wicket 1.5 IComponentInstantiationListener VS AutolinkBookmarkablePageLink

2011-05-16 Thread Igor Vaynberg
these reports should go into jira -igor On Sun, May 15, 2011 at 11:40 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Essentially I just want to hide all links leading to unauthorized pages. I get exceptions when I do this in my AuthenticatedWebApplication, there are no

Re: Wicket 1.5 IComponentInstantiationListener VS AutolinkBookmarkablePageLink

2011-05-16 Thread Igor Vaynberg
for null in the constructor On Mon, May 16, 2011 at 5:18 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: these reports should go into jira -igor On Sun, May 15, 2011 at 11:40 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi Essentially I just want to hide all links leading

Re: DataTable and FilterToolbar

2011-05-16 Thread Igor Vaynberg
there is a GoAndClearFilter which can submit the search form afair -igor On Mon, May 16, 2011 at 12:55 PM, Tom Eicher r...@teicher.net wrote: Hi, I guess no reply means it's not a simple FAQ ;-) So to start it easy: If I have a DataTable, with a FilterToolbar, and a

Re: Create Datatable with empty columns and rows

2011-05-15 Thread Igor Vaynberg
alternatively GridView can create a 3 column layout easily. -igor On Sun, May 15, 2011 at 5:05 AM, Clint Checketts checke...@gmail.com wrote: I'd recommend using a listview and use CSS to lay it out as you mentioned. A data table is really useful when dealing with columnar data that needs

Re: Create Datatable with empty columns and rows

2011-05-15 Thread Igor Vaynberg
each gridview cell can contain a fragment or a panel that contains the header and the list of subcats. -igor On Sun, May 15, 2011 at 8:05 AM, malebu milton.qura...@gmail.com wrote: GridView seems more logical. I will give it a try but what about the vertical line between grids! ? -- View

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
13, 2011 at 6:23 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: what is redirecting them back? -igor On Fri, May 13, 2011 at 3:45 PM, Alec Swan alecs...@gmail.com wrote: Hello, Our webapp has two types of users - Admins and Guests. Guests can view the site without logging in. However

Re: IE call wicket twice from JS

2011-05-14 Thread Igor Vaynberg
i would google around for other people trying to do this with JS, doesnt seem like a wicket problem. -igor On Sat, May 14, 2011 at 12:51 AM, vov vov...@mail.ru wrote: Thanks for you reply. Unfortunately jQuery did't help. My new code: String script =

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
, May 14, 2011 at 12:10 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so for guests do not return the login page, but a homepage instead... -igor On Fri, May 13, 2011 at 9:03 PM, Alec Swan alecs...@gmail.com wrote: The login page is returned from WebRequestCycle#onRuntimeException

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
in LoginPage constructor or do I call continueToOriginalDestination() in the LoginPage constructor instead? Thanks, Alec On Sat, May 14, 2011 at 10:32 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: i can only assume that tab 2 is either bookmarkable or hybrid. if it is, you may

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
RedirectRequestTarget(referrerUrl));        return null; } Thoughts? Thanks, Alec On Sat, May 14, 2011 at 2:03 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:  setRequestTarget(new RedirectRequestTarget(referrerUrl));               return super.onRuntimeException(page, e

Re: IE call wicket twice from JS

2011-05-13 Thread Igor Vaynberg
it may be a problem with IE sending events differently. i would try to use jquery in hopes that it normalizes how events work across browsers. -igor On Fri, May 13, 2011 at 4:34 AM, vov vov...@mail.ru wrote: Hi All, I have a table and JS on the page - when table scrolling in the very down JS

Re: post request with wicket

2011-05-13 Thread Igor Vaynberg
if your button submits a form it will be processed as a post. -igor On Fri, May 13, 2011 at 11:26 AM, wmike1...@gmail.com wmike1...@gmail.com wrote: I need to make a POST request when i click a button. I'm finding very sparce documentation about how this side of wicket works. Any ideas? --

Re: post request with wicket

2011-05-13 Thread Igor Vaynberg
use something like apache commons httpclient for that. -igor On Fri, May 13, 2011 at 11:41 AM, wmike1...@gmail.com wmike1...@gmail.com wrote: It's not with a form, it's for a soap request. -- View this message in context:

Re: How to check markup attributes?

2011-05-13 Thread Igor Vaynberg
if you are doing validation you can use imarkupfilter to check the attrs. -igor On Fri, May 13, 2011 at 1:57 PM, Craig Pardey craig.par...@intelliware.ca wrote: I'd like to check that particular markup attributes have been set on a component. My first instinct was to use

Re: Handling session and load-balancer cookie timeout

2011-05-13 Thread Igor Vaynberg
what is redirecting them back? -igor On Fri, May 13, 2011 at 3:45 PM, Alec Swan alecs...@gmail.com wrote: Hello, Our webapp has two types of users - Admins and Guests. Guests can view the site without logging in. However, when the session times out or load-balancer cookie expires Guests,

Re: Sending to a new page from Iframe

2011-05-13 Thread Igor Vaynberg
use an ajaxbutton/link instead and in response do target.appendjavascript(window.top.location='+urlFor(MyPage.class)+');); -igor On Fri, May 13, 2011 at 4:11 PM, Nelson Segura nsegu...@gmail.com wrote: I have a JSP page which has a small wicket mini page embedded in an IFrame. The small

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Igor Vaynberg
wicket keeps track of header contributions and doesnt contribute the same contribution more then once. -igor On Thu, May 12, 2011 at 1:24 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Igor, Thanks for the answer, and you're right indeed. I forgot that I added code in my

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-11 Thread Igor Vaynberg
it is contributed, but wont be visible using view-source because it is added dynamically via ajax and is not in the original source of the page. -igor On Wed, May 11, 2011 at 6:02 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Hello, This is my situation: Page  |- ModalWindow          

Re: WebMarkupContainer and replaceWith

2011-05-11 Thread Igor Vaynberg
panel tags in panel's parent markup cannot have any child wicket tags since that markup is replaced with the contents of the panel. -igor On Wed, May 11, 2011 at 11:26 AM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I am trying to replace WebMarkupContainer with Panel, but get the

Re: 1.5 RC3 Ajax random timeouts

2011-05-07 Thread Igor Vaynberg
the page should always be stored. i think we made a bad optimization if it is not. just because the page is not dirty doesnt actually mean it is not changed. eg, ajax requests are unversioned because we do not rewrite urls outside the ajax repainted regions. but, just because an ajax url did not

Re: Clean URLs in PagingNavigator

2011-05-07 Thread Igor Vaynberg
you can override the newlink factory methods on the navigator and make the links stateless. -igor On Sat, May 7, 2011 at 12:11 PM, Henrique Boregio hbore...@gmail.com wrote: Hi, I've implemented different coding strategies throughout my site to have clean/good-looking URLs. There are some

Re: Custom event: fire and handle

2011-05-06 Thread Igor Vaynberg
'); //        target.appendJavascript( js );      }    }    @Override    protected IteratorIModelFoo getItemModels()    {      return new FooListModel().load().iterator();    }  } On 5/4/2011 7:20 PM, Igor Vaynberg wrote: something like this may help you. AbstractDefaultAjaxBehavior b=new

Re: Custom event: fire and handle

2011-05-06 Thread Igor Vaynberg
attach it to a jira ticket. -igor On Fri, May 6, 2011 at 10:02 AM, Scott Reed sr...@avacoda.com wrote: I attached a quickstart here but I'm not sure attachments work on this list. Let me know how to send the file if that fails.  Scott On 5/6/2011 12:17 PM, Igor Vaynberg wrote: having

Re: web site issue: examples (in live action) and components are not reachable

2011-05-04 Thread Igor Vaynberg
there is a dns problem with wicketstuff.org which is being looked into. -igor On Wed, May 4, 2011 at 2:19 AM, Michael Bartholomäus barth...@steyler-mission.de wrote: Hi there, since yesterday there is a wicket web site issue: examples (in live action) and components are not reachable. So

Re: Reading

2011-05-04 Thread Igor Vaynberg
that should work. i know people use this to have external apps post to a wicket page, so it should work. -igor On Wed, May 4, 2011 at 11:51 AM, Matthew Pennington m...@profounddecisions.co.uk wrote: Hi I've got a small wicket app that is using paypal to take payments. On reciept of payment,

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
can you explain a bit more of what you want to happen when this javascript event is fired? -igor On Wed, May 4, 2011 at 3:05 PM, Scott Reed sr...@avacoda.com wrote: Certain jQuery Mobile components can trigger a custom javascript event, pagebeforeshow, which I want to handle on the server. I

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
are divs with data-roll=page.) On 5/4/2011 6:13 PM, Igor Vaynberg wrote: can you explain a bit more of what you want to happen when this javascript event is fired? -igor On Wed, May 4, 2011 at 3:05 PM, Scott Reedsr...@avacoda.com  wrote: Certain jQuery Mobile components can trigger a custom

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
that. If I knew how to tell the ajax engine to look for the custom javascript event then that approach would probably work. On 5/4/2011 6:35 PM, Igor Vaynberg wrote: can you not do it the other way around? have the link that goes to detail be a wicket ajax link which then repaints the content

Re: Submit non-wicket form through wicket form

2011-05-02 Thread Igor Vaynberg
or you can write a servlet to process form submissions from all these different forms and call it a day. -igor On Mon, May 2, 2011 at 9:21 AM, Alec Swan alecs...@gmail.com wrote: Hello, We have an interesting situation here. We have a Wicket page which we deliver to our web designer. The web

Re: Submit non-wicket form through wicket form

2011-05-02 Thread Igor Vaynberg
with a hidden input with name wicketForm9a_hf_0, which I suspect is required by Wicket. I am assuming that 3.2 is a preferred approach because it will work even if other hidden form elements are added in later versions of Wicket. Thoughts? Thanks, Alec On Mon, May 2, 2011 at 10:44 AM, Igor Vaynberg

Re: Ajaxifying existing application

2011-05-01 Thread Igor Vaynberg
if all your pages extend a base page then you can change the base page to extend a panel instead. than s/setResponsePage/setResponsePanel/ create a page that has the necessary infra to swap content panels and wire in the new setResponsePanel to use that. -igor On Sat, Apr 30, 2011 at 2:36 PM,

Re: Table repeater: repeat across row AND column

2011-05-01 Thread Igor Vaynberg
see GridView -igor On Sun, May 1, 2011 at 9:51 AM, Alexandros Karypidis akary...@yahoo.gr wrote: Hello, I am trying to create a web page that lists contact addresses in a table. My repeater can easily lay out one address per row, but I need to be able to list 2 addresses per row (actually,

Re: Load balancer cookie is lost in modal window

2011-04-30 Thread Igor Vaynberg
one does not need to copy cookies because browsers retain them across requests. -igor On Sat, Apr 30, 2011 at 5:01 PM, Alec Swan alecs...@gmail.com wrote: Hello, I tried copying all cookies from the HTTP request to HTTP response and it seemed to have a positive effect (unless our hosting

Re: Load balancer cookie is lost in modal window

2011-04-30 Thread Igor Vaynberg
, but we would appreciate any thoughts on this. Thanks, Alec On Sat, Apr 30, 2011 at 6:16 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: one does not need to copy cookies because browsers retain them across requests. -igor On Sat, Apr 30, 2011 at 5:01 PM, Alec Swan alecs...@gmail.com

Re: Load balancer cookie is lost in modal window

2011-04-30 Thread Igor Vaynberg
transport-guaranteeCONFIDENTIAL/transport-guarantee in web.xml and also override protected IRequestCycleProcessor newRequestCycleProcessor() as explained here: https://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html Thanks, Alec On Sat, Apr 30, 2011 at 7:10 PM, Igor Vaynberg

Re: [osgi] package org.apache.wicket.request exported either from core and request packages

2011-04-28 Thread Igor Vaynberg
its too late to be doing this for 1.5. i agree we should not have package namespaces split across the jars, but fixing it in 1.5 would touch almost every single file and a lot of user code would be broken as a result. a good example is IDetachable which is in wicket-util but i left it in the

Re: Apache Wicket Cookbook Published!

2011-04-13 Thread Igor Vaynberg
thanks! i am happy you are enjoying it! -igor On Wed, Apr 13, 2011 at 1:24 AM, lucast lucastol...@hotmail.com wrote: Hi Igor, Congratulations on your new book. I have already got a copy and I have been using it as reference from day 1. I particularly like the straightforward structure: this

Re: Could not resolve class: my.domain.favicon.ico

2011-04-13 Thread Igor Vaynberg
you mounted the package on root, which means when the browser requests /favicon.ico wicket will think that the browser is asking for a wicket page named my.domain.favicon.ico and will try to instantiate a class with that name, thus the error. it should ultimately result in a 404 sent to the

Re: AjaxButton wont work with PasswordTextField in IE7

2011-04-13 Thread Igor Vaynberg
most likely because that field is required by default -igor On Wed, Apr 13, 2011 at 7:45 AM, Martin Grigorov mgrigo...@apache.org wrote: some of the form components has error most probably the password field since it introduced the problem see FeedbackPanel's source to see how to read the

Re: CryptedUrlWebRequestCodingStrategy and bookmarkable pages

2011-04-13 Thread Igor Vaynberg
urls are encrypted with session-relative randomly generated keys. so they are not bookmarkable. vitaly, you can tweak the crypter to ignore bookmarkable urls. -igor On Wed, Apr 13, 2011 at 2:59 AM, Martin Grigorov mgrigo...@apache.org wrote: I don't have time to debug it right now but as far

Re: [1.5-RC3] AjaxLink: order of added behaviors in relation to AjaxEventBehavior

2011-04-12 Thread Igor Vaynberg
we should probably make the ajax behavior append to the attribute instead of overriding it... -igor On Tue, Apr 12, 2011 at 2:42 AM, Martin Grigorov mgrigo...@apache.org wrote: I moved the registration in #onInitialize() so that now it is possible to customize the behavior if needed. See

Re: IE8 + No Page found for component

2011-04-12 Thread Igor Vaynberg
check your log for serialization errors. -igor On Tue, Apr 12, 2011 at 6:20 AM, Tejash Tarun ttej...@educator.eu wrote: Hi, I am using tabs in my page. When switching between the tabs I get this exception frequently (and not every time). java.lang.IllegalStateException: No Page found

Re: Custom head title on subpage

2011-04-12 Thread Igor Vaynberg
My book had a recipe for a flexible solution for managing the page title, and as luck would have it its in the chapter that was made available for free: http://www.packtpub.com/sites/default/files/downloads/1605_Chapter12.pdf -igor On Tue, Apr 12, 2011 at 7:40 AM, Tito njyt...@gmail.com wrote:

Re: SpringComponentInjector and non-Wicket servlets

2011-04-07 Thread Igor Vaynberg
the proxies wicket generates are only to be used by wicket, so do not pass those to other services. -igor On Thu, Apr 7, 2011 at 11:28 AM, jsinai jsi...@yahoo.com wrote: We are seeing an intermittent problem with our webapp, where we are seeing the exception below. We have servlets other than

Re: SpringComponentInjector and non-Wicket servlets

2011-04-07 Thread Igor Vaynberg
well, looks like com.hytrust.policy.update.DynamicUpdater is using a proxy, is that a wicket class? -igor On Thu, Apr 7, 2011 at 1:48 PM, jsinai jsi...@yahoo.com wrote: Igor, thanks for your reply. But that's the weird thing: we are not passing those proxies to other services. We use the

Re: Wicket 1.5 RC3

2011-04-05 Thread Igor Vaynberg
there is Application.setExceptionMapperProvider() also IRequestCycleListener impls can participate in exception handling. -igor On Tue, Apr 5, 2011 at 11:14 AM, Corbin, James jcor...@iqnavigator.com wrote: I am looking into converting my existing 1.4 project into 1.5RC3 and it's not clear

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-05 Thread Igor Vaynberg
+1 for option 2 -igor On Fri, Apr 1, 2011 at 10:34 AM, James Carman ja...@carmanconsulting.com wrote: This has been discussed before (https://issues.apache.org/jira/browse/WICKET-1221), but I can't find the old vote thread to see what folks think.  The problem is that a checkbox is a weird

Re: [Vote] New Wicket Version Numbering

2011-04-01 Thread Igor Vaynberg
where do i apply for a job there? sounds like fun! -igor On Fri, Apr 1, 2011 at 10:56 AM, Jim Pinkham pinkh...@gmail.com wrote: I've had a hard time lately trying to get corporate acceptance of the Wicket framework. In fact, our company looked at this comparison of java frameworks:

Re: [Vote] New Wicket Version Numbering

2011-04-01 Thread Igor Vaynberg
im running win 2000, you guys are too far behind. -igor 2011/4/1 Rafał Krupiński r.krupin...@gmail.com: W dniu 01.04.2011 20:14, nino martinez wael pisze: Gotta be a aprils fools thing.. Who would decide what framework to be used based on version number? Why not take a look at

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-01 Thread Igor Vaynberg
: On 01/04/2011 19:34, Igor Vaynberg wrote: that can be accomplished using a validator. Is that not true of all form components? Matt -igor On Fri, Apr 1, 2011 at 11:33 AM, Matthew Pennington m...@profounddecisions.co.uk  wrote: 1.  The current approach is correct, requiring a checkbox means

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-01 Thread Igor Vaynberg
to clarify, this kind of change is off the table for 1.4, but may be implemented in 1.5 -igor On Fri, Apr 1, 2011 at 2:23 PM, Maarten Billemont lhun...@gmail.com wrote: On 01 Apr 2011, at 20:56, Daniel Neugebauer wrote: I would stick with 1 (required to be checked). The main reason would

Re: changing image on locale change

2011-04-01 Thread Igor Vaynberg
There is a locale pub example in wicket-examples that shows how to do it. -igor On Apr 1, 2011 3:21 PM, hrbaer herber.m...@gmail.com wrote: Hi all, is there any chance to change an image once the user choose another language? With a text it's very easy because the only thing you have to

Re: Nested forms and conditional validation

2011-03-30 Thread Igor Vaynberg
depending on external factors while overriding isenabled()/isvisible() is dangerous for the reasons youve just found out. this is why we take care to provide alternative hooks, such as IFormVisitorParticipant -igor 2011/3/30 Robert Dahlström robert.dahlst...@ongame.com: I did manage to get

Re: Why does wicket use Serializable contracts in generics?

2011-03-29 Thread Igor Vaynberg
thats there to give developers a better hint. i am not too opposed to removing it. feel free to file an rfe. -igor On Tue, Mar 29, 2011 at 3:08 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: For example in Session there is the method: public final M extends Serializable M

Re: @RequireHttps start session before redirect to secure page

2011-03-29 Thread Igor Vaynberg
simply call session.bind() in requestcycle.onendrequest() which will make sure the session is bound on every request. you can still have a problem if the login page is the first page hit by the user. can that be the case in your application? -igor On Tue, Mar 29, 2011 at 5:38 AM, Phill

Re: flexible authentication

2011-03-29 Thread Igor Vaynberg
the wicket approach is 2 or 3 classes that implement the infrastructure. the use well defined public interfaces to implement it. if it doesnt work for you, then simply roll your own implementation. -igor On Tue, Mar 29, 2011 at 9:37 AM, hrbaer herber.m...@gmail.com wrote: Hi all, my web

Re: Wicket Cookbook Questions - ConversionExceptions (pg 30)

2011-03-26 Thread Igor Vaynberg
Hi Clint, That is there to make the exception more informative in case someone catches it and interrogates it for the value that caused it. -Igor On Sat, Mar 26, 2011 at 3:28 PM, Clint Checketts checke...@gmail.com wrote: I'm really enjoying Igor's Wicket

Apache Wicket Cookbook Published!

2011-03-25 Thread Igor Vaynberg
For the past nine months I have been quietly working on a book about Wicket. Unlike other books on the market this one does not attempt to teach you Wicket from the ground up. Instead, it is for developers who already know the basics and want to learn how to implement some of the more advanced use

Re: Apache Wicket Cookbook Published!

2011-03-25 Thread Igor Vaynberg
or is it suitable to read it in a BW e-book reader in pdf format? Actually, I think I'll buy both format but you know... Regards, Pierre On Fri, Mar 25, 2011 at 6:52 PM, Brown, Berlin [GCG-PFS] berlin.br...@primerica.com wrote: Congrats. I trust Igor -Original Message- From: Igor Vaynberg

Re: [wicket 1.5rc2] How to enable RequestLogger?

2011-03-24 Thread Igor Vaynberg
probably an oversight of all the refactory. jira issue please. -igor On Thu, Mar 24, 2011 at 12:48 PM, Jens Zastrow m...@jens-zastrow.de wrote: Enabling with getRequestLoggerSettings().setRequestLoggerEnabled(true) doesnt show any requests. Seems that the Application.logEventTarget and

Re: How do I construct criteria using a SQL expression?

2011-03-23 Thread Igor Vaynberg
wrong list dude :) -igor On Wed, Mar 23, 2011 at 5:22 PM, Russell Morrisey russell.morri...@missionse.com wrote: How can I construct a criteria query (or even HQL) with a restriction like the following? select * from item inner join program on program.unique_id = item.program_id where

Re: ComponentInitializationListener and the new 1.5 initialization

2011-03-18 Thread Igor Vaynberg
its called right after component.oninitialize() so it has access to the same things. -igor On Fri, Mar 18, 2011 at 3:47 AM, Joe Fawzy joewic...@gmail.com wrote: Hi does ComponentInitializationListener now have access to the markup as the component.onInitialize() Thanks Joe

Re: Wicket, GAE and Sessions

2011-03-18 Thread Igor Vaynberg
make sure your authenticate message calls session.dirty() or session.bind() so that the session itself is persisted. -igor On Fri, Mar 18, 2011 at 8:27 AM, Chris Merrill ch...@webperformance.com wrote: I might have answered my question. I did some refactoring and took out some code from my

Re: Wicket, GAE and Sessions

2011-03-18 Thread Igor Vaynberg
yes, a stateful page would automatically call session.dirty() to mark it for replication. if your pages are stateless you have to do this bookkeeping on the session yourself. -igor On Fri, Mar 18, 2011 at 9:48 AM, Chris Merrill ch...@webperformance.com wrote: On 3/18/2011 11:44 AM, Igor

Re: [1.5] Two formcomponents editing the same model?

2011-03-18 Thread Igor Vaynberg
exactly the same in 1.4 -igor On Fri, Mar 18, 2011 at 10:12 AM, xFlasH rcoqueugn...@gmail.com wrote: Thanks for this one. This is a great preview oft 1.5, I haven't yet tried. What about the same issue in 1.4 ? Thanks again for this one. -R- -- View this message in context:

Re: [1.5RC2] image..

2011-03-18 Thread Igor Vaynberg
oh the irony! -igor On Fri, Mar 18, 2011 at 11:41 AM, Martin Grigorov mgrigo...@apache.org wrote: https://issues.apache.org/jira/browse/WICKET-1382 Funny, it was you who asked for this feature :-) On Fri, Mar 18, 2011 at 6:00 PM, nino martinez wael nino.martinez.w...@gmail.com wrote:

Re: [1.5] Two formcomponents editing the same model?

2011-03-17 Thread Igor Vaynberg
filter your models to preserve their respective parts, for example below is a model you would assign to the textfield that edits the date part. you would need to build the opposite for your textfield that edits the time part. -igor /** * Only modifies the date portion of the adapted {@link

Wicket Job Opportunity

2011-03-16 Thread Igor Vaynberg
we are looking to hire a few senior and junior level engineers. when: a Continental US Timezone (we can make an exception if you are wicked good) where: full telecommute we work on an expanding intranet application for a university. we use the latest technologies and keep our stack up to date.

Re: wicket version 2.0 ?

2011-03-11 Thread Igor Vaynberg
old version that has been scrapped. -igor On Fri, Mar 11, 2011 at 10:52 AM, blr lr.b21...@gmail.com wrote: Hi, I read on the documentation in the Wicket version 2.0 for the Wicket version 2.0 ... On Wicket site, i see only the version 1.4x or 1.5rc what is this version 2.0 ? Thanks,

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-09 Thread Igor Vaynberg
hard to see and debug.  They should be avoided by good coding practices. yep, calling overridable methods from constructors is bad - you just made the case for making page.oninitialize() final... On 08 Mar 2011, at 22:07, Igor Vaynberg wrote: i think code like this should be possible

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-09 Thread Igor Vaynberg
On Wed, Mar 9, 2011 at 12:22 AM, Coleman, Chris chris.cole...@thalesgroup.com.au wrote: yep, calling overridable methods from constructors is bad - Yes I agree... you just made the case for making page.oninitialize() final... But isn't that the very thing that the whole overridable

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-09 Thread Igor Vaynberg
, at 09:15, Igor Vaynberg wrote: Firstly, it's my opinion that you really shouldn't be doing anything to components directly, especially not from outside your class.  As for why, see Encapsulation and Law of Demeter. neither of the two apply because nameeditor explicitly exposes the two

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-09 Thread Igor Vaynberg
On Wed, Mar 9, 2011 at 11:54 AM, Maarten Billemont lhun...@gmail.com wrote: On 09 Mar 2011, at 18:56, Igor Vaynberg wrote: On Wed, Mar 9, 2011 at 1:15 AM, Maarten Billemont lhun...@gmail.com wrote: yep, calling overridable methods from constructors is bad - you just made the case for making

Re: How to stop concurrent logins?

2011-03-08 Thread Igor Vaynberg
wont the user have two or more sessions if they are logged in concurrently? -igor On Tue, Mar 8, 2011 at 5:52 AM, shetc sh...@bellsouth.net wrote: Sorry Igor, I think I'm missing something obvious here. Won't the GUID from the cookie and session always match as the cookie was generated from

Re: Storing and loading escaped special characters.

2011-03-08 Thread Igor Vaynberg
call setescapemodelstrings(false) on the textfields to disable escaping. -igor On Tue, Mar 8, 2011 at 7:48 AM, Henrique Boregio hbore...@gmail.com wrote: Hi, quick question. Wicket automatically escapes special characters so when I type in: This is my house. What gets stored in my database

Re: [VOTE] WICKET-3218 - Component#onInitialize is broken for Pages

2011-03-08 Thread Igor Vaynberg
On Tue, Mar 8, 2011 at 11:42 AM, Maarten Billemont lhun...@gmail.com wrote: On 08 Mar 2011, at 17:54, Carl-Eric Menzel wrote: However, there are much better arguments than existing codebase for still allowing constructors. First, constructors are natural places to do stuff like that. Yes,

Re: Not bookmarkable setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))

2011-03-08 Thread Igor Vaynberg
you cannot have a bookmarkable url for a page instance, only for a page class with parameters, so setResponsePage(MyPage.class, somePageParameters) will give you a bookmarkable url -igor On Tue, Mar 8, 2011 at 8:09 PM, Alec Swan alecs...@gmail.com wrote: Hello, I have a form which calls the

<    2   3   4   5   6   7   8   9   10   11   >