Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread Igor Vaynberg
yes i have been while there were legal issues unresolved (we were waiting on other people for their iclas). now they all are afaik and we can do a release. so lets concentrate on that. if we do provide a new generified version, then lets make that 1.4 and make 1.3 the last jdk1.4 and put that

Re: [Wicket-user] Test of panels

2007-03-07 Thread Igor Vaynberg
looks like you are passing int he wrong path to the form? -igor On 3/7/07, Murat Yücel [EMAIL PROTECTED] wrote: Hi Jean Yes i have tried tester.newFormTester(form). I get the following error: junit.framework.AssertionFailedError: path: 'form' does no exist for page: DummyPanelPage at

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread Igor Vaynberg
sounds like you have a bad/wrong version cglib jar on your classpath the second way is better, the way the book describes is indeed deprecated -igor On 3/7/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Hi all I've a goal, a simple one I think : using Spring through annotations in my wicket

Re: [Wicket-user] Fwd: VOTE: backporting wicket 2.0 model change to 1.3

2007-03-07 Thread Igor Vaynberg
notice this will break any existing user imodel subclasses. mostly it should be trivial to fix, but if you do use the component argument in the get/set object it will not be so trivial. -igor On 3/7/07, Johan Compagner [EMAIL PROTECTED] wrote: In 2.0 we have a model change:

Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread Igor Vaynberg
http://wicketframework.org/ ? no problem here: vista/ffox 1.5.x -igor On 3/7/07, Xavier Hanin [EMAIL PROTECTED] wrote: On 3/7/07, remco bos [EMAIL PROTECTED] wrote: I just upgraded firefox (from 1.5.0.10 to 2.0.0.2). I still have the same problem... And it's not only my home pc, but also

Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread Igor Vaynberg
cause ff2 on vista has issues -igor On 3/7/07, Johan Compagner [EMAIL PROTECTED] wrote: igor! FF1.5?? why use such an old thing why you use such a just new maybe barely release worthy os? ;) johan On 3/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote: http://wicketframework.org

Re: [Wicket-user] Wicket homepage Lucida Sans font

2007-03-07 Thread Igor Vaynberg
ff2 worked find on xp -igor On 3/7/07, Johan Compagner [EMAIL PROTECTED] wrote: is it vista or ff2 ;) On 3/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote: cause ff2 on vista has issues -igor On 3/7/07, Johan Compagner [EMAIL PROTECTED] wrote: igor! FF1.5?? why use such an old

Re: [Wicket-user] Issue when trying to specify Spring dependency through annotations

2007-03-07 Thread Igor Vaynberg
ah well, thats the problem. cglib is a requirement of wicket-spring. it is in the pom.xml -igor On 3/7/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Thanks for your reply. However, I don't understand how come this issue with the cglib jar, which I don't even have in my classpath... In case

Re: [Wicket-user] was Re: Fwd: VOTE: backporting wicket 2.0 model change to 1.3

2007-03-07 Thread Igor Vaynberg
lets keep the roadmap discussion out of this thread. -igor On 3/7/07, Al Maw [EMAIL PROTECTED] wrote: Johan Compagner wrote: In 2.0 we have a model change: [...] 1 port it to 1.3 2 don't port it to 1.3 I'm afraid I'm very much -1 on this for 1.3. I have a bunch of really complex models

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-07 Thread Igor Vaynberg
On 3/7/07, aozster [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: 2) What do you think of the constructor change? Do you prefer 1.3's add style or 2.0's style of passing in the parent construction time. After I've read wiki about the constructor change I suddenly oppose this idea.

Re: [Wicket-user] Exception using @SpringBean and HibernateSessionFactory - wicket 1.3

