Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-28 Thread Igor Vaynberg
yeah, if it takes a while the browser will timeout and you are screwed anyways... what do you mean they cant start a new search? you mean they no longer for the results of the currently running search and just press the search button again? if they would open a new tab with the search page, and y

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-28 Thread Igor Vaynberg
maybe instead of waiting on the page to finish we should have an option to kill it, rollback, and start again with the new request? with the diskstore we have the old version serialized... -igor On Jan 28, 2008 2:51 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > shared resources are not synced

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-28 Thread Igor Vaynberg
the pages are locked on the pagemap. so you cannot have two concurrent requests from the same user to the same pagemap. this is so when you are coding your pages you can use the much simpler single-threaded model. every have fields in your servlet implementation? those have to be synchronized or y

Re: IndicatingOrderByBorder?

2008-01-28 Thread Igor Vaynberg
no there isnt, you will have to roll your own... -igor On Jan 28, 2008 9:47 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > > Is there such class as IndicatingOrderByBorder? I need to display some > progress icon while sorting. > > Thanks, > Wen Tong > > -- > The only constant i

Re: [discuss] Mailing list usage...

2008-01-29 Thread Igor Vaynberg
im with Erik on this one... -igor On Jan 29, 2008 10:10 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Scott Swank wrote: > > If the user groups are split onto a separate thread I would like to > > see meeting announcements cross-posted to this list so that it's as > > easy as possible for new

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
the only caveat is remembering to keep the current page...but that is trivial -igor On Jan 29, 2008 5:13 AM, Clay Lehman <[EMAIL PROTECTED]> wrote: > Can't you just create a new DataTable with the new list of columns in > the ajax call when you want to add/remove a column, then repaint the > con

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
yes, and we have created something like this at my current work place. we have the notion of column sets, but we also have our own implementation of data table. perhaps some of this will be merged into 1.4 - but not in 1.3 becuase of api breaks. -igor On Jan 29, 2008 8:08 AM, UPBrandon <[EMAIL P

Re: [discuss] Mailing list usage...

2008-01-29 Thread Igor Vaynberg
a big +1 from me, dont know how i would deal with all this traffic without gmail... -igor On Jan 29, 2008 8:26 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > The way most (if not all) Wicket committers keep track of this list (and all > other mailing lists for that matter) is to use gmail as t

Re: is it possible to have concurrent page?

2008-01-29 Thread Igor Vaynberg
it might be possible, but unlikely in the 1.3 branch. it is an interesting idea however, mind adding it to the wishlist for 1.4 wiki page? the issues is not as simple as it first seems. there is serialization/versioning issues to consider, etc. -igor On Jan 29, 2008 8:26 AM, cemeterygate <[EMAI

Re: is it possible to have concurrent page?

2008-01-29 Thread Igor Vaynberg
see AjaxSelfUpdatingTimerBehavior, it also has a stop() method... -igor On Jan 29, 2008 11:16 AM, cemeterygate <[EMAIL PROTECTED]> wrote: > > so it's not possible for 1.3 branch. That's fine. I am on java 1.4. I am > using back-ported concurrent package to handle mutiple search request. > Everyt

Re: Ajax Busy Indicator

2008-01-29 Thread Igor Vaynberg
IAjaxIndicatorAware simply takes the html id of the element you want to show/hide; it can be placed anywhere in html... alternatively there are clientside javascript callbacks you can hook into to create gmail-like busy indicator, see wicket-ajax.js -igor On Jan 29, 2008 11:11 AM, Martin Makund

Re: Passing list of POJOs to AutoCompleteTextField?

2008-01-29 Thread Igor Vaynberg
can you not create an iterator adapter that takes an iterator of pojos and translates the pojo to some string? -igor On Jan 29, 2008 11:14 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I have a working test page containing an AutoCompleteTextField. Thus far > the data feeding it has been an It

Re: Mounting strategies for shared components bundled in a jar ?

2008-01-29 Thread Igor Vaynberg
see IInitializer and its javadoc, you can write one that mounts the pages and include in the jar that contains the pages. as long as that jar is on the classpath those pages will get mounted. -igor On Jan 29, 2008 5:29 PM, mfs <[EMAIL PROTECTED]> wrote: > > Guys, > > How would i go about mountin

Re: AJAX: form components not being updated

2008-01-29 Thread Igor Vaynberg
getModel().setObject(foo); on the component that is housing the CompoundPropertyModel instance... -igor On Jan 29, 2008 5:01 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Anyone? All I need to know is how to assign a generated model to my form > components. The original (empty) one is a Compou

Re: Getting the exception while starting a application in tomcat

2008-01-29 Thread Igor Vaynberg
if you want to create a hello world app quickly and properly then go here http://wicket.apache.org/quickstart.html and run the command given in the textarea. it looks like you are trying to startup the wicket-examples project and not the hello world you created... -igor On Jan 29, 2008 10:37

Re: Ajax Busy Indicator

2008-01-30 Thread Igor Vaynberg
should get you started :) the only caveat is if that image component for some reason has setoutputmarkupid(true) set on it, in which case the id attr you put into markup will be overwritten, to make this thing work dynamically you would final Image image=new Image("ajxIndicatorImage", ...); imag

Re: Getting the exception while starting a application in tomcat

2008-01-30 Thread Igor Vaynberg
ation > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274) > at > org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFa

