Re: Dynamically Generated Wicket UI

2010-01-28 Thread dtoffe
The last release supports Wicket 1.3, but trunk supports 1.4 for a long time and a new release should happen soon. Regards, Daniel Josh Kamau wrote: Hi; I have looked at wicketwebbeans and it looks impressive. Does it support wicket 1.4.5 ? the currently available download at

Re: wicket + jdbc template app

2009-11-01 Thread dtoffe
Just set up your connection in your Application subclass and provide a method to get it from wherever you need it. Use connection pooling. Daniel idudko wrote: Hello, guys! I want to use wicket with plain jdbc without any persistence framework. Where i can find template application

Re: Wicket Release Plans for 1.5

2009-10-29 Thread dtoffe
Besides, it would be very interesting to know what changes and new features are planned. Cheers, Daniel Corbin, James-2 wrote: I noticed that 1.5 maintenance releases are available. Can someone speculate on the release time frame for 1.5? We are contemplating an upgrade from 1.4.1

Re: Wicket Release Plans for 1.5

2009-10-29 Thread dtoffe
will allow users access to the markup the component is attached to, possibly, at a time earlier then render time. other then that there will probably be smaller features that will not go into 1.4.x because they require an api break. -igor On Thu, Oct 29, 2009 at 10:38 AM, dtoffe dto

Re: Wicket Eclipse plugin, is there another?

2009-10-21 Thread dtoffe
Hi, Being a Netbeans user myself I've tried the plug-in some time ago and even submitted a small patch to one of the examples included in the plugin. I don't remember the specific features now, but I've read in some Wicket Bench docs or article about features that the Netbeans plugin doesn't

Re: Open source Wicket blog - Open Source CMS with Wicket

2009-10-14 Thread dtoffe
Have you seen Brix ?? http://code.google.com/p/brix-cms/ Daniel Bernhard Grünewaldt wrote: Hello, It is very interesting to have a wicket blog, but for me even more interesting would be a cms based on wicket that integrates very smoothly into an existing wicket webapp. At the

Re: Open source Wicket blog - Open Source CMS with Wicket

2009-10-14 Thread dtoffe
I fully agree with you. Daniel Erik Post-5 wrote: Hi Ralph, Right, I'd glossed over that. I have to say though that the disctinction between the two lists seems a bit arbitrary to me. For . immediately evident, but I would peronally prefer a list of sites/apps that showcase

Re: [WIKI] Websites based on Wicket page presentation

2009-10-13 Thread dtoffe
Chronological, newest at the top seems the best choice, but there is a subtle difference in whether you consider the launch date of the site, or the date in which the site was added to your catalog of Wicket sites. Date of adding is better so you know what sites you haven't looked at yet,

Re: How do you achieve persistency

2009-10-07 Thread dtoffe
This is an example of a requirement that often pops up where I work: let's say the system registers sales, there are an average 5K orders a day and each sale has an average 3 items. Items have a category. I'm required to produce a listing of daily sales grouped by category, with a daily

Re: How do you achieve persistency

2009-10-07 Thread dtoffe
On Wed, Oct 7, 2009 at 8:54 AM, dtoffe dto...@yahoo.com.ar wrote:    This is an example of a requirement that often pops up where I work: let's say the system registers sales, there are an average 5K orders a day and each sale has an average 3 items. Items have a category. I'm required

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
Imho, there is not an universal fast and easy way. We are migrating a mid-sized client-server system which has a fairly big number of rather complex queries already written as stored procedures. So our fast and easy way is to use code generation to get JDBC based DAOs that wrap the stored

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
performance is an issue or the SQL is fairly complex. This is why I pointed out that there is no silver bullet and that the right tools may vary according to the requirements. Cheers, Daniel James Carman-3 wrote: On Tue, Oct 6, 2009 at 12:32 PM, dtoffe dto...@yahoo.com.ar wrote:    So

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
I've used it also, but it changed source availability, licensing and code repositories too many times to my taste, and I'm trying to remove it from all my code. I would consider a solution like that if it was a little more mainstream, widely used and with a supporting community. To date, I

Re: How do you achieve persistency

2009-10-06 Thread dtoffe
Just checked it, the source code for jPersist is not available again, it is too much of a risk to my taste. Daniel dtoffe wrote: I've used it also, but it changed source availability, licensing and code repositories too many times to my taste, and I'm trying to remove it from all

Re: Dual Use wicket:id

