Re: hot deploy new/updated components?
Johan Compagner wrote: i wouldn't use those 2 in production.. Yeah JavaRebel is supposed to have too much of a performance penalty to use in production. And for development, I think that Wicket is at least as friendly to live coding and updating as anything else in Java. The only caveat is that since Wicket is actually OO you end up adding and removing methods more often, but JavaRebel takes care of that. What i find strange is that it seems that they have all the code just in jsp files? Because you really change only jsp files to be up and running again? Where is all the business logic? Database layer? Is all the flow control also done in jsp? Yes I think this comparison is a little off. If the concern is fixing rendering quirks, typos in the copy, etc, you can leave Wicket's template reloader on in production if you want to, right? To be able to make big changes without downtime, what people really need is a cluster (even if it's just on one box), with or without Wicket. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: safari and ajax (issue 938)
Make sure you've cleared Safari's cache since upgrading to beta4. So far I haven't run into any problems with Safari ajax in the new version, and I seem to be the canary in the coal mine. ;) Nino Saturnino Martinez Vazquez Wael wrote: Hmm changing it OnChangeAjaxBehavior, makes it stop working if using it in conjuction with datepicker on safari and FF.. BTW, i am using an text field with datepicker and want to make selecting a date with the datepicker trigger the ajax call, it works in IE FF but not safari.. Nino Saturnino Martinez Vazquez Wael wrote: Hi im having some trouble with wicket,ajax and safari. I get the exact same errors as this wicket issue, marked resolved: http://issues.apache.org/jira/browse/WICKET-938 Browsing the ajax on wicket examples does not seem to trigger the bug. I've been looking at this example: http://wicketstuff.org/wicket13/ajax/on-change-ajax-behavior Im using AjaxFormComponentUpdatingBehavior (with onchange as parameter) and the example uses OnChangeAjaxBehavior, could this cause the problem? Theres also a link from the issue towards nabble but it can nolonger find the message? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Scrolling browser to newly visible panel?
Gwyn Evans wrote: > I'm doing this with Ajax, > but the problem is that it typically appears off the bottom of the > existing page - is there a good way of triggering the browser to do > something like scroll down, ideally to the bottom of the new form? findpos(elem) has worked well for me on ajax-added elements: http://www.quirksmode.org/js/findpos.html Also this is good for the scrolling part: http://www.quirksmode.org/viewport/compatibility.html And then if you wanted to animate the scrolling, and also wonder why this seemingly common need is not addressed by popular effects libraries, there's: http://technically.us/code/x/dragging-and-dropping-effects Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple children border?
dcastannon wrote: A border component insert its markup into the child tag of the border markup. I think i need a border with multiple body tags, identified by name. Is something like a template (a la facelets). How can i do this with wicket? You can do this panels or fragments (or just individual components if that is all you need to put in the spot): http://www.nabble.com/More-extend-points-tf4442899.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More on Wicket/Hibernate...
Neil B. Cohen wrote: > Anyone have a really simple MySQL example like that? Or an online > tutorial that I could follow? We have one of those: http://databinder.net/site/show/baseball-players I don't know if you want to use Databinder or not, but you aren't going to find a lot of code or tutorials otherwise for what you're asking because most people are using Spring managed sessions and transactions. If you need any help that is particular to Databinder please register on the forum and send me an email immediately afterward, or else the registration will be lost among 300 spam registrations. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More extend points
fero wrote: Hi, is it possible to have more than one on one page. I use a convention of adding components at the extension point from an overridable method. The base class just returns an empty component; subclasess return a Panel. I don't know if that's more templates than you want, but keep in mind that the subclass doesn't need a template for itself, just one for each Panel that it creates. More here: http://technically.us/code/x/plugging-source-lists-into-sockets (scroll down to "Sockets and plugs") Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HOWTO create a new ResourceReference
Ryan Sonnek wrote: Okay folks, I think I'm stuck. After releasing my wicketstuff project that creates RSS feeds [1], it was suggested to use a WebResource instead of a WebPage to create RSS/Atom feeds [2]. Makes sense to me, but I'm really getting stuck on how to create a new ResourceReference for my new FeedResource [3]? --page template-- title="RSS" href="#" /> --page class-- add(new ResourceLink("rss", new ResourceReference(MyApplication.class, resource_name))); --application class-- getSharedResources().add(MyApplication.class, resource_name, null, null, new FeedResource()); Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ajax error in Safari / Konqueror
RĂ¼diger Schulz wrote: How can I find out more, or what more information would be needed to root this down? Maybe this is related to WICKET-938? Probably. It's all too easy to see Safari fail in beta3; I've had to drop back to beta2. I was planning to capture some markup examples over the weekend but didn't get around to it. If anyone wants to add something concrete to that bug, please do. https://issues.apache.org/jira/browse/WICKET-938 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is Wicket a proper framework for a Webshop ?
Xavier Hanin wrote: Note that databinder can be used with Spring too. It's useful for exposing your hibernate beans as wicket models. The beginning of this thread is not on gmane for some reason. But, yeah actually I've done a few web stores with Databinder. As always I find Wicket to be helpful no matter how simple the front end is, but where it really pays off is on the administration side. You can pile on the functionality without the code becoming a nightmare, and reusing components is even easier when no one is obsessing over appearance. Even on the front end, checkout is a multistep process that I would hate to code without managed state. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is this even possible...?
James Crosthwaite wrote: Basically i have a list of objects, currently displayed in a PageableListView, that i want the user to be able to edit. Oh and I should probably add that the example I pointed you to maps the ListView to a list contained in an object by a compound property model, but you probably want to use a query to get that list so it would be new PropertyListView("compenent-id", new HibernateListModel("from MyObject")) {...} AND if you want the changes to commit on submit and you don't have a containing DataForm that is bound to an entity (as in this scenario I'd guess), you can extend DataFormBase instead and let its onSubmit handler do the txn commit. Let me know by email if you need a Databinder forums account. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is this even possible...?
James Crosthwaite wrote: I'm relatively new to Wicket and i have a query about creating an editable list. My query is simply, is it even possible? Impossible is nothing! Basically i have a list of objects, currently displayed in a PageableListView, that i want the user to be able to edit. They should be able to edit any of the rows and then click a button to save all changes that they may have made to each row. I've tried using DataBinder which didn't help The recipe book example has repeating form elements in a list view. It's not pageable, but that shouldn't be a problem. I've been improving that example lately so I'll point you to the trunk version: http://databinder.net/wsvn/Databinder/examples/trunk/recipe/src/main/java/example/panels/EditRecipe.java?op=file If some of the code comments seem wrong it because I haven't updated them yet. Also this is the version that's running live because the old one was a little exception-happy. http://databinder.net/recipe/ Hope that helps. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]