[Wicket-user] A problem with using SubmitLink

2007-05-03 Thread Swaroop Belur
Hi Wicket version 1.2.4 Note: The scenario explained below works perfectly well for a Link. Usage : I am using a submit Link in my form to perform a delete operation . I disable the link when there is nothing to delete [ I maintain a list for this ] and when the user checks some items to be

[Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Tauren Mills
I'm using a custom ListView to generate a table. The content of the table consists of four columns of data. I have that working just fine. But I'd like to add an additional table row on occation to group rows of data in the table. Thus, there would be a groupRow that specifies a date, then

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Matej Knopp
In 1.3 you can use stateless pages (with stateless links and stateless forms). However, you'll have to sacrifice the programming model in favor of statelessness a little. I'm not really sure it's worth it. -Matej On 5/3/07, Jeremy Thomerson [EMAIL PROTECTED] wrote: I know that I read somewhere

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-03 Thread RedFury
Ok I have spent a fair amount of time putting together a wicket example of my two problems. It is a netbeans project but pretty bare-bones so it should be pretty easy to get working in other IDE's. I have attached it here so if any of the wicket-gurus out there would take a quick look I would

Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-03 Thread Matej Knopp
You seem to be using 1.2, is that right? -Matej On 4/30/07, RedFury [EMAIL PROTECTED] wrote: Hi all, just want to say that I've relatively new to Wicket but am loving every minute of it! In just a few weeks of learning and programming I have been able to create a robust, javascripted,

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-03 Thread Matej Knopp
Okay, I'll look into it as soon as i get some time. -Matej On 5/3/07, RedFury [EMAIL PROTECTED] wrote: Ok I have spent a fair amount of time putting together a wicket example of my two problems. It is a netbeans project but pretty bare-bones so it should be pretty easy to get working in

Re: [Wicket-user] styling options of AbstractChoice

2007-05-03 Thread Gerolf Seitz
thx, works like a charm On 5/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote: selectoptions is a quick way to do it. if you want total control then put a repeater into the select and create your own options using selectoption. -igor On 5/1/07, Gerolf Seitz [EMAIL PROTECTED] wrote: hm, good

Re: [Wicket-user] possible to access wicket session via jsp?

2007-05-03 Thread Johan Compagner
if you use the wicket filter then in a jsp (if the filter is in the jsp chain) then you should be able to do: Session.get() to get the session.. johan On 5/3/07, Benjamin Ranck [EMAIL PROTECTED] wrote: This is obviously a horrible hack to take care of a short term problem, but is it

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-03 Thread Johan Compagner
changed it On 5/2/07, Gerolf Seitz [EMAIL PROTECTED] wrote: hm, i did mess up. there's one more thing left in line 1534: if (positionArray['w']==-1) positionArray['m'] = format.indexOf('w'); the quoted 'm' should be replaced with a w. the right line is: if (positionArray['w']==-1)

Re: [Wicket-user] How to remove a Behaviour?

2007-05-03 Thread Johan Compagner
i think we should be thinking of a remove(IBehavior) It is pretty in line with the rest (think about Swing listeners) And it doesn't sit in the way as far as i can think of. johan On 5/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you cannot remove a behavior currently. what you can do is

Re: [Wicket-user] from 1.2.6 to 1.3.0 snapshot

2007-05-03 Thread Gerolf Seitz
thx a lot On 5/3/07, Johan Compagner [EMAIL PROTECTED] wrote: changed it On 5/2/07, Gerolf Seitz [EMAIL PROTECTED] wrote: hm, i did mess up. there's one more thing left in line 1534: if (positionArray['w']==-1) positionArray['m'] = format.indexOf('w'); the quoted 'm' should be replaced

Re: [Wicket-user] possible to access wicket session via jsp?

2007-05-03 Thread Eelco Hillenius
org.apache.wicket.protocol.http.servlet.WicketSessionFilter Eelco On 5/3/07, Johan Compagner [EMAIL PROTECTED] wrote: if you use the wicket filter then in a jsp (if the filter is in the jsp chain) then you should be able to do: Session.get() to get the session.. johan On 5/3/07,

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Eelco Hillenius
Stateless pages are available even in 1.2, but much more limited. Basically, when you have no callbacks, you're page will be stateless and not kept in memory. You'd have to do everything with bookmarkable pages, links and page parameters then. In 1.3, you can use some callbacks while still

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
Thanks Igor and I am curious. Why is it nasty in your opinion? Which parts? I am open to trying other ways that I am not aware of. This is not how I originally wanted to implement it but I have tried many ways so far (different models on different components in the hierarchy, nesting/inheriting

[Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread John RDF
I have problems with radio groups. According to docs and tutorials the group's model object should be set to the selected radio model object. However, in my case (using enum values which must be set on an enum property) the group's model object always seems to be null. I based my code on the

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread Eelco Hillenius
One thing that I'm wondering is why you declare your components as member variables. It's not really wrong, but it's more code without any advantage, and potentially scope creep (in that you might be tempted to use the components directly rather then to work through models. Eelco On 5/3/07, John

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
The drop down list does not directly relate to the form model (as the visible value is a user readable summary not the data structure I need) and so I need to keep a reference to something even if its a model or two. Take a look at this version which still works with same quirks.. Any better?

[Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Nino Saturnino Martinez Vazquez Wael
Obvoiusly I've tried the 1.3 beta1 release but its not in the maven repo yet. Nino Saturnino Martinez Vazquez Wael wrote: Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency:

[Wicket-user] FormComponentLabel for Radio?

2007-05-03 Thread Jan Kriesten
hi, isn't it possible to create a FormComponentLabel for Radio?? best regards, --- jan. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-03 Thread Matej Knopp
Hi About the first problem, it should be fixed since yesterday. Could you please update your wicket to see if it really is? I can't reproduce the second one. I tested it with Firefox 2.0 on OSX and everything works as expected. I remember seeing something like this in 1.5. What FF version do you

[Wicket-user] Applet not loaded in 1.2.6, but in 1.2.5, and viceversa, depending on codebase [jetty-server]

2007-05-03 Thread manu
Dear people, I have found the following strange behavior in wicket-1.2.6: Since long time ago I've been using wicket-1.2.5, and testing a webPage where there's an applet with the following codebase: param name=codebase value=lib / Yesterday, I decided to update to wicket-1.2.6, and then, while

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread Eelco Hillenius
Yeah, looks better to me. As a matter of good practice (imho), you could probably make the form a static internal class and make the members private instead of package private. Though that's just taste I guess. :) Eelco On 5/3/07, John RDF [EMAIL PROTECTED] wrote: The drop down list does not

[Wicket-user] AbstractRequestTargetUrlCodingStrategy is throwing an error now...

2007-05-03 Thread ChuckDeal
Wicket 1.3 (revision 534800, updated 08:00am EST 5/3/07) I finsihed updating my code to the trunk yesterday and my pages were loading correctly. I did an SVN update this morning just to pick up the latest changes and now AbstractRequestTargetUrlCodingStrategy is throwing an exception URL

[Wicket-user] Header contributions and AjaxLink

2007-05-03 Thread John Krasnay
I think I may have found a bug with header contributions, AjaxLink, and Internet Explorer. Here's a test page: html body div wicket:id=subComponent/div /body /html ---8--- public class TestPage extends WebPage { public TestPage() { add(new SubComponent(subComponent)); }

[Wicket-user] Test Case - Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
OK. Below is a test case quick start application eclipse project that produces the quirks I have been describing. ftp://ftpuser:[EMAIL PROTECTED]/wicket-quickstart-1.2.6.rar The test procedure to reproduce strange behaviour is as follows. 1. Enter postcode in first address. 2. Hit address

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Jeremy Thomerson
Thanks to everyone for their help - I'm starting right away to convert everything to detachable models for all domain objects that are loaded into components... Eelco, I am curious about your statement when you have no callbacks, you're page will be stateless and not kept in memory... Most of

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Ayodeji Aladejebi
please we need something in wicket-examples on this wicket stateless best pratice cuz it still kind of not easy pulling the whole stuff together at times. it would be nice to have some 4-page example that shows best practices for stateless arch. thanks On 5/3/07, Jeremy Thomerson [EMAIL

[Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
Hello everyone, I am about to buy this book called pro wickethttp://www.amazon.com/Pro-Wicket-Experts-Voice-Java/dp/1590597222/ref=pd_bbs_sr_1/103-4798570-8657439?ie=UTF8s=booksqid=1178205890sr=8-1 . But until it gets here (Argentina) would anyone point me in the right direction to read

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Eelco Hillenius
Thanks to everyone for their help - I'm starting right away to convert everything to detachable models for all domain objects that are loaded into components... If you're only working with stateless pages, you don't detachable models as those pages won't be stored to start with. But if you

Re: [Wicket-user] Sessionless Wicket?

2007-05-03 Thread Eelco Hillenius
There already is an example though. Take a look at org.apache.wicket.examples.stateless. If you have suggestions (patches) to extend that example even more, that'd be great, but there's really not that much to say about it I think. Eelco On 5/3/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Iulian Costan
where did you checked out gmap sources from? trunk? i dont know if any wicket 1.3 artifacts are deployed somewhere, but you can checkout wicket source code as well and build it for yourself as a quick workaround. or you can get gmap code from 1.2 branch, that depends on 1.2.* wicket that is

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Igor Vaynberg
what you need is a lsitview in a listview the first outputs the date row, and then a listview that outputs rows for that date. makes sense? -igor On 5/2/07, Tauren Mills [EMAIL PROTECTED] wrote: I'm using a custom ListView to generate a table. The content of the table consists of four

Re: [Wicket-user] How to remove a Behaviour?

2007-05-03 Thread Igor Vaynberg
fine by me -igor On 5/3/07, Johan Compagner [EMAIL PROTECTED] wrote: i think we should be thinking of a remove(IBehavior) It is pretty in line with the rest (think about Swing listeners) And it doesn't sit in the way as far as i can think of. johan On 5/2/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread Igor Vaynberg
code looks ok, pretty strange. can you create a quickstart so we can see what goes wrong? -igor On 5/3/07, John RDF [EMAIL PROTECTED] wrote: I have problems with radio groups. According to docs and tutorials the group's model object should be set to the selected radio model object. However,

Re: [Wicket-user] FormComponentLabel for Radio?

2007-05-03 Thread Igor Vaynberg
please add an rfe. -igor On 5/3/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi, isn't it possible to create a FormComponentLabel for Radio?? best regards, --- jan. - This SF.net email is sponsored by DB2 Express

Re: [Wicket-user] Applet not loaded in 1.2.6, but in 1.2.5, and viceversa, depending on codebase [jetty-server]

2007-05-03 Thread Igor Vaynberg
in 1.2.5 wicket inconsistently used urls /context/servlet?wicket:interface and /context/servlet/?wicket:interface, now it consistently uses the latter. that extra / might be what is causing the problem for you. -igor On 5/3/07, manu [EMAIL PROTECTED] wrote: Dear people, I have found the

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread Igor Vaynberg
that looks much much better. you can still get rid of those two models for the dropdownlist with: private AddressEntry quickAddress; Private ListAddressEntry quickAddresses=new ArrayListAddressEntry(); and then add(new DropDownChoice(id, new PropertyModel(this, quickAddress), new

Re: [Wicket-user] Header contributions and AjaxLink

2007-05-03 Thread Igor Vaynberg
please create a jira issue. -igor On 5/3/07, John Krasnay [EMAIL PROTECTED] wrote: I think I may have found a bug with header contributions, AjaxLink, and Internet Explorer. Here's a test page: html body div wicket:id=subComponent/div /body /html ---8--- public class TestPage

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Martijn Dashorst
On 5/3/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Obvoiusly I've tried the 1.3 beta1 release but its not in the maven repo yet. Being able to deploy the artifacts to the central repo is something that is currently being worked on for incubator projects. Until that is

Re: [Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread John RDF
Igor, I really suspect it is also related to my other problem post (see AddressPanel test case) with nested forms and models working incorrectly inside, as when I put the same radio button code outside of our app (which needs nested forms and this is a bit of a show stopper for us) the radio

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
our wiki has links to various articles that might be of help to you. browsing the wiki is usually also good. -igor On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hello everyone, I am about to buy this book called pro wicket

Re: [Wicket-user] Header contributions and AjaxLink

2007-05-03 Thread Matej Knopp
I can look into it if you provide a quick start. -Matej On 5/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: please create a jira issue. -igor On 5/3/07, John Krasnay [EMAIL PROTECTED] wrote: I think I may have found a bug with header contributions, AjaxLink, and Internet Explorer.

Re: [Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread Igor Vaynberg
there is no nested form support in 1.2, only 1.3. so that might be it? -igor On 5/3/07, John RDF [EMAIL PROTECTED] wrote: Igor, I really suspect it is also related to my other problem post (see AddressPanel test case) with nested forms and models working incorrectly inside, as when I put

[Wicket-user] TinyMCE for wicket 1.3 not a panel???

2007-05-03 Thread Apaar Trivedi
Hey all, I am trying to get a TinyMCEPanel jar for Wicket 1.3. I've gotten the tinymce contrib. from the wicketstuff trunk, and attempted to compile and package it using the maven script. It compiles just fine but when I go to build the packages, I get this error in a few place:

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
H igor, thanks, but could you be more specific. I do think I browsed the wiki but couldn't find what I was looking for. For instance: http://cwiki.apache.org/WICKET/documentation-index.html appears to list many referential How to's but not core framework architecture. I know there is a little

Re: [Wicket-user] possible to access wicket session via jsp?

2007-05-03 Thread Benjamin Ranck
Yep, I was over thinking things all I needed was: filter-mapping filter-nameWicketSessionFilter/filter-name url-pattern/pages/index.jsp/url-pattern /filter-mapping simple simple. Cheers, Benjamin On 5/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Tauren Mills
Igor, Yes, that makes sense. However, I get the data for the list using a single HQL query with joins and such. If I changed to a ListView within a ListView, then wouldn't I also need to change to do many HQL queries to build a bunch of small lists within a big list? I don't know what the

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
i dont think we have something that is focused on the core architecture. if you have specific questions we will be happy to answer them and maybe you can compile them into a document. it is hard to find time to work specifically on high level documentation because this list, coding, jira,

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Igor Vaynberg
you can still have only one list. then have an imodel implementation that filters that list on the fly. -igor On 5/3/07, Tauren Mills [EMAIL PROTECTED] wrote: Igor, Yes, that makes sense. However, I get the data for the list using a single HQL query with joins and such. If I changed to a

Re: [Wicket-user] Test Case - Nested Forms/Models and weird behaviour

2007-05-03 Thread Igor Vaynberg
i guess you shouldve mentioned you are using 1.2.6, because nested forms are 1.3 and up. what you can do is change: class AddressForm extends Form to class AddressForm extends WebMarkupContainer and in AddressForm.html change form to div then things should start working properly. of course the

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Nino Saturnino Martinez Vazquez Wael
Yup got the one from trunk, and later I grabbed the one you mention (1.2) Have sometrouble compiling it but I think its my machine thats acting up. Iulian Costan wrote: where did you checked out gmap sources from? trunk? i dont know if any wicket 1.3 artifacts are deployed somewhere, but

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-03 Thread Nino Saturnino Martinez Vazquez Wael
Martijn Dashorst wrote: On 5/3/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Obvoiusly I've tried the 1.3 beta1 release but its not in the maven repo yet. Being able to deploy the artifacts to the central repo is something that is currently being worked on for

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
as far as models go http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models -igor On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: I will be glad to help out in any way. Here are my thoughts to the community. If we could talk about core wiket ideas

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
Right, I'll start to compile things. On 5/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: as far as models go http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models -igor On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: I will be glad to help out in

[Wicket-user] DatePicker for a label

2007-05-03 Thread Dragos Bobes
Is there a way to use the DatePicker with a label component? I would like to be able to select a date from the DatePicker and change the value of the label and also to be able to capture the new value to persist it. Does anybody have any ideea on how can I do id? Thanks, Dragos

Re: [Wicket-user] DatePicker for a label

2007-05-03 Thread Igor Vaynberg
you will have to create a panel that contains a hiddeninputfield to capture the input, the label, and the datepicker. then create javascript that wires all these together. -igor On 5/3/07, Dragos Bobes [EMAIL PROTECTED] wrote: Is there a way to use the DatePicker with a label component? I

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Paolo Di Tommaso
Anyway Francisco is right, I'm also thinking that Wicket is really missing a good tutorial about core concepts. I'm not new to Wicket, I'm using it for about a year, but there still a lot aspects obscure to me like PageMap, page versioning, details of page request cycle and so on. Wicket is

Re: [Wicket-user] Header contributions and AjaxLink

2007-05-03 Thread John Krasnay
https://issues.apache.org/jira/browse/WICKET-527 Quickstart attached to the JIRA. Thanks! jk On Thu, May 03, 2007 at 06:48:14PM +0200, Matej Knopp wrote: I can look into it if you provide a quick start. -Matej On 5/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: please create a jira

[Wicket-user] Encountered issues during quickStack

2007-05-03 Thread Sebastian Hennebrueder
Hello, I am evaluating Wicket and encountered some issues during development. I found solutions by myself but post here my notes so that the docs may be updated or the bug may be fixed. In the helloWorld example you might consider to explain more precisely that the webpage and the class are

Re: [Wicket-user] Encountered issues during quickStack

2007-05-03 Thread Sebastian Hennebrueder
Hello, I apologize for the first issue. But marking this in bold might help even blind people like me. ;-) Sebastian Hennebrueder schrieb: Hello, I am evaluating Wicket and encountered some issues during development. I found solutions by myself but post here my notes so that the docs may be

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Tauren Mills
Igor, Upon further thought, how can a ListView inside a ListView solve this? Wouldn't the hierarchy cause the html to be messed up? I can't have TRs within TRs. The inner listview isn't putting child data inside of the TR, it needs to make TRs that are siblings of the outer listview. The

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Igor Vaynberg
you dont have to attach the listview to the trs though in 1.2.6 you can attach it to span and do dataview.newitem(..) { return super.newitem (..).setrenderbodyonly(true); table span wicket:id=groupView --- Outer listview tr td wicket:id=groupTitle/td /tr span

Re: [Wicket-user] Adding extra row to table in ListView

2007-05-03 Thread Tauren Mills
Sweet! I do have it working with an extra tag (where you use the span), but I didn't like that it rendered invalid html. Didn't know about setrenderbodyonly. Thanks for the tip! When I move to 1.3, I'll use the container approach. Thanks Igor! Tauren On 5/3/07, Igor Vaynberg [EMAIL

[Wicket-user] Is it possible to use setMarkupStream to assign html to a web page?

2007-05-03 Thread Thomas R. Corbin
I've got some groovy code which processes an xml file and generates some html. Right now I do it at build time, but would really prefer to do it at run time. I've got some code hooked up which does so, but all I get is an empty page. I'm using wicket 1.3.0-snapshot (prior to the name

Re: [Wicket-user] Is it possible to use setMarkupStream to assign html to a web page?

2007-05-03 Thread Igor Vaynberg
see IMarkupResourceStreamProvider, there is also an example in wicket-examples that shows custom markup loading. -igor On 5/3/07, Thomas R. Corbin [EMAIL PROTECTED] wrote: I've got some groovy code which processes an xml file and generates some html. Right now I do it at build time, but

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Matthew Kwong
I'm not new to Wicket, I'm using it for about a year, but there still a lot aspects obscure to me like PageMap, page versioning, details of page request cycle and so on. me too, I also think some more core concept needs more documentation, pro wicket is nice and can get you going with tables,

[Wicket-user] RadioChoice with ajax in wicket 1.3?

2007-05-03 Thread jamieballing
I am getting an error that a RadioChoice control doesn't work via ajax... the getInputAsArray() method on the FormComponent returns null. I did see a post indicating that this was a bug in 1.2... [ wicket-Bugs-1501513 ] RadioGroup/RadioChoice doesn't work with AjaxUpdateBehavior

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
Can we vote on this issue? can I call this an issue? Igor gracefully pointed me to the Model article in the wiki, but this article is mostly Object Structure, and How to Apply it... but lacks a little on how is model updated and passed throughout the framework. It surely taught me though. :) Is

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
you can feel free to vote, but i would warn to expect very little help from the core committer group. like i said, between doing everything else we have no time to write a book. in fact eelco and martijn are working on wicket in action and so definetely do not have time to write another. i dont

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
the models wiki page is a perfect example of a user-contributed documentation where core committers only reviewed and gave feedback. -igor On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Can we vote on this issue? can I call this an issue? Igor gracefully pointed me to the

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
LOL @ my 2c. My intension is not to point a defect or assign responsibility but to highlight a nice to have document/paper/whatever to address architecture design and core framework inner workings. If Elco is reading this, or Martijn, then please guys, put a chapter on it, or put some chapters

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
On 5/3/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: LOL @ my 2c. i dont speak for everyone on the team -igor - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Scott Swank
Have you seen this in the wiki? It's a reasonable start on the sort of thing that I _think_ you're asking for. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott - This SF.net email is sponsored by

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread cowwoc
I wonder why the indentation is all screwed up for the code at the bottom, the markup text looks correct to me... Gili Scott Swank wrote: Have you seen this in the wiki? It's a reasonable start on the sort of thing that I _think_ you're asking for.

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Igor Vaynberg
it is out of date for 1.3 -igor On 5/3/07, Scott Swank [EMAIL PROTECTED] wrote: Have you seen this in the wiki? It's a reasonable start on the sort of thing that I _think_ you're asking for. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott

Re: [Wicket-user] Is it possible to use setMarkupStream to assign html to a web page?

2007-05-03 Thread Thomas R. Corbin
On Thursday 03 May 2007 5:05 pm, Igor Vaynberg escreveu: see IMarkupResourceStreamProvider, there is also an example in wicket-examples that shows custom markup loading. Thanks. I think I'll have to go with the build time option because the getMarkupResourceStream( container,

Re: [Wicket-user] Is it possible to use setMarkupStream to assign html to a web page?

2007-05-03 Thread Chris Colman
Sounds like a similar bug I had with overriding getVariation on WebPage. This is now fixed in 1.2.6. The wicket authors had to rearrange the ordering of initialization to ensure that my constructor got called before the call to my overridden getVariation method. It could be that they may have to

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Eelco Hillenius
I was waiting Wicket in action, any news still after the constructor changes drop? *Still* working on it. Sorry. I've stopped giving estimates as it looks like it's bad luck to give em anyways ;) We're at about 3/4, but with all the changes recently done, and a couple still upcoming and all

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Eelco Hillenius
PS: Unanswered question, is it or not Wicket named after the ewok? ¬_¬' I think it's the 'door in door' Wicket Jonathan originally was thinking off. But to my knowledge, he put more effort in naming the classes of the framework, than the name itself ;) Eelco

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Eelco Hillenius
On 5/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you can feel free to vote, but i would warn to expect very little help from the core committer group. like i said, between doing everything else we have no time to write a book. in fact eelco and martijn are working on wicket in action and so

Re: [Wicket-user] How to remove a Behaviour?

2007-05-03 Thread Eelco Hillenius
See https://issues.apache.org/jira/browse/WICKET-529 Fine by me too. Eelco On 5/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: fine by me -igor On 5/3/07, Johan Compagner [EMAIL PROTECTED] wrote: i think we should be thinking of a remove(IBehavior) It is pretty in line with the rest

Re: [Wicket-user] Ajax Request problem with new window tabs (Wicket 1.3 snapshot)

2007-05-03 Thread RedFury
Hi, Just checked out the latest code from 1.3 trunk, rebuilt my 1.3 and used it in my project. Problem is still happening for me. Can you verify that the latest source works for you when you run my attached test app and follow my instructions? If it does then something is up because it

[Wicket-user] Using AJAX wicketSubmitFormById like a method call

2007-05-03 Thread James Renfro
Hi, I'd like to do something slightly unusual and wrap the wicketSubmitFormById call in another javascript function -- I'm able to do this with no problem by overriding AjaxFormSubmitBehavor.onRenderHeadInitContribution and calling JavascriptUtils.writeJavascript on a wrapped getEventHandler.

Re: [Wicket-user] Using AJAX wicketSubmitFormById like a method call

2007-05-03 Thread Igor Vaynberg
the short answer is: you cant do that. javascript is asynchronous, so the request will start _and_ your function will continue running. usually what is done is that you create a request object, and then register success and failure handlers that are executed after the request is done. you can do

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-03 Thread Francisco Diaz Trepat - gmail
Right. I'll take this last mail to respond others as well. Sorry to hear your book is still on production as I've read some great articles and blogs and I was looking foward to reading the book. But nevertheless it seams very positive that the reason is so many fixes and upcoming good features.

[Wicket-user] alternatives to set locale without using session?

2007-05-03 Thread ywtsang
Dear all, I have read the wicket examples, wiki, mail lists, etc and it seems that if I need to expliclity change the locale, i need to write codes like: getSession().setLocale(my locale); Now, I can determine the explicity language/locale need to use from the incoming URL. I want to use

[Wicket-user] timeline/schedule/details of future wicket release

2007-05-03 Thread ywtsang
after reading different pages by tracing different links from wicket website, it seems that 1.3 / 2.X are under development and have some great changes one of the changes will be session-free, which is essential in my new project, I am interested in getting more details about the new release is

Re: [Wicket-user] alternatives to set locale without using session?

2007-05-03 Thread Scott Swank
Can I ask why you don't want to store the locale in the session? It seems that the locale is unarguably session-specific. Cheers, Scott On 5/3/07, ywtsang [EMAIL PROTECTED] wrote: Dear all, I have read the wicket examples, wiki, mail lists, etc and it seems that if I need to expliclity

Re: [Wicket-user] alternatives to set locale without using session?

2007-05-03 Thread Igor Vaynberg
you can override page.getlocale() and return something based on page parameters. havent tried it but sounds like it should work. -igor On 5/3/07, ywtsang [EMAIL PROTECTED] wrote: Dear all, I have read the wicket examples, wiki, mail lists, etc and it seems that if I need to expliclity

Re: [Wicket-user] timeline/schedule/details of future wicket release

2007-05-03 Thread Igor Vaynberg
http://martijndashorst.com/blog/2007/04/20/wicket-130-roadmap/ -igor On 5/3/07, ywtsang [EMAIL PROTECTED] wrote: after reading different pages by tracing different links from wicket website, it seems that 1.3 / 2.X are under development and have some great changes one of the changes will

Re: [Wicket-user] alternatives to set locale without using session?

2007-05-03 Thread ywtsang
One of the requirements of my project is not to use session, that's why my question is so :) Our website will have different language. Customers can choose for different languages by clicking links like: e.g. /en/... (show english content) /jp/... (show japanese content) /kr/... (show korean

Re: [Wicket-user] alternatives to set locale without using session?

2007-05-03 Thread Igor Vaynberg
tbh i see little value of using wicket in a completely stateless application. the big advantage of wicket is the programming model it offers, which you give up when using stateless only components. -igor On 5/3/07, ywtsang [EMAIL PROTECTED] wrote: One of the requirements of my project is