2009-09-13 Thread dtoffe
You could also use fragments, this is how Wicket Web Beans handles viewonly mode: http://grepcode.com/file/repo1.maven.org$mav...@net.sourceforge.wicketwebbeans$wicketwebbeans@1...@net$sourceforge$wicketwebbeans$fields$inputfield.java hth, Daniel J.D. Corbin wrote: Yeah, I was aware

Re: Is it possible to restart an AjaxSelfUpdatingBehaviour after it has been stopped?

2009-07-24 Thread dtoffe
::IActivePageBehaviorListener:0:-1wicket:ignoreIfNotActive=true dtoffe wrote: Hi, Also take a look at this thread: http://www.nabble.com/AjaxSelfUpdatingTimerBehavior-and-ModalWindow-to22202102.html I don't mean it's a correct or better solution, but so far it works

Re: Is it possible to restart an AjaxSelfUpdatingBehaviour after it has been stopped?

2009-07-23 Thread dtoffe
Hi, Also take a look at this thread: http://www.nabble.com/AjaxSelfUpdatingTimerBehavior-and-ModalWindow-to22202102.html I don't mean it's a correct or better solution, but so far it works for me. Hth, Daniel CrocodileShoes wrote: Well I was adding this behaviour in the

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-07-21 Thread dtoffe
There is an enhancement request in Wicket JIRA for this issue, but it is set to 1.5 release... http://issues.apache.org/jira/browse/WICKET-1525 In the meantime, the class I created merging AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior is working fine, although I agree

Serious performance degradation

2009-03-29 Thread dtoffe
Hi all, I'm testing a small app about to enter in production, and I've found that performance degrades seriously in a rather small amount of time, even with one single session. The first problem I guess is the lack of LDMs, I underestimated its importance mainly because the application

Re: Need Wicket Examples

2009-03-25 Thread dtoffe
You have a Component Reference here: http://wicketstuff.org/wicket13/compref/ This and the two you mentioned are, in my opinion, the best collections of live examples you can find. Besides there are lots of other useful things scattered in many sites, and you can also look at the

Re: radio button ajax behaviour

2009-03-23 Thread dtoffe
Have you tried with an AjaxEventBehavior and an onchange event ? See the javadocs for AjaxEventBehavior. Daniel SrinivasaRaju Ch wrote: Hi, I am unable to apply ajax behaviour to radio button. I want my components to be shown and hide with RadioChoice. Regards, Srinivasa

Re: Wicket WebBeans Project...

2009-03-19 Thread dtoffe
Leszek Gawron-2 wrote: Is wicketwebbeans project active currently? It looks like it's still using wicket 1.3... -- Leszek Gawron It's active, the project admin has been very busy but there are some other people interested. There's a plan to release WWB 1.1 (still for W

Re: Modal Window performance problem

2009-03-16 Thread dtoffe
Just in case it's useful to you, I've tried what you suggested and the recursive calls doesn't show in the profiler anymore, but the performance in that box is just as bad. Even if there might be some room for improvement, in this case I blame the crappy hardware, since the performance is

Modal Window performance problem

2009-03-12 Thread dtoffe
Hi, I'm having performance problems when opening a modal window. This problem occurs on a lower end POS touchscreen box (Celeron 900, 512 RAM), where the modal window takes some 6-9 seconds to open. I've tried in other lower end machines with better processor and the delay is not so big.

Re: Updating Main Page From Modal Using AJAX

2009-03-12 Thread dtoffe
Hi, I'm doing just what you explained, but the modal window content is a page instead of a panel. The Ajax debug window shows an error indicating that the component I'm trying to update was not found: ERROR: Component with id [[beanForm423]] a was not found while trying to perform

Re: AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-02-26 Thread dtoffe
). Seems to be working ok so far. Hope this helps, Daniel dtoffe wrote: Hi, Is there an easy way of stopping an AjaxSelfUpdatingTimerBehavior when a ModalWindow is opened, and restarting it again when the modal is closed ?? AbstractAjaxTimerBehavior provides a stop() method

AjaxSelfUpdatingTimerBehavior and ModalWindow

2009-02-25 Thread dtoffe
Hi, Is there an easy way of stopping an AjaxSelfUpdatingTimerBehavior when a ModalWindow is opened, and restarting it again when the modal is closed ?? AbstractAjaxTimerBehavior provides a stop() method, but not a (re)start, I would like to know if it is possible to get the desired

Re: What IDE best fits with Wicket?