Re: Getting the exception while starting a application in tomcat

2008-01-30 Thread Igor Vaynberg
un.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:324) > >> at o

Re: DDC and page reload

2008-01-30 Thread Igor Vaynberg
swf.setValue("flashvars", "somevar=" + "somevalue"+ "¤cy=" + curr); ^ that should instead take an IModel so that it renders a fresh value on each new request instead of always rendering the value you passed in at page construction. in fact, it should take the same model instance as is use by the

Re: Pagemap null is still locked by blah exception, help!! why does wicket have to lock the pagemap

2008-01-30 Thread Igor Vaynberg
what you have now is better - doing a search in a different thread - because it doesnt bogged on servlet contains's threadpool. -igor On Jan 30, 2008 9:11 AM, cemeterygate <[EMAIL PROTECTED]> wrote: > > arrrg, I've already changed the implementation by using auto refresh, which > isn't that bad

Re: Simple edit form and models

2008-01-30 Thread Igor Vaynberg
just out of curiosity, why such a requirement instead of binding directly to a pojo? -igor On Jan 30, 2008 9:33 AM, Constantin Y <[EMAIL PROTECTED]> wrote: > > Hi all, > > First of all I want to congratulate Wicket guys for their work. > Until today I have developed applications based mainly on

Re: Fix typo on http://wicket.apache.org/community.html

2008-01-30 Thread Igor Vaynberg
done, waiting to be synced -igor On Jan 30, 2008 8:49 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: > Hi, > > I'm sorry for being a wordnazi, but could someone please change nabble to > Nabble on the three entries where it is lowercase on: > > http://wicket.apache.org/community.html > > (In the mai

Re: Monitoring Wicket using JAMon

2008-01-30 Thread Igor Vaynberg
because he wants to know what page instance was accessed? -igor On Jan 30, 2008 11:11 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > 1. ISessionStore.onBeginRequest and ISessionStore.onEndRequest > > 2. RequestCycle.onBeginRequest and RequestCycle.onEndRequest. > > > > For now I choose to ov

Re: Monitoring Wicket using JAMon

2008-01-30 Thread Igor Vaynberg
but per page... -igor On Jan 30, 2008 11:18 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Jan 30, 2008 11:14 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > because he wants to know what page instance was accessed? > > He wants to monitor performance o

Re: Ajax Busy Indicator

2008-01-30 Thread Igor Vaynberg
xButton extends AjaxButton implements IAjaxIndicatorAware > { > /** >* Constructor for TODO >* >* @param id >* @param form >*/ > public MyAjaxButton(String id, Form form) { > super(id, form); > } > }; > > > http://wicket.sourceforge.net";&g

Re: How can I use onComponentTag for a PasswordTextField?

2008-01-30 Thread Igor Vaynberg
behaviors are meant to implement crosscutting component concerns. that is why they are their own entity. -igor On Jan 30, 2008 2:55 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > On Jan 30, 2008 11:50 PM, i ii <[EMAIL PROTECTED]> wrote: > > > > > thank you for your fast reply. from what you said

