Re: Problems toggling visibility on nested borders

2008-05-30 Thread Igor Vaynberg
yep, and if you can actually merge it into a project generated by archetype it will make it that much easier for us to work with. -igor On Thu, May 29, 2008 at 10:55 PM, Peter Gardfjell [EMAIL PROTECTED] wrote: Thanks Igor, I am not sure of what you mean by creating a quickstart. I assume

AjaxFormComponentUpdatingBehavior weird accessing textfields

2008-05-30 Thread freak182
Hello, I dont know if im only experiencing this but i gave headache.My problem is i have a AjaxFormComponentUpdatingBehavior on my dropdownchoice and i need to get the value from a textfield/requiredtextfield but i find it hard...one suggestion from colleague is to this: amountTextfield.add(new

Re: AjaxFormComponentUpdatingBehavior weird accessing textfields

2008-05-30 Thread Igor Vaynberg
formcomponentupdatingbehavior does exactly what its name implies, it updates a single form component. what you want is ajaxformsubmitbehavior which submits the entire form and thus lets you access values in other components -igor On Thu, May 29, 2008 at 11:13 PM, freak182 [EMAIL PROTECTED]

wicketstuff contrib : YUI editor/ajax

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi I use the simple yui editor, and I have some trouble with it if it's used in ajax calls. I have an ajaxtabbed panel, and in one of the tabs I have the editor. So when the user clicks the tab the first time it's all good, however next time I suddenly have two editors, and the input from

Re: hi, is it that the wicketstuff website broken??

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
yes its down, theres also something about this on the dev list... shrimpywu wrote: hi, is it that the wicketstuff website broken?? i can not get into it. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: wicketstuff contrib : YUI editor/ajax

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
I do also get an exception when the editor are rendered firstly, see somewhere near the last line: option selected=selected value=Vælg en/option option value=0name0/option option value=1name0/option option value=2name1/option option value=3name2/option /select /p br / p

Re: Problems toggling visibility on nested borders

2008-05-30 Thread Peter Gardfjell
I have filed a bug report. https://issues.apache.org/jira/browse/WICKET-1673 Any workaround suggestestions? I was thinking of just adding a behavior to my wrapping WebMarkupContainer that adds a style=display: none attribute when the Border is in the collapsed state. Does that sound like a

Re: wicketstuff contrib : YUI editor/ajax

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Adding the yui loader to the page containing the editor, and doing this in simpleyuieditor panel solved the problem: @Override protected void onBeforeRender() { super.onBeforeRender(); //IRequestTarget target = ((WebRequestCycle)RequestCycle.get()).getRequestTarget(); //

Re: AutoCompleteTextField - autocomplete multiple fields

2008-05-30 Thread Roland Huss
Hi Daniel, Daniel Stoch-2 wrote: The main problem is that the AutoCompleteTextField and related classes (behavior, renderer) are not easily to extend (eg. it is necessary to make a few modifications in wicket-autocomplete.js but in AbstractAutoCompleteBehavior the standard js is added in

Re: AjaxFormComponentUpdatingBehavior weird accessing textfields

2008-05-30 Thread freak182
Hello Igor, I test what you say but i have no luck...anyway, i think i should be back in the old ways Thanks a lot..Cheers igor.vaynberg wrote: formcomponentupdatingbehavior does exactly what its name implies, it updates a single form component. what you want is ajaxformsubmitbehavior

Re: Sanity check. Can't inject DAO

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Yup I think timo hit the spot here. When working with enough interfaces your naming becomes Protocol for the interface and ProtocolImpl etc for the implementations (just a side remark). Timo Rantalaiho wrote: On Thu, 29 May 2008, David Nedrow wrote: public class ProtocolDAO extends

Re: AutoCompleteTextField - autocomplete multiple fields

2008-05-30 Thread Daniel Stoch
Thank for your post. initHead() will be very helpful here. I have voted for this issue. -- Daniel On Fri, May 30, 2008 at 9:23 AM, Roland Huss [EMAIL PROTECTED] wrote: Hi Daniel, Daniel Stoch-2 wrote: The main problem is that the AutoCompleteTextField and related classes (behavior,

Re: AutoCompleteTextField - autocomplete multiple fields

2008-05-30 Thread Peter Ertl
I filed an issue in April 2007 (the patch probably unusable right now) to support autocompleting multiple fields https://issues.apache.org/jira/browse/WICKET-488 An example would be to select an address from the autocompleter which will fill in the fields for street, zip code, city, etc.

Re: Testing DataTable simulating click on link, checkbox etc...

2008-05-30 Thread Daniele Dellafiore
On Fri, May 30, 2008 at 4:54 AM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Thu, 29 May 2008, Daniele Dellafiore wrote: umm, but in example above, what column and row number are grabbed? there is a way to show the complete graph of a wicket page hierarchy? Yes there is,

Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread jensiator
Thanks Igor. I had to break down the problem by reverting to wickets own tabbedpanel and dataview(I have done my own components). I still faced the same problem untill I found out that I could not send in the idkey(that I use in the iterator method when getting data from db) through the

Re: Ajax ListView as Gmail

2008-05-30 Thread Davidoff
thanks sir, i've done what you said and now it works! :handshake: I did the same thing for a lazyloading component, but it doens't appears on Ajax refresh event: this is the code: public class AccountPage extends WebPage{ private Manager manager; private User user;

Re: Clone a WebPage

2008-05-30 Thread Gwyn Evans
On Thu, May 29, 2008 at 8:48 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: In my item page I update the cart via Ajax and call updateCart( AjaxRequestTarget target ) this add a container with the cart fragment And you've checked updateCart /does/ add the fragment to the AJAX target? Does

Re: ajaxed panel invisible in IE

2008-05-30 Thread richardwilko
I would make sure that you are outputting valid (x)html, but thats only a guess at the solution, IE debugging is a black art unfortunately. achu18 wrote: hi all, i have an ajax link that targets another panel. when i click that link, i see nothing in IE, works ok in FireFox. in the wicket

Re: ajaxed panel invisible in IE

2008-05-30 Thread richardwilko
this isnt really a wicket thing, but for cross browser javascript I would use something like prototype, which has methods for setting opacity in a cross browser way. http://www.prototypejs.org/api/element#method-setopacity Richard achu18 wrote: hi richard, managed to fix that, had some

Re: ajaxed panel invisible in IE

2008-05-30 Thread achu18
thanx Richard, ur a champ!! richardwilko wrote: this isnt really a wicket thing, but for cross browser javascript I would use something like prototype, which has methods for setting opacity in a cross browser way. http://www.prototypejs.org/api/element#method-setopacity Richard

Re: ajaxed panel invisible in IE

2008-05-30 Thread achu18
hi richard, managed to fix that, had some trouble in my js. currently stuck with IE and alpha(opacity=... seems to work in Firefox, not in IE, any suggestions? richardwilko wrote: I would make sure that you are outputting valid (x)html, but thats only a guess at the solution, IE debugging

Problem with Stress

2008-05-30 Thread Fabien D.
Hi everybody, I'm french and unfortunately in french we have stresses! My server tomcat is using UTF-8, and all my files are encoding in UTF-8, and I want to use this standard. When I want to display a label : like this add(new Label (name,Générer Document)); It displays : Générer

Re: Clone a WebPage

2008-05-30 Thread Erik van Oosten
Do you have any overriden isVisible() in which you use the model? Regards, Erik. Mathias P.W Nilsson wrote: You are perfectly right. All my LoadableDetachable models are called again. Problem is that the cart is a Fragment and it does not get called. -- Erik van Oosten

Re: Problem with Stress

2008-05-30 Thread Matej Knopp
Property files are always ISO 8859-1. Try escaping the string in property file or use eclipse plugin that does that for you. Or try xml property files. -Matej On Fri, May 30, 2008 at 1:32 PM, Fabien D. [EMAIL PROTECTED] wrote: Hi everybody, I'm french and unfortunately in french we have

Re: Problem with Stress

2008-05-30 Thread Thijs
Label label; add(label = new Label (name,Geacute;neacute;rer Document)); label.setEscapeModelStrings(false); Thijs Fabien D. schreef: Hi everybody, I'm french and unfortunately in french we have stresses! My server tomcat is using UTF-8, and all my files are encoding in UTF-8, and I want

Re: Problem with Stress

2008-05-30 Thread Fabien D.
Thank you for your help, but It's not working :( Thijs wrote: Label label; add(label = new Label (name,Geacute;neacute;rer Document)); label.setEscapeModelStrings(false); Thijs Fabien D. schreef: Hi everybody, I'm french and unfortunately in french we have stresses! My

Re: Problem with Stress

2008-05-30 Thread Fabien D.
It's very strange! When I use getString() for a Label like this add(new Label(id,getString(test))); and in my property file : test = Générer Document. It's not working But if I use for I validator : error(getString(test)); It's working and display the stress Matej Knopp-2 wrote: Property

Re: Problem with Stress

2008-05-30 Thread Jonas
I've run into similar problems once, I think what fixed it was setting IMarkupSettings#setDefaultMarkupEncoding to utf-8 as well. If not set explicitly, the encoding of the os is used, which probably doesn't handle french accents correctly, e.g. if it's an english os.

Re: Problem with Stress

2008-05-30 Thread Fabien D.
Thank you, it's working I have forgot the htmp code like egrave; Fabien D. wrote: Thank you for your help, but It's not working :( Thijs wrote: Label label; add(label = new Label (name,Geacute;neacute;rer Document)); label.setEscapeModelStrings(false); Thijs Fabien D.

Re: Problem with Stress

2008-05-30 Thread flo
Hi Fabien, if you save your .java files as utf-8 and mark your html files as utf-8 html you should be able to use special characters directly. Kind regards Florian Sperber On Fri, 30 May 2008 05:08:40 -0700 (PDT), Fabien D. [EMAIL PROTECTED] wrote: Thank you, it's working I have forgot the

Re: Problem with Stress

2008-05-30 Thread Fabien D.
My java files are encoding in UTF8 and my HTML too and use UTF : meta http-equiv=Content-Type content=text/html; charset=UTF-8 / but if a use Label and getString() I have to put the setEscapeModelString to convert String to html and the equivalent caracter in html like é - .egrave; Florian

Re: Can I HTTP Post from static html page to a Wicket page?

2008-05-30 Thread Erik van Oosten
Remove the slashes! Erik. AlexTM wrote: Hi! I've tried this: mount(/allsearch, new QueryStringUrlCodingStrategy(/allsearch, AllSearchPage.class)); -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - To

Re: Problem with Stress

2008-05-30 Thread Jonas
meta http-equiv=Content-Type content=text/html; charset=UTF-8 / does the actual http header also say this? afair having this line in the html isn't enough to have contents treated as utf-8 - To unsubscribe, e-mail: [EMAIL

Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread jensiator
Okey. Found a bug in my code forget everything. Wicket components is working fine, no problem in constructors. Use to CSharp and forgot that you need equals on UUID in Java. I've spent two days on this. Silly me blaming wicket Jens -- View this message in context:

Re: Back button problem with form

2008-05-30 Thread Timo Rantalaiho
On Thu, 29 May 2008, Marieke Vandamme wrote: I noticed the same behavior in firefox, but for me everything works fine in internet explorer. My form is not working with ajax, but with the standard submit. Is it browser specific or can I change the behavior in my code? Probably it depends on

Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Karen Schaper
Hi Wicket Users, I need help with a problem I am having when changing the submit button to be an ajax component. I am using org.wicketstuff.dojo.markup.html.tooltip.DojoTooltip to create a tooltip on an image in a datatable. The tool tips work great until I try to use an ajax component

[Slightly OT] Country selection component with a nice GUI

2008-05-30 Thread Kaspar Fischer
Does anybody know of a Wicket-driven country selection component with a nice visual interface? Something a little more fancy than a drop- down menu: for instance, a world-map where you can select a region in a first step and then select the country in a second step ... Regards, Kaspar

Re: Best Wicket Books or Tutorials

2008-05-30 Thread Martijn Dashorst
Having experienced first hand how much time and effort goes into book writing, I can tell you it is no picknick. Respect the time and effort of your authors (AND publishers!) and buy the book. Note that the authors only get a small share of each copy sold, and that both Eelco and I don't expect

Re: Problem with Stress

2008-05-30 Thread Fabien D.
yes, i see it in the generated code Jonas-21 wrote: meta http-equiv=Content-Type content=text/html; charset=UTF-8 / does the actual http header also say this? afair having this line in the html isn't enough to have contents treated as utf-8

maven deployment..?

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi I use cargo, to deploy to tomcat and I would really like to automatically deploy wicket in deploy and not development. So what do you guys do..? Have different profiles that include different web.xml or? -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK

Re: Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
I had some troubles too, I switched to the tool tip thingy in minis instead. http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis , the prototip... I'd really like to see tooltip contrib that actually requested the tooltip via ajax instead of just placing a panel on the

Re: maven deployment..?

2008-05-30 Thread James Carman
You don't need different web.xml files. You can use maven's filtering capability to filter your web.xml file (actually I filter my spring config files since I set up my application in a spring context). Take a look at my wicket-advanced example code for inspiration:

RE: Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Karen Schaper
I had some troubles too, I switched to the tool tip thingy in minis instead. http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis , the prototip... Thanks I'll try this. I'd really like to see tooltip contrib that actually requested the tooltip via ajax instead

ClassCastException with ListView()

2008-05-30 Thread David Nedrow
I'm getting a cast exception when I attempt to pull a list element from the model. I may be mishandling how I'm using the model, but this is basically based on several tutorials I've looked at. (Note, as people have pointed out here, I use the old fashioned naming style for my interfaces

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
What is the type of item.getModelObject(). Have you run it through a debugger (or just simply put in a println)? On Fri, May 30, 2008 at 11:16 AM, David Nedrow [EMAIL PROTECTED] wrote: I'm getting a cast exception when I attempt to pull a list element from the model. I may be mishandling how

Re: ClassCastException with ListView()

2008-05-30 Thread Thomas Mäder
What's the actual class of the returned from item.getModelObject()? On Fri, May 30, 2008 at 5:16 PM, David Nedrow [EMAIL PROTECTED] wrote: I'm getting a cast exception when I attempt to pull a list element from the model. I may be mishandling how I'm using the model, but this is basically

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
On Fri, May 30, 2008 at 11:24 AM, Thomas Mäder [EMAIL PROTECTED] wrote: What's the actual class of the returned from item.getModelObject()? Jinx! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 11:20 AM, James Carman wrote: What is the type of item.getModelObject(). Have you run it through a debugger (or just simply put in a println)? Yes, I had done that first, thinking maybe I didn't understand how ListView worked via the Model. The object returned by

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
On Fri, May 30, 2008 at 11:38 AM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 11:20 AM, James Carman wrote: What is the type of item.getModelObject(). Have you run it through a debugger (or just simply put in a println)? Yes, I had done that first, thinking maybe I didn't

Re: ClassCastException with ListView()

2008-05-30 Thread Ryan Gravener
How about changing PropertyListView to just ListView. On Fri, May 30, 2008 at 11:41 AM, James Carman [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 11:38 AM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 11:20 AM, James Carman wrote: What is the type of

Re: ClassCastException with ListView()

2008-05-30 Thread Thomas Mäder
There are only two ways I can see that you can get a ClassCastException: 1) There is some class loader magic going on. Highly unlikely. 2) You're being done in by the BoundCompoundPropertyModel you have in the item. Fire up the debugger and check the values directly (relying on toString() is bad;

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 11:46 AM, Ryan Gravener wrote: How about changing PropertyListView to just ListView. I hadoriginally been using ListView, but switched to PropertyListView while trying to troubleshoot this problem. I had forgotten to roll that change back. Switching to ListView makes

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 11:47 AM, Thomas Mäder wrote: 2) You're being done in by the BoundCompoundPropertyModel you have in the item. Fire up the debugger and check the values directly (relying on toString() is bad; some object might be lying to you. Step into the item.getModelObject(). After

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
Can you create a quickstart that exhibits this behavior? Your dao could be a simple thing that doesn't use a persistence library and returns some manufactured objects. On Fri, May 30, 2008 at 12:14 PM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 11:47 AM, Thomas Mäder wrote: 2)

Re: ClassCastException with ListView()

2008-05-30 Thread Gwyn Evans
On Fri, May 30, 2008 at 5:14 PM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 11:47 AM, Thomas Mäder wrote: 2) You're being done in by the BoundCompoundPropertyModel you have in the item. Fire up the debugger and check the values directly (relying on toString() is bad; some

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
On Fri, May 30, 2008 at 12:17 PM, Gwyn Evans [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 5:14 PM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 11:47 AM, Thomas Mäder wrote: 2) You're being done in by the BoundCompoundPropertyModel you have in the item. Fire up the debugger

Re: Sortable Paging DataView inside a tabpanel and backbutton

2008-05-30 Thread Scott Swank
Sorry to jump in at the last minute, but what does you need equals on UUID in Java mean? - Scott On Fri, May 30, 2008 at 5:47 AM, jensiator [EMAIL PROTECTED] wrote: Okey. Found a bug in my code forget everything. Wicket components is working fine, no problem in constructors. Use to

Re: Problem with Stress

2008-05-30 Thread Maarten Bosteels
It should *not* be necessary to convert é into egrave; Are you going to convert ALL 'strange' characters that come out of your database ? I am a wicket newbie and I don't know the wicket-way to solve this (nor if there is a wicket way) but we're using this filter and it works great : !-- this

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 12:20 PM, James Carman wrote: Protocol.class.equals(item.getModelObject().getClass()) Interesting, this returns false. -David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 12:17 PM, Gwyn Evans wrote: Just to double-check Thomas's point (1), are there any of the jars being loaded from the AppServer's class-path rather than the Web-App's classpath? (What AppServer anyway?) No, the only thing endorsed is the mysql connector. This is running

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
Take a look at what classloaders loaded each of the classes. If the class names are the same, then that means that they were loaded by two different classloaders. How are you setting up your application? Are all jars in your WEB-INF/lib directory? On Fri, May 30, 2008 at 2:22 PM, David Nedrow

Re: Dojo ToolTips and wicket ajax component problem

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Karen Schaper wrote: I had some troubles too, I switched to the tool tip thingy in minis instead. http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis , the prototip... Thanks I'll try this. No problem:) And say if you run into trouble, there is a issue

Re: [Slightly OT] Country selection component with a nice GUI

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
I dont think it would be too horrible to whip up such a component with openlayers or gmap. Otherwise you could use image maps... Kaspar Fischer wrote: Does anybody know of a Wicket-driven country selection component with a nice visual interface? Something a little more fancy than a drop- down

Manipulate Component Markup before rendering

2008-05-30 Thread Jürgen Lind
Hi, I was wondering if there is some way to rewrite the component markup before it is rendered. My setting is as follows: 1. I have a component markup file like this wicket:panel script type=text/javascript someFunction( runtime parameter ); /script /wicket:panel 2. The

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
As an aside, this is clearly a configuration item for Spring. From my application context bean id=persistenceUnitManager class = org .springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager property name=persistenceXmlLocations list

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
Perhaps this thread will help you? http://forum.springframework.org/archive/index.php/t-29565.html On Fri, May 30, 2008 at 3:20 PM, David Nedrow [EMAIL PROTECTED] wrote: On May 30, 2008, at 2:26 PM, James Carman wrote: Take a look at what classloaders loaded each of the classes. If the

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 3:26 PM, James Carman wrote: Perhaps this thread will help you? http://forum.springframework.org/archive/index.php/t-29565.html I found a similar thread that basically dealt with the same thing, recommending org .springframework

Re: Best Wicket Books or Tutorials

2008-05-30 Thread TheMayor
I read both Wicket in Action (in its MEAP form) and Enjoying Web Development with Wicket. And I think Wicket in Action is by far a much better book. On certain points it goes a lot deeper than EWDWW. Part of the beauty (and could be an issue for some) of Wicket is that it gives you great

Re: getBodyContainer replacement for appending attributes to body tag

2008-05-30 Thread TheMayor
Hi Eelco, This helps you with having some javascript run, in my case I am trying to add a css class (in order to set the right top-nav element on). Is my only recourse to set add that css class through javascript at this point? -hc Eelco Hillenius wrote: That's described in the migration

Re: ClassCastException with ListView()

2008-05-30 Thread James Carman
If you want to turn off LTW, you can use the AspectJ compiler in your build. If you want an example, check out: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/pom.xml I have the AspectJ compiler set up to weave in the spring aspects. On Fri, May 30, 2008 at 3:29 PM, David Nedrow

Re: Best Wicket Books or Tutorials

2008-05-30 Thread XINGXING NA
Hi Can someone help me this? I have a string containing normal html code. I wanna make them display on my web as normal web rather than a string. Can wicket do this? Because I'm trying to retreive weather cast information from yahoo and I just can get a string from the response. If anyone knows

Re: Best Wicket Books or Tutorials

2008-05-30 Thread Igor Vaynberg
add(new label(string, string).setescapemodelstrings(false)); -igor On Fri, May 30, 2008 at 4:15 PM, XINGXING NA [EMAIL PROTECTED] wrote: Hi Can someone help me this? I have a string containing normal html code. I wanna make them display on my web as normal web rather than a string. Can

Re: ClassCastException with ListView() SOLVED! Sort of.

2008-05-30 Thread David Nedrow
It looks as though this is some subtlety (or brokenness) to GlassFish and Toplink. If I deploy my Wicket app as a module of a Java Enterprise package, it all works as expected. It's a simple workaround for now until I find out if it's a bug, or if I'm just not getting my Glassfish config

DataView and PagingNavigator for columns

2008-05-30 Thread Scott Swank
I need to create a 3 row x N column table with 5 columns per page. The problem is that I end up with: trtd wicket:id=row1stuff/td/tr trtd wicket:id=row2stuff/td/tr trtd wicket:id=row3stuff/td/tr div wicket:id=pagingNav/div Where I want the contents of row1, row2 row3 coordinated with respect

Re: DataView and PagingNavigator for columns

2008-05-30 Thread Scott Swank
In short, is there any reason not to go down this route? package com.vegas.ui.wicket.repeaters; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import wicket.markup.html.navigation.paging.IPageable; public class PageableCoordinator implements IPageable {

Re: Problem with Stress

2008-05-30 Thread francisco treacy
fabien, take a look at this (taken from http://day-to-day-stuff.blogspot.com/2008/05/wicket-internationalization.html ) : Encoding troubles Fairly unknown to beginning programmers is that you are only allowed to use ISO-8859-1 encoding in java properties files. If you live in Europe this is a

Timestamp - java.util.Date convertion in Wicket

2008-05-30 Thread Michael Mehrle
I am persisting java.util.Date objects to the DB but am getting Timestamp objects back (no surprise there since the hibernate type is set to 'timestamp'). Wicket converts the Timestamp and populates my field without complaining but all I'm getting is the time (12:00am - the default start time

RE: Timestamp - java.util.Date convertion in Wicket

2008-05-30 Thread Jeremy Thomerson
Search this list for an email from me about a month ago - I sent a workaround for it. It may have also been applied to trunk, but I don't remember, and I don't have the code with me. Sorry I couldn't be more help. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device

RE: Timestamp - java.util.Date convertion in Wicket

2008-05-30 Thread Jeremy Thomerson
Found a link: http://markmail.org/message/m5cyca4vsrrvcrid Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Michael Mehrle [EMAIL PROTECTED] Sent: Friday, May 30, 2008 8:55 PM To: users@wicket.apache.org Subject: Timestamp -

Re: Wicket Web Beans - An error occurred on the server. Your session may have timed out.

2008-05-30 Thread Dan Syrstad
I have fixed the Localizer problem and committed it to the trunk. Thanks for pointing out the problem! -Dan On Tue, May 27, 2008 at 1:19 AM, Johan Compagner [EMAIL PROTECTED] wrote: getLocaliazer() in a constructor cant be done i guess because it will nog be able to find any resources, expect

Re: Best Wicket Books or Tutorials

2008-05-30 Thread XINGXING NA
Igor, Thanks a lot. it's working now. On Sat, May 31, 2008 at 9:19 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: add(new label(string, string).setescapemodelstrings(false)); -igor On Fri, May 30, 2008 at 4:15 PM, XINGXING NA [EMAIL PROTECTED] wrote: Hi Can someone help me this? I have a