2009-02-23 Thread dtoffe
There is a Wicket plugin in the Netbeans plugins center, but I prefer to configure it as a library. If you use Maven based projects, adding the references to the pom should be enough I guess. Hth, Daniel Eduardo Nunes wrote: Do you use some plug-in? I like netbeans too. --

Re: Modal window from modal window

2009-02-17 Thread dtoffe
Yes it's possible, see the examples here: http://www.wicket-library.com/wicket-examples/ajax/modal-window.2 You can also create a BasePage containing a ModalWindow and use it as a base for all the pages you want to show in a modal window, so you can open a modal window from any other

Spanish Wicket User Group

2009-02-16 Thread dtoffe
Hi all, Just to announce the spanish speaking Wicket User Group: http://groups.google.com.ar/group/wicket-es We are few yet but the number of members is growing, everybody is welcomed. Cheers, Daniel == Hola a todos, Solo para anunciar

Re: Behaviors and Strategy pattern

2009-02-08 Thread dtoffe
I agree, in general you can have many Behaviors added toghether, and with a Strategy you would have to choose one from the available options. Daniel Thomas Mäder-2 wrote: It's probably closer to a decorator. Thomas On Sun, Feb 8, 2009 at 11:19 AM, HHB hubaghd...@yahoo.ca wrote:

Re: migration from jsf to wicket

2009-01-29 Thread dtoffe
For 1) I suggest you to take a look at Wicket Web Beans: http://wicketwebbeans.sourceforge.net/ Cheers, Daniel janneru wrote: martin john, thank you very much for your ideas! this helps me very much to make the next steps, i will post the results when the integration is

Re: different modal windows from same link or just multiple links?

2009-01-23 Thread dtoffe
I've created a subclass of ModalWindow in which I can set from outside the class of the page to be created. Then, I've created a WebPage subclass that has one of that subclass of ModalWindow. So whenever I need modal windows, I subclass that page and use the same modal window from all the

Re: Technologies to use with large scale Wicket application

2009-01-14 Thread dtoffe
I like this a lot, is very flexible and powerful, but it still doesn't support 1.4 and AFAIK the priority for the developer is in developing WWB 2.0. Anyway I guess patching WWB 1.0 for 1.4 should be far simpler that rolling your own. Besides this, there is Wicket RAD:

Re: Twenty Six Wicket Tricks

2008-12-31 Thread dtoffe
It would be nice to see examples of complex components with values that depend on other values from the same component. As an example, I've recently build a tab panel, each tab contains a table of items each one with unit price and quantity, and the tab's Subtotal below the table. The

Re: Applying Styles Through Java

2008-12-23 Thread dtoffe
walnutmon wrote: Also, as an aside, where can I find wicket jars for the 1.3.5 release with javadocs contained so that I can see the javadocs from netbeans? I have had a heck of a time without them. http://repo2.maven.org/maven2/org/apache/wicket/wicket/ At the moment I

Re: Is there any collapsible container ?

2008-12-21 Thread dtoffe
Check this one: http://wicketwebbeans.sourceforge.net/wiki-html/NestedBeans.html Daniel miro wrote: Is there any collapsible container? -- View this message in context: http://www.nabble.com/Is-there--any-collapsible-container---tp21112328p21117097.html Sent from the

Re: [OT] wicket users around the world

2008-12-15 Thread dtoffe
Heh +10, seems pretty interesting indeed, very nice graphics... Nino.Martinez wrote: Interesting, why not localize the app, so we get it in english? :) Quan Zhou wrote: Beijing China.I'm using wicket to develop webgame named FBM (www.wedomo.com),it's 600,000 registers, and

Re: wickethub.org

2008-12-14 Thread dtoffe
I like your idea, there are many wicket related projects in sourceforge and googlecode, some are empty but some are very interesting. Added three links. Please check the Topics field, I cannot modify a value and have the old values erased, they keep appearing and acumulating with the new

Re: [OT] wicket users around the world

2008-12-12 Thread dtoffe
Mar del Plata, Argentina. I'll post again the link provided by jwcarman since I like it very much: http://www.frappr.com/wicket Daniel francisco treacy-2 wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you

Re: have anyone tried empire-DB?

