Re: gmap2 and helper classes / methods?

2008-11-13 Thread Martin Funk
2008/11/12 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] Hi I seem to be lacking some helper methods for finding out if a glatlng are in a gbounds etc.. Are there someone out there who has implemented anything or do I need to roll my own, and if the latter I guess I should provide a

Wicket with GWT

2008-11-13 Thread nitingupta183
Hi All, I am working on a web application which makes use of GWT. I have not used GWT RPC majorly. We have made use of the JSON feeds and have used GWT just as a front end technology with almost no say in how we are transporting data between browser and the server. Now we are growing the

Re: What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
It's not something wicket related, you can override all css classes by providing a more specific one... Like if you have this: .wicketmodalwindowstyle { width:5em; } then you can override it by doing so in your css: .myhappystyle .wicketmodalwindowstyle{ width:4em; } So above will override

Re: on click on a link in a listview works with td but but not with div or span

2008-11-13 Thread Michael Sparer
I don't quite get what you're trying to achieve. A table inside a table cell? That shouldn't be a problem if you add/replace your components inside the table cell and not the row. But what I see in your markup is that you're nesting a div inside a tr - and that's not allowed. Maybe your browser

RE: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Stefan Lindner
Take a look at Joomla 1.5 (www.joomla.org). If you have a linux box with Apache/php/MySql the Joomla installation is just to unzip the distribution and run a litte menu driven install program. Administration is easy, plugins for nearly every purpose are available. 3 designs are part of the base

Re: Wicket with GWT

2008-11-13 Thread Johan Compagner
Personally i dont see an integration at all between GWT an Wicket. Both are ui techs that do things completely different. Give us an example how you see flow (setResponsePage()) in wicket and what GWT then should do On 11/13/08, nitingupta183 [EMAIL PROTECTED] wrote: Hi All, I am working on

Re: page refresh cleans my page

2008-11-13 Thread jWeekend
Miro, Take a look at HybridUrlCodingStrategy. Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk miro wrote: I have page with search and several links which sort data etc for all these actions i am using ajax and any of this action will change the page data now if i

Re: on click on a link in a listview works with td but but not with div or span

2008-11-13 Thread miro
the problem with this is div style=width:100%;height:556;overflow:auto; wicket:id=batchInfoContainer table border=1 width=100% wicket:id=batchInfos

Re: Pretty url for tabs

2008-11-13 Thread pixologe
Hi, I had exactly the same use case and solved it as follows - works like charm (unfortunately I cannot share the code): extend StatelessTab (each instance to be constructed with its pageparameter value extend StatelessTabbedPanel, constructor with the pageparameter key override newLink to

Re: Wicket with GWT

2008-11-13 Thread nitingupta183
By integration I meant that if I can make use of the server side features of the Wicket integrate the widgets of GWT just like someone would integrate YUI with Wicket pages. Both technologies are great. Just thinking of a possible marriage for a faster, better app. Any issues seen in this? By

Re: on click on a link in a listview works with td but but not with div or span

2008-11-13 Thread Michael Sparer
Ah, alright. batchInfos is the listview, so you get a new table for each listitem and that's not what you want. Either apply batchInfos to the tr or use wicket:container i.e. [table] [wicket:container wicket:id=batchInfos] [tr wicket:id=batchInfo] miro wrote: the problem with

Re: Pretty url for tabs

2008-11-13 Thread pixologe
Well, when I think of it the word exactly is not right - of course, there's no page versioning and no colons here, since bookmarkablepagelinks are used... this thing works the stateless way when switching tabs. But this way you can have nice urls like [...]/yourPage/yourTabname/ pixologe wrote:

Ajax Response breaks down if CheckGroupSelector is added to AjaxFallbackDefaultDataTable

2008-11-13 Thread Esko Suomi
.which is not desired. I have a test case which is something like this: tester.clickLink(form:group:table:rows:1:cells:8:cell:delete, true); tester.assertComponentOnAjaxResponse(form:group:table); group is CheckGroup, table is AjaxFallbackDefaultDataTable and delete is

Re: CSS navigation menu autolink

2008-11-13 Thread Pierre Goiffon
No answers... The question is how to make automatic linking have an effect on the A tag and its container LI tag, knowing that both of them are part of a custom wicket component. Anyone ? [EMAIL PROTECTED] wrote: Hello all, I'm really new in the object world in general and using Wicket

Re: Wicket with GWT

2008-11-13 Thread jWeekend
Nitin, I have spoken to several GWT experts about this as the idea does at first seem very attractive. Although it is technically feasible (with some significant effort to make a _decent_ integration of the two frameworks), we have never managed to come up with a compelling use-case that would

Re: Meet the Wicket community: Bruno Borges and Jeremy Thomerson

2008-11-13 Thread Michael Sparer
following the WIA blog should be a prerequisite to get permission to post on this list anyway ;-) Martijn Dashorst wrote: While spending a whopping week in the Big Easy (New Orleans) eating gumbo, burgers and fried seafood, and attending ApacheCon US I was in the fortunate circumstances to

