Re: [Wicket-user] getting form field value from AutoCompleteTextField

2007-03-26 Thread Igor Vaynberg
: Ok, here it goes, though it's not complete quickstart, maybe it can help to show the context. The zip contains the page (index.html, Index.java) and the autocomplete field and behaviour. Hope it can help to find what's going on. Thanks again, Jaime. *Igor Vaynberg [EMAIL PROTECTED]* wrote

Re: [Wicket-user] AutoCompleteTextField bug?

2007-03-26 Thread Igor Vaynberg
hmm, you might be right. i dont think we url encode the input. please add an rfe. -igor On 3/26/07, Michael Day [EMAIL PROTECTED] wrote: Hi, I think I found a bug in AutoCompleteTextField. When I enter anything with a % symbol, I get a null string passed to getChoices (String). I assume

Re: [Wicket-user] AutoCompleteTextField bug?

2007-03-26 Thread Igor Vaynberg
url encoding was only not done for internet explorer. -igor On 3/26/07, David Leangen [EMAIL PROTECTED] wrote: Well... that would almost explain the Japanese problem I'm having... but why only one browser on 1 platform? Weird... On Mon, 2007-03-26 at 18:09 -0700, Igor Vaynberg wrote

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Igor Vaynberg
On 3/26/07, Toscano [EMAIL PROTECTED] wrote: I mean: - The combo-option is treated as a new tag attribute, not as the name of the tag. Is there any way of maintain that - there? what wicket version are you using? this might be a bug in our xml parser. please open a jira issue. - How can I

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Igor Vaynberg
On 3/26/07, Toscano [EMAIL PROTECTED] wrote: Thank you for your fast answer. I'm using 3_3_1. I will open the issue now. there is no wicket 3.3.1 But I think it will be solved with the DropDownChoice String output method. Can I, please, have a quick example of how to implement the

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Igor Vaynberg
class mychoices extends FormComponent { protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag) { List choices = getChoices(); // something you implement final AppendingStringBuffer buffer = new AppendingStringBuffer(( choices.size() * 50)

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Igor Vaynberg
you are welcome -igor On 3/26/07, Toscano [EMAIL PROTECTED] wrote: It works perfect. This is what I was looking for. Did I gave thanks to you? Thank you!, Oskar igor.vaynberg wrote: class mychoices extends FormComponent { protected void onComponentTagBody(final MarkupStream

Re: [Wicket-user] Flexible markup with same Java classes

2007-03-26 Thread Igor Vaynberg
so you want to keep the same page class, and solely control this from markup? you have to research the api for getting the markup and then search it for an attribute or whatever marker you set, but if you dont mind controlling this via the variation string itself something like this might work:

Re: [Wicket-user] Flexible markup with same Java classes

2007-03-26 Thread Igor Vaynberg
or even mypage() { add(new HeaderPanel(header) { public boolean isvisible() { return !MyPage.this.getVariation().contains(noheader); }} if the header panel is pretty cheap to construct -igor On 3/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: so you want to keep the same page class

Re: [Wicket-user] CheckGroup example

2007-03-24 Thread Igor Vaynberg
see component reference in wicket examples, as well as javadoc on checkgroup. -igor On 3/24/07, Jesse Barnum [EMAIL PROTECTED] wrote: I can't find an example of how to use CheckGroup. I don't know which HTML element to associate it with. I'm trying to do a list of items in a form, like this:

Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-24 Thread Igor Vaynberg
whats the error? -igor On 3/24/07, lihanrong [EMAIL PROTECTED] wrote: I had mentioned it a week before, but it is still not fixed now. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot

2007-03-24 Thread Igor Vaynberg
and have you opened a jira issue? -igor On 3/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote: whats the error? -igor On 3/24/07, lihanrong [EMAIL PROTECTED] wrote: I had mentioned it a week before, but it is still not fixed now

Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-23 Thread Igor Vaynberg
the answer is simple: do not reattach objects. do not keep them across requests unless you have a session that is open across requests. use a detachable model that loads the objects at the beginning of the request and discards them at the end. most times these are load-by-id operations which are

Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Igor Vaynberg
there are a couple of things i personally dont like about it 1) @Configurable is a type-level annotation. so if you want any control over what is injected you have to declare it in the applicationcontext. i have a ton of pages and components that get injected and i would really hate to have to

Re: [Wicket-user] Inner classes question

2007-03-23 Thread Igor Vaynberg
no there wont be two copies of the list.serialization caches objects and if it finds another instance it stores a pointer rather then a copy -igor On 3/23/07, Robert . [EMAIL PROTECTED] wrote: I was wondering if it is unwise to prevent the use of inner classes for models. For example a page

Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView

2007-03-23 Thread Igor Vaynberg
yes looks like it. if you look at the output in wicket ajax debug console you can easily diagnose problems like these -igor On 3/23/07, James McLaughlin [EMAIL PROTECTED] wrote: From a quick glance, it looks like you missed a setOutputMarkupId: (apologies for formatting) ListView lw = new

Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Igor Vaynberg
On 3/23/07, Carlos Pita [EMAIL PROTECTED] wrote: i wouldnt be able to do this with @Configurable because since my genericdataprovider is not @Configurable and there is no way to make it so it cannot restore its, what would have to be a transient, reference to the genericfinder. I clearly

Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Igor Vaynberg
On 3/23/07, Carlos Pita [EMAIL PROTECTED] wrote: heh, the biggest advantage of @SpringBean is that it is done _before_ the constructor. i use services in the constructor all the time. maybe you can tweak the aspectj aspect to also do it before as well. (But do you explicitly invoke these

Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Igor Vaynberg
thats why you use the aspectj weaver/loader, it weaves a deserialization handler into the object to reinject the dependencies. -igor On 3/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: It's cool that it can be done like that. However, it's still not clear to me what the advantage (besides

Re: [Wicket-user] Spring integration using AspectJ

2007-03-23 Thread Igor Vaynberg
a project for what? there is nothing to do but to configure spring in the context xml file, put @Configurable on your page/component, and configure the aspectj agent in your launch config. -igor On 3/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: It's cool that it can be done like that.

Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-23 Thread Igor Vaynberg
what does the code/markup of your page look like? -igor On 3/23/07, Landry Soules [EMAIL PROTECTED] wrote: Hello ! I'm working on a site that will integrate some cool flash multimedia stuff. My flash component actually consists in : one html page one swf script one mp3 file, contained in a

Re: [Wicket-user] Wicket and Flash not playing well together ?

2007-03-23 Thread Igor Vaynberg
) .getString() + , page 1); } } Igor Vaynberg a écrit : what does the code/markup of your page look like? -igor On 3/23/07, *Landry Soules* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello ! I'm working on a site that will integrate some

Re: [Wicket-user] Correct way to implement ajax event not tied to a direct javascript event?

2007-03-22 Thread Igor Vaynberg
yes, extend the default one instead -igor On 3/22/07, jamieballing [EMAIL PROTECTED] wrote: We have a situation where we want to have an applet invoke an ajax event after it finishes something. We don't want the ajax event to be invoked by a user action (i.e. onclick). Our current approach

[Wicket-user] attach/detach refactor in 1.x branch

2007-03-22 Thread Igor Vaynberg
i have just backported the attach/detach refactor into 1.x branch from trunk what this means for you, if you dont already know, is that any time you override onattach()/ondetach() you must call super. if you do not you will get a runtime exception. the reasons for this are in the mailing list

Re: [Wicket-user] attach/detach refactor in 1.x branch

2007-03-22 Thread Igor Vaynberg
yes. 1.2.6 is in the wicket-1.2.x branch. 1.x branch will fork into 1.3release and a 1.3.x branch -igor On 3/22/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: 1.X is not the same as a future 1.2.6? I am right to think it is only useful for 1.3 adopters? On 3/22/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] Submitting checkboxes from a datatable

2007-03-22 Thread Igor Vaynberg
please try to search the mailing list archives before posting questions http://www.nabble.com/Design-questions%3A-Use-of-controllers-and-wicket-models-tf3373279.html#a9510863 -igor On 3/22/07, Shawn Tumey [EMAIL PROTECTED] wrote: Hello, I have a page that uses datatable with several custom

Re: [Wicket-user] JCR and Wicket

2007-03-21 Thread Igor Vaynberg
you need to add that functionality to that project, right now it doesnt support it. but it is a wicket-stuff project so anyone can join and contribute. -igor On 3/21/07, Korbinian Bachl [EMAIL PROTECTED] wrote: Hi, has anyone ever used wicket in combination of a JCR like Jackrabbit or sth.

Re: [Wicket-user] JCR and Wicket

2007-03-21 Thread Igor Vaynberg
or not. So, anyone who has knowledge about JCR or more better also used it: Would you be so kind and tell me your opinion? Regards -- *Von:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *Im Auftrag von *Igor Vaynberg *Gesendet:* Mittwoch, 21. März 2007 17:48 *An:* wicket-user

Re: [Wicket-user] palette problem

2007-03-20 Thread Igor Vaynberg
go ahead and open a bug. i dont know if i ever tested indexing by int because i dont think anyone would use it that much. its too bad that int ended up in the ichoicerenderer interface. so it might very well be a bug in the pallette. -igor On 3/20/07, Ivana Cace [EMAIL PROTECTED] wrote: I've

Re: [Wicket-user] Serveur pushing implementation

2007-03-20 Thread Igor Vaynberg
this is a great start. my idea vision of this implementation is something that doesnt depend on dojo and something that has a very similar requesttarget to ajaxrequesttarget that can transfer value pairs _or_ markup. but this is definetely a great start. -igor On 3/20/07, Vincent Demay [EMAIL

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Igor Vaynberg
but why use ajax if you are using frames? all you have to do is make those links bookmarkable and append a target attribute to them via an attribute modifier -igor On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote: Hi guys, I'm currently developing a page with two frames. The left frame

Re: [Wicket-user] Testing repeaters

2007-03-19 Thread Igor Vaynberg
you can deduce the path by looking at the markup the datatable uses. -igor On 3/15/07, Daniele Dellafiore [EMAIL PROTECTED] wrote: Hi. I am trying to make a test to check the content of a DataTable that is in a WebPage. I can get the table with page.get(table); where table is of course the

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-19 Thread Igor Vaynberg
for the day. On 3/18/07, Igor Vaynberg [EMAIL PROTECTED] wrote: so not having the _personal_ time to answer every single question that is on this list makes us arrogant? that is great! do you think i would rather spend my time pumping you for information or spend that time in a park playing

Re: [Wicket-user] Best practice for singleton pages

2007-03-19 Thread Igor Vaynberg
if you use sticky sessions and dont need failover it will work in its current state if you need failover then the directory where the files are saved needs to be accessible by the primary and its backup buddy nodes -igor On 3/19/07, Weaver, Scott [EMAIL PROTECTED] wrote: I have been half

Re: [Wicket-user] Best practice for singleton pages

2007-03-19 Thread Igor Vaynberg
and to clarify - even if you do need failover and use the store in this state - the failure will only occur if the node goes down AND user uses a the backbutton in the browser -igor On 3/19/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if you use sticky sessions and dont need failover

Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)

2007-03-18 Thread Igor Vaynberg
so not having the _personal_ time to answer every single question that is on this list makes us arrogant? that is great! do you think i would rather spend my time pumping you for information or spend that time in a park playing with my daughter? maybe if you wouldve spent more then two minutes

Re: [Wicket-user] Example 1.2.5 Tree problem

2007-03-16 Thread Igor Vaynberg
this is fixed in wicket-1.2.x branch and will be available when 1.2.6 is released. -igor On 3/16/07, Robert . [EMAIL PROTECTED] wrote: Hi, I noticed a problem on the Tree pages of wicket-examples.1.2.5 If you do some actions on one of the tree pages and then switch to another page, then the

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Igor Vaynberg
to write about this more in the other replies in this thread. Robert On 3/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you wanted to know how to have an equivalent of a tapestry service. if i remember correctly tapestry services return things. like an asset service that streams images

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread Igor Vaynberg
the id of dropdowns has nothing to do with their model. i am not using a compound property model anywhere in the code, nor am i not specifying it directly. the model for each dropdown is specified as a propertymodel where this refers to the page and the string refers to the property on that

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Igor Vaynberg
. [EMAIL PROTECTED] wrote: Because I still want/need the Wicket session, request cycle, application context and all that. On 3/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: but this is just scope creep in tapestry. what you have just described is almost exactly a service() method in a servlet

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread Igor Vaynberg
first the properties are on the page, not on the dataprovider. since dataprovider is an inner non-static class it has access to page properties. second - the particular user object or logtype will come from the dropdown. you give the dropdown a list of users and logtypes you said earlier no?

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-16 Thread Igor Vaynberg
by Wicket, but you want to interact with the server side page status. Paolo On 3/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: but this is just scope creep in tapestry. what you have just described is almost exactly a service() method in a servlet. why not just build a servlet to do what you

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-16 Thread Igor Vaynberg
you are welcome. the wiki is here: http://cwiki.apache.org/WICKET/ -igor On 3/16/07, GS-ikiini [EMAIL PROTECTED] wrote: hey i think i figured it outi am passing a list of the object ideed and the toSting method is automatically called to display what the user sees. I need to go look up

Re: [Wicket-user] AjaxFallbackLink and ListView

2007-03-15 Thread Igor Vaynberg
there is a bug in 1.2.5 with header contributors. what happens is that wicket-ajax.js file doesnt get included in the rendered page and so the link goes into fallback mode. this is fixed in wicket-1.2.x branch which you can check out and build, or wait for 1.2.6 release -igor On 3/15/07, Juha

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-15 Thread Igor Vaynberg
wicket's equivalent of a service is a shared resource. you can register your own shared resources through your webapplication subclass. as far as selecting pages via javascript: wicket doesnt really have a page service. urls for pages are resolved internally. if you want a stable entry point

Re: [Wicket-user] Tapestry - Wicket | Action Service

2007-03-15 Thread Igor Vaynberg
with urls it generates. -igor On 3/15/07, Robert . [EMAIL PROTECTED] wrote: Really? A resource? But I have nothing to return from my service resource. Robert On 3/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: wicket's equivalent of a service is a shared resource. you can register your own

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread Igor Vaynberg
since you dont specify the model for the selection wicket will look for a compoundpropertymodel you have somewhere above. the value will go into the bean that is in the compoundpropertymodel into a property with the same name as the id of the dropdownchoice. there is a great page on models on

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread Igor Vaynberg
first of all the dataprovider is a readonly interface, it has no set method like the model. that said what you want is simple: populateitem(item item) { final imodel namemodel=new propertymodel(item.getmodel(), name); add(new dropdownchoice(names,namemodel,nameslist)); } -igor On

Re: [Wicket-user] form processing - getting dropdown selection back to onSubmit method.

2007-03-15 Thread Igor Vaynberg
once you understand models it becomes quiet trivial :) below is the simple way (without using a compound property model) class mypage extends webpage { private user user; private logtype logtype; // getters setters (only necessary in 1.2.x, in later wicket will access private properties through

Re: [Wicket-user] find a cousin Component

2007-03-14 Thread Igor Vaynberg
you could keep component instances as fields so you can reference them directly instead of getting them via their path -igor On 3/14/07, ChuckDeal [EMAIL PROTECTED] wrote: This feels like something someone would have asked before, but I couldn't find any relevant answers. I have a usecase

Re: [Wicket-user] AbstractBehavior or AjaxFormSubmitBehavior exception handling

2007-03-14 Thread Igor Vaynberg
onexception where? onerror is called when a form validation error occurs. -igor On 3/14/07, Apaar Trivedi [EMAIL PROTECTED] wrote: Hey guys, When I have an exception (in this case a NullPointerException) occur during the onSubmit of an AjaxFormSubmitBehavior, neither onException or

Re: [Wicket-user] AbstractBehavior or AjaxFormSubmitBehaviorexception handling

2007-03-14 Thread Igor Vaynberg
by RequestCycle.onRuntimeException. Any ideas? Thanks -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Igor Vaynberg *Sent:* Wednesday, March 14, 2007 11:05 AM *To:* wicket-user@lists.sourceforge.net *Subject:* Re: [Wicket-user] AbstractBehavior

Re: [Wicket-user] Converters

2007-03-14 Thread Igor Vaynberg
and does that api support registering your own converters? -igor On 3/14/07, Anders Peterson [EMAIL PROTECTED] wrote: No. You create them specifying which Locale to use. Look at the static factory methods in NumbverFormat. http://java.sun.com/j2se/1.5.0/docs/api/java/text/NumberFormat.html

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Igor Vaynberg
isnt this thread a poll? how many polls of the same thing do we need? omfg ponies! -igor On 3/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Maintaining Wicket 1.3 should be for bug fixes, not new features. But that doesn't prevent new components to be developed, or backported by our

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Igor Vaynberg
them into a single poll. lets poll, and vote on that and restore some sanity. -igor On 3/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote: This thread is about 'Reverting the constructor change of 2.0', not about 'Stop supporting JDK 1.5 after 1.3'. Eelco On 3/14/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Igor Vaynberg
i guess sacrasm and frustration dont transfer well over email :| -igor On 3/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 3/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote: well obviously we cannot poll for that until we have decided what 1.3will be. so first you need a poll

Re: [Wicket-user] Build failure

2007-03-14 Thread Igor Vaynberg
umm, we already found a solution for that mvn eclipse:eclipse -U which tells maven to update its dependencies woops :) -igor On 3/14/07, Frank Bille [EMAIL PROTECTED] wrote: I finally got it!! Ok, two things: First the pom file error. I'll commit a fix for the root pom without the jdk15

