Re: Replacement of a markup container with nested components by a panel / fragment

2011-06-20 Thread Igor Vaynberg
if you have and you attach a panel to "foo" who is going to render "bar"? -igor On Sun, Jun 19, 2011 at 6:42 AM, pasto wrote: > Hi, > > I guess, this is the same question as the 'WICKET-1190' issue. > > Extending AjaxLazyLoadPanel and overriding the xhtml markup file and the > getLoadingCompon

Re: callback versioning issue

2011-06-18 Thread Igor Vaynberg
You need to set a header, not a url param -igor On Jun 18, 2011 11:53 AM, "bglynn" wrote: > Hi Igor, > > Thanks for getting back to me. Can you provide an example? I tried adding > '&Wicket-Ajax=true to my wicketAjaxGet method, but still getting the same > result. > > Many Thanks > > Brian > > --

Re: callback versioning issue

2011-06-17 Thread Igor Vaynberg
make sure your callback sets the Wicket-Ajax header so wicket knows its an ajax request, otherwise it thinks you pressed refresh in the browser. -igor On Fri, Jun 17, 2011 at 4:35 PM, bglynn wrote: > I have a use case that requires a non-wicket client side ajax invoked on my > page. The client s

Re: is there any way to externalize wicket-event.js

2011-06-17 Thread Igor Vaynberg
i would figure out why the content is returned with a 304 header. further, when people are looking to optimize these kinds of things they put a caching proxy infront of the app server and tell it to cache js, css, and other staticy files -igor On Fri, Jun 17, 2011 at 8:18 AM, Joe Hudson wrote:

Re: infos message not rendering in feedback panel whereas error messages are rendered

2011-06-17 Thread Igor Vaynberg
override onerror() in the behavior and add the feedback panel -igor On Fri, Jun 17, 2011 at 1:31 AM, Mathilde Pellerin wrote: > I already have AjaxFormComponentUpdatingBehavior for the text field, so I > try to add feedback panel like this : >    @SuppressWarnings("serial") >    class AjaxFormCo

Re: component rendering order

2011-06-16 Thread Igor Vaynberg
give your component the dataprovider that the datatable has and use that to calc visibility. -igor On Thu, Jun 16, 2011 at 9:22 PM, Nelson Segura wrote: > I might mention that I am still using a version of wicket where > onConfigure is not available,and we are not due to upgrade until after > I

Re: Why does my DAO need to implement serialization?

2011-06-16 Thread Igor Vaynberg
https://cwiki.apache.org/confluence/display/WICKET/Spring -igor On Thu, Jun 16, 2011 at 12:30 PM, Brian Lavender wrote: > Where can I find a sample or Javadoc for wicket-ioc? > > brian > > On Thu, Jun 16, 2011 at 11:11:05AM -0700, Igor Vaynberg wrote: >> you should inject

Re: Why does my DAO need to implement serialization?

2011-06-16 Thread Igor Vaynberg
you should inject your dao using one of the provided wicket-ioc modules such as spring or guice. this will create a proxy that is serializable instead of requiring the actual object you are injecting to be serializable. -igor On Thu, Jun 16, 2011 at 11:00 AM, Brian Lavender wrote: > It seems th

Re: AutoCompleteTextField which uses an Object, not a String

2011-06-14 Thread Igor Vaynberg
we dont need to deprecate the existing one. it does something that object-autocomplete does not - lets you enter free-form-text with some assistance. -igor On Tue, Jun 14, 2011 at 6:55 PM, Jeremy Thomerson wrote: > I'd be up for at least moving the ObjectAutoComplete into core and adding > @Depr

Re: redrawing repeaters

2011-06-13 Thread Igor Vaynberg
http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/ -igor On Mon, Jun 13, 2011 at 2:19 PM, wmike1...@gmail.com wrote: > Hi, > > I'm confused on the concept of redrawing a repeater. Ideally when I add an > element to something such as a ListView I'd like to ju

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 wrote: > Hey all, > > Can someone help me understand the synchron

Re: [WICKET-3552] Is adding another parameter to the constructor required?

2011-06-08 Thread Igor Vaynberg
why not roll this into attributemodifier and have mode { replace, append, prepand } where replace is how the modifier works now... -igor On Wed, Jun 8, 2011 at 12:07 AM, Martin Grigorov wrote: > Hi, > > I also had the same thoughts when I added the flag (as the patch > suggested) but AttributeAp

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 wrote: > We have two applications, one is a Wicket app with Validator classes, and > another is an Apache POI-HSSF Excel-parsing a

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 wrote: > I finally had a chance to create a quickstart and play with it. The issue > happens wh

Re: Preserving user input on ajax changes