Wicket MOdalWindow with changes

2008-11-13 Thread Edi
hello, in my wicket page, i have one combo and button(AjaxLink). when i click the button, i am calling the modalwindow (popup). and in that page, i am getting values and storing into database. after closing the modalwindow (popup), i want to update the combo values, i.e., already saved values

Re: Progress Bar

2008-11-13 Thread Francisco Diaz Trepat - gmail
your voice in the video? On Thu, Nov 13, 2008 at 3:29 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: You could also just do the js with an texttemplate, that way it should be somewhat the same:) I wrote something on it on my blog...

RE: Wicket with GWT

2008-11-13 Thread Nitin Gupta
Hi Cemal, I have following use cases in my mind: I want to use Wicket for all the server side goodies like Session, web flow etc. At the same time, I want to embed certain GWT or GWT-Ext widgets in the Wicket pages because they are really cool and would take a considerable effort for any

[ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Frank Bille
The Apache Wicket team is proud to present the first release candidate of Apache Wicket 1.4. This is the first Wicket version with java 1.5 as minimum requirement. Eager people click here to download the distribution, others can read further: *

authenticatedWebSession class not found

2008-11-13 Thread francesco dicarlo
Hi, i'm using wicket 1.3.4 and i was connecting my wicket application with JAAS and an LDAP server. The class i wanted to use AuthenticatedWebSession is not present in the 1.3.4 jar nor 1.3.5 . Is there another package that contains this class? Frank

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Richard Allen
What about just starting with Google Sites: http://www.google.com/sites/overview.html ? It's free and easy. Good for a static website, which sounds like what you are looking to produce. -Richard On Thu, Nov 13, 2008 at 4:05 AM, Stefan Lindner [EMAIL PROTECTED] wrote: Take a look at Joomla 1.5

Test the http status code from WicketTester

2008-11-13 Thread Magnus Forsberg
Hi all, I have a case where I need to assert a certain http status code from a Wicket page. The status code is set by throwing an AbortWithWebErrorCodeException since I want to display an error message. I have tried checking the WicketTester#getServletResponse().getStatus() but it remains on 200

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Nick Heudecker
I've used Wordpress for this a number of times. Easy to customize and extend. On Thu, Nov 13, 2008 at 6:10 AM, Richard Allen [EMAIL PROTECTED]wrote: What about just starting with Google Sites: http://www.google.com/sites/overview.html ? It's free and easy. Good for a static website, which

Re: Wicket with GWT

2008-11-13 Thread Ladislav Thon
At the same time, I want to embed certain GWT or GWT-Ext widgets in the Wicket pages because they are really cool and would take a considerable effort for any developer to implement them in javascript. Sounds like an idea I also had before: using GWT to create rich JavaScript components

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Johan Compagner
Where is the Wicket solution! On Thu, Nov 13, 2008 at 3:48 AM, Jeremy Thomerson [EMAIL PROTECTED] wrote: This is off-topic, but I figured there couldn't be a better pool of people to ask. I have several friends and family members that want to set up small websites for their businesses or

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Richard Allen
Brix (http://code.google.com/p/brix-cms/). But it's new and not as feature rich as something like Joomla. On Thu, Nov 13, 2008 at 9:26 AM, Johan Compagner [EMAIL PROTECTED]wrote: Where is the Wicket solution!

Re: authenticatedWebSession class not found

2008-11-13 Thread Pasquale Fersini
Hi Frank, there is a package (wicket-auth-roles) that you must add to your pom file. Search with google a valid repository. Bye, Pas. 2008/11/13 francesco dicarlo [EMAIL PROTECTED] Hi, i'm using wicket 1.3.4 and i was connecting my wicket application with JAAS and an LDAP server. The class

Re: Wicket with GWT

2008-11-13 Thread Richard Allen
If ExtJS essentially gives you what you want in the way of widgets, why not look into integration of ExtJS and Wicket? In the near future, we will be migrating our applications that use ExtJS to Wicket. There has already been some work done in this area. See the following links. ExtJS 2.2:

Re: Wicket with GWT

2008-11-13 Thread Richard Allen
Also, can you share what you get from Wicket that you don't get from GWT? That would be useful for those who venture on this list considering GWT versus Wicket. Thanks, Richard On Thu, Nov 13, 2008 at 9:53 AM, Richard Allen [EMAIL PROTECTED]wrote: If ExtJS essentially gives you what you want

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Gwyn Evans
I'd suggest taking a look at CityDesk - (http://www.fogcreek.com/CityDesk/), which doesn't require any server-side support. It's a Windows program that generates a site and transfers it to any web server automatically, using FTP or file copy. You can setup the site look feel, etc, in 'design

Re: What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-13 Thread shetc
Thanks Nino -- the solution was even easier than what you suggested but you pointed me in the right direction. I was so focused on Wicket that I forgot the plain ole CSS solution :wistle: -- View this message in context:

Re: Ajax Response breaks down if CheckGroupSelector is added to AjaxFallbackDefaultDataTable

2008-11-13 Thread Igor Vaynberg
try repainting the form instead of the table -igor On Thu, Nov 13, 2008 at 2:13 AM, Esko Suomi [EMAIL PROTECTED] wrote: .which is not desired. I have a test case which is something like this: tester.clickLink(form:group:table:rows:1:cells:8:cell:delete, true);

authenticatedWebApplication error with jaas

2008-11-13 Thread francesco dicarlo
hi i've switched my wicket application from webapplication to authenticatedwebapplication with jaas authentication on jboss. now it doesn't start giving me errors on filter in web.xml telling me that must be a subclass of webapplication. How must i declare now the web.xml in order to run

Per-user, event-aware page/component caching

2008-11-13 Thread Tremelune
We have many components that require heavy operations to gather the necessary data, and I was wondering if there was a way to cache the Wicket objects that have pulled the data. I have seen similar questions come up before, and the common answer was to simply cache the data being pulled, and not

Re: [ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Jörn Zaefferer
The following subprojects are incompatible with Wicket 1.4 RC1 and therefore block us from migrating: wicket-ioc (only 1.3.5 available) and wicket-spring-annot (only 1.3.5 available). wicket-spring-annot needs to change its usage of MetaDataKey in SpringComponentInjector (constructor doesn't

Re: Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread bruno . borges
Are you looking for a website package with data retention support (file / database / jcr), wysiwyg editor and customizable components? I suggest you to take a look at Magnolia, Alfresco or OpenCMS. I rather prefer Magnolia actually, but the others are not bad though. Cheers! Bruno Borges

Re: Per-user, event-aware page/component caching

2008-11-13 Thread Igor Vaynberg
you can simply stick a panel or page into session. alternatively you can override ipagefactory and implement a cache infront of that for bookmarkable pages. as far as events, etc, you would have to visit all cached things in cache and do whatever it is you need to do. wicket cant help you here

ajax busy indicator never stops in IE

2008-11-13 Thread miro
My page has IndicatingAjaxLinkWhen user clicks on this link the busy indicator never stops , it works fine in firefox here some html tbody wicket:id=auditInfoContainer style=width:100%;height:556;overflow:auto;

Re: Per-user, event-aware page/component caching

2008-11-13 Thread Igor Vaynberg
oh, and of course, if you do this you are on your own as far as threading goes inside your components. i still think that instead of doing this implementing a general cache is a much better approach. instead of doing tvdata tv=tvsource.getdata(); musicdata music=musicsource.getdata();

Re: Pretty url for tabs

2008-11-13 Thread pixologe
ahhh sorry my fault. of course i meant TabbedPanel and AbstractTab. Stateless* are the names of the classes I created... Sorry! rmoskal wrote: Thanks, that seems super straight forward as I've come to expect from wicket. Only one thing, there doesn't seem to be a StatelessTabbedPanel

Re: gmap2 and helper classes / methods?

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
Hmmm, I got so far: public boolean isWithInBounds(GLatLngBounds bounds, GLatLng point) { //if (pointlat maxY pointlat minY pointlng minX pointlng maxX) { //execute script } if (bounds.getSW().getLat() point.getLat()

Re: Progress Bar

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
hehe yes why? Francisco Diaz Trepat - gmail wrote: your voice in the video? On Thu, Nov 13, 2008 at 3:29 AM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: You could also just do the js with an texttemplate, that way it should be somewhat the same:) I wrote something on

Re: Per-user, event-aware page/component caching

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
And if you are using spring it's really easy to inject caching using the spring module cache sub project, when using your approach. Igor Vaynberg wrote: oh, and of course, if you do this you are on your own as far as threading goes inside your components. i still think that instead of doing

Re: What is best practice for overriding settings in ModalWindow modal.css file?

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
:) shetc wrote: Thanks Nino -- the solution was even easier than what you suggested but you pointed me in the right direction. I was so focused on Wicket that I forgot the plain ole CSS solution :wistle: -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK

Re: Wicket upload example in latest snapshot (1.4) has exception

2008-11-13 Thread NickCanada
Apologies -after a more thorough search of the issue the following thread addresses the issue: http://www.nabble.com/FileUpload---need-to-set-a-model-to-get-updateModel-working--td19283571.html#a19312573 from UploadPage.java in the examples: add(fileUploadField = new

Re: Progress Bar

2008-11-13 Thread Francisco Diaz Trepat - gmail
I kind of felt curious to knowing a little bit more about you, so hearing the video made me wonder... I got knock down by management on modifying progress.js with templates. Solution was mandate to remove Status Messages all together. so css visibility: hidden added to the status class.

Re: Progress Bar

2008-11-13 Thread Nino Saturnino Martinez Vazquez Wael
Francisco Diaz Trepat - gmail wrote: I kind of felt curious to knowing a little bit more about you, so hearing the video made me wonder... So now you know :) I got knock down by management on modifying progress.js with templates. Solution was mandate to remove Status Messages all

Re: authenticatedWebApplication error with jaas

2008-11-13 Thread bruno . borges
Show us the code that declares your WicketApplication class. Specially the import header and the public class ... line. Regards, Bruno On Nov 13, 2008 2:24pm, francesco dicarlo [EMAIL PROTECTED] wrote: hi i've switched my wicket application from webapplication to authenticatedwebapplication

Setting a button press on hitting the enter key from the keyboard

2008-11-13 Thread vishy_sb
I have a form inside a modal window. The form has a textfield field and a button in it. I want to set the focus on the button when I enter something in the textfield. I tried adding the following behaviour to the textfield but it is not working. textfield.add(new AbstractBehavior(){

Re: Per-user, event-aware page/component caching

2008-11-13 Thread Jeremy Thomerson
Yeah - don't stick panels or pages in session - you'll have weird bugs come up, and won't get much help here because it's not really a good idea to share components between threads. Much better is to create a caching data model - that's what really needs to be cached anyway - the data for the

Re: [ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Jörn Zaefferer
Sorry, I didn't. Looks like its all there, thanks! Jörn On Thu, Nov 13, 2008 at 6:20 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Did you read the migration guide? Martijn On Thu, Nov 13, 2008 at 5:49 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: The following subprojects are incompatible

Re: Re: Per-user, event-aware page/component caching

2008-11-13 Thread bruno . borges
What you could actually do, is implement a Component Pool. Take a look at the Commons-Pool project and then, role your own pool. :-) Combine a pool with an application or a session and good luck! Apache Commons Pool Project http://commons.apache.org/pool/ Regards, Bruno On Nov 13, 2008

Re: Setting a button press on hitting the enter key from the keyboard

2008-11-13 Thread vishy_sb
Thanks for the reply Nino. I was able to get it to work using the thread at http://www.nabble.com/IE7-ignores-AjaxButton-onSubmit-when-I-use-the-keyboard-enter-key-td20234862.html#a20236544 Thanks for the help though, vishy Nino.Martinez wrote: Checkout the wicket input events project..:

AW: [ANNOUNCE] Apache Wicket 1.4 release candidate 1

2008-11-13 Thread Bosten, Marcus
... you are my heros Best Regards, Marcus - Originalnachricht - Von: [EMAIL PROTECTED] [EMAIL PROTECTED] An: [EMAIL PROTECTED] [EMAIL PROTECTED]; users@wicket.apache.org users@wicket.apache.org; Apache Wicket Development [EMAIL PROTECTED] Gesendet: Thu Nov 13 15:06:51 2008 Betreff:

Label with AjaxSelfUpdatingTimerBehavior not refreshing

2008-11-13 Thread a_godin
I'm trying something very simple ... I have a form with many panels and in one of those panels, I want the current date and time to be refreshed periodically. final Label msgStatutTransfert = new Label(msgStatutTransfert, new Date().toString());

Re: Label with AjaxSelfUpdatingTimerBehavior not refreshing

2008-11-13 Thread Jeremy Thomerson
Yes - you're not understanding models. You created a Label with a static String - the current time at the time of creation. You need to use a model, which is a data finder something like: new Label(msgStatutTransfert, new AbstractReadOnlyModelDate() { public Date getObject() {

Re: Label with AjaxSelfUpdatingTimerBehavior not refreshing

2008-11-13 Thread Bruno Borges
The problem is not just about understanding models. It's deeper than that. You have to understand that Wicket architecture is -hardly-speaking- like Java Swing. Objects that you create, will live just like a JButton, JPanel, whatever. Label msgStatutTransfert = new Label(msgStatutTransfert, new

Re: Label with AjaxSelfUpdatingTimerBehavior not refreshing

2008-11-13 Thread Bruno Borges
Jeremy, I forgot to ask you: how many beers is Martijn giving to you to promote the book? I want that deal too! cheers, Bruno Borges blog.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld

Re: Label with AjaxSelfUpdatingTimerBehavior not refreshing

2008-11-13 Thread Jeremy Thomerson
So far we're even on beers purchased - so I guess not enough! I'm thinking about adding Buy Wicket in Action to my signature to help reduce my chances of carpal tunnel. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Nov 13, 2008 at 5:30 PM, Bruno Borges [EMAIL PROTECTED]wrote:

Page references and serialization

2008-11-13 Thread Cristiano Kliemann
Hi! Some questions about Wicket serialization... Let's say I have two pages, A and B, and page B holds a reference to page A. First, an instance of page A is rendered and gets serialized by Wicket. Then the user clicks on a button that creates an instance of page B, sets a reference to the

Beta invite: try Wicket 1.4RC1 on EC2

2008-11-13 Thread swashbuck1r
Congrats to the Wicket team for releasing the 1.4 RC today. If any Wicket developers are interested in playing around with the new version of Wicket on EC2, I've added 10 invites to the Stax private beta for Wicket users on this list to use. We've also deployed a new Stax application template

Re: Page references and serialization

2008-11-13 Thread James Carman
Do the pages you need to go back to need to be the exact same instances (do you need that exact state)? On Thu, Nov 13, 2008 at 9:20 PM, Cristiano Kliemann [EMAIL PROTECTED] wrote: Hi! Some questions about Wicket serialization... Let's say I have two pages, A and B, and page B holds a

Re: OFF TOPIC - all-in-one wysiwyg website package?

2008-11-13 Thread Cristina
Hi Jeremy, I believe Webnode (http://www.webnode.com/en/) may be what you're looking for... It's far superior than Synthasite, which is already quite good. Both are perfect tools for almost static sites as they support contact forms, as well as a number of interactive widgets. Both also offer

Re: combining target.addComponent and javascript

2008-11-13 Thread Timo Rantalaiho
On Tue, 11 Nov 2008, Steve Swinsburg wrote: No I don't have the normal markup of the panel in the HTML as I didn't really want to create it then hide it. So I just have the placeholder tag. Then clicking the button is meant to replace the contents of the placeholder tag with the actual

How can I use I18N in panel before add panel to a page?

2008-11-13 Thread Anders
Hi, I writed my own wicket panel component, and this component contains a label. I use Component's getString() to set label's model, like: *//constructor* * public InvoiceWaferDataSetPanel(String id, InvoiceWaferDataSet dataSet) { super(id); setModel(new

Re: How can I use I18N in panel before add panel to a page?

2008-11-13 Thread Jeremy Thomerson
Use StringResourceModel. 2008/11/13 Anders [EMAIL PROTECTED] Hi, I writed my own wicket panel component, and this component contains a label. I use Component's getString() to set label's model, like: *//constructor* * public InvoiceWaferDataSetPanel(String id, InvoiceWaferDataSet

Re: How can I use I18N in panel before add panel to a page?

2008-11-13 Thread Anders
Thank you, Jeremy. 2008/11/14 Jeremy Thomerson [EMAIL PROTECTED] Use StringResourceModel. 2008/11/13 Anders [EMAIL PROTECTED] Hi, I writed my own wicket panel component, and this component contains a label. I use Component's getString() to set label's model, like:

Re: authenticatedWebApplication error with jaas

2008-11-13 Thread francesco dicarlo
package it.eurosoft; import it.eurosoft.gui.module.login.LoginBase; import it.eurosoft.gui.module.pratiche.PraticheBase; import it.eurosoft.mapping.convenzioni.Convenzione; import it.eurosoft.util.MySession; import java.util.Locale; import org.apache.wicket.Application; import