2007-03-06 Thread Igor Vaynberg
do like the message says: You can switch to JDK based serialization by calling: wicket.util.lang.Objects.setObjectStreamFactory(new IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init method of your application i think there is a bug in our optimized serialization where it

Re: [Wicket-user] Pushing data to the Ajax client in wicket?

2007-03-06 Thread Igor Vaynberg
class NewChatMsgEvent implements ComentEvent { ... } final WebMarkupContainer chatwindow=new WebMarkupContainer(chatwindow); chatwindow.add(new CometBehavior(NewChatMsgEvent.class) { protected void onEvent(CometEvent e, ComentTarget t) {

Re: [Wicket-user] Question: Sometimes our web pages come back incomplete.

2007-03-06 Thread Igor Vaynberg
ive only heard of this happening when wicket pages were rendered inside sitemesh, is that what you are doing? -igor On 3/6/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: It seems as though some of the data just doesn't come back until we do a refresh. We're using wicket 1.2.5. We've got a

Re: [Wicket-user] Question: Sometimes our web pages come back incomplete.

2007-03-06 Thread Igor Vaynberg
im not sure if a solution has been found. afaik its some weird bug in sitemesh. search the mailing list for sitemesh to see other threads -igor On 3/6/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: On Tuesday, 06 March 2007 10:57 am, Igor Vaynberg escreveu: ive only heard of this happening

Re: [Wicket-user] Wicket Spring Annotations

2007-03-06 Thread Igor Vaynberg
the released wicket-spring-annot jar is bad, rebuild it from source or use the one from 1.2.4 -igor On 3/6/07, jklcom99 [EMAIL PROTECTED] wrote: I'm trying out Wicket Spring Annotation Integration example and I'm getting this error at server startup 2007-03-06 13:32:29.030::WARN: failed

Re: [Wicket-user] Using the session

2007-03-06 Thread Igor Vaynberg
On 3/6/07, Jason Roelofs [EMAIL PROTECTED] wrote: Would you mine expounding on this a little more? This comes across to me as it's bad programming practice to follow paradigms set in place for the past 10+ years (Web session being a hash of strings at it's most basic implementation). so why

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-06 Thread Igor Vaynberg
pros: * free to call any method in the constructor like getpage(), urlfor(), etc. * access to markup attributes in constructor as opposed to render time * fail at component instantiation time rather then render time if there is a hierarchy-java mismatch - so you get a java line-precise error

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-06 Thread Igor Vaynberg
/07, cowwoc [EMAIL PROTECTED] wrote: Why does code explosion happen as a consequence of the constructor change? Gili Igor Vaynberg wrote: pros: * free to call any method in the constructor like getpage(), urlfor(), etc. * access to markup attributes in constructor as opposed

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-06 Thread Igor Vaynberg
well it is useful when constructing javascript behaviors because they can create urls to pass to javascript at construction time instead of doing it at a later point (onattach?). but it is mere convinience. -igor On 3/6/07, Jonathan Locke [EMAIL PROTECTED] wrote: just thinking out loud,

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-06 Thread Igor Vaynberg
yeah, with our new headercontributor stuff some of these problems no longer matter -igor On 3/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote: i don't care to much about accessing markup attributes in the constructor because i don't care much about driving code from markup. If you create

Re: [Wicket-user] IMPORTANT: your opinion on the constructor

2007-03-06 Thread Igor Vaynberg
On 3/6/07, Stefan Lindner [EMAIL PROTECTED] wrote: To speak as an end-user: 2) What do you think of the constructor change? Do you prefer 1.3's We prefer the 2.0 constructor. what about it do you prefer? in most cases. But I was convinced of the advantages that the new constructor has

Re: [Wicket-user] Exception using @SpringBean and HibernateSessionFactory - wicket 1.3

2007-03-06 Thread Igor Vaynberg
if its injected through @springbean its ok -igor On 3/6/07, Al Maw [EMAIL PROTECTED] wrote: Michel Wichers wrote: we received the following exception within a WebPage using an injected SpringBean - HibernateSessionFactory via sublassed LocalSessionFactoryBean : ...

Re: [Wicket-user] Exception using @SpringBean and HibernateSessionFactory - wicket 1.3

2007-03-06 Thread Igor Vaynberg
create a jira issue and assign it to johan :) -igor On 3/6/07, Michel Wichers [EMAIL PROTECTED] wrote: Hi Igor, using the default factory works ... however a fix would be great ;-) Thanks for your help. Regards, Michel Igor Vaynberg schrieb: do like the message says: You can switch

Re: [Wicket-user] Questions about non-wicket ajax call to wicket component

2007-03-05 Thread Igor Vaynberg
see ComponentRequestTarget which will render a markup of a certain component only and RequestCycle.urlFor(Component,RequestInterface) which will create a url to any callback method on any component -igor On 3/5/07, Michael K [EMAIL PROTECTED] wrote: Hi, I got a problem when i tried to