2011-06-02 Thread Igor Vaynberg
t, 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

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 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 actually updating the

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 11:04

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 wrote: > hello everyone > > I need some help.. > > I have an application based on struts... This application has some links, > and I need this links calls a Wi

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 wrote: > I was able to solve this issue by defining a new class that extends > LoadableDetachableModel.  The class also overrides hashcode and equals > appropriately.  Now my

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 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" although > other o

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 wrote: > Here are my components; > Wicket 1.4.17 > Page > AjaxTabbedPanel (with Panel1 and Panel2) > AdPanel which has adsense js, no components > AdPane

Re: How to check markup attributes?

2011-05-24 Thread Igor Vaynberg
                 throw new IllegalStateException("No maxlength defined > for " + tag.getId()); >                } >                return tag; >        } >         > } > > Craig > > -Original Message- > From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]

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 wrote: > i am just a beginner so i am just asking, it may cause a problem if any > security holes we found, other than that i am worry

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 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: > http://apache-wicket.1842946

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 wrote: > >     >        Wicket form > > >

Re: facebook like iframe in wicket

2011-05-23 Thread Igor Vaynberg
i dont know anything about velocity... -igor On Mon, May 23, 2011 at 11:39 AM, labano10 wrote: >        style="border: none; overflow: hidden; width: 450px; height: 80px;" >        allowTransparency="true"> > > > I tried something like that but faced "Error using VM library : > VM_global_librar

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 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) constitutes of the url of

Re: facebook like iframe in wicket

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

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 1

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

2011-05-17 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 wrote: > Hi, > > i use a component twice. Layout of first component has to be horizontal of > second vertical (MainMenu, Sidebar). > Because the compone

Re: FormComponent convertInput for children FormComponets

2011-05-17 Thread Igor Vaynberg
On Mon, May 16, 2011 at 2:35 PM, Clint Checketts 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 > component. I get t

[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] http://wicketinaction.com/2011/05/apache_wicket_cookbo

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 wrote: > >> there is a GoAndClearF

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 wrote: > > > Wicketers, > > > > What is the Best way to store the last Page visited? My business need > that to create a Page control to make > > a special back

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 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 TextFilteredPropertyColumn, how

Re: Wicket 1.5 & IComponentInstantiationListener VS AutolinkBookmarkablePageLink

2011-05-16 Thread Igor Vaynberg
ll in the constructor > > On Mon, May 16, 2011 at 5:18 PM, Igor Vaynberg wrote: > >> these reports should go into jira >> >> -igor >> >> >> On Sun, May 15, 2011 at 11:40 PM, nino martinez wael >> wrote: >> > Hi >> > >> > E

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 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 exceptions when I run the a

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 wrote: > GridView seems more logical. I will give it a try but what about the vertical > line between grids! ? > > -- > View this message in contex

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 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 pagination and sorti

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
getHeader("Referer"); >        setRequestTarget(new RedirectRequestTarget(referrerUrl)); >        return null; > } > > Thoughts? > > Thanks, > > Alec > > On Sat, May 14, 2011 at 2:03 PM, Igor Vaynberg > wrote: >>  setRequestT

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
ServletRequest().getHeader("Referer") and throw >> some kind of exception which redirects back to that URL in LoginPage >> constructor or do I call continueToOriginalDestination() in the >> LoginPage constructor instead? >> >> Thanks, >> >> Alec

Re: Handling session and load-balancer cookie timeout

2011-05-14 Thread Igor Vaynberg
Thanks, > > Alec > > On Sat, May 14, 2011 at 12:10 AM, Igor Vaynberg > 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 wrote: >>> The login page is r

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 wrote: > Thanks for you reply. > > Unfortunately jQuery did't help. > > My new code: > String script = "$('#corruptedPackagesDiv').scroll(function(){"

Re: Handling session and load-balancer cookie timeout

2011-05-13 Thread Igor Vaynberg
s, > > Alec > > On Fri, May 13, 2011 at 6:23 PM, Igor Vaynberg > wrote: >> what is redirecting them back? >> >> -igor >> >> On Fri, May 13, 2011 at 3:45 PM, Alec Swan wrote: >>> Hello, >>> >>> Our webapp has two types of users

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 wrote: > I have a JSP page which has a small wicket "mini" page embedded in an > IFrame. > The small wicket page h

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 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, like Admins are

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 wrote: > I'd like to check that particular markup attributes have been set on a > component. > My first instinct was to use component.getMarkupAttributes(), but the Jav

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 wrote: > It's not with a form, it's for a soap request. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/post-request-with-wicket-tp3520861p35208

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 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? > > -- > View this messa

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 wrote: > Hi All, > > I have a table and JS on the page -> when table scrolling in the very down > JS function

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 wrote: > Igor, > > Thanks for the answer, and you're right indeed. > I forgot that I added code in my HeaderContributor that checked if

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 wrote: > Hi, > > I am trying to replace WebMarkupContainer with Panel, but get the > following error: > org

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 wrote: > Hello, > > This is my situation: > Page >  |-> ModalWindow >           |-> Panel >    

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 wrote: > Hi, I've implemented different coding strategies throughout my site to > have clean/good-looking URLs. > > There are some places though, w

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: 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 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: &g