Re: [Wicket-user] Hibernate/Spring and Wicket architecture request for validation (was Wicket's questions)

2007-03-14 Thread Igor Vaynberg
On 3/14/07, ZedroS Schwart [EMAIL PROTECTED] wrote: When I have to change an object on the OnSubmit, I use the update methods from my managers. What I fear here is to update some data which have already been updated in between. hibernate and jpa provide optimistic locking that guards against

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-13 Thread Igor Vaynberg
i would opt for (b) but seems im in a minority :) -igor On 3/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Can I have the opinions of all committers please? Johan is on a skiing trip but opts for c). Eelco - Take

Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,

2007-03-13 Thread Igor Vaynberg
if elements are not visible they are not validated so what you have to do is not allow the user to switch between tabs unless everything on that tab has validated. you can do this by overriding the linkfactory on the tabbed panel, using a submitlink, and only calling setactivetab on the panel if

Re: [Wicket-user] How to set TABPanels'titel to EscapeModel(false)

2007-03-12 Thread Igor Vaynberg
yes i know its trivial. and if you open a jira request i will also know what version you need this for. and if it is for 1.2.x then it would be in the changelog which is important for that version. -igor On 3/12/07, Stefan Lindner [EMAIL PROTECTED] wrote: Dear Igor, should I send you a

