Re: Manipulate Component Markup before rendering

2008-05-30 Thread Erik van Oosten
Hello Jürgen, You coulld put a in the markup and add a Label to it. Don't forget to call setRenderBodyOnly(true) on the label. Regards, Erik. Jürgen Lind wrote: Hi, I was wondering if there is some way to rewrite the component markup before it is rendered. My setting is as follows: 1

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

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, exp

Re: Problem with Stress

2008-05-30 Thread Scott Swank
The above is now in the wiki as well. :) http://cwiki.apache.org/WICKET/everything-about-wicket-internationalization.html On Fri, May 30, 2008 at 6:51 PM, francisco treacy <[EMAIL PROTECTED]> wrote: > fabien, > > take a look at this (taken from > http://day-to-day-stuff.blogspot.com/2008/05/wick

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 -> java.

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

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 since

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 fai

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 {

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: stuff stuff stuff Where I want the contents of row1, row2 & row3 coordinated with respect to the PagingNavigator. Has anyone gone down such a path, and if so are there any relevant lessons lea

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 co

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. Ca

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 h

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: 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 migrati

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 freedom

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 .instrument.classloading.glassfish.Gl

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 t

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 class = "org .springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager"> classpath:META-INF/persistence.xml

Re: ClassCastException with ListView()

2008-05-30 Thread David Nedrow
On May 30, 2008, at 2:26 PM, James Carman wrote: 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 direct

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 someFunction( "runtime parameter" ); 2. The matching component overrides "onComponentTagBody" and "on

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 m

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 wit

Re: maven deployment..?

2008-05-30 Thread Nino Saturnino Martinez Vazquez Wael
Great:) Looks like we do a lot of stuff the same way:) So you just need to add this to your profile?: deployment James Carman wrote: You don't need different web.xml files. You can use maven's filtering capability to filter your web.xml fil

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: 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 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: Problem with Stress

2008-05-30 Thread Maarten Bosteels
It should *not* be necessary to convert é into è 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 : Characte

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: 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

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;

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: >

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 s

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:41 AM, James Carman 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 item.getModelObject(). Have you run it through a debugger (or just simply put in a println)?

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 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 item.g

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

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 item

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 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
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 ho

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: 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

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: http://svn.carmanconsulting.c

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 page

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 http://www.jayway.

Re: Problem with Stress

2008-05-30 Thread Fabien D.
yes, i see it in the generated code Jonas-21 wrote: > >> > > 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: [E

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 to

Re: Sanity check. Can't inject DAO

2008-05-30 Thread David Nedrow
On May 30, 2008, at 12:54 AM, Timo Rantalaiho wrote: On Thu, 29 May 2008, David Nedrow wrote: public class ProtocolDAO extends JpaDaoSupport implements IProtocolDAO ... public class ShowProtocolsPanel extends Panel { @SpringBean(name="ProtocolDAO") private ProtocolDAO dao; Clearly

Re: Best Wicket Books or Tutorials

2008-05-30 Thread gumnaam23
Have they obtained the authors' consent before making them available for free ? If not, then this is clearly illegal, and more importantly unethical. Just my 2c. Samit wrote: > > Knowfree.net is having 2 best books of WICKET.. > > 1. Pro Wicket > 2. _Programming__Java__Wicket__Enjoying_W

[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 --

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

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

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: http://www.nabble.com/S

Re: Problem with Stress

2008-05-30 Thread Jonas
> 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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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/ -

Re: Problem with Stress

2008-05-30 Thread Fabien D.
My java files are encoding in UTF8 and my HTML too and use UTF : 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 Sperber wrote: > > Hi Fabien, > > if you save your .java files

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

Re: Problem with Stress

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

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.
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: > > Prope

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","Générer Document"));" > label.setEscapeModelStrings(false); > > Thijs > > > > Fabien D. schreef: >> Hi everybody, >> >> I'm french and unfortunately in french we have stresses! >>

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

2008-05-30 Thread AlexTM
Hi! I've tried this: mount("/allsearch", new QueryStringUrlCodingStrategy("/allsearch", AllSearchPage.class)); in the init() method of a class extending WicketApplication but i got an error that mount expects a String and a PackageName. Am i using this wrong? Regards Alex igor.vaynberg wrot

Re: Problem with Stress

2008-05-30 Thread Thijs
Label label; add(label = new Label ("name","Géné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 to use th

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: 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 http://day-t

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 D

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 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
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 debuggin

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 wic

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? Do

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: 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 constucto

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. T

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, WicketTest

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 >> (

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 JpaDaoS

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: 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 add