Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Martijn Dashorst
On 3/26/07, Chris Colman [EMAIL PROTECTED] wrote: I'm just curious how much of the AJAX dance we have to do ourselves if we wanted to do Web 2.0 things like partial updates, modal dialog boxes etc., with wicket/AJAX instead of Echo2. For non-effects stuff you can update any component using

Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Johan Compagner
need to be aware of are: - wrapping things in webmarkupcontainers to modify visibility we now have a method on Component: /** * Render a placeholder tag when the component is not visible. The tag is of * form: lt;componenttag style=display:none; id=componentid/gt;. This *

Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Martijn Dashorst
Not to be a pest, but where is the vote on @dev that ratifies this change, afaik it was still under discussion? Martijn On 3/26/07, Johan Compagner [EMAIL PROTECTED] wrote: need to be aware of are: - wrapping things in webmarkupcontainers to modify visibility we now have a method on

Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Martijn Dashorst
According to my email log, the method is named differently, and the discussion about this change made it controversial in my book, warranting a clear proposal and a vote: what it does, how it affects current applications and how it plays together with our security. At least it is not clear which

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Matej Knopp
What wicket version are you using? On 3/26/07, Lan Boon Ping [EMAIL PROTECTED] wrote: Hi all, I have a problem in AutoComplete textfield, here are the use cases. Use case A - test auto-complete field - (works) - type www.google.com in URL bar and press enter to navigate google main page.

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Lan Boon Ping
Hi, Matej Knopp! I'm using wicket-1.2.3. Thanks. Regards Boon Ping On 3/26/07, Matej Knopp [EMAIL PROTECTED] wrote: What wicket version are you using? On 3/26/07, Lan Boon Ping [EMAIL PROTECTED] wrote: Hi all, I have a problem in AutoComplete textfield, here are the use cases. Use

Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Matej Knopp
I really don't understand what's the big deal here. The method name can change if there is good reason for it. What does it do? It renders a hidden placeholder with id same as original component where the component would not be rendered. How does it affect security? Why would it affect security

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Matej Knopp
That's an rather old version of wicket. You should really consider upgrading. Anyway, the problem you're describing is probably because firefox caches wrong state of the page. IMHO the best solution for this is to send no-store cache header to browser, e.g. override configureResponse of your page

Re: [Wicket-user] Wicket AJAX newbie

2007-03-26 Thread Martijn Dashorst
On 3/26/07, Matej Knopp [EMAIL PROTECTED] wrote: I really don't understand what's the big deal here. The big deal is that there is a big discussion, and suddenly the change is committed. Don't we have a process for changes that are controversial, perhaps not for you, but for other committers

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Lan Boon Ping
Hi, Thanks for your quick reply. Overriding configurReponse doesn't solve the problem. Unfortunately, we couldn't upgrade to new version of wicket for some reasons. Is there any workaround solution for this problem? Thanks Regards Boon Ping. On 3/26/07, Matej Knopp [EMAIL PROTECTED] wrote:

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Matej Knopp
that is really strange, can you check if the flag does force a new request on backbutton? e.g. when you click back button, is there another http request ? -Matej On 3/26/07, Lan Boon Ping [EMAIL PROTECTED] wrote: Hi, Thanks for your quick reply. Overriding configurReponse doesn't solve the

[Wicket-user] getRealPath(wicket 1.2.4) any proper wicket way to this?

2007-03-26 Thread Nino Wael
Hi Currently we are doing this within our wicket application: getWicketServlet().getServletContext().getRealPath(/); Im wondering if there are a more wicketly kind of approach to this? regards Nino winmail.dat- Take

Re: [Wicket-user] General Java/OO/Pattern Question

2007-03-26 Thread Matt Welch
On 3/23/07, Scott Swank [EMAIL PROTECTED] wrote: In short, the Gang of Four's Composite pattern. http://en.wikipedia.org/wiki/Composite_pattern Really? I briefly took a look at that pattern specifically and I didn't see the fit, but I'll take a closer look. Thanks for the advice. James, I

[Wicket-user] AJAX modal window (1.2.5)and form

2007-03-26 Thread Nino Wael
Hi I have a AJAX modal window wich contains a form. In the form there a an radiochoice that has an ajax formcomponentupdatingbehavior. Now the updating behavior are trigered but the model of the radiochoice aren't being updated. Also on the basepage where you can trigger the modal window, I

[Wicket-user] wicket-contrib-datepicker is broken in v. 1.3

2007-03-26 Thread Andrew Klochkov
wicket-contrib-datepicker is broken due to changes in models. Who is responsible for it? The fix is quite simple, I can create a patch. -- Andrew Klochkov - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] wicket-contrib-datepicker is broken in v. 1.3

2007-03-26 Thread Martijn Dashorst
On 3/26/07, Andrew Klochkov [EMAIL PROTECTED] wrote: wicket-contrib-datepicker is broken due to changes in models. Who is responsible for it? The fix is quite simple, I can create a patch. Can you do so, and attach it to a JIRA issue? http://issues.apache.org/jira/browse/WICKET Thx. Martijn

Re: [Wicket-user] AJAX modal window (1.2.5)and form

2007-03-26 Thread Matej Knopp
If you have nested forms it will fail. Nested forms are not supported in wicket 1.2. If you need separate form in modal window in 1.2, the safest bet is to use a page inside modal window. -Matej On 3/26/07, Nino Wael [EMAIL PROTECTED] wrote: Hi I have a AJAX modal window wich contains a

Re: [Wicket-user] wicket-contrib-datepicker is broken in v. 1.3

2007-03-26 Thread Andrew Klochkov
Martijn Dashorst wrote: On 3/26/07, Andrew Klochkov [EMAIL PROTECTED] wrote: wicket-contrib-datepicker is broken due to changes in models. Who is responsible for it? The fix is quite simple, I can create a patch. Can you do so, and attach it to a JIRA issue?

Re: [Wicket-user] wicket-contrib-datepicker is broken in v. 1.3

2007-03-26 Thread Martijn Dashorst
On 3/26/07, Andrew Klochkov [EMAIL PROTECTED] wrote: Created an issue, attached the patch https://issues.apache.org/jira/browse/WICKET-421 Thx. Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.5 will keep

Re: [Wicket-user] Problem with ajax tree and listView

2007-03-26 Thread Isaac Weng
Oops, I forgot to mention that. I'm using 1.2.5 release. Isaac Matej Knopp wrote: Hi, as a temporary solution you can. But this is bug and needs to be resolved. What version of wicket are you using? On 3/26/07, Isaac Weng [EMAIL PROTECTED] wrote: Hi, Myabe I can just use

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

2007-03-26 Thread tooy li(Gmail)
line:1011; Wicket.ajax.call is null or not a object. Message: 2 Date: Sat, 24 Mar 2007 18:47:45 -0700 From: Igor Vaynberg [EMAIL PROTECTED] Subject: Re: [Wicket-user] the modal window cannot work in ie fro wicket 2.0 snapshot To: wicket-user@lists.sourceforge.net Message-ID: [EMAIL

Re: [Wicket-user] AJAX modal window (1.2.5)and form

2007-03-26 Thread Nino Wael
it's not a nested form: body concept ideas: display questionaire on main page, have popups when adding questions with available question types. form wicket:id=form input type=submit wicket:id=addQuestion / /form

Re: [Wicket-user] Problem with ajax tree and listView

2007-03-26 Thread Matej Knopp
I see. It's probably same thing as for 1.x, that TreeItem doesn't reattach the tree itself. -Matej On 3/26/07, Isaac Weng [EMAIL PROTECTED] wrote: Oops, I forgot to mention that. I'm using 1.2.5 release. Isaac Matej Knopp wrote: Hi, as a temporary solution you can. But this is bug and

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

2007-03-26 Thread tooy li(Gmail)
hi, it cannot work in IE 6 only , I had tried many pc to prove it . Since mostly of client people use IE, I have to support it. I ' m worry about the upgrade from my version to the reccently the snapshot. I hope dev team can release alpha or beta version in the month before you change back

[Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Francis Amanfo
Hi guys, An IBM internal memo, written and signed by product manager, Tim O'Malley, has been leaked. Well, to be more direct, a friend of my working with IBM leaked this to me. In it, IBM praised Wicket as an innovative and state of the art web framework that stands up tall against all its

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Korbinian Bachl
The official announcement of this was planned for April 1, 2007, but because this falls on Sunday, the announcement is scheduled for April, 2 2007. is this some kind of april the 1st joke or are you serious about it??? _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Francis Amanfo
I'm only a messenger. Don't persecute the messenger! On 3/26/07, Korbinian Bachl [EMAIL PROTECTED] wrote: The official announcement of this was planned for April 1, 2007, but because this falls on Sunday, the announcement is scheduled for April, 2 2007. is this some kind of april the 1st

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

2007-03-26 Thread Matej Knopp
Hi, indeed it doesn't work in IE6. Thanks for spotting this. Fix is already in svn, would you mind trying if it helps? -Matej On 3/26/07, tooy li(Gmail) [EMAIL PROTECTED] wrote: hi, it cannot work in IE 6 only , I had tried many pc to prove it . Since mostly of client people use IE, I have

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Alexandre Bairos
It´d be fantastic. But it's a bit suspicious, considering the magic date. :) On 3/26/07, Francis Amanfo [EMAIL PROTECTED] wrote: I'm only a messenger. Don't persecute the messenger! On 3/26/07, Korbinian Bachl [EMAIL PROTECTED] wrote: The official announcement of this was planned for

[Wicket-user] filtering on table

2007-03-26 Thread Wouter de Vaal
Hi, I've got FilterToolbar working on my DataTable (ajax version) when I use a single TextFilteredPropertyColumn, however when I create one for each header, pressing enter in search does not work anymore. Could someone give me an example how to get this working? I also see there are GoFilter

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Matej Knopp
http://mail-archives.apache.org/mod_mbox/tapestry-users/200504.mbox/[EMAIL PROTECTED] On 3/26/07, Alexandre Bairos [EMAIL PROTECTED] wrote: It´d be fantastic. But it's a bit suspicious, considering the magic date. :) On 3/26/07, Francis Amanfo [EMAIL PROTECTED] wrote: I'm only a

Re: [Wicket-user] filtering on table

2007-03-26 Thread Matej Knopp
hi, the filtering won't work with ajax due to invalid markup it produces. Though there could be possible workaround using nested forms. -Matej On 3/26/07, Wouter de Vaal [EMAIL PROTECTED] wrote: Hi, I've got FilterToolbar working on my DataTable (ajax version) when I use a single

[Wicket-user] HTML problem with Opera

2007-03-26 Thread Marc-Andre Houle
Ok, It is not wicket related but since I don't know where to ask this and the Opera forum seems a little bit desert, I'm trying within this community that have a lot of bright big brained developers! :) Here is the problem, We generate image, and we also generate image map to make it possible to

Re: [Wicket-user] getRealPath(wicket 1.2.4) any proper wicket way to this?

2007-03-26 Thread Eelco Hillenius
Nope, that's the way to do it. In 1.3 you can get the servlet context directly from the application object. Eelco On 3/26/07, Nino Wael [EMAIL PROTECTED] wrote: Hi Currently we are doing this within our wicket application: getWicketServlet().getServletContext().getRealPath(/); Im

Re: [Wicket-user] filtering on table

2007-03-26 Thread Wouter de Vaal
Hi, I've changed my table to the DefaultDataTable and I still have the same issues... Wouter On 3/26/07, Matej Knopp [EMAIL PROTECTED] wrote: hi, the filtering won't work with ajax due to invalid markup it produces. Though there could be possible workaround using nested forms. -Matej On

Re: [Wicket-user] getRealPath(wicket 1.2.4) any proper wicket wayto this?

2007-03-26 Thread Nino Wael
Ok. -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius Sendt: ma 26-03-2007 17:27 Til: wicket-user@lists.sourceforge.net Emne: Re: [Wicket-user] getRealPath(wicket 1.2.4) any proper wicket wayto this? Nope, that's the way to do it. In 1.3 you can get the servlet

Re: [Wicket-user] General Java/OO/Pattern Question

2007-03-26 Thread Scott Swank
The idea is that the grouper and the leaf implement the same interface and perhaps share an abstract parent -- this is named component in the GoF Pattern. This is to avoid the following sort of code when you are processing the tree: if (x.isLeaf()) { // process leaf } else { // process

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Korbinian Bachl
seems as they (the jokers) have no longer the patience to wait for april 1st :P -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matej Knopp Gesendet: Montag, 26. März 2007 17:03 An: wicket-user@lists.sourceforge.net Betreff: Re:

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Eelco Hillenius
They spoiled my negotiation position! ;) Eelco On 3/26/07, Korbinian Bachl [EMAIL PROTECTED] wrote: seems as they (the jokers) have no longer the patience to wait for april 1st :P -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matej

Re: [Wicket-user] General Java/OO/Pattern Question

2007-03-26 Thread Igor Vaynberg
just look at wicket component=leaf grouper=markupcontainer there is no nice and neat pattern that will do everything you want, its just not how inheritance works. this is why in wicket Page class has oncomponenttag() eventhough it doesnt make sense there. -igor On 3/23/07, Matt Welch [EMAIL

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Igor Vaynberg
were you gonna get paid one miio dollars? -igor On 3/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote: They spoiled my negotiation position! ;) Eelco On 3/26/07, Korbinian Bachl [EMAIL PROTECTED] wrote: seems as they (the jokers) have no longer the patience to wait for april

[Wicket-user] getting form field value from AutoCompleteTextField

2007-03-26 Thread Jaime De La Jara
Hi, I have a form with some fields and a AutoCompleteTextField that is working nice, however now I need to retrieve the value of a TextField from this AutoCompleteTextField so I can restrict the values shown for autocompletion. Is this possible? in the affirmative case, could you give me a

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

2007-03-26 Thread Igor Vaynberg
On 3/26/07, Jaime De La Jara [EMAIL PROTECTED] wrote: Hi, I have a form with some fields and a AutoCompleteTextField that is working nice, however now I need to retrieve the value of a TextField from this AutoCompleteTextField so I can restrict the values shown for autocompletion. Is this

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread remco bos
I saw it coming.. http://wicket.sourceforge.net/ExampleStockQuote.html Igor Vaynberg [EMAIL PROTECTED] wrote: were you gonna get paid one miio dollars? -igor On 3/26/07, Eelco Hillenius [EMAIL PROTECTED] wrote:They spoiled my negotiation position! ;) Eelco On 3/26/07,

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Alexandre Bairos
*Dr. Evil http://www.imdb.com/name/nm196/*: Okay, here's the plan. We get the warhead and then hold the world ransom for... 1 MILLION dollars! *Number Two http://www.imdb.com/name/nm0001822/*: [*clears throat*] Sir, strictly speaking, a million dollars will not go very far these days.

[Wicket-user] Where to download wicket 2.0 jar builds?

2007-03-26 Thread M.A.Bednarz
Hello PoJo friends ! Is there a public repository where I can download wicket 2.0 jar instead of source code? I would like to switch at this point my community portal to the 2.0 branch :-) Maciek - Take Surveys. Earn

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Francis Amanfo
And I learnt before they came to the conclusion to adopt Wicket some few IBM'ers proposed to grab the current Tapestry 5 en rename it to Wicketstry because they looked so alike. But the panel voted unanimously for Wicket because they wanted the real and original meat. On 3/26/07, remco bos

Re: [Wicket-user] Where to download wicket 2.0 jar builds?

2007-03-26 Thread Rüdiger Schulz
I don't know where to download 2.0 jars, but I can assure that you should think twice about upgrading to 2.0 at the moment. Search the archive for reverting the constructor change and you'll find out that the future of 2.0 in its current state is not so well. 2007/3/26, M.A.Bednarz [EMAIL

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

2007-03-26 Thread Jaime De La Jara
Basically what I need is to narrow the possible choices of the autocomplete field, depending on the value the user entered in the other field (which is a normal field). This is a user requirement to simplify their data entry, in this case the normal field is an invoice number and the

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

2007-03-26 Thread Igor Vaynberg
ok, this is a bit tricky but is def doable. i dont think this is a very common usecase, so i dont think we will create all the factories/etc for you to be able to do this out of the box because in most cases it will just be api bloat. that said, although not trivial it is still def very possible

Re: [Wicket-user] General Java/OO/Pattern Question

2007-03-26 Thread Matt Welch
Thanks everyone, you've given me a lot of places to start. Matt On 3/26/07, Igor Vaynberg [EMAIL PROTECTED] wrote: just look at wicket component=leaf grouper=markupcontainer there is no nice and neat pattern that will do everything you want, its just not how inheritance works. this is why

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

2007-03-26 Thread Jaime De La Jara
Absolutely !, thanks a lot Igor, I'll try it right now. I agree that is an uncommon use case and it doesn't deserve an api change and a custom solution is what is needed. Jaime. Igor Vaynberg [EMAIL PROTECTED] wrote: ok, this is a bit tricky but is def doable. i dont think this is a very

[Wicket-user] wicket sessions

2007-03-26 Thread Scott Swank
We are integrating our new Wicket app with our legacy applications as follows: 1. legacy app makes an http post to wicket app 2. the bridge page catches this post, extracts the http parameters and redirects to the relevant wicket page -- crucial point: we now have a cart object in our wicket

Re: [Wicket-user] wicket sessions

2007-03-26 Thread Igor Vaynberg
why would the session be different? its stored in a cookie... -igor On 3/26/07, Scott Swank [EMAIL PROTECTED] wrote: We are integrating our new Wicket app with our legacy applications as follows: 1. legacy app makes an http post to wicket app 2. the bridge page catches this post, extracts

Re: [Wicket-user] wicket sessions

2007-03-26 Thread Eelco Hillenius
See wicket.protocol.http.servlet.WicketSessionFilter Eelco On 3/26/07, Scott Swank [EMAIL PROTECTED] wrote: We are integrating our new Wicket app with our legacy applications as follows: 1. legacy app makes an http post to wicket app 2. the bridge page catches this post, extracts the http

[Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
Hey all, I have a list view that contains a list of objects. these objects are selectable via checkboxes. My problem is that i don't know how to know or tell my code what objects have been selected. here is what i want to do. i ahve a list of objects lets call them pens. So i have a list of 5

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread Igor Vaynberg
please search mail archives before posting http://www.nabble.com/Design-questions%3A-Use-of-controllers-and-wicket-models-tf3373279.html#a9510784 -igor On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: Hey all, I have a list view that contains a list of objects. these objects are selectable

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
I don't quite grasp the concepts used in that tread. from what i understand i should create a separate model that takes the model that has to get set(the model that is selected via checkbox) in the object i'm making, and places it in a collection if it is selected. Is this correct? -B

[Wicket-user] no public field or method named onfocus message

2007-03-26 Thread jamieballing
We have a problem with a page that has an applet on it. The issue only occurs in Firefox (it works in IE7). If I click on a link that brings up a modal window, I get an error in the debug output indicating that it can't find a public onfocus event. The debug output appears below:

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread Igor Vaynberg
if you dont grasp the concepts perhaps you should read the wiki page on models the concept is: since the checkbox works by setting/clearing a boolean the model translates a set boolean-insert into collection and clear boolean-remove from collection. there is explanation there, try to read that

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

2007-03-26 Thread Jaime De La Jara
Igor, unfortunely I haven't been able to use the solution proposed. I copied and pasted the code for the getCallbackUrl method but it had a minor typo, but after I corrected and reloaded the page with the autocomplete field the browser (IE) throws a javascript error. The following works (using

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

2007-03-26 Thread Jaime De La Jara
Sorry in the last post I had a type instead of limiter=1415 it should be numFact=1415, I'm using numFact as the request variable. Jaime De La Jara [EMAIL PROTECTED] wrote: Igor, unfortunely I haven't been able to use the solution proposed. I copied and pasted the code for the getCallbackUrl

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

2007-03-26 Thread Igor Vaynberg
your textfield doesnt have an id attribute defined, so docuement.getelemetnbyid is not finding it -igor On 3/26/07, Jaime De La Jara [EMAIL PROTECTED] wrote: Sorry in the last post I had a type instead of limiter=1415 it should be numFact=1415, I'm using numFact as the request variable.

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

2007-03-26 Thread Jaime De La Jara
No, it has one (returned by getMarkupId() and generated by setOutputMarkup(true)). This is the generated html : input value= maxlength=16 type=text class=tipo size=12 name=numero id=numero scriptdocument.getElementById('numero').focus();/script The strange thing is that if I set the

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
I read the thread again and still don't quite understand. I thought i understod models but maybe i don't i am going to read the wiki on that now. but in between this is what i think all the tread is saying tell me if i'm wrong or not. its saying that you create a custom model that takes as an

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

2007-03-26 Thread Igor Vaynberg
if you feel like creating a quickstart i can take a look at that -igor On 3/26/07, Jaime De La Jara [EMAIL PROTECTED] wrote: No, it has one (returned by getMarkupId() and generated by setOutputMarkup(true)). This is the generated html : input value= maxlength=16 type=text class=tipo

[Wicket-user] wicket-dev topics

2007-03-26 Thread Scott Swank
Would it be appropriate to post position(s) for Wicket developers on the list? -- Scott Swank reformed mathematician - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread Igor Vaynberg
On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: its saying that you create a custom model that takes as an argument in the constructor the object/model that you want to tie to a check box. this model is used as the model that we pass to our check box component. the setObject method gets called

Re: [Wicket-user] wicket-dev topics

2007-03-26 Thread Martijn Dashorst
As in job listings? Sure. As long as it is wicket expertise you're looking for, and not a generic 'we want an engineer that knows insert list of frameworks' Martijn On 3/27/07, Scott Swank [EMAIL PROTECTED] wrote: Would it be appropriate to post position(s) for Wicket developers on the

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread GS-ikiini
Great so i do understand somewhat. I am reading the wiki on models now and its becoming more clear. I thought i knoew but apparently i didn't know the lowlevel workings. If i get stuck i will be seeking more help. Thanks a lot -B igor.vaynberg wrote: On 3/26/07, GS-ikiini [EMAIL PROTECTED]

Re: [Wicket-user] wicket-dev topics

2007-03-26 Thread Scott Swank
Vegas.com is looking for Java developers with Wicket experience. The listed position does not mention Wicket, but all of our on-going web development is in Wicket. http://www.vegas.com/about/jobs/jobdescription_softwaredev.html.html Our stack looks like: wicket service layer domain model

Re: [Wicket-user] check box questions how to I associate an object with a boolean seletion from a checkbox component

2007-03-26 Thread Eelco Hillenius
java.lang.Boolean? Eelco On 3/26/07, GS-ikiini [EMAIL PROTECTED] wrote: one more thing...i see wehn you implement the IModel class in the thread, you use a data type called Boolean. What is this? is this something (an enum class) that you create else wehre? -B igor.vaynberg wrote:

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

2007-03-26 Thread Igor Vaynberg
the reason i wanted a quickstart is so that i can see the problem in runtime. what you have sent over does not compile when i drop it into quickstart as it contains your app-specific classes/daos/validators which you have not included. -igor On 3/26/07, Jaime De La Jara [EMAIL PROTECTED]

Re: [Wicket-user] no public field or method named onfocus message

2007-03-26 Thread Matej Knopp
huh, i haven't really tested the code with applet. I guess i'd need a quickstart so that i can reproduce this behavior to be able to fix it. -Matej On 3/26/07, jamieballing [EMAIL PROTECTED] wrote: We have a problem with a page that has an applet on it. The issue only occurs in Firefox (it

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 David Leangen
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: hmm, you might be right. i dont think we url encode the input. please add an rfe. -igor On 3/26/07, Michael

Re: [Wicket-user] AutoComplete TextField broken

2007-03-26 Thread Lan Boon Ping
Hi Matej, Sorry for my stupidity (I was adding it in a wrong page), your solution does solve the problem. Thanks. Regards Boon Ping On 3/26/07, Matej Knopp [EMAIL PROTECTED] wrote: that is really strange, can you check if the flag does force a new request on backbutton? e.g. when you click

[Wicket-user] Custom XML markup

2007-03-26 Thread Toscano
Hello, Sometime ago I was doing some tests for using Wicket with Backbase. Basically, Backbase is XML which is processed within javascript rendering some special interface controls. I need to create custom Panels, so I can get the special XML Backbase needs. For example, there is a replacement

Re: [Wicket-user] Japanese does not work in Autocomplete (Firefox/Windows)

2007-03-26 Thread David Leangen
Just an update... The problem does not occur on English Windows. It occurred on 3 different machines running Japanese Windows XP. I'm stumped... On Tue, 2007-03-27 at 09:45 +0900, David Leangen wrote: Hello! For some reason, in Firefox under Windows only, Japanese autocomplete does

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] Summer of Code

2007-03-26 Thread Eelco Hillenius
Martijn, weren't you the one who suggested summer of code? Eelco On 3/23/07, behlma [EMAIL PROTECTED] wrote: Hi guys, as mentioned some time ago I'd be really up for the idea of having a Summer of Code. I personally would really be interested in creating an email utility library, even

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] mount question

2007-03-26 Thread Eelco Hillenius
Hi, I'm trying to mount some pages so the URL is more user friendly. Now, what I have to do for resources like images and css?. I have a images directory in the root of webapp and the css file is in the root to. just include it as a relative resource. If you look at Wicket-examples, you'll

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Toscano
igor.vaynberg wrote: 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? Thank you for your fast answer. I'm using 3_3_1. I will open the issue now.

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 Toscano
Oh, I'm sorry, that was the Backbase version. The wicket ones is 1.2. Thank you again. igor.vaynberg wrote: 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

Re: [Wicket-user] Custom XML markup

2007-03-26 Thread Toscano
Hello again, I'm very sorry, but I don't know how to do it, the DropDownChoice code is quite complicated for me. Does anybody can give me a small example of how to create a component which outputs the XML I want from a List of objects? I only need a small ones with the java, markup and how to

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 Toscano
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 markupStream, final ComponentTag openTag) { List choices =

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

[Wicket-user] Flexible markup with same Java classes

2007-03-26 Thread Chris Colman
Let's say I've created a Layout and corresponding Java classes for the following page -- | Header | -- | | | | Menu | Content | | | | -- | Footer | -- Each section is implemented by a

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, and

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

2007-03-26 Thread Harald Gruber
I want to be able to have the flexibility to leave the header out in certain markup variations without wicket generating an error because the page tries to add the header component. guess in your base webpage you should fill the header-div/span with a default WebMarkupContainer ( add(new

[Wicket-user] Radio.getValue?

2007-03-26 Thread Nino Wael
Hi We are doing some extensive Jmeter testing, and have run into a technical problem regarding radios, which are the following: If you had 5 radios on a page at a given time, their value would have been radio1, radio2.. radio5. If you then pulled out radio number 4 then the list would be

[Wicket-user] Flexible markup with same Java classes

2007-03-26 Thread Chris Colman
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 Yes that looks like an quicker and easier solution. The header is very cheap to construct.