Re: [Wicket-user] StatelessForm and setRedirect(true) in the onSubmit method

2007-03-05 Thread Igor Vaynberg
dont know if there is a problem with stateless pages and redirects, but wicket's default redirect-to-buffer render strategy should already eliminate that popup by performing a redirect -igor On 3/5/07, Matthew Kwong [EMAIL PROTECTED] wrote: Hi guys, I encountered a problem in the stateless

Re: [Wicket-user] URL problem in phonebook app

2007-03-05 Thread Igor Vaynberg
in latest 1.3 the wicket path param should not be necessary because wicket will scan your web.xml to find it for you -igor On 3/5/07, John Patterson [EMAIL PROTECTED] wrote: I have reverted to Wicket 1.3 now because of this and the NPE problem being thrown due to a null version manager. So

Re: [Wicket-user] removeComponent?

2007-03-05 Thread Igor Vaynberg
maybe you are not using a detachable model for your listview? -igor On 3/5/07, Jason Roelofs [EMAIL PROTECTED] wrote: How do I tell Wicket to clear out an object who's underlying implementation (db record, in this case) was just deleted? Current flow: - Delete link clicked, sends Ajax

Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Igor Vaynberg
wicketstuff.org/wicket13 -igor On 3/5/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Wicket exemple is down : http://www.wicket-library.com/wicket-examples I got a proxy error. - Take Surveys. Earn Cash. Influence the

Re: [Wicket-user] Wicket exemples down

2007-03-05 Thread Igor Vaynberg
yes, thats the idea -igor On 3/5/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Thanks. Will it be the new standard example server. I use it often just to get simple idea most of the time! :) On 3/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: wicketstuff.org/wicket13 -igor On 3/5/07

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Igor Vaynberg
where is the link to the page? or are you not able to create it at all? wiki is open to anyone to edit as long as you create a login. -igor On 3/5/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I'm trying to post in the wiki but in the middle of the process I try to save

Re: [Wicket-user] Fwd: removeComponent?

2007-03-05 Thread Igor Vaynberg
that should be ifne provided that HibernateListModel is detaching properly. i dont use databinder so i couldnt tell you. maybe you should post this on the databinder mailing list. if it is indeed detaching properly then the wicket-side of things looks fine. maybe you are caching the query in

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-03-05 Thread Igor Vaynberg
called Creating a FormComponent AjaxBehavior was not saved. Do you want to resume editing or discard it? that my page, but a can't resume or discard it. On 05-03-2007, at 15:22, Igor Vaynberg wrote: where is the link to the page? or are you not able to create it at all? wiki is open to anyone

Re: [Wicket-user] Error with 1.2.5 and Spring

2007-03-05 Thread Igor Vaynberg
i think the released wicket-spring jar is foobared. can you try building from source? -igor On 3/5/07, Matt Welch [EMAIL PROTECTED] wrote: I'm only just now upgrading to Wicket 1.2.5 and I've run into an issue. I'm certain this is an problem on my side and not a bug because other people would

Re: [Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Igor Vaynberg
override getprefix/getsuffix to return whatever html you want -igor On 3/5/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: I know that must be a dumb question, but I just can't quite get it. - Take Surveys. Earn Cash.

Re: [Wicket-user] building wicket-stuff snapshots

2007-03-05 Thread Igor Vaynberg
nothing special, just mvn install the webserver links to the local maven repository :) -igor On 3/5/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I'm working on setting up the wicket-contrib-scriptaculous project on the wicket-stuff bamboo server, and would like to know if it's possible to have

Re: [Wicket-user] How do I make CheckBoxMultipleChoice show horizontal instead of vertical?

2007-03-05 Thread Igor Vaynberg
well if you want it to be horizontal then you can do something like this: setprefix(div style=\float:left;\); setsuffix(/div); -igor On 3/5/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: On Monday, 05 March 2007 04:22 pm, Igor Vaynberg escreveu: override getprefix/getsuffix to return

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Igor Vaynberg
onattach() { if (size()1) throw new IllagelStateException(more then one child added to component that must only have one child); } -igor On 3/5/07, Chris Lintz [EMAIL PROTECTED] wrote: Hi all, I have just found an annoying design flaw that prevents me from creating components that need

