Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default.
If you can, submit a patch. I think most of the community would like that functionality. On 29/05/07, Dipu [EMAIL PROTECTED] wrote: I agree, it will be nice to have the ability control this. In my case i had to hard code it in the autocomplete js file and i had to rebuild the wicket extensions. Regards Dipu - Original Message - *From:* Sean Sullivan [EMAIL PROTECTED] *To:* wicket-user@lists.sourceforge.net *Sent:* Saturday, May 26, 2007 6:57 AM *Subject:* Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default. IMHO, it would be nice if Java programmers could control this behavior with a Java API. On 5/25/07, Dipu [EMAIL PROTECTED] wrote: At the moment with Wicket's auto complete list we need to scroll down to select an option from the Autocomplete list. It would be nice to have the first item highlighted by default. I tried changing selected to 0 where its declared and it didn't work for me. On setting selected to 0 a doUpdateChoices(resp) worked, function doUpdateChoices(resp){ var element = getAutocompleteMenu(); element.innerHTML=resp; if(element.firstChild element.firstChild.childNodes) { selected = 0; Can anyone please confirm if this is the right way to go. Regards Dipu -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Forms locale(europe) and numbers does not
Hey Nino, remember that I changed longtitude to longitude. So try doing new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(),longitude)) . try changing On 29/05/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I have a form form wicket:id=Form input type=hidden wicket:id=longtitudeNE name=longtitudeNE id=longtitudeNE /form java part: gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new PropertyModel( gMap.getCenter(), longtitude))); If I am in US locale numbers are interpreted okay, however if in european locale they dont. Thats because the value are in US locale so how do I tell that these two fields should be interpereted as US. I have tried overiding the getlocale, but it does not seem to work? Should I create my own IConverter? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Special table generation
Thomas, The DataView allows for custom markup. See: http://www.wicket-library.com/wicket-examples/repeater , http://wicket.sourceforge.net/wicket-extensions/apidocs/wicket/extensions/markup/html/repeater/data/DataView.html On 26/05/07, Thomas Singer [EMAIL PROTECTED] wrote: I want to create a table with different rows as shown at http://www.syntevo.com/smartcvs/download.jsp . As you can see there are following kind of rows: - header/title (e.g. Application Details), - version information - separator (maybe can be replaced by stylesheet tuning) - download link I prefer to have prototypes for each row variant in my markup file, e.g.: ... table class=download tr wicket:id=header td colspan=3 class=header wicket:id=textHeader/td /tr tr wicket:id=version td class=indentedTextVersion:/td td nowrap class=version wicket:id=number1.2.3/td td nowrap class=changelog a href=changelog.txtChange Log/a /td /tr tr wicket:id=separator td colspan=3 class=separatornbsp;/td /tr tr wicket:id=download td colspan=2 nowrap class=indentedText wicket:id=descriptionDescription/td td nowrap class=downloadLink a href=foo wicket:id=linkDownload/a br/ div class=downloadSize wicket:id=size(12,345,678 bytes)/div /td /tr /table ... and want to tell from the page class instance what should be displayed: public class Download extends OurWebPage { ... final ListContainer container = ... container.add(new Xxx(id0, header) .add(new Label(text, Application Details))); container.add(new Xxx(id1, version) .add(new Label(number, 6.0.1))); container.add(new SeparatorXxx(id2, separator); container.add(new Xxx(id3, header) .add(new Label(text, Windows))); container.add(new Xxx(id4, download) .add(new Label(description, Windows with JRE)) .add(new Link(link, http://...;)) .add(new Label(size, (16,543,432 bytes; ... } Is there something like a ListContainer available which just renderes all child components behind each other? What type the Xxx component should be - something like Fragment? Or better should I create an own WebMarkupContainer-derived component? -- Thanks in advance, Tom - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] wicket-contrib-gmap GMarkerComponent proposal
Since the tool tip may contain possessive nouns, this causes a javascript syntax error, so i propose changing gmarker.getToolTip() to gmarker.getToolTip().replace(\',\\') in methods: createMarkerDefaultIcon, createMarkerCustomIcon http://www.papernapkin.org/pastebin/view/150 -- Ryan Gravener fbb55c59d619f3cd68ac4f70ebeca372 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user