Re: [Wicket-user] Instructions for using WICKET-126

2007-03-12 Thread Igor Vaynberg
if you need to extend it to configure it then it should be made abstract -igor On 3/12/07, Matt Welch [EMAIL PROTECTED] wrote: On 3/12/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Yes, you may be missing something. You should have written at least 5 lines of Java code to

Re: [Wicket-user] : How to set TABPanels'titel to EscapeModel(false)

2007-03-12 Thread Igor Vaynberg
thank you much -igor On 3/12/07, Stefan Lindner [EMAIL PROTECTED] wrote: I have created an enhancment request for Wicket 2 as http://issues.apache.org/jira/browse/WICKET-380 - Take Surveys. Earn Cash. Influence the

Re: [Wicket-user] Instructions for using WICKET-126

2007-03-12 Thread Igor Vaynberg
no we do not. someone needs to write a script to montor -javadoc.jar files and extract them i suppose -igor On 3/12/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: OK, I improved the documentation accordingly. I don't know if this is published anywhere in real time however. Wicket

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread Igor Vaynberg
is it at all feasible that it is being used for an internal system? -igor On 3/12/07, cowwoc [EMAIL PROTECTED] wrote: If they use Wicket why doesn't it show at all on their website at joost.com? I am expecting to at least see some evidence of a servlet context path... Gili Brian