Re: [Wicket-user] Components final add() method a flaw by design?

2007-03-05 Thread Igor Vaynberg
why? whats the point? you would generate a runtime exception in both cases. in some variant of add you would fail earlier then in onattach, but the error message makes it very clear what is wrong. its just bloat imho. you will never have a design that pleases everyone, in this case i dont think

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Igor Vaynberg
do the urls in those img tags point back to the page? :) eg img src=/ will do it -igor On 3/5/07, Corey Puffalt [EMAIL PROTECTED] wrote: Hi... I'm new to Wicket so hopefully this will be obvious to someone else. I'm seeing what seems (to me) to be strange behavior. I've got a page into

Re: [Wicket-user] Unexplained behavior...

2007-03-05 Thread Igor Vaynberg
to be triggering the extra page constructions look like img src=gif/image.gif. (I only know this because the PageParameters seem to be gif = image.gif.) Corey On 3/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: do the urls in those img tags point back to the page? :) eg img src=/ will do it -igor

Re: [Wicket-user] Absolute minimal Hello World sample not working

2007-03-04 Thread Igor Vaynberg
i think this is generally an antipattern. its never a good idea to put jars like wicket,spring into server's shared lib dirs because anything static then becomes shared across all webapps. it can have some strange sideffects. for example take wicket's springbean injection stuff. it keeps the

Re: [Wicket-user] multi-file upload component

2007-03-03 Thread Igor Vaynberg
look inside the javascript: * Licence: * Use this however/wherever you like, just don't blame me if it breaks anything. that IS the license. the attribution is completely optional. it is there in devel mode, but will be gone in prod mode because the js will be stripped/compressed. i already

Re: [Wicket-user] How to submit a form using a LINK and NO JAVASCRIPT

2007-03-03 Thread Igor Vaynberg
with no javascript a link cannot submit a form, only input type=submit/ can, so use that. so you need pagination that uses input type=submit elements -igor On 3/3/07, Shams Mahmood [EMAIL PROTECTED] wrote: Hi, I an caught up in a problem where I cannot use javascript, but i need a Link to

Re: [Wicket-user] Defining link text for a ListView

2007-03-02 Thread Igor Vaynberg
most components in wicket are. the nesting of components must follow the nesting in html. -igor On 3/2/07, Chris Colman [EMAIL PROTECTED] wrote: instead of item.add(new link(categoryLink){}); item.add(new label(categoryname)) do Link link=new linke(categoryLink); item.add(link);

Re: [Wicket-user] RequestCycle ThreadLocal

2007-03-02 Thread Igor Vaynberg
but why are these things tied to request threads? doesnt sound like they should be. -igor On 3/2/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 3/2/07, Robert . [EMAIL PROTECTED] wrote: Well, I am converting an existing Tapestry application to Wicket (due to performance and stability

Re: [Wicket-user] Difference between Wicket FileUpload and Apache Commons FileUpload

2007-03-02 Thread Igor Vaynberg
it is a copy, what we did was take out whatever pieces we needed from the commons-upload. that way we dont have an extra dependency and we only use the small portion that we need. -igor On 3/2/07, MadDog [EMAIL PROTECTED] wrote: Wicket's FileUpload component appears to be an exact copy(or

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
the niceset woiuld be to use panels instead of pages. that way you mount a page onto /mountpoint, when its hit you read the rest of the parameters, query the db for the panel class, instantiate it and add it to the page. nice and clean. there is really very little difference between page and

Re: [Wicket-user] Query Regarding Data Table

2007-03-01 Thread Igor Vaynberg
in datatable you cannot insert rows in arbitrary format - it really is a datagrid. what you want is to go higher in the hierarchy and use a dataview, that way you are in total control of rows and columns. -igor On 3/1/07, Anupama pullela [EMAIL PROTECTED] wrote: Hi, Is there a way to insert

Re: [Wicket-user] Resuable AddressPanel

2007-03-01 Thread Igor Vaynberg
the address object. it would need to be there whether or not you were doing any of this conversion or not. -igor Kind regards /Murat Yücel 2007/2/28, Igor Vaynberg [EMAIL PROTECTED]: why use a type converter? you are not converting types... i would use a model to do this class addrlinemodel

Re: [Wicket-user] repeaters and inheritance

2007-03-01 Thread Igor Vaynberg
but you can do that listview has newlistitem, there you can create the proper listitem subclass then in populate item you do item.add(((MyItem)item).getPricingPanel()) it is simply a matter of taste - whether something like this belongs in the class hierarchy or is it orthogonal and merits

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
, resolvedparams); } else { return super.newPage(pageClass, parameters); } } MyFactoryPage is just an empty page, it really only serves as a marker for when you hit that mount point. makes sense? -igor On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: the niceset woiuld be to use panels instead