Re: Custom event: fire and handle

2011-05-06 Thread Igor Vaynberg
or: > // Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: > cannot call methods on listview prior to initialization; attempted to call > method 'refresh' > //        // refresh detail page table > //        String js = "$('#detailTable').listview('refresh

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
I don't > see that Wicket has added any js in the page source to do 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 o

Re: Custom event: fire and handle

2011-05-04 Thread Igor Vaynberg
may know, in jQuery Mobile these > "pages" 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 >>

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 wrote: > Certain jQuery Mobile components can trigger a custom javascript event, > "pagebeforeshow", which I want to handle on the server. I am new to this

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 wrote: > Hi I've got a small wicket app that is using paypal to take payments. > > On reciept of payment, paypal posts a notificatio

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 wrote: > Hi there, > since yesterday there is a wicket web site issue: examples ("in live action") > and components are not reachable. > So what to do / whom to co

Re: Submit non-wicket form through wicket form

2011-05-02 Thread Igor Vaynberg
ith 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 >

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 wrote: > Hello, > > We have an interesting situation here. We have a Wicket page which we > deliver to our web designer. The web designer uses

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 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, ideally I'd l

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, s

Re: Load balancer cookie is lost in modal window

2011-04-30 Thread Igor Vaynberg
; development? > > Should we use CONFIDENTIAL > 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:1

Re: Load balancer cookie is lost in modal window

2011-04-30 Thread Igor Vaynberg
otation on > it. This is when the modal window shows an error saying that page > cannot be found in the page map. > > We continue working with the hosting company, but we would appreciate > any thoughts on this. > > Thanks, > > Alec > > On Sat, Apr 30, 2011 at 6:1

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 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 company fixed > s

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 wicke

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 wrote: > I don't have time to debug it right now but as far as I know the crypti

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 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 feedback messages

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 browser

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 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 is the scenario, th

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 wrote: > Thank you everyb

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 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 for component

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 wrote: > I moved the registration in #onInitialize() so that now it is possible to > customize the behavior if needed. > See 1.5-RC3 changelog for

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 wrote: > Igor, thanks for your reply. But that's the weird thing: we are not passing > those proxies to other services. We use the @SpringBean annotati

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 wrote: > We are seeing an intermittent problem with our webapp, where we are seeing > the exception below. We have servlets other than Wicket's in ou

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 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 bird when it comes to H

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 wrote: > I am looking into converting my existing 1.4 project into 1.5RC3 and it's not > clear where the code that was

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" 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 provide are > the d

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 wrote: > > On 01 Apr 2011, at 20:56, Daniel Neugebauer wrote: > >> I would stick with 1 (required to be checked). >> >> The main reason would be not to

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

2011-04-01 Thread Igor Vaynberg
no, validators do not typically handle "null" values. those are controlled by the required flag. the reason checkboxes are unique is that they have no "null" value, a null in the checkbox means "false" -igor On Fri, Apr 1, 2011 at 11:57 AM, Matthew Pennington wrot

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 : > 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 architecture instead..

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

2011-04-01 Thread Igor Vaynberg
that can be accomplished using a validator. -igor On Fri, Apr 1, 2011 at 11:33 AM, Matthew Pennington wrote: > >> 1.  The current approach is correct, requiring a checkbox means >> requiring that it be checked. >> >> 2.  A checkbox shouldn't be able to be required.  You can't *not* >> provide a

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 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: > > http://en.wikipedia.

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 : > I did manage to get this working using the other

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 wrote: > Hi all, > > my web application is using

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 wrote:

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 wrote: > For example in Session there is the method: > > public final M getMetaData(final MetaDataKey > key) > > This makes it seriousl

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 wrote: > I'm really enjoying Igor's Wicket > Cookbook

Re: Apache Wicket Cookbook Published!

2011-03-25 Thread Igor Vaynberg
read it in a B&W > 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: > >> Cong

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: [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 wrote: > Enabling with getRequestLoggerSettings().setRequestLoggerEnabled(true) > doesnt show any requests. > > Seems that the Application.logEventTarget and Application.logRespon

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 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 item.name + ' (' + program

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 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: > >> because it cha

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 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: > http://apache-w

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 wrote: > On 3/18/2011 11:44 AM, Igor Vaynberg wrote: >>

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