Re: [Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread Igor Vaynberg
not for 1.3 -igor On 3/12/07, smallufo [EMAIL PROTECTED] wrote: Hi will the wicket package name change in the future ? eg: org.apache.wicket.* ... 2007/3/12, Martijn Dashorst [EMAIL PROTECTED] : On 3/12/07, ZedroS Schwart [EMAIL PROTECTED] wrote: Having played with the nabble search

Re: [Wicket-user] Wicket mailing lists no more archived ?

2007-03-12 Thread Igor Vaynberg
why dont you just port wicket to perl! -igor On 3/12/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 3/12/07, smallufo [EMAIL PROTECTED] wrote: Hi will the wicket package name change in the future ? eg: org.apache.wicket.* ... This depends on the future of our current trunk. When we

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-12 Thread Igor Vaynberg
the cons of this have already been discussed in this thread. see the onWire messages. -igor On 3/12/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hm, that looks good! What would any of the Wicket developers say to that approach? Is there some hidden catch waiting to happen, or this ok? I'm

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread Igor Vaynberg
it is ok to do that (use /* mapping) if you use WicketFilter instead of WicketServlet -igor On 3/12/07, cowwoc [EMAIL PROTECTED] wrote: Hi Brian, Yes you can probably do that for a Wicket site with no external references (i.e. static files hosted outside the scope of the servlet

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread Igor Vaynberg
the application to /app. Do you have another example or documentation somewhere? Gili Igor Vaynberg wrote: it is ok to do that (use /* mapping) if you use WicketFilter instead of WicketServlet -igor On 3/12/07, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Brian

Re: [Wicket-user] Joost uses Wicket

2007-03-12 Thread Igor Vaynberg
i was being sarcastic :) -igor On 3/12/07, Jonathan Locke [EMAIL PROTECTED] wrote: i think that's correct. but i also heard that it will be publicly visible later. igor.vaynberg wrote: is it at all feasible that it is being used for an internal system? -igor On 3/12/07, cowwoc

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-12 Thread Igor Vaynberg
setobject is called when the component needs to update the model. eg when you submit a textfield it needs to push new input into the model and so it calls setobject(). sometimes components that work with collections do not do that - they simply clear the collection and add new values - this is so

Re: [Wicket-user] Wicket for Bog Projects

2007-03-12 Thread Igor Vaynberg
do tiny fall before or after extra small??? -igor On 3/12/07, Michael Day [EMAIL PROTECTED] wrote: No, only extra small, small, medium, and medium-to-big projects. Big projects will be supported in wicket 3.0. On Mar 13, 2007, at 12:51 AM, Sazib wrote: Hi everybody, I just want to know,

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-12 Thread Igor Vaynberg
setObject should be called. Eelco On 3/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote: actually we are inconsistent in some places and i have been trying to fix it. what we mostly do is whenever we work with a collection we clear it and repopulate it. but we never call setobject() on the model

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-12 Thread Igor Vaynberg
of the model for each control. Any hints that would enlighten me on how to do this? Thanks so much!! On Mon, 2007-03-12 at 22:58 -0700, Eelco Hillenius wrote: Maybe it is good to gather a couple of use cases and pros and cons and start a separate thread? Eelco On 3/12/07, Igor Vaynberg

Re: [Wicket-user] AJAX validation

2007-03-11 Thread Igor Vaynberg
On 3/11/07, Arnout Engelen [EMAIL PROTECTED] wrote: Igor Vaynberg schreef: this bug has been fixed in 1.2.5. Cool! Any idea why it manifests itself only on 1 of our environments? maybe different servlet containers map urls slightly differently? for me it was reproducable consistently

Re: [Wicket-user] How to set TABPanels'titel to EscapeModel(false)

2007-03-11 Thread Igor Vaynberg
add an rfe for a factory method for that label -igor On 3/11/07, Stefan Lindner [EMAIL PROTECTED] wrote: How can I set the TabPanel'S title labe to excapteModelStrings(false)? Of cource, I can make my OwnTabPanel extends TabPanel and overwrite the whole constructor but I think this is not a

Re: [Wicket-user] AJAX validation

2007-03-10 Thread Igor Vaynberg
this bug has been fixed in 1.2.5. what problems did you have in 1.2.5? most of them have been fixed and you can build the branch yourself until we release 1.2.6 -igor On 3/10/07, Arnout Engelen [EMAIL PROTECTED] wrote: Jean-Baptiste Quenot schreef: * Arnout Engelen: So far it seems either

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-09 Thread Igor Vaynberg
March 2007 07:58 pm, Igor Vaynberg escreveu: see above. take a simple example where you have a list of checkboxes and you want all selected objects to end up in a collection. how do you do it? sounds like a complex mapping? the most elegant way is to write a custom model. Can you use

Re: [Wicket-user] Frustracted with JDBC...

2007-03-09 Thread Igor Vaynberg
you do know that session.load() will return a proxy even if the object doesnt exist, where as session.get() will return null. -igor On 3/9/07, ChuckDeal [EMAIL PROTECTED] wrote: Scott Swank wrote: If you have lazy-loaded objects in your graph then they are initially populated with

Re: [Wicket-user] mountBookmarkablePage problem

2007-03-09 Thread Igor Vaynberg
make sure your servlet mapping ends with /* and not just / -igor On 3/9/07, Joel Hill [EMAIL PROTECTED] wrote: I cannot seem to get mountBookmarkablePage() to work. Any time I try an access a page through the mapping I set up, I get a 404 error. The strange thing is, if I set up a wicket

Re: [Wicket-user] Question about DataGridView

2007-03-09 Thread Igor Vaynberg
On 3/9/07, blackboy zabaha [EMAIL PROTECTED] wrote: - with the checkbox I can't get the list of selected row, I try to do DataGridView.getModelObject but it return null, so my question is how can I get list of model object in current page of DataGridView, it take IDataProvider rather than

Re: [Wicket-user] Retrieving a value from a PropertyModel

2007-03-08 Thread Igor Vaynberg
havent looked at your code but here is how i would do it class mypanel extends panel { private String value; //getter+setter public mypanel() { TextField tf=new TextField(tf, new PropertyModel(this, value)); Label l=new Label(l, new propertyModel(this, value));

Re: [Wicket-user] conditionally include a portion of an HTML document

2007-03-08 Thread Igor Vaynberg
WebMarkupContainer adminSpan=new WebMarkupContainer(admin-span) { public boolean isVisible() { return getsesion().getuser().isadmin(); }} if you have a lot of components in that span and you dont want the overhead of creating them make the span a panel or a fragment and add it or an empty

Re: [Wicket-user] wicket-autocomplete.js bug

2007-03-08 Thread Igor Vaynberg
how about a jira issue with a patch? :) -igor On 3/8/07, David Robison [EMAIL PROTECTED] wrote: When selecting a item from the autocomplete drop down, the onchange event handler on the input is not called. The wicket-autocomplete.js needs to be modified to call the onchange function

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread Igor Vaynberg
this wont work. -igor On 3/8/07, cowwoc [EMAIL PROTECTED] wrote: How about a hybrid system? Is there a clear-cut way to know up-front which components have an immutable parent versus others that might require it to change during rendering time? If so, couldn't you require

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

2007-03-08 Thread Igor Vaynberg
the advantage is that the error points you to the place in java code where the problem is instead of a place in markup. -igor On 3/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I have been using 1.2.4 for some days. I think the current construct works well. If there is no overwhelming

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Igor Vaynberg
see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers a roundtrip -igor On 3/8/07, Jason Roelofs [EMAIL PROTECTED] wrote: Well, the model never actually gets changed. I must be missing something, the new value of the field

Re: [Wicket-user] Ajax Indicators for custom components

2007-03-08 Thread Igor Vaynberg
the behavior checks if it or the component it is attached to implement IAjaxIndicatorAware. what it then does is display:; to show whatever dom element has the id returned by IAjaxIndicatorAware when the ajax request is initiated, and then display:none; when the ajax request is finished. also

Re: [Wicket-user] Getting value of a text field via Ajax, no form

2007-03-08 Thread Igor Vaynberg
youre welcome -igor On 3/8/07, Jason Roelofs [EMAIL PROTECTED] wrote: Ok, that did it. Thanks again Igor. Jason On 3/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: see AjaxFormComponentUpdatingBehavior AjaxEventBehavior doesnt send over the value of the form component, just triggers

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread Igor Vaynberg
what happens when you move the component to another parent? will onWire be called again? and if not can we have a method that will please? and then another method if the component's hierarchy changes - a components ancestor is moved. point being only a small percentage of wicket components care

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-08 Thread Igor Vaynberg
here are my short answers :) ask more if you need something explained in detail On 3/8/07, David Leangen [EMAIL PROTECTED] wrote: First Question: Controller Logic The idea sounds good, but I'm wondering if this is even necessary. It was suggested to me that

Re: [Wicket-user] @SpringBean and Model objects

2007-03-08 Thread Igor Vaynberg
prototype beans are not supported just yet, there is a patch for that and a vote to apply to 1.2.x -igor On 3/8/07, Jonathan Cone [EMAIL PROTECTED] wrote: Using Wicket 1.2.5 / Spring 2.0.2 Is it possible (or reasonable) to inject Page model implementations with the @SpringBean annotation?

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread Igor Vaynberg
() of the ancestor nodes and have them fire an event down to interested descendants when onWire() gets fired on them. I don't claim to solve all theoretical use-cases that users might come up with, I am simply commenting on the existing use-cases that have been brought up. Gili Igor Vaynberg wrote

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

2007-03-08 Thread Igor Vaynberg
feel free to go ahead and do that. looking forward to your analysis. -igor On 3/8/07, aozster [EMAIL PROTECTED] wrote: -- before voting we should compare them by given usecases and construct it with 1.x and 2.x constructors. I prefer 1 rich internet application 2 highly personalized user

Re: [Wicket-user] Design questions: Use of controllers and wicket models

2007-03-08 Thread Igor Vaynberg
On 3/8/07, David Leangen [EMAIL PROTECTED] wrote: This is actually something I'm kinda struggling with. In our model, the biz logic is the query. So, for instance, if I have two radios and a group of checkboxes: ( ) Any colour ( ) Choose colours [ ] Blue [ ] Red ... If

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

2007-03-07 Thread Igor Vaynberg
On 3/7/07, Matej Knopp [EMAIL PROTECTED] wrote: I've been using trunk for some time and I really like the constructor change. Can't we fix somehow the problems we have with it rather than dropping the entire effort? Can we make it possible to create component with null parent and reparent it

Re: [Wicket-user] wicket:message without escape

2007-03-07 Thread Igor Vaynberg
add a jira issue -igor On 3/7/07, Ingram Chen [EMAIL PROTECTED] wrote: Hi, how do I turn off escape string in wicket:message ? a typical use case is: wicket:message key=copyright[Copyright here]/wicket:message copyright=Copyright copy; 2005 I search the doc and source but nothing

Re: [Wicket-user] Using the session

2007-03-07 Thread Igor Vaynberg
wicket is a new wheel. we were happy to be basement hackers and create a more round wheel for you so you dont bump your head as much when you ride it :) -igor On 3/7/07, Jason Roelofs [EMAIL PROTECTED] wrote: On 3/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Would you mine expounding on

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

2007-03-07 Thread Igor Vaynberg
ummm.hell no. the big point of this is to get rid of having multiple branches! so what we will most likely do is drop 2.0 backport everything new and useful into 1.4 (or seems like even 1.3 since you guys got such itchy fingers). at that point we will decide whether or not we will make 1.3

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