Re: [Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Igor Vaynberg
you are adding two behaviors to the same button that both compete for the onclick attribute - a formcomponentupdatingbehavior and ajaxformsubmitbehavior. you have two choices: create a compound behavior out of the two or let the ajaxformsubmitbehavior implement iajaxindicatoraware directly

Re: [Wicket-user] Ajax indicators and form submits

2007-03-01 Thread Igor Vaynberg
. -igor On 3/1/07, Johan Compagner [EMAIL PROTECTED] wrote: can't we attach those different ajax behaviors now with the new wicket-event.js? johan On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you are adding two behaviors to the same button that both compete for the onclick attribute

Re: [Wicket-user] Dynamic Page creation from db

2007-03-01 Thread Igor Vaynberg
wouldn't have thought of that. That solves it. Thanks! On 3/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: so now that ive looked at ipagefactory what you want should be pretty easy if you still want to use pages mount a MyFactoryPage onto the /mountpointurl using indexedurlcodingstrategy

Re: [Wicket-user] Redirecting to another internal page

2007-03-01 Thread Igor Vaynberg
throw new restartresponseexception -igor On 3/1/07, David Robison [EMAIL PROTECTED] wrote: I have a wicket application where, when I'm constructing the requested page, if I detect an error, I want to stop processing the page and redirect to another page and display the error. However,

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page

2007-03-01 Thread Igor Vaynberg
can we see the stacktrace please? -igor On 3/1/07, Aaron Hiniker [EMAIL PROTECTED] wrote: I implemented a drag-n-drop using scriptaculous. On my home PC, everything was working fine, I can drag my products into a droppable container and the container updates itself via AJAX just fine no

Re: [Wicket-user] Specifying a class for the p's generated by MultiLineLabel

2007-03-01 Thread Igor Vaynberg
style .multi p { font-color:red;}/style div class=multi wicket:id=multilinelabel/div -igor On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote: Is it possible to specify the CSS class for the p's generated by the MultiLineLabel component? Currently it generates: pfirst line/p psecond line/p

[Wicket-user] multi-file upload component

2007-03-01 Thread Igor Vaynberg
a few people were talking about the need to have a component that can upload multiple files as opposed to creating a bunch of fileuploadfields. last night i implemented one. see multifileuploadfield and its example [1]. right now its only in 1.x, once its been flushed out/field tested i will port

Re: [Wicket-user] Congratulations on Wicket's error reporting

2007-03-01 Thread Igor Vaynberg
glad to hear it -igor On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote: I must congratulate the Wicket developers on Wicket's error reporting system. It's truly magnificent. Whenever I have an error in my markup or a problem in one of my Java classes Wicket displays a HTML page with a very

Re: [Wicket-user] AJAX Issue - component not enabled or visible, redirecting to calling page - CLOSED

2007-03-01 Thread Igor Vaynberg
/classes directory. I did a mvn clean install, redeployed and now everything works as expected. My bad.. sorry.. Aaron Aaron Hiniker wrote: There is no stack trace, only the log output from AbstractRequestTargetResolverStrategy. I have DEBUG logging enabled as well. Aaron Igor Vaynberg wrote

Re: [Wicket-user] help: how to reverse the order of RepeatingView's children

2007-03-01 Thread Igor Vaynberg
override repeatingview.renderiterator() and reverse the order -igor On 3/1/07, Otan [EMAIL PROTECTED] wrote: [Wicket 2.0] The javadoc says that RepeatingView renders all of its children in order they were added. Could anyone give me a pointer or a demonstration on how to reverse the order of

Re: [Wicket-user] Defining link text for a ListView

2007-03-01 Thread Igor Vaynberg
instead of item.add(new link(categoryLink){}); item.add(new label(categoryname)) do Link link=new linke(categoryLink); item.add(link); link.add(new label(categoryname)); -igor On 3/1/07, Chris Colman [EMAIL PROTECTED] wrote: I have a list view and I need each item in the list to display a

Re: [Wicket-user] Ajax Link + IE7 problem

2007-02-28 Thread Igor Vaynberg
the only reason it wouldnt work is that the table captures the onclick event and doesnt bubble it up to the link. but, in general, you shouldnt use table inside anchors as was said -igor On 2/28/07, Dipu [EMAIL PROTECTED] wrote: Thanks very much , if thats the case then i can inform the

Re: [Wicket-user] Nicer URLs

2007-02-28 Thread Igor Vaynberg
http://wicketstuff.org/wicket13/niceurl/ -igor On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote: Today I hit the critical mass of connections between neurons in my brain required to grasp Wicket and I have to say - Wicket rocks massively! A while back I designed my own *little* component

Re: [Wicket-user] Resuable AddressPanel

2007-02-28 Thread Igor Vaynberg
why use a type converter? you are not converting types... i would use a model to do this class addrlinemodel implements imodelstring { private imodel addrmodel; public String getobject() { address addr=addrmodel.getobject(); return addr.streetnumber+ +addr.streetname; }

Re: [Wicket-user] Field validation + FeedbackIndicator + Ajax

2007-02-28 Thread Igor Vaynberg
would be cool if you could create a wiki page explaining how you built it. not only is it a cool component, but outlining the process will help others a lot. -igor On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, the alerticon contains the tooltip, just pass the

Re: [Wicket-user] Can templates have an extension other than .html?

2007-02-28 Thread Igor Vaynberg
that is an interesting comment indeed. if it was really true then webpage.getmarkuptype() would be final. anyone else mind to comment? -igor On 2/28/07, Matt Welch [EMAIL PROTECTED] wrote: I'm a little concerned by the Note int he javadocs for this method: Note: The markup type must be

Re: [Wicket-user] FormComponent mask

2007-02-28 Thread Igor Vaynberg
zapatec do it with javascript, which is really the only way to go about it. once you figure out the javascript it is trivial to hook it into wicket. -igor On 2/28/07, Manuel Alejandro de Brito Fontes [EMAIL PROTECTED] wrote: Hi, I have a question about field mask, It's possible do something

Re: [Wicket-user] FormComponent mask

2007-02-28 Thread Igor Vaynberg
or not. In addition if I do formcomponent.validate() and formcomponent.isValid () returns false. The explication is confused or I'm confused? On 28-02-2007, at 16:04, Igor Vaynberg wrote: zapatec do it with javascript, which is really the only way to go about it. once you figure out

Re: [Wicket-user] Multiple sections of markup replaced by subclassed markup

2007-02-28 Thread Igor Vaynberg
no we do not, but what we do support is wicket:headstuff/wicket:head which will put stuff into head element of the page so wicket:head.../wicket:headwicket:extend.../wicket:extend -igor On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote: I have a situation where I have the need to place a

Re: [Wicket-user] mountBookmarkablePage causes 'no session' error

2007-02-28 Thread Igor Vaynberg
are you sure you need to specify a different pagemap? that is only needed when you work with frames/popups meanwhile ive reopened the issue. -igor On 2/28/07, Chris Colman [EMAIL PROTECTED] wrote: http://wicketstuff.org/maven/repository/org/apache/wicket/ where is the link to the bug?

Re: [Wicket-user] Tree Node Link and Page Expired Issue

2007-02-28 Thread Igor Vaynberg
what you want is getsessionsettings().setpagemapevictionstrategy(new leastrecentlyaccessedevictionstrategy(15)) -igor On 2/28/07, Lan Boon Ping [EMAIL PROTECTED] wrote: Hi all, I have a Page Expired issue in tree node link, for example I have a tree, when i click on any node 6 times or

Re: [Wicket-user] Using wicket:enclosure

2007-02-27 Thread Igor Vaynberg
read the javadoc of enclosure resolver -igor On 2/27/07, Otan [EMAIL PROTECTED] wrote: I'm using the head in trunk. I'm getting the following error: java.text.ParseException: Unkown tag name with Wicket namespace: 'enclosure'. Might be you haven't installed the appropriate resolver? What

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg
changing the parent an item can shift between rows as items are removed and added so it needs to be attached to different items -igor On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote: changing the parent? or attach it to the parent again after removing? johan On 2/13/07, Igor Vaynberg

Re: [Wicket-user] xhtml compliant TabbedPanel

2007-02-27 Thread Igor Vaynberg
no special need. i thought i already changed it to a div a while back...but i guess not. please create a jira issue. -igor On 2/27/07, Ivo van Dongen [EMAIL PROTECTED] wrote: Thanks, I'll Try that. I was just wondering if there was some special need for that span or that it just as well

Re: [Wicket-user] NPE in find method of MarkupFragmentFinder class...

2007-02-27 Thread Igor Vaynberg
sounds pretty strange, show us your code -igor On 2/27/07, Swaroop Belur [EMAIL PROTECTED] wrote: Hello all In the find method there is this piece of code which compares a tag's ID to another component's id Code snippet [ ...

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg
why clone? why not have a reassign(parent) or some such method on the component? -igor On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote: that would be a problem Some how we have do a clone with a new parent: component.clone(parent) johan On 2/27/07, Igor Vaynberg [EMAIL PROTECTED

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg
then because reassign() has to call something on the parent (add) i guess package scope will work for this Then we have all the things we now can do in the constructor that don't work anymore like the markup id. the attributes of the tag. etc. johan On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg
reshuffles it still the case? johan On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote: well yeah, it should only be used in rare circumstances. the javadoc should describe what borks when this is used -igor On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote: we can do

Re: [Wicket-user] DropDownChoice confusion

2007-02-27 Thread Igor Vaynberg
On 2/27/07, Jason Roelofs [EMAIL PROTECTED] wrote: Why can't I have: add(new DropDownChoice(gated, model, {AND, OR}, {, |}); or better yet: add(new DropDownChoice(gated, model, { {, AND}, {|, OR}}); you can class mydropdownchoice extends dropdownchoice { public mydropdownchoice(id,

Re: [Wicket-user] DropDownChoice confusion

2007-02-27 Thread Igor Vaynberg
On 2/27/07, Jason Roelofs [EMAIL PROTECTED] wrote: Your example, Eelco, is amazingly verbose, but I can see how it works. However, to Igor, what is wrong with a hard-coded list of values for a select box? Why is my suggestion of doing it so wrong, or not fitting in the Wicket philosophy?

Re: [Wicket-user] How about a PrinterLink in Wicket Links

2007-02-26 Thread Igor Vaynberg
huh? -igor On 2/26/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: PrinterLink print = new PrinterLink(printoutlink, PageToPrint.class); any need for this - Take Surveys. Earn Cash. Influence the Future of IT

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Igor Vaynberg
yes, you can create user groups and assign them to projects, etc. so far no one from wicket-stuff asked to be added. you are an admin in bamboo btw, so you can add them too. -igor On 2/26/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Igor Vaynberg: if project/wicket-stuff

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-26 Thread Igor Vaynberg
give me the login name you want, and i will set you up an account -igor On 2/26/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Igor, I'd love to get the wicket-scriptaculous project involved in this as well. what account information do you need to set this up? On 2/26/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
List procedure = (List) item.getModelObject(); item.add(new Label(equipment, (String) procedure.get(0))); can procedure be null? because thats what it looks like. -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: I'm using Wicket 1.2.4 and working with a simple

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
give us the full stacktrace please -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: Thanks for the quick reply...procedure is not null at any point when this error is occurring. igor.vaynberg wrote: List procedure = (List) item.getModelObject();

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-26 Thread Igor Vaynberg
it should find the element once its been added to dom. perhaps you are calling the javascript that needs that id a tad too early? try target.appendjavascript instead of prepand -igor On 2/26/07, dukejansen [EMAIL PROTECTED] wrote: Yes, I've tested some more and I only get this error in my

Re: [Wicket-user] Newbie : Null Pointer on Page

2007-02-26 Thread Igor Vaynberg
it should be output into the log, so must be in the intellij console? -igor On 2/26/07, Stewr [EMAIL PROTECTED] wrote: Unfortunately I can't get the full stacktrace because the exception seems to be handled by the framework before it reaches my code. I can see the exception occur in the

Re: [Wicket-user] Uploading from an applet

2007-02-26 Thread Igor Vaynberg
On 2/26/07, MadDog [EMAIL PROTECTED] wrote: My questions are: 1. Is this the safe and correct place to do this? If not, where/when should I be able to safely call this code? yes, this is the place 2. What is the purpose of onAttach()? to allow components to perform some

Re: [Wicket-user] Unknown Runtime Exception in Ajax?

2007-02-25 Thread Igor Vaynberg
ive seen that in explorer before when it encounters something it cannot do (like change outerhtml of a tr). it is a very helpful message :) i bet that code looks like this try { processjavascript(); } catch (Throwable e) { // we should never get here throw new Exception(Unknown Error); } :)

Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?

2007-02-23 Thread Igor Vaynberg
if project/wicket-stuff maintainers add their projects to our bamboo instance the snapshots will be housed at wicketstuff.org/maven/repository -igor On 2/23/07, Gohan [EMAIL PROTECTED] wrote: Hi, Does anybody know of a maven repo for the wicket-stuff components such as wicket-dojo and

Re: [Wicket-user] DataTable (date format)

2007-02-23 Thread Igor Vaynberg
class datepropcol extends propertycolumn { imodel createlabelmodel(imodel rowmodel) { final imodel prop=super.createlabelmodel(rowmodel); return new abstractreadonlymodel() { object getobject() { Date date=(Date)prop.getObject(); String str=formatdate...

Re: [Wicket-user] I propose a slight change to setObject exception message

2007-02-23 Thread Igor Vaynberg
easiest way is to create a jira issue -igor On 2/23/07, ChuckDeal [EMAIL PROTECTED] wrote: In my specific case it is Wicket 1.3, AbstractDetachableModel, setObject(); but I image it would apply in other cases as well. Does anyone else see any value to making this small change to the

Re: [Wicket-user] Pure JavaScript calls from Links

2007-02-23 Thread Igor Vaynberg
at the end of javascript you have to return false; this will prevent the href from executing -igor On 2/23/07, Will Morton [EMAIL PROTECTED] wrote: I am having some issues getting my Wicket application to work. Any assistance would be much appreciated. I have a bunch of pre-defined

Re: [Wicket-user] Ajax form validation error messages

2007-02-23 Thread Igor Vaynberg
there is a form examples in wicket-examples wicket-stuff.org/wicket13 go to ajax examples/form -igor On 2/23/07, Jason Roelofs [EMAIL PROTECTED] wrote: The list archives at sourceforge are giving me a 500 error, so I don't know if this has been answered. What's the best way to push error

Re: [Wicket-user] Wicket Ajax Debug: Channel busy - postponing ...

2007-02-23 Thread Igor Vaynberg
that means you are sending multiple requests over the same ajax channel but at a rate higher then those requests are processed on the server side so they get queued -igor On 2/23/07, Konstantin [EMAIL PROTECTED] wrote: I get: INFO: Initiating Ajax GET request on ... INFO: Invoking pre-call

Re: [Wicket-user] Internal error with wizard example

2007-02-23 Thread Igor Vaynberg
eelco fix it! -igor On 2/23/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, I've just noticed that the wizard examples on wicketstuff.org/wicket13display an Internal error page when you hit the previous button. Is this a known bug? Xavier

Re: [Wicket-user] Internal error with wizard example

2007-02-23 Thread Igor Vaynberg
which change was that? -igor On 2/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Interestingly, I also just found out that Igor's change for the default button now results in a button being drawn in the left corner. I'm sure it works with IE though. Eelco On 2/23/07, Eelco Hillenius

Re: [Wicket-user] Internal error with wizard example

2007-02-23 Thread Igor Vaynberg
naah, you dont need the default button :) see how i do it in teachscape, i use some css trickery to make add the buttons in the proper order in html (finish, next, back, cancel) but reorder them in the opposite order using css doesnt fix the problem you are describing though, im going to check

Re: [Wicket-user] Wicket Ajax Debug: Channel busy - postponing ...

2007-02-23 Thread Igor Vaynberg
you are using 1.2.5 or lower? there is an open bug for that already -igor On 2/23/07, Konstantin [EMAIL PROTECTED] wrote: Ok with that. But I figured out another bug or a feature. When I navigate through pages of my site I sometimes get page with wicket-ajax.js in header and sometimes

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