Re: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Igor Vaynberg
instead of $(document).ready(function() use wicket's iheadercontributor's response.writeondomreadyjavascript -igor On Thu, Sep 9, 2010 at 1:09 PM, Joseph Pachod wrote: > hi > > It looks like the jquery files need to be included through a normal page > load. Contributing these headers through A

Re: Prepopulate time fields in DateTimeField component

2010-09-09 Thread Igor Vaynberg
Item.checkinDate=new Date() -igor On Thu, Sep 9, 2010 at 10:52 AM, vp143 wrote: > > I tried that previously but then the field becomes NULL within the POJO > > I think this is what you mean: > > If i have: setDefaultModel(new CompoundPropertyModel(Item)); > where Item object contains checkinDate

Re: Prepopulate time fields in DateTimeField component

2010-09-09 Thread Igor Vaynberg
put the date value you want prepopulated into the model object -igor On Thu, Sep 9, 2010 at 9:20 AM, vp143 wrote: > > Hi all, > > I have a Form with the default model being a CompoundPropertyModel. I have > added the DateTimeField component to the form. I wish to prepopulate the > time fields bu

Re: Could not find root element

2010-09-09 Thread Igor Vaynberg
very strange indeed. do you have any behaviors that write directly to the response? even that, i dont think, would cause this. create a quickstart and attach it to a jira issue. -igor On Thu, Sep 9, 2010 at 7:33 AM, Adrian Wiesmann wrote: > Hello list > > I have a very strange problem. I have so

Wicket 1.4.11 released!

2010-09-09 Thread Igor Vaynberg
This is the eleventh maintenance release of the 1.4.x series and brings over fifty bug fixes and improvements. * Subversion tag: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.11/ * Changelog: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=12310561&fixfor=12

Re: Error in FormTester with 1.4 but not with 1.5

2010-09-07 Thread Igor Vaynberg
wicket tester in trunk and in 1.4.10 have diverged a lot due to changes in trunk. there may not even be anything to backport, this bug may have been fixed as part of making wickettester work with changes in trunk. -igor On Tue, Sep 7, 2010 at 11:46 AM, Andrea Selva wrote: > Hi list > with the fo

Re: DiskPageStore with Terracotta

2010-09-07 Thread Igor Vaynberg
i believe the cleanup happens on session timeout. so if terractotta is preserving sessions forever then wicket will not cleanup the filestore. this is without me actually checking the code. you can force a size of each file, but that file is per session, so if you have unlimited sessions i dont thi

Re: Replace components with AjaxCheckbox

2010-09-06 Thread Igor Vaynberg
component = new Label("component", "is checked"); orginalComponent=component -igor On Mon, Sep 6, 2010 at 4:38 AM, Johan Haleby wrote: > > I'm trying to replace a component when clicking on an AjaxCheckbox. The code > looks something like this: > > AjaxCheckBox checkbox = new AjaxCheckBox("check

Re: mountBookmarkablePage problem?

2010-09-05 Thread Igor Vaynberg
debug and see what is happening. -igor On Sun, Sep 5, 2010 at 12:04 PM, Martin Zardecki wrote: > Hi List I'm not sure if I uncovered a strange problem or something changed in > how we configure things and I missed it. > > I have an applet that uploads files to a my Wicket application using http

Re: checkGroup - 2 out of 5?

2010-09-05 Thread Igor Vaynberg
you have to do this with javascript -igor On Sun, Sep 5, 2010 at 2:43 PM, Zeldor wrote: > > Hi, > > I want to limit users to check exactly 2 options out of X. How can I do > that? I'd also like it to switch last chosen one to new one, if user has > already picked 2 [so it'd deselect last one and

Re: User current page

2010-09-05 Thread Igor Vaynberg
yes and yes -igor On Sun, Sep 5, 2010 at 9:21 AM, Ervis Zikas wrote: > Hello guys, is there a way i can get which page is the user navigating?? > I have a menu that i want to change depending on user current page. > Can i get current page with component.getPage()?? is it the same for panels? > T

Re: Ajax requests and page Id incrementing in 1.5-M1

2010-09-05 Thread Igor Vaynberg
fixed in snapshot -igor On Sun, Sep 5, 2010 at 3:46 AM, hok wrote: > > Hi, > > I'm in process of migrating to wicket 1.5-M1 and I found an interesting (at > least to me) scenario: > There is a form "Form1" in a stateful page Page1. The "action" attribute of > the form contains the id of the page

Re: Select/SelectOption onchange possible

2010-09-03 Thread Igor Vaynberg
use ajaxformcomponentupdatingbehavior -igor On Fri, Sep 3, 2010 at 11:06 AM, datazuul wrote: > > I switched from DropDownChoice to Select/SelectOption (because of more > flexible handling of option-tags (css-styling...)). > > Now I want the same behaviour of "wantOnSelectionChangesNotification"

Re: Wicket AjaxButton multiple responses

2010-09-02 Thread Igor Vaynberg
search this list for ajaxpoller -igor On Thu, Sep 2, 2010 at 9:16 PM, DmitryM wrote: > > Hello, everybody > > I have a long-running Ajax request (about 7 seconds) and would like to > notify user about its progress. > A preferred way would be to push multiple ajax responses back to the > Response

Re: WicketRuntimeException: loginPage is already mounted for BookmarkablePageEncoder[page=class com.xxx.LoginPage]

2010-09-02 Thread Igor Vaynberg
gt; > This is because I need to render the emails from a different servlet. Do I > have any solution for this situation? > > How can I get the WebApplication from a different servlet? > > On Thu, Sep 2, 2010 at 1:26 PM, Igor Vaynberg wrote: > >> you should pass a ne

Re: WicketRuntimeException: loginPage is already mounted for BookmarkablePageEncoder[page=class com.xxx.LoginPage]

2010-09-02 Thread Igor Vaynberg
you should pass a new instance of application. wicket tester inits the application and so it would call the init method which will execute the mounts - and on already initialized instance it would cause that error. -igor On Thu, Sep 2, 2010 at 9:13 AM, Fernando Wermus wrote: > Hi all, >    I am

Re: onSelectionChanged and browser back button

2010-09-02 Thread Igor Vaynberg
ajaxformchoicecomponentupdatingbehavior? -igor On Thu, Sep 2, 2010 at 9:23 AM, nmetzger wrote: > > Yes, I did override it. I wasn't aware that this would change the process to > a normal request. > > So, what's the best way to implement the onSelectionChanged behavior and > keep my ajax behavior

Re: onSelectionChanged and browser back button

2010-09-02 Thread Igor Vaynberg
if you override wantonselectionchangednotification to return true then it is done with a regular request instead of ajax. -igor On Thu, Sep 2, 2010 at 7:04 AM, nmetzger wrote: > > Hi all, > > I have a problem with a page in which I exchange a lot of panels via Ajax. > It worked the way I intende

Re: SV: Remove support for Portlets in Wicket 1.5

2010-09-02 Thread Igor Vaynberg
this has already been done, its a bit too late for -1 votes. the thread was started aug 11. -igor On Thu, Sep 2, 2010 at 3:52 AM, James Carman wrote: > On Thu, Sep 2, 2010 at 6:50 AM, Wilhelmsen Tor Iver > wrote: >> And if you only wanted a reply from him you would have sent a private email >

Re: How to get form submit to return to previous page?

2010-09-01 Thread Igor Vaynberg
do not pass the page, pass the page reference, see page#getpagereference() -igor On Wed, Sep 1, 2010 at 6:21 PM, Chris Merrill wrote: > On 9/1/2010 7:26 PM, Chris Colman wrote: >> I have a form/page that can be invoked from different pages so I can't >> easily specify which page should be return

Re: How to get form submit to return to previous page?

2010-09-01 Thread Igor Vaynberg
you would create one that would write out some html like history.go(-2); -igor On Wed, Sep 1, 2010 at 4:26 PM, Chris Colman wrote: > I have a form/page that can be invoked from different pages so I can't > easily specify which page should be returned to after submit. > > Given that the simple ja

Re: ajax links produce too long javascript

2010-09-01 Thread Igor Vaynberg
that should be renamed to wicket-later, not happening in 1.5 -igor On Wed, Sep 1, 2010 at 7:32 AM, Pedro Santos wrote: > https://cwiki.apache.org/WICKET/wicket-15-ajax.html > > On Wed, Sep 1, 2010 at 9:32 AM, Vladimir Kovalyuk wrote: >> Consider this javascript generated by AjaxFallbackLink: >>

Re: htmlUnit + Wicket to get a page

2010-08-31 Thread Igor Vaynberg
try using wickettester in a new thread instead. -igor On Tue, Aug 31, 2010 at 3:58 PM, Fernando Wermus wrote: > Hi all, >    I have to send some emails when a user clicks a link. The problem I am > encountering is that I got a lock. > > Caused by: java.sql.BatchUpdateException: Lock wait timeout

Re: AJAX error on IE8 & Win 7

2010-08-31 Thread Igor Vaynberg
most likely you have a problem with your markup, eg a div inside a span or something like that. thats all i can say without seeing the code. -igor On Tue, Aug 31, 2010 at 5:28 AM, Laurentiu Trica wrote: > Hello, > > I have a problem with an AjaxCheckBox which should update a panel in IE8 & > Win

Re: WicketTester and https

2010-08-30 Thread Igor Vaynberg
wicket tester is not a complete emulation tool, it is designed for simple usecases. you are welcome to patch it to support this, but its probably easier to turn off the httpsrequestcycleprocessor in your tests so no redirect happens. -igor On Mon, Aug 30, 2010 at 4:13 AM, Michael Sparer wrote: >

Re: Question about Wicket and generics

2010-08-27 Thread Igor Vaynberg
just offering the other side of the coin...i didnt say we were going to yank the generics from the Form, chill :) -igor On Fri, Aug 27, 2010 at 8:38 AM, James Carman wrote: > On Fri, Aug 27, 2010 at 11:34 AM, Igor Vaynberg > wrote: >> i have written plenty forms and about 99%