Re: Custom components which accept multiple models

2008-01-30 Thread Igor Vaynberg
you can make a model that wraps both and returns result { boolean master, object value } then you bind your textfield with ("setting.value") and your checkbox/flag with "setting.master" -igor On Jan 30, 2008 4:49 PM, Sam Barnum <[EMAIL PROTECTED]> wrote: > I'm writing an settings admin page for

Re: Sorting using a DataTable

2008-01-30 Thread Igor Vaynberg
usually sorting is done in the database. if you get that list outside the database, then yes, you have to sort it using your own comparators. -igor On Jan 30, 2008 5:54 PM, Karen Schaper <[EMAIL PROTECTED]> wrote: > Hello, > > I am using a SortableDataProvider with a DefaultDataTable. > > From m

Re: Why are new sessions created until wicket form

2008-01-30 Thread Igor Vaynberg
your page is stateless because it just has a label on it. stateless pages do not create a session. if a stateless page is hit and no session is yet created wicket will create a fake session so that getsession() still returns something meaningful - but this session object will not be stored into the

Re: is there wicket had per-defined the Thread for the form component

2008-01-30 Thread Igor Vaynberg
it doesnt have anything to do with server side threading, but with how browser processes html and javascript. -igor On Jan 30, 2008 9:16 PM, kenixwong <[EMAIL PROTECTED]> wrote: > > hi, > > for the above case, for example... my page constructor: i add the component > ( modal window, feedBackPane

Re: Ajax Busy Indicator

2008-01-30 Thread Igor Vaynberg
if ajaxbutton works for you thats great. i was simply trying to explain that iajaxindicatoraware is decoupled from ajaxbutton - it will work on any component to which you add an ajax behavior. -igor On Jan 30, 2008 9:04 PM, Martin Makundi <[EMAIL PROTECTED]> wrote: > > no, you dont need to extend

Re: is there wicket had per-defined the Thread for the form component

2008-01-30 Thread Igor Vaynberg
the order in which you add components in java seldom matters, the true ordering is defined by markup. -igor On Jan 30, 2008 9:34 PM, kenixwong <[EMAIL PROTECTED]> wrote: > > thanks for reply in a short time, igor > > But here , i found the problem,... > > In my page constructor, i defined the c

Re: Simple edit form and models

2008-01-31 Thread Igor Vaynberg
there is wicketstuff-crud project in wicketstuff that generates all four crud views -igor On Jan 31, 2008 3:28 AM, Constantin Y <[EMAIL PROTECTED]> wrote: > > Nice work Ned! Actually this approach is very close to what i am trying to > do. > > Thanks a lot > > > Ned Collyer wrote: > > > > Yo

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
show us how you populate your listview... -igor On Jan 31, 2008 3:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have rendered a list view on a Web Page. > > vehicle1X > vehicle2X > vehicle3X > > when a person click on 'X', that item should be deleted. > But I'm facing a

Re: Wicket Stuff examples website OOMEs (PermGen space)

2008-01-31 Thread Igor Vaynberg
johan, can you bump up the permgen memory some more? we have too many damn things running on that tomcat instance... -igor On Jan 31, 2008 4:55 PM, Brad Fritz <[EMAIL PROTECTED]> wrote: > > Apologies if this isn't the right place to report it, but the Wicket > Stuff examples JVM is currently thr

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
vehicles.setReuseItems(true); <== that is what is causing your list to reuse old components -igor On Jan 31, 2008 5:36 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi, > > Following is my code for rendering vehicle list- > > final VehiclesList vehicles = new VehiclesList("vehicledetails", > ((Rati

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
try this: onpopulate (final listitem item) { add(new link("remove") { onclick() { item.getparent().remove(item); }} } -igor On Jan 31, 2008 6:19 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi igor, > > But If I remove setReuseItems(true), it'll remove all field values which > user has en

Re: Article: Introducing Apache Wicket

2008-01-31 Thread Igor Vaynberg
if there is a form error then the changes are never applied to the pojo in the first place. wicket's form workflow is atomic - the model object is ever updated when all required,type conversion,validation was successful on all form components in the form. if something failed wicket will keep the in

Re: How to delete an item from List view.

2008-01-31 Thread Igor Vaynberg
if you want to talk about a cleaner way... add(new removelink("remove", item.getmodel()) { onclick() { vehicles.remove(getmodelobject()); } } assuming vehicles is a property on listview's parent... -igor On Jan 31, 2008 7:29 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 3

Re: Notifying a DataTable that data has changed

2008-01-31 Thread Igor Vaynberg
can you not add an onclose callback to the window that repaints the datatable by adding it to the ajax request target? -igor On Jan 31, 2008 7:47 PM, jwray <[EMAIL PROTECTED]> wrote: > > Hi, > > New to Wicket so this maybe some obvious I'm missing and I'd appreciate any > pointers. > > I have an

Re: Challenge: write something really sleek for Facebook?

2008-01-31 Thread Igor Vaynberg
i get 404 on [1] ... -igor On Jan 31, 2008 11:14 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Could that someone please *not* link directly to the confluence page as is > stated on the front page of the wiki [1]? > > This link goes to the same page, but is 100x times faster and puts 100x le

Re: Page Expired when going back to an ajax page

2008-02-01 Thread Igor Vaynberg
what wicket version are you using? -igor On Feb 1, 2008 4:06 AM, Andrew Williams <[EMAIL PROTECTED]> wrote: > Actually - whilst this fixes the problem when browsing pages far back > in the history it does nothing to stop the bug visible if you simply > load a page, then another and then hit back

Re: Using detachable models in edit pages

2008-02-01 Thread Igor Vaynberg
how i have handled this so far: if load fails it throws EntityNotFoundException, in requestcycle.onruntimeexception() i check if this is in the stack, and if it is i redirect the user to "object you are working on has been deleted by another user" error page. -igor On Feb 1, 2008 8:24 AM, Sam B

Re: Wicket Stuff examples website OOMEs (PermGen space)

2008-02-01 Thread Igor Vaynberg
TED]> wrote: > done. upped it 40MB more > > i am curious what constantly really hangs around. Is it for example > something we in wicket can do if you constantly redeploy our examples? > Should we cleanup some more? > > johan > > > > > On Feb 1, 2008 2:21 A

Re: Can you control the order of contra added headercontributors?

2008-02-01 Thread Igor Vaynberg
not sure we support that, or want to support it... if you are using a headercontributor in one situation, why not use it also in your child page? -igor On Feb 1, 2008 5:52 AM, Edvin Syse <[EMAIL PROTECTED]> wrote: > Hi, > > I have a basepage which adds a reference to jquery amongst other things

Re: setting session locale to browser locale on onSubmit()

2008-02-01 Thread Igor Vaynberg
subclass webrequestcycle and add this code into onbeginrequest() Locale locale = getRequest().getLocale(); locale = doSomething( locale ); // e.g. substituting non-supported locale getSession().setLocale( locale ); see webapplication.newrequestcycle() -igor On Feb 1, 2008 9:21 AM, iw

Re: Page Expired when going back to an ajax page

2008-02-01 Thread Igor Vaynberg
not just the single most recent > page int he history that still bombs. > > Andy > > > On 1 Feb 2008, at 17:12, Igor Vaynberg wrote: > > > what wicket version are you using? > > > > -igor > > > > > > On Feb 1, 2008 4:06 AM, Andrew Williams <

Re: localization of PageExpiredErrorPage.html

2008-02-01 Thread Igor Vaynberg
you can set your own page in page settings application.init() { getpagesettngs() } or maybe its getapplicationsettings()dont remember off the top of my head. -igor On Feb 1, 2008 10:24 PM, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > Is it possible to localize session expiration error

Re: Can you control the order of contra added headercontributors?

2008-02-01 Thread Igor Vaynberg
if you put the reference to jquery into wicket:head of the base page will it load before or after? then put only your initialization code into a header contributor. -igor On Feb 1, 2008 12:54 PM, Edvin Syse <[EMAIL PROTECTED]> wrote: > > not sure we support that, or want to support it... > > if

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
dont use a listview, use a refreshingview and provide an itemreuse strategy. -igor On Feb 1, 2008 1:51 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi Igor, > > Finally I'm able to find out the exact issue. > suppose There are 3 items in the list- > wicket will assign id as 0, 1 & 2. to those item

Re: Can you control the order of contra added headercontributors?

2008-02-01 Thread Igor Vaynberg
its not that it isnt "smart"...the problem here is that wicket:head and iheadercontributor are two disjointed concepts, even though it kinda looks like they do the same thing. all that wicket:head does is collect markup and stick it into the head element, it doesnt know whats inside - its just a st

Re: Can you control the order of contra added headercontributors?

2008-02-01 Thread Igor Vaynberg
i really dont get why the people packaging these libs together dont provide a simple load_once check... can you not modify the version of jquery.js your designer is including to do such a check? -igor On Feb 1, 2008 2:41 PM, Edvin Syse <[EMAIL PROTECTED]> wrote: > > That would still require me

Re: Can you control the order of contra added headercontributors?

2008-02-01 Thread Igor Vaynberg
On Feb 1, 2008 2:53 PM, Edvin Syse <[EMAIL PROTECTED]> wrote: > > i really dont get why the people packaging these libs together dont > > provide a simple load_once check... > > > > can you not modify the version of jquery.js your designer is including > > to do such a check? > > Yes I can. But how

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
for the strategy to work properly you have to implement equals/hashcode on the model, looks like you are just doing: new Model( (Vehicle) ((List)getModelObject()).get(i)) Model does not implement equals/hashcode -igor On Feb 1, 2008 4:03 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Ya I tried re

Re: How to delete an item from List view.

2008-02-01 Thread Igor Vaynberg
read the notice part of the javadoc... -igor On Feb 1, 2008 5:49 PM, pnerkar <[EMAIL PROTECTED]> wrote: > > Hi igor, > > Ya I read this from one of ur doc. > http://www.wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/repeater/refreshing/ReuseIfModelsEqualStrategy.html

Re: How to delete an item from List view.

2008-02-02 Thread Igor Vaynberg
"in depth" wiki entry would avoid these questions on this mail > list? Just a suggestion (once i am facing the same probles, i would > not be the right person to do that :( ) > > > > On Feb 2, 2008 12:01 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: &

Re: A submit link that can be used with

2008-02-02 Thread Igor Vaynberg
why exactly is it a chore? you only have to write it once... -igor On Feb 2, 2008 8:55 PM, <[EMAIL PROTECTED]> wrote: > Hello: > All the books and examples I have read to deal with situation like datatable > that would not accept normal Link since it is not anchored with wicket:id>, the sugge

Re: How to delete an item from List view.

2008-02-02 Thread Igor Vaynberg
ECTED]> wrote: > On Feb 2, 2008 2:19 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > well, thats the problem. you say you are not the right person because > > you dont know. and that is the excuse a lot of users give for not > > writing the wiki page. but guess wh

Re: Help in ajax repainting of table

2008-02-03 Thread Igor Vaynberg
what happens if you change ajaxbutton to regular button? does the update happen properly then? -igor On Feb 3, 2008 1:41 AM, Vijay Dharap <[EMAIL PROTECTED]> wrote: > Hi, > > I am fairly new to world of wicket. so my issue might be something very > trivial. > I am using a simple form to input som

Re: Help in ajax repainting of table

2008-02-03 Thread Igor Vaynberg
howingthe contents which i had just entered in the form. I am still to > fgure ut how to retrieve old list from the session so that entire table > can be replicated in more than one submis. > > Regards, > Vijay Dharap > > > Igor Vaynberg wrote: > > what happens if you c

Re: Localization Question

2008-02-03 Thread Igor Vaynberg
why not simply have exception provide resource key for messages instead of messages themselves, that way you can do onclick() { try { dosomething(); } catch (BusinessException e) { error(getString(e.getMessageKey())); } } ie push the actual localization into the ui. -igor On Feb 3, 2008 12

Re: Feedback Panel

2008-02-03 Thread Igor Vaynberg
that seems weird, unless you expect these messages to show across a request, then use session.info/warn/error instead. -igor On Feb 3, 2008 9:42 PM, mms770 <[EMAIL PROTECTED]> wrote: > > There is ample documentation and examples on the use of the feedback panel to > display form errors. I am try

Re: AjaxLink, BookmarkablePageLink and feedback problem

2008-02-04 Thread Igor Vaynberg
please file a jira issue with a quickstart -igor On Feb 4, 2008 7:41 AM, Vatroslav <[EMAIL PROTECTED]> wrote: > > I have noticed very strange behaviour of feedback messages when using > AjaxLink and BookmarkablePageLink on the same page. > > Code example is attached to the message. > http://www.n

Re: A submit link that can be used with

2008-02-04 Thread Igor Vaynberg
no framework is perfect. when you have a good idea on how to do this you are free to start a wicket-stuff project. -igor On Feb 4, 2008 1:39 AM, <[EMAIL PROTECTED]> wrote: > That is what I meant. If wicket comes with such a commonly used > component, it would save a lot of time for both users a

Re: How to delete an item from List view.

2008-02-04 Thread Igor Vaynberg
you lose values that werent validated if you do that, because those are stored in components themselves... -igor On Feb 4, 2008 6:15 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > You do use a delete button, so i guess the values are submitted. > Then if you store those first in the model obje

Re: adding conditional component

2008-02-04 Thread Igor Vaynberg
when a component is not visible its markup tag is not rendered either -igor On Feb 4, 2008 4:16 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Thanks Janos! This will solve the problem! Although it has extra unused tag > in the markup. > > Regards, > Wen Tong > > -- > The only constant in

Re: strange DropDownChoice display

2008-02-04 Thread Igor Vaynberg
whe the first is submitted you have to set the second one's model object to null -igor On Feb 4, 2008 4:59 PM, <[EMAIL PROTECTED]> wrote: > Hello: > I am using two dropdownchoices, after the first select, the second would get > data on the fly using the first choice. The first round everythin

Re: The type wicket.Component cannot be resolved. It is indirectly referenced The type wicket.Component cannot be resolved. It is indirectly referenced from required .class files

2008-02-04 Thread Igor Vaynberg
datepicker is in wicket-datetime.jar -igor On Feb 4, 2008 7:44 PM, Fernando Wermus <[EMAIL PROTECTED]> wrote: > Timo, > Thanks! It is obvious. But I am trying to find the zip file with > DataPicker for wicket 1.3 and I can't find it. > I am not mavenized! > > > > On Feb 5, 2008 1:28 AM,

Re: strange DropDownChoice display

2008-02-04 Thread Igor Vaynberg
but it is not just like it was after it has been created is it? it is currently holding a value from the request. anywho: secondchoiceSelected=null; secondchoicedropdownchoice.clearInput(); and you will have what you want. -igor On Feb 4, 2008 7:36 PM, <[EMAIL PROTECTED]> wrote: > The followi

Re: Why has my page expired?

2008-02-04 Thread Igor Vaynberg
i dont think the page actually expires, i think wicket cant find it anymore. are the cookies enabled in the browser? how are you deploying your app? show us the code to the link. show us your web.xml -igor On Feb 4, 2008 8:53 PM, Sri Sankaran <[EMAIL PROTECTED]> wrote: > > Wicket Version: 1.3

Re: DatePicker Problem

2008-02-04 Thread Igor Vaynberg
you have an old version of wicket.jar, looks like wicket-datetime jar you are using was compiled against a newer verison of wicket you could just use maven to manage all these dependencies, that way you dont run into crap like this. our website will even generate the maven command line to crate a

Re: Ajax Feedback Problem in 1.3

2008-02-05 Thread Igor Vaynberg
rename your foo.zip to foo.iamzip and attach it to the email. -igor On Feb 4, 2008 3:48 AM, SantiagoA <[EMAIL PROTECTED]> wrote: > > Hi again, > > I made a little example project with eclipse where you could take a look at > the problem, because maybe my english is not good enough to explain rig

Re: strange DropDownChoice display

2008-02-05 Thread Igor Vaynberg
the component remembers its submitted value and tries to rerender itself using that. this value is cleared when the form is processed, but remember you havent processed the form - you only processed the first dropdownchoice. -igor On Feb 5, 2008 2:35 AM, <[EMAIL PROTECTED]> wrote: > This worked

Re: Which wicket-ajax.js method will allow me to update a component using an AJAX request initiated from another component.

2008-02-05 Thread Igor Vaynberg
where does ajaxBehave come from? -igor On Feb 5, 2008 8:13 AM, Michael O'Cleirigh <[EMAIL PROTECTED]> wrote: > Hello, > > I have a wicket Panel with the following structure: > > 1. drop down choice to select value > 2. text field to specific contextual value details > 3. help link to allow the u

Re: loosely coupled panels: react to model object change

2008-02-05 Thread Igor Vaynberg
see https://issues.apache.org/jira/browse/WICKET-1312 -igor On Feb 5, 2008 2:05 AM, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > Hi! > > We are trying to build our application from loosely coupled panels, > sharing models here and there as needed. > It works wounderfully 90% of the time: as long a

Re: Why has my page expired?

2008-02-05 Thread Igor Vaynberg
tried your code here and it works just fine. not sure where your problem is. perhaps you can generate your project using our maven archetype and try again there. -igor On Feb 5, 2008 6:16 AM, Sri Sankaran <[EMAIL PROTECTED]> wrote: > > The behavior is unchanged whether I deploy my app as a WAR o

Re: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Igor Vaynberg
wicket has a throttle which works on time not on number of characthers, for that you need to roll your own javascript -igor On Feb 4, 2008 3:54 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > What is the preferred way of delaying the Javascript call to > getChoices() until a certain amount of ch

Re: html hotswap

2008-02-05 Thread Igor Vaynberg
are you configuring wicket in development mode or in deployment mode? in development mode wicket will reload changed resources like html and .properties files automatically. -igor On Feb 5, 2008 11:12 AM, JSP lover <[EMAIL PROTECTED]> wrote: > > Hi, > >Excuse me for my ignorance, but my team

Re: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Igor Vaynberg
wicket's ajax behaviors have setThrottleDelay() you can use -igor On Feb 5, 2008 11:34 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I'd be happy with the throttle - how do I enable that? > > -Original Message----- > From: Igor Vaynberg [mailto:[EMAIL PROTECTE

Re: duplicate HeaderContributor with ModalWindow

2008-02-05 Thread Igor Vaynberg
dont really know if it will help but can you try the trunk of 1.2.6 branch. there have been a few fixes committed. -igor On Feb 5, 2008 1:55 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > Perhaps of interest is the fact that the link to open the 1st > ModalWindow from the original page makes a wic

Re: Passing list of POJOs to AutoCompleteTextField?

2008-02-05 Thread Igor Vaynberg
cting it and populate > the remainder of the form. This seems to be the tough part... Again, any > help would be appreciated. > > Thanks!! > > Michael > > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 29, 2008 11

Re: Reloading resource

2008-02-05 Thread Igor Vaynberg
this should automatically be happening if you run wicket in development mode. that call you do is not necessary. -igor On Feb 5, 2008 3:01 PM, gantini <[EMAIL PROTECTED]> wrote: > > Nothing to help me? > > > > gantini wrote: > > > > I'm very new with Wicket. > > It is possible to automatically r

Re: Passing list of POJOs to AutoCompleteTextField?

2008-02-05 Thread Igor Vaynberg
> options for that query string one more time, and take the POJO whose > rendered string matches the user-selected text. > > I'm probably missing something obvious, but I don't think > getModelObject() is it... > > > > > -- > Sam Barnum > 360 Works >

Re: Evaluating Wicket

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 5:12 AM, René Samselnig <[EMAIL PROTECTED]> wrote: > > Hi people, > > currently I'm evaluating wicket as the future framework in our company. I > already found a lot of information but still there is some missing. I hope > you can help me out answering these questions. > > * What exp

Re: Block second click

2008-02-06 Thread Igor Vaynberg
there is a mask component in wicketstuff-minis. you can write a call decorator that will bring up the mask that will cover the whole screen and prevent the user from clicking. -igor On Feb 6, 2008 4:37 AM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > Hello, > > I have a Link (not Ajax) on a co

Re: Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Igor Vaynberg
you have to make wicket tester use _your_ application subclass -igor On Feb 6, 2008 8:50 AM, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote: > Hi all > > I'm writing test cases for my wicket application (1.2.6), and I'm > having problems with the ResourceModel and StringResourceModel. It > seems

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 4:40 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 1. I've always experienced some sudden "session expiration" > problems with no apparent reason (I mean, the user wasn't > actually sleeping). But they happened only once in a while. > After upgrading to 1.3 they occur very often

Re: Problems with ResourceModel and StringResourceModel

2008-02-06 Thread Igor Vaynberg
Runner.runTests(RemoteTestRunner.java:673) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) > > > > > On Feb 6, 2008 1:55 PM, Igor Vaynb

Re: Some questions - mainly about session expiration and serialization

2008-02-06 Thread Igor Vaynberg
On Feb 6, 2008 10:28 AM, Fabrizio Giudici <[EMAIL PROTECTED]> wrote: > > > > > Are you using our modal window implementation or your own? > > Wicket implementation. BTW, I have another modal window that doesn't > create problem. I'll later post the code, when I'm able to cut it down. are you using

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Igor Vaynberg
tag.put("onclick","executeSomething();"+tag.getattributes().get("onclick")); -igor On Feb 6, 2008 10:39 AM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > I was wondering if there's a way to add or decorate a javascript call in > CheckBox? What I did was: > > new CheckBox("checkBox"

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
im on windows and have never experienced this... -igor On Feb 6, 2008 12:22 PM, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > I have seen the behavior but that seems to be endemic to windows. > I have not seen that on Linux or OS X. > > > On Wed, Feb 6, 2008 at 12:08 PM, gantini <[EMAIL PROTE

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
test it out this way: go here http://wicket.apache.org/quickstart.html copy and paste the maven command to create a quickstart project find the Start class, right click and do "run as java application" this will start embedded jetty, go to localhost:8080, then find Index.html, edit it, and refr

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
if not cglib i can rewrite that with asm, its license is very liberal and we can even embed it into wicket - at least thats what ive done for salve to avoid version conflicts with other asm versions. -igor On Feb 6, 2008 1:04 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > please share for Wic

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
org/foundation/licence-FAQ.html > > So I don't think there are any issues. :) > > Are there any issues with attaching a zip file to an e-mail, or would > you prefer another means? > > > On Feb 6, 2008 1:06 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > >

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Igor Vaynberg
> To: users@wicket.apache.org > > Sent: Wednesday, February 6, 2008 1:24:16 PM > Subject: Re: adding extra javascript call in CheckBox > > > > Thanks > Igor! > I > appreciate > the > prompt > reply. > > Best, > Wen > Tong > > -- > The

Re: Reloading resource

2008-02-06 Thread Igor Vaynberg
there is no tomcat-wicket integration, just like there is no jetty-wicket integration. you simply have to make your ide copy files to where tomcat loads them from when they are saved. -igor On Feb 6, 2008 3:11 PM, gantini <[EMAIL PROTECTED]> wrote: > > I don't wont using Jetty I'm Tomcat fan

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
i disagree. i dont think we should be doing more with cglib in core or any other bytecode magic. have you ever tried to walk code that uses bytecode generation? its a nightmare. one of my favorite things about wicket is that it is just java and its easy as hell to debug. im not really against putti

Re: CompoundModel based on proxies

2008-02-06 Thread Igor Vaynberg
i support it in a non-core module -igor On Feb 6, 2008 5:41 PM, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > > so you don't support this model then? > > > > igor.vaynberg wrote: > > > > i disagree. i dont think we should be doing more with cglib in core or > > any other bytecode magic. have you

Re: Settings focus to window opened by javascript appended to AjaxLink

2008-02-07 Thread Igor Vaynberg
also try calling target.focuscomponent(null). by default target will try to refocus the component that cause the ajax request. -igor On Feb 7, 2008 7:57 AM, Grzel <[EMAIL PROTECTED]> wrote: > > Hello, > I am using AjaxLink to open a new window using javascript. > The problem is that the focus is

Re: a note about AbstractSingleSelectChoice

2008-02-07 Thread Igor Vaynberg
please add to jira... -igor On Feb 7, 2008 2:08 AM, Sergiy Yevtushenko <[EMAIL PROTECTED]> wrote: > Hi all, > > In my app I was ought to subclass DropDownChoice just because of one small > implementation detail of AbstractSingleSelectChoice.getModelValue(): > > ... > public String getMod

<    4   5   6   7   8   9   10   11   12   13   >