2008-10-23 Thread dtoffe
Wayne: If you come from a stored procedure heavy usage background and still need to use them, perhaps you can take a look at JPersist. We define two classes for each SP, one is a pojo that reflects the resultset columns (of course this assumes no SP will return different columns in different

Re: Wicket in Action PDF - font size

2008-06-01 Thread dtoffe
You can also try changing fit width to fit visible, in the example pdf provided before the zoom went from 137% to 171% Daniel Eyal Golan wrote: I downloaded the free first chapter of WIA. It seems to me that the font is a bit small. even when I fit width it is still too small.

Re: Wicket database access

2008-02-22 Thread dtoffe
Perhaps this examples can help you: http://wicketstuff.org/wicket13/repeater/;jsessionid=685F6D6B394FDC490370784672E4A8C0?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.FormPage Daniel dtoffe wrote: If I understand you correctly, what you want to do is something

Re: Wicket database access

2008-02-22 Thread dtoffe
If I understand you correctly, what you want to do is something alike to editing an MSAccess table, not even using JDBC or SQL, just messing with the raw data, is this correct ?? I don't think you can do this with Wicket, and even if possible, I don't believe this to be a good practice.

Re: Wicket database access

2008-02-21 Thread dtoffe
Take a look at JPersist (http://www.jpersist.org/). You can do plain JDBC and/or POJO oriented data access, and it's more code oriented that framework oriented, if this makes sense. I think it's easier to understand for people coming from years of desktop database development and when you

Changing the style of a ModalWindow

2008-02-02 Thread dtoffe
Hi !! I want to increase the font size of the caption title in a modal window. I've created a subclass of ModalWindow and added this to the start of the constructor: String captionStyle = STYLE TYPE=\text/css\ !-- div.wicket-modal

Styled TabbedPanel in ModalWindow, cannot apply style to page

2007-12-14 Thread dtoffe
Hi !! I'm trying to put a TabbedPanel like the one shown in the Wicket examples within a ModalWindow. The ModalWindow is ok, the style of the ModalWindow is ok, the page contained in the ModalWindow is ok but the style of the TebbedPanel is broken, the tabs are rendered as a bulleted list.

SOLVED ! Re: Styled TabbedPanel in ModalWindow, cannot apply style to page

2007-12-14 Thread dtoffe
OK, I've found the source of the modal window frame with the help of Web Developer Firefox extension. Then solved the stylesheet issue with a header contributor. Cheers ! Daniel dtoffe wrote: I'm trying to put a TabbedPanel like the one shown in the Wicket examples within

SOLVED Re: .properties files question

2007-11-18 Thread dtoffe
I've found what I wanted in \test\java\org\apache\wicket\properties Cheers, Daniel dtoffe wrote: Hi ! Can I put arbitrary (I mean, not mapped to components) properties in my own subclass of WebApplication, or I have to put them in another place ? How should I load them

.properties files question

2007-11-18 Thread dtoffe
Hi ! Can I put arbitrary (I mean, not mapped to components) properties in my own subclass of WebApplication, or I have to put them in another place ? How should I load them ? Should I use java.util.Properties, or the wicket flavour ? I've been looking at the code of Properties,

Re: .properties files question

2007-11-18 Thread dtoffe
Thanks for your help ! Cheers, Daniel igor.vaynberg wrote: just use Properties, thats what its for... no need for anything wicket-related here -igor On Nov 18, 2007 9:46 AM, dtoffe [EMAIL PROTECTED] wrote: Hi ! Can I put arbitrary (I mean, not mapped to components

Problem in servlet configuration, migrating 1.2.6 to 1.3

2007-11-14 Thread dtoffe
Hi ! I've just finished changing the libraries and fixing the code, the application is small and not even finished. Now it won't run, Tomcat gives me this error: HTTP 404 - Servlet MyApplication is not available My working web.xml was: servlet

Re: Problem in servlet configuration, migrating 1.2.6 to 1.3

2007-11-14 Thread dtoffe
On Nov 14, 2007 4:21 PM, dtoffe [EMAIL PROTECTED] wrote: -- View this message in context: http://www.nabble.com/Problem-in-servlet-configuration%2C-migrating-1.2.6-to-1.3-tf4805722.html#a13751449 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Wicket and Netbeans 6

2007-10-20 Thread dtoffe
ZedroS wrote: Netbeans has now created a quickstart project. However its name is quickstart (war) and I don't manage to have it running. I run the Start.java but nothing happens... Sorry for all these questions, I'm new to Netbeans (which I choose to try out the UML part). I'm

Wicket Web Beans with Wicket 1.3b4 ?

2007-10-12 Thread dtoffe
Hi ! Is Wicket Web Beans from SVN (rev 136 as of now) useable with Wicket 1.3b4 ? Should I stick to last (1.0 rc1) release with 1.2.6 ? Cheers, Daniel -- View this message in context: http://www.nabble.com/Wicket-Web-Beans-with-Wicket-1.3b4---tf4616136.html#a13183356 Sent from the Wicket -

Re: Enums and DropDownChoices in Web Beans

2007-09-20 Thread dtoffe
For most cases, the PropertyChangeEvents are ok. But now I'm facing a particular problem and I guess I'm trying to use the wrong tool for the task. Let's say I have a bean with two properties and I want to show them as dropdownchoices, but they are related, think for example of the

Enums and DropDownChoices in Web Beans

2007-09-19 Thread dtoffe
Hi ! I want to make an Enum field in a bean to fire an event. With plain Wicket I can do something like: DropDownChoice ddc = new DropDownChoice(person, options) { public void onSelectionChanged(java.lang.Object newSelection) { info(Changed!);

Re: Calling all translators - UrlValidator translation

2007-09-07 Thread dtoffe
As of v. 1.2.6, I see there is no spanish .properties translation file, if it's not already done in 1.3 I can contribute it. Daniel Alastair Maw-2 wrote: Hi folks, I've just added a UrlValidator into trunk (WICKET-832, thanks Vincent Demay!). We're unfortunately lacking

Re: Calling all translators - UrlValidator translation

2007-09-07 Thread dtoffe
OK found it browsing 1.3 beta. The string you want for: The English in question is: '${input}' is not a valid URL. is '${input}' no es una URL válida. Daniel dtoffe wrote: As of v. 1.2.6, I see there is no spanish .properties translation file, if it's not already done in 1.3 I

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
- //i would not know if there is some other more efficient manner but this is as simple enough // and it works with DataView, Paging, DataTable this should not be too hard, is it? or you need something else On 8/23/07, dtoffe [EMAIL PROTECTED] wrote: Uhh, well... yes, you are right

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
Done, I've offered to write some example of use for the wiki or example page. Thanks !! Daniel igor.vaynberg wrote: perhaps you can email frank and ask him, it is unfortunate he did not post his code on a wiki page somewhere.

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread dtoffe
Hi Ayodeji ! I fully agree with you specially if you have few tables and adhere totally to ORM. But consider what happens when yo have to fill a DataTable with the result of three+ tables joined, with subselects, group by and dinamic where clauses... Would you consider correct to define

Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread dtoffe
Hi !! I've found this old thread: http://www.nabble.com/RE%3A-DataView-%28extensions%29-tf1287013.html#a3423281 I hope this link works OK, just in case I quote here the relevant part: I have come up with my own subclass of DataTable and implementation of IDataProvider to display

Re: Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread dtoffe
I right on this one ?? Thanks for your help !! Daniel igor.vaynberg wrote: actually idataprovider is more generic then resultset :) -igor On 8/22/07, dtoffe [EMAIL PROTECTED] wrote: Hi !! I've found this old thread: http://www.nabble.com/RE%3A-DataView-%28extensions%29

SOLVED !! Re: Problem following TextField example

2007-08-21 Thread dtoffe
Browsing the forum archive I've found a clue to this issue: In web.xml I've changed the line url-pattern/wicket/url-pattern, adding a url-pattern//url-pattern as another url pattern and now it doesn't give an error. Thanks !!! Daniel dtoffe wrote: Eelco Hillenius wrote: Yes

Re: SOLVED !! Re: Problem following TextField example

2007-08-21 Thread dtoffe
Eelco Hillenius wrote: Browsing the forum archive I've found a clue to this issue: In web.xml I've changed the line url-pattern/wicket/url-pattern, adding a url-pattern//url-pattern as another url pattern and now it doesn't give an error. Can you give us your whole url-pattern

Problem following TextField example

2007-08-20 Thread dtoffe
Hi !! I'm following TextField example at http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.TextFieldPage (sorry long line) After failing for a while I've found these differences in the generated html code: In the Wicket

Re: Problem following TextField example

2007-08-20 Thread dtoffe
1.3 beta ?? Daniel dtoffe wrote: Just to add one more thing, in case it helps identify the problem: An the end of the form action line, there is an attribute in three parts, I'm at home roght now and I don't remember exactly what it says, but lets say it is something like

Re: Problem following TextField example

2007-08-20 Thread dtoffe
Yes, as I said in my last post, I'm using 1.2.6, last stable version as of some two or three days ago. Thanks for your example !! Daniel Eelco Hillenius wrote: /WicketTest/wicket/ is most likely due to directory structure of the project (I'm using Netbeans with the Wicket