Re: Question about Wicket and generics

2010-08-27 Thread Igor Vaynberg
i have written plenty forms and about 99% of them have Form. models on the form are just not that useful, its the fields that care. -igor On Fri, Aug 27, 2010 at 5:45 AM, James Carman wrote: > On Fri, Aug 27, 2010 at 8:40 AM, Mike Dee wrote: >> >> Also noticed in prior messages with similar to

Re: How to determine previous value in select after user change

2010-08-26 Thread Igor Vaynberg
class mydropdown extends dropdown { private object last; protected void updatemodel() { last=getmodelobject(); super.updatemodel(); } -igor On Thu, Aug 26, 2010 at 6:39 PM, Steve Mactaggart wrote: > Hi All, > > I'm not sure if there is a wicket way to do this, or if I have to mange the > da

Re: How to identify last Repeater/DataView item

2010-08-26 Thread Igor Vaynberg
item has an index property, so you can check if that is -1 of getitemsperpage() -igor 2010/8/26 Benedikt Schlegel : > Hy folks, > > is there a way to determine if the current Item in onPopulate() is the > last one processed? I need to add an additional attribute to the last > DataView row. > > Th

Re: Best practice for component interaction

2010-08-25 Thread Igor Vaynberg
already done https://issues.apache.org/jira/browse/WICKET-1312 -igor On Wed, Aug 25, 2010 at 6:12 AM, jcgarciam wrote: > > Thanks for expressing your help on this, im already working on it :-), since > is not that hard to implement, but i would like to see this kind of > functionality in the co

Re: Store session in custom datastore

2010-08-24 Thread Igor Vaynberg
im sure if you google for "wicket session memcache" you will find your answer. -igor On Tue, Aug 24, 2010 at 2:05 PM, Anton wrote: > Hello! > > Can anybody share solution to store session in db or memcache? > > > Thanks, > > Anton > > -

Re: trouble with setOutputMarkupId() and WicketStuff ProgressBar

2010-08-24 Thread Igor Vaynberg
maybe you need to put it all into a container? -igor On Tue, Aug 24, 2010 at 1:09 PM, Chris Merrill wrote: > I'm trying to build a simple example of the ProgressBar from WicketStuff. > > I'm getting this stack trace when pressing the "start" button: > > java.lang.IllegalArgumentException: cannot

Re: Best practice for component interaction

2010-08-24 Thread Igor Vaynberg
vent. > Interesting.  What about just using a metadata key? > > On Tue, Aug 24, 2010 at 1:24 PM, Igor Vaynberg > wrote: >> onclick(final AjaxRequestTarget target) { >>   getPage().visitChildren(CaresAboutMyAjaxEvent.class, new >> IVisitor

Re: Wicket and Netbeans

2010-08-24 Thread Igor Vaynberg
looks like netbeans is not copying the .html file into the build dir (which should be set to target/classes) after you save it. you can figure out how to toggle this setting in netbeans, or add this to your application's init: getResourceSettings().addResourceFolder("src/main/java"); -igor On Tu

Re: Best practice for component interaction

2010-08-24 Thread Igor Vaynberg
you mean?  What would the visitor look for? > > On Tue, Aug 24, 2010 at 1:12 PM, Igor Vaynberg > wrote: >> you can accomplish it using a simple visitor. 1.5 has a more >> formalized approach for managing events between components. >> >> -igor >> >>

Re: Best practice for component interaction

2010-08-24 Thread Igor Vaynberg
). > > On Tue, Aug 24, 2010 at 12:56 PM, Igor Vaynberg > wrote: >> usually this kind of linkage is created by pointing both the calendar >> and the textfield to the same model object, like a property of a >> common parent, etc. >> >> -igor >> >> On

Re: Best practice for component interaction

2010-08-24 Thread Igor Vaynberg
usually this kind of linkage is created by pointing both the calendar and the textfield to the same model object, like a property of a common parent, etc. -igor On Tue, Aug 24, 2010 at 8:37 AM, Patrick Petermair wrote: > Hi! > > Let's say I have a page with 2 panels. CalendarPanel shows a simple

Re: Cache key collisions (IMarkupCacheKeyProvider)

2010-08-24 Thread Igor Vaynberg
IMarkupCacheKeyProvider is for advanced users. you have to know what you are doing when you implement the interface. it makes sense to me that the key is application-scoped since there is really no other scope that makes sense, and yes, like you said, its a good idea to prefix the key with the fqn

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Igor Vaynberg
2010/8/24 Major Péter : > well, I've tried this with this quickstart: > http://aldaris.sch.bme.hu/quick.tar.gz > , but this really didn't worked. Also on my bigger project I was seeing > weird redirections: > * the app is on / contextroot > * the homepage could have parameters, but it's not mandato

Re: WicketFilter.init() being called multiple times in Glassfish 3

2010-08-24 Thread Igor Vaynberg
if filter.init is called more then once then its a problem in glassfish. -igor On Tue, Aug 24, 2010 at 5:35 AM, Wilhelmsen Tor Iver wrote: > (Resending with some more text and less stacktrace because Apache's spam > filter did not like it the first couple of times). > > Since we are using Wicke

Re: Shouldn't an IConverter also work for StringResourceModels?

2010-08-24 Thread Igor Vaynberg
file an issue, attach a patch if you can. -igor On Tue, Aug 24, 2010 at 5:33 AM, Michael Sparer wrote: >  Hi, > > I've got an entry in a properties file that looks like this: > > text=I'll pay ${moneyAmount} > > where moneyAmount is an Object like the one below > > public class MoneyAmount { > >

Re: Problem to replace panel

2010-08-23 Thread Igor Vaynberg
your example is too complicated, create a simple quickstart using the wicket archetype and only add the necessary bits to replicate the problem -igor On Sun, Aug 22, 2010 at 8:03 AM, zoran wrote: > > Hi Martin, > > I finally made a some kind of quickstart. I removed all unnecessary code > from t

Re: implementing a custom resource loader

2010-08-23 Thread Igor Vaynberg
wicket will already handle the logging and missing resources, see iresourcesettings#setThrowExceptionOnMissingResource(false) -igor On Mon, Aug 23, 2010 at 10:28 AM, Chris Merrill wrote: > On 8/23/2010 12:59 PM, Igor Vaynberg wrote: >> and the CustomerNameNotFound is never tried? it

Re: implementing a custom resource loader

2010-08-23 Thread Igor Vaynberg
and the CustomerNameNotFound is never tried? it should be tried after the .CustomerNameNotFound key -igor On Mon, Aug 23, 2010 at 9:47 AM, Chris Merrill wrote: > On 8/23/2010 11:21 AM, Igor Vaynberg wrote: >> show us your validator > > > TextField target_name_field

Re: implementing a custom resource loader

2010-08-23 Thread Igor Vaynberg
show us your validator -igor On Sun, Aug 22, 2010 at 8:15 PM, Chris Merrill wrote: > I need to implement our own resource loader in order to re-use our existing > infrastructure for resolving localized strings.  I've implemented > IStringResourceLoader > and have that working, but I've found I

Re: Shortening a wicket:message

2010-08-23 Thread Igor Vaynberg
you can copy wicket:message releated functionality into a new tag that takes an extra maxlen attribute, or you can create a patch for the core. -igor On Mon, Aug 23, 2010 at 3:16 AM, Michael Sparer wrote: >  Hey, > > I have a component that constructs a wicket:message just like Erik does in > hi

Re: setRenderBodyOnly with ListView and attributes

2010-08-22 Thread Igor Vaynberg
w, the developer has to wrap extra divs > around some elements. > > >> - Original Message - >> From: Igor Vaynberg >> Sent: 08/23/10 01:26 AM >> To: users@wicket.apache.org >> Subject: Re: setRenderBodyOnly with ListView and attributes >> >>

Re: setRenderBodyOnly with ListView and attributes

2010-08-22 Thread Igor Vaynberg
moment, there are two known workarounds in this discussion: > 1) Accept the violation of "just HTML" by using the extra DIV. > 2) Accept the violation of "just HTML" by using wicket:container. > > > >> - Original Message - >> From: Igor Vaynberg

Re: AutoCompleteTextField instead of DropDownChoice?

2010-08-22 Thread Igor Vaynberg
see objectautocomplete project in wicket-stuff -igor On Sun, Aug 22, 2010 at 9:18 AM, Ervis Zikas wrote: > > Does this use case make sense, i.e. can I setup AutoCompleteTextField in > such a way as to return not the visualized value but the "id" of a given > option? > > > > -

Re: setRenderBodyOnly with ListView and attributes

2010-08-22 Thread Igor Vaynberg
listviews have nothing to do with tables, they are generic repeaters. here is the solution the only change needed to code is the tweak to this line: item.add(new Label("product", product).setRenderBodyOnly(true)); -igor On Sat, Aug 21, 2010 at 10:31 A

Re: Reacting to AutoCompleteTextField choice selection event

2010-08-20 Thread Igor Vaynberg
you should be using objectautocompletetextfield in wicket-stuff -igor On Fri, Aug 20, 2010 at 1:01 PM, Alexandros Karypidis wrote: > >>  Hi, >> >> I have an AutoCompleteTextField, for which I need to react to user >> selections from the choices list. For example, if a user enters "Au" and the >>

Re: Sort column header for PageableListView

2010-08-20 Thread Igor Vaynberg
See how HeadersToolbar does this for datatable, you can reuse all those sortable components -igor On Fri, Aug 20, 2010 at 7:10 AM, deepa wrote: > > Anton , > This is what i could find.. In this example its used DataTable, but i want > this sorting to be performed on PageableListView component. >

Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
im going to guess its only websphere, it has pretty horrific support for filters. at least that is what ive gathered from watching this list for years. one thing to try is to switch to WicketServlet. -igor On Thu, Aug 19, 2010 at 11:51 AM, James Carman wrote: > This only happens in WebSphere?  W

Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
WebRequestCodingStrategy may be a good place to start -igor On Thu, Aug 19, 2010 at 10:33 AM, shetc wrote: > > I tried that as well Igor but still getting the 404 error. Can you advise me > on where I can try and trace > the root cause of the issue? > -- > View this message in context: > http:/

Re: URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-08-19 Thread Igor Vaynberg
you should try also adding /app/* to the filterMappingUrlPattern parameter of the wicket filter -igor On Thu, Aug 19, 2010 at 7:10 AM, shetc wrote: > > Hi All, > > I'm still having this issue where I can't use a filter pattern as follow: > > >     WicketFilter >     /app/* > > > I simplified m

Re: dynamically adding validators to TextFields in a ListView

2010-08-19 Thread Igor Vaynberg
ndered. I have a workaround, but it is > ugly. Any sugestions? > > -Original Message- > From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] > Sent: Wednesday, August 18, 2010 10:40 PM > To: users@wicket.apache.org > Subject: Re: dynamically adding validators to TextFields

Re: dynamically adding validators to TextFields in a ListView

2010-08-18 Thread Igor Vaynberg
whatever is creating the textfield should add the appropriate validator -igor On Wed, Aug 18, 2010 at 10:01 PM, Warren Bell wrote: > I have a ListView that adds one TextField to each ListItem. These > TextFields need to have different types of validators added to them > depending on a condition.

Re: 1.5-M1 - AjaxRequestTarget.get() returning null within AjaxLink#onClick

2010-08-18 Thread Igor Vaynberg
sounds like a bug, open a jira ticket please. -igor On Wed, Aug 18, 2010 at 8:51 AM, Daniel Soneira wrote: >  Why does AjaxRequestTarget.get() not behave like in 1.4.10? > > Code: > -- > ... > new AjaxLink("link") { >   �...@override >    public void onClick(AjaxRequestTa

Re: Delegate loading of wicket-event.js?

2010-08-17 Thread Igor Vaynberg
you should file this as a bug, packagedresourcereference urls should not be encoded with the session id -igor On Tue, Aug 17, 2010 at 6:30 PM, wrote: > Hi, > > I get two instances of wicket-event.js and other resources in the > browser cache due to the probing for client cookie suport on the fi

Re: AjaxFormSubmitBehavior causes serialization issues inside onBeforeRender()

2010-08-17 Thread Igor Vaynberg
because your behavior is an anonymous class it keeps a reference to its parent - the visitor. visitors are not serializable. the easiest way to fix it is to make the behavior you are adding an inner class of the page. -igor On Tue, Aug 17, 2010 at 8:05 AM, allgo wrote: > > Hi fellow wicket users

Re: Problem with page being redirected/loaded over and over again

2010-08-17 Thread Igor Vaynberg
is your homepage mounted on /welcome? maybe you did not correctly implement the url coding strategy, make sure it encodes your homepage as /en/welcome and not as / just guessing since you didnt show any code. feel free to create a quickstart that reproduces the issue and attach it to a jira ticket

Re: BrowserInfoPage and HelloBrowser on Firefox

2010-08-17 Thread Igor Vaynberg
javaEnabled=true for me with firefox on wicketstuff.org/wicket14 -igor On Tue, Aug 17, 2010 at 7:18 AM, Dirk Forchel wrote: > > I still got no solution for the problem mentioned above. > > I assume the detection of JavaScript with the following line of code does > not work for Firefox even if J

Re: AjaxPagingNavigator give out strange error

2010-08-17 Thread Igor Vaynberg
and yet it works just fine here: http://wicketstuff.org/wicket14/ajax/pageables create a quickstart and attach it somewhere. that way we dont have to grasp at straws. -igor On Mon, Aug 16, 2010 at 12:42 PM, btbluesky wrote: > > I tried to use AjaxPagingNavigator in a simple page in Eclipse Heli

Re: rendering Wicket components to HTML

2010-08-16 Thread Igor Vaynberg
pass in a dummy application to tester -igor On Mon, Aug 16, 2010 at 11:20 AM, Joe Hudson wrote: > Hi, > > First of all, before I get flamed - I've seen many topics about this since > I've been looking into this: > > http://www.mail-archive.com/users@wicket.apache.org/msg27512.html > http://www.

Re: Custom AJAX component...

2010-08-14 Thread Igor Vaynberg
in wicket-examples there is a demo that integrates prototype ajax into wicket, see if that is doing what you want. -igor On Sat, Aug 14, 2010 at 1:59 PM, Erik Brakkee wrote: > Hi, > > > I would like to write an component that will retrieve page-specific > information using AJAX from the javascri

Re: Bug or feature/improvement/question?

2010-08-14 Thread Igor Vaynberg
>>> overriding MaximumValidator which practically means re-implementing it >>> because the maximum value annot be changed on the fly. Decorator >>> sounds nice...what would it mean in the case of >>> Minimum/MaximumValidator or equivalent? >>> >>>

Re: Bug or feature/improvement/question?

2010-08-14 Thread Igor Vaynberg
e maximum value annot be changed on the fly. Decorator > sounds nice...what would it mean in the case of > Minimum/MaximumValidator or equivalent? > > ** > Martin > > 2010/8/14 Igor Vaynberg : >> You can create a validator decorator that does caching however you want >&

Re: Bug or feature/improvement/question?

2010-08-14 Thread Igor Vaynberg
You can create a validator decorator that does caching however you want -igor On Aug 14, 2010 9:16 AM, "Martin Makundi" < martin.maku...@koodaripalvelut.com> wrote: Hi! Is it a necessary feature that validation occurs on components whose values have not changed? We have quite heavy validation

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Igor Vaynberg
those links remove all current items and repopulate the listview becuse the index of items has to be recalculated. you can try using a non-listview repeater and implementing the links yourself. -igor On Sat, Aug 14, 2010 at 7:05 AM, Sebastian wrote: > Hi, > > I am trying to use a list view compo

Re: wicket-extensions alive?

2010-08-13 Thread Igor Vaynberg
extensions version should be the same as wicket, so unless you are using wicket-1.2.7 you are using the wrong version. -igor On Fri, Aug 13, 2010 at 5:09 PM, gnugrf wrote: > > Yeah I noticed that when I checked the maven repo that it required > commons-collections, so I tried adding version 3.2.

Re: wicket-extensions alive?

2010-08-13 Thread Igor Vaynberg
extensions is alive and well, use it every day. -igor On Fri, Aug 13, 2010 at 1:34 PM, gnugrf wrote: > > I had added wicket-extensions to my pom.xml, because I was planning on making > use of DataTable and DefaultDataTable, however, I hadn't yet added any code > that would require the dependency

Re: Wicket 1.5-M1 causing IllegalStateException

2010-08-13 Thread Igor Vaynberg
2010/8/12 Major Péter : > Hi, > > I have a page with the ~following markup: > >   (DataView) >   >   > > > The link is constructed like: > Link valuationLink = new Link("valuationLink") { >   �...@override >    public void onClick() { >        setResponsePage(new ValuationDetails(val, getPage()))

Re: Wicket 1.5-M1 and DropDownChoice wantOnSelectionChanged

2010-08-13 Thread Igor Vaynberg
can you create a quickstart that reproduces this? -igor 2010/8/12 Major Péter : > Hi, > > I'm getting weird error, while using DDC wantOnSelectionChanged like this: > http://stewie.sch.bme.hu/gitweb/?p=aldaris/korok;a=blob;f=sch-pek-web/src/main/java/hu/sch/web/kp/group/GroupHistory.java;h=fffd7b

Re: style=\"display:none\"

2010-08-12 Thread Igor Vaynberg
>                 value="hiddenData"/> >         > >  Please note that this has to be tested in mobile devices with problems and > it works fine in the browser. > > Cheers, > Satish > > -Original Message- > From: Igor Vaynberg [mailto:igor

Re: style=\"display:none\"

2010-08-12 Thread Igor Vaynberg
are you completely sure that the div is causing the problem? doesnt make sense. -igor On Thu, Aug 12, 2010 at 3:00 PM, Satish Nekkalapudi wrote: > Hi, > > We are using Wicket 1.4.9 for very large mobile application. We are unable to > process any forms on a large number of mobile devices. > > T

Re: FileUpload and IE6

2010-08-11 Thread Igor Vaynberg
ajax file upload? -igor On Wed, Aug 11, 2010 at 1:06 PM, James Carman wrote: > Has anyone had any luck getting this to work?  We've got a page that > does a file upload.  Everything works fine in Firefox, IE8, etc.  But, > IE6 (of course) fails. > > --

Wicket 1.4.10 and 1.5-M1 released!

2010-08-11 Thread Igor Vaynberg
Wicket 1.5-M1 - This is the first milestone of the new 1.5.x Wicket series. The focus of 1.5.x is to provide our users with a more powerful and flexible request processing pipeline. This release is NOT production-ready, it is more of a technolog

Re: DataView/LoadableDetachableModel/onClick

2010-08-10 Thread Igor Vaynberg
ron wrote: > On 2010-08-09 18:18, Igor Vaynberg wrote: >> >> it is not recommended to pass models between pages because if the >> model is anonymous it can carry with it a reference to the other page >> object and your session size will spike because your page also ha

Re: jsr 286 inter-portlet communication

2010-08-10 Thread Igor Vaynberg
not sure. i dont work with portlets so have no idea. -igor On Tue, Aug 10, 2010 at 1:07 PM, dgh1 wrote: > > Thanks Igor for your response. I thought I had read that wicket 1.4.x was JSR > 286 complaint but not sure how that is possible since JSR 286 does call out > inter-portlet communications.

Re: jsr 286 inter-portlet communication

2010-08-10 Thread Igor Vaynberg
currently 1.5 has no support for portlets. and it probably wont until someone from the core team starts using portlets on the daily basis. -igor On Tue, Aug 10, 2010 at 7:28 AM, dgh1 wrote: > > > I read in the PortletsInAction manning book that  for wicket  that > inter-portlet communications is

Re: link in absolute path

2010-08-09 Thread Igor Vaynberg
no. everything in wicket is rendered in relative urls because absolute urls cause trouble behind proxies. in 1.4 that code is all over the place so its not easy to swap out. in 1.5 the code is centralized so there its possible, but 1.5 is far from production. if you really really need this done t

Re: Could somebody please comment on WICKET-2889?

2010-08-09 Thread Igor Vaynberg
separate those out into a separate issue -igor On Mon, Aug 9, 2010 at 8:20 AM, Stefan Fussenegger wrote: > Good point, thanks. Any idea on how to get this working with clustering? The > question is how to schedule expiration of a PageMap without keeping a global > (weak) reference to it. > > But

Re: DataView/LoadableDetachableModel/onClick

2010-08-09 Thread Igor Vaynberg
12:19 AM, Leszek Gawron wrote: > On 2010-08-09 05:32, Igor Vaynberg wrote: >> >>  final Customer customer = item.getModelObject(); >> ...               Link link = new Link("link") { >>                    public void onClick()                       { >>

Re: DataView/LoadableDetachableModel/onClick

2010-08-08 Thread Igor Vaynberg
final Customer customer = item.getModelObject(); ... Link link = new Link("link") { public void onClick() { setResponsePage(new CustomerPage(customer)); the line above holds on to the customer object, so the Link subcla

Re: FormComponentPanel and list edit

2010-08-06 Thread Igor Vaynberg
so make it extend it. the same way formcomponentpanel does but minus the markup bits. -igor On Fri, Aug 6, 2010 at 6:01 AM, Joseph Pachod wrote: > hi > >  > >  > List convertedInput ; >  > >  > public void convertInput(){ >  >  List list= new ArrayList() >  >  // how to compose the list ? >    

Re: .properties in conjunction with ListView

2010-08-05 Thread Igor Vaynberg
you can override the validator message in the page's property files. validator messages are usually named after the class of the validator, so to override the required message you would put RequiredValidator=${label} is broken in your mypage.properties. for the column headings, the columns take an

Re: Model object string manipulation

2010-08-04 Thread Igor Vaynberg
for reusable situations, or even one off, you can write a simple decorator model -igor On Wed, Aug 4, 2010 at 1:27 PM, Iain Reddick wrote: > To elaborate a bit - I'm talking about "one off" situations and also > re-usable solutions, such as the aforementioned "to upper" and "to lower" > cases.

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Igor Vaynberg
afair the servlet spec says all urls have to be passed through that method and thats what we do. if its not working the problem is with the servlet container. -igor On Wed, Aug 4, 2010 at 10:39 AM, Martin Makundi wrote: > Like a sledgehammer ;) > > But yes, so it's a bug in wicket "framework des

Re: .properties in conjunction with ListView

2010-08-04 Thread Igor Vaynberg
are those validator messages? -igor On Wed, Aug 4, 2010 at 2:25 AM, Michael Strecker wrote: > Hello list, > > I'm currently working on a page which contains a ListView of several > items from a database. Naturally, the hierarchy of the DOM is > form.1.item, form.2.item, and so on. I'd also like

Re: FormComponentPanel and list edit

2010-08-04 Thread Igor Vaynberg
On Wed, Aug 4, 2010 at 1:00 AM, Joseph Pachod wrote: > Igor Vaynberg wrote: >> >> why not? convertinput() will cascade down to all components that need >> them. >> >> -igor >> > > I feel like the issue is not with the components in the list item

Re: FormComponentPanel and list edit

2010-08-04 Thread Igor Vaynberg
why not? convertinput() will cascade down to all components that need them. -igor On Wed, Aug 4, 2010 at 12:03 AM, Joseph Pachod wrote: > Igor Vaynberg wrote: >> >> visit all the children, check if they are a FormComponent and call >> convertinput() followed by getconvert

Re: FormComponentPanel and list edit

2010-08-03 Thread Igor Vaynberg
visit all the children, check if they are a FormComponent and call convertinput() followed by getconvertedinput() -igor On Tue, Aug 3, 2010 at 2:42 PM, Joseph Pachod wrote: > hi > IF > we're heavily reusing the edit components we do, and as such we wanted them > to behave as "good form citizen"

Re: Stack Overflow Error

2010-08-03 Thread Igor Vaynberg
catch the exception and dump the serialization hierarchy of the the page objects into stdout accounting for circular references? -igor On Tue, Aug 3, 2010 at 7:58 AM, Douglas Ferguson wrote: > I wrote about this awhile ago and got some great responses. I poured over > the code and couldn't find

Re: How to access div on wicket modal dialog

2010-08-02 Thread Igor Vaynberg
thats what i do...save lives :) -igor On Mon, Aug 2, 2010 at 12:50 PM, zoran wrote: > > Igor, > > You save my life :) > >>if you are using a panel and the markup is rendered in the same window >>it means your script is probably running too early. > > That is exactly what was the problem. > > I a

Re: Encrypt Form Fields Using JS

2010-08-02 Thread Igor Vaynberg
so how do you expect to validate on server side??? -igor On Mon, Aug 2, 2010 at 12:29 PM, wrote: > Thanks for the reply, that would work however per our business rules the > encryption must be one-way and will not be decrypted... > > > > > Igor Vaynberg > 08/02/2010 0

Re: How to access div on wicket modal dialog

2010-08-02 Thread Igor Vaynberg
if you open a page inside modal then the markup is in a different window so you have to make sure your jquery script executes in the right window. if you are using a panel and the markup is rendered in the same window it means your script is probably running too early. -igor On Mon, Aug 2, 2010

Re: Encrypt Form Fields Using JS

2010-08-02 Thread Igor Vaynberg
override getinputasarray() on the field and decrypt it there, that way wicket sees the decrypted value -igor On Mon, Aug 2, 2010 at 12:14 PM, wrote: > I totally agree, seems like double-duty that accomplishes very little, and > actually adds overhead.  But this is another debate and the feature

Re: Godaddy shared hosting workaround

2010-08-01 Thread Igor Vaynberg
On Sun, Aug 1, 2010 at 5:08 AM, pkcinna wrote: > > There used to be a workaround for Godaddy shared hosting and Wicket but I > cannot find it with Google anymore. > > Any suggestions for the following Godaddy shared hosting restrictions? > > 1) Cannot write to file system except /tmp directory.  D

Re: FileUploadException wrapped in wiketRuntime exception, why? is that a good practice?

2010-07-31 Thread Igor Vaynberg
its checked because it came from commons-upload, we didnt write it. open a jira to create a runtime version of it and wrap it in that. -igor On Sat, Jul 31, 2010 at 5:48 AM, nicolas melendez wrote: > Hi there, i have a question about FileUploadException. > > In line 80 of MultipartServletWebReq

Re: Wicket stuff site

2010-07-29 Thread Igor Vaynberg
jira studio is listed as an option in the first link i pasted -igor On Thu, Jul 29, 2010 at 8:40 AM, Jeremy Thomerson wrote: > Sure, they have a hosted solution, but it doesn't say they have a free OSS > hosted solution.  :) > > On Thu, Jul 29, 2010 at 10:35 AM, Igor

<    7   8   9   10   11   12   13   14   15   16   >