Re: [Wicket-user] location.href not working on button

2006-10-30 Thread Steve Knight
it reproducable and think it issomething Wicket could fix, please share.EelcoOn 10/23/06, Steve Knight [EMAIL PROTECTED] wrote: Hello, I have a Cancel button in my forms that, when clicked, should redirect the user back to the previous page.This works fine in all but one of my forms.It is almost identical

Re: [Wicket-user] location.href not working on button

2006-10-30 Thread Steve Knight
For the time being, I am just going to add a SimpleAttributeModifier to my button and generate the onclick code (window.location.href) that way. Seems to work.SteveOn 10/30/06, Steve Knight [EMAIL PROTECTED] wrote: I cannot reliably reproduce the problem. But I have a solution that shouldn't

[Wicket-user] location.href not working on button

2006-10-23 Thread Steve Knight
Hello,I have a Cancel button in my forms that, when clicked, should redirect the user back to the previous page. This works fine in all but one of my forms. It is almost identical to all the others, so I don't know why it doesn't work. I am simply using setResponsePage(backPage) in the onClick

[Wicket-user] Modal panel contribute to header

2006-09-25 Thread Steve Knight
Can a panel that is used in a modal window contribute to the header? I've tried using HeaderContributor to include a _javascript_ reference, but it doesn't show up. For the time being I just added the HeaderContributor to the page class that generates the modal window, and it works...sort of. It

Re: [Wicket-user] Tree scrolling

2006-09-22 Thread Steve Knight
, but the problem remains valid.The images don't scroll...at least not in IE.In Firefox, the scrollbars don't even show up. On 9/21/06, *Steve Knight* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am using the new tree component that was backported to 1.2, but I am having trouble putting the tree

[Wicket-user] Tree scrolling

2006-09-21 Thread Steve Knight
I am using the new tree component that was backported to 1.2, but I am having trouble putting the tree into a scrollable div. I would like to restrict the tree to a certain height on screen, and when the tree gets larger it should show vertical scrollbars. This sort of works. The text scrolls fine

Re: [Wicket-user] Tree scrolling

2006-09-21 Thread Steve Knight
Ok, I just noticed that the tree component has built-in scrolling, but the problem remains valid. The images don't scroll...at least not in IE. In Firefox, the scrollbars don't even show up. On 9/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am using the new tree component that was backported

[Wicket-user] FileUpload validation

2006-09-18 Thread Steve Knight
Hello,Are there any examples of how I can validate an uploaded file? For example, I would like to validate that the user uploaded a valid image file. - Using Tomcat but need to do more? Need to support web services, security?

[Wicket-user] Select row in tree

2006-09-06 Thread Steve Knight
Is it possible to programatically select a row in the new tree component? I think the old version had setSelected(final DefaultMutableTreeNode node).Steve - Using Tomcat but need to do more? Need to support web services,

Re: [Wicket-user] Filterable ListViews

2006-05-05 Thread Steve Knight
You could also check out the Databinder Phone Directory example: http://databinder.net/directory/appSteveOn 5/5/06, Michiel Trimpe [EMAIL PROTECTED] wrote: Hey everybody, I've just started a Wicket pilot as a possible web-framework to complement Spring and Hibernate at our

[Wicket-user] AjaxSubmitButton causing ClassCastException

2006-04-28 Thread Steve Knight
I just tried migrating from beta3 to rc2 and now I am getting a ClassCastException from my AjaxSubmitButton subclass. I tried creating a very simple test page to make sure it wasn't something I was doing in my subclass, but I still get the same error: 10:30:22.468 ERROR! [SocketListener0-1]

[Wicket-user] Changing Tree model

2006-04-24 Thread Steve Knight
I am currently using the tree component to display hierarchical data, and now I'd like to have an Edit page that allows users to edit the data that is displayed in the tree. So, after the user saves the changes the tree view is displayed again, and the changes should be reflected in the tree.

Re: [Wicket-user] Changing Tree model

2006-04-24 Thread Steve Knight
/06, Eelco Hillenius [EMAIL PROTECTED] wrote: setOptimizeItemRemoval to false should do the trick. Or maybe justmanually removeChildren when you suspect something changed (e.g. byregistring a listener).EelcoOn 4/24/06, Steve Knight [EMAIL PROTECTED] wrote: I am currently using the tree component

[Wicket-user] Image upload

2006-04-21 Thread Steve Knight
I am creating a form that will allow users to upload image files that will be displayed on other pages. How should I go about uploading the images so that they can be used in Wicket Image components on the other pages? The upload part is not problem, I just don't know where I should put them. On

Re: [Wicket-user] Dynamically updating a tree via Ajax?

2006-04-21 Thread Steve Knight
I don't know but I'd like to see one too, along with drag and drop capabilities. There was someone on the list that was working on a DOJO based tree, but I haven't heard anything else since.I thought about trying to create it myself, but my Wicket skills and knowledge are not yet up to par.

[Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
I created a DropDownChoice that submits the form via Ajax on it's onchange event. Seems to work great in Firefox, but in Internet Explorer it gets progressively slower each time I trigger the Ajax call. Is this a known issue with IE? Steve

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
drop down example. i tried and couldnt. maybe you have a memory leak elsewhere that is slowing down the container. -IgorOn 4/7/06, Steve Knight [EMAIL PROTECTED] wrote: I created a DropDownChoice that submits the form via Ajax on it's onchange event. Seems to work great in Firefox, but in Internet

Re: [Wicket-user] Ajax in IE gets slower and slower

2006-04-07 Thread Steve Knight
PROTECTED] wrote: This is happening with AjaxPagingNavigator as well. The memory usage of both IE and firefox jump pretty high on each refresh. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Steve Knight Sent: Friday, April 07, 2006 10:58 AM To: wicket

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-06 Thread Steve Knight
. Is there a better way of doing this?SteveOn 4/5/06, Igor Vaynberg [EMAIL PROTECTED] wrote:you can add an IAjaxCallDecorator to the ajax behavior inside your submit button and prepend that little bit of _javascript_. -IgorOn 4/5/06, Steve Knight [EMAIL PROTECTED] wrote: Okay, now that my indicator is working, I

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Steve Knight
that reproduces the problem? and then i will try it against trunk and tell you if its been fixed or not. -IgorOn 4/4/06, Steve Knight [EMAIL PROTECTED] wrote: Not easily. I am using Databinder which I think is tied to beta2.Steve On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:can you try against trunk

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Steve Knight
submission? SteveOn 4/5/06, Steve Knight [EMAIL PROTECTED] wrote: I created a quickstart project to demonstrate the problem. Then I decided to bump the quickstart up to beta 3 and the problem went away. So, I guess I'll have to upgrade.Thanks Igor. Steve On 4/4/06, Igor Vaynberg [EMAIL PROTECTED

Re: [Wicket-user] Extra markup while creating listview

2006-04-04 Thread Steve Knight
Ramnivas,Did you get the DOJO-based tree working? If so, I'd be very interested in it.SteveOn 3/29/06, Ramnivas Laddad [EMAIL PROTECTED] wrote:Hi,I am continuing my attempt to create a DOJO-based tree (Thanks Igor for the urlFor() tip).Currently, I am facing a problem of extra markup emitted in a

[Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender to display a busy indicator, but it's not quite working.I used the IndicatingAjaxLink as a guideline, and everything seems to work except that the indicator does not disappear after the Ajax call is completed. Here is

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
Not easily. I am using Databinder which I think is tied to beta2.SteveOn 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:can you try against trunk or beta3? -IgorOn 4/4/06, Steve Knight [EMAIL PROTECTED] wrote: I am trying to make an AjaxSubmitButton that uses WicketAjaxIndicatorAppender

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-04 Thread Steve Knight
project that reproduces the problem? and then i will try it against trunk and tell you if its been fixed or not. -IgorOn 4/4/06, Steve Knight [EMAIL PROTECTED] wrote: Not easily. I am using Databinder which I think is tied to beta2.Steve On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:can you

[Wicket-user] Re: Drag and Drop Tree

2006-03-28 Thread Steve Knight
Can anyone give me some tips on how to best incorporate the scriptaculous drag and drop functionality into the Wicket Tree component? Is there another component that I should use as a guideline?Thanks.Steve On 3/27/06, Steve Knight [EMAIL PROTECTED] wrote: Has anyone implemented a Drag and Drop

Re: [Wicket-user] Re: Drag and Drop Tree

2006-03-28 Thread Steve Knight
fashioned tree is that is inwicket-core, you get all the extra's like inserting and deleting nodes with it.EelcoOn 3/28/06, Steve Knight [EMAIL PROTECTED] wrote: Can anyone give me some tips on how to best incorporate the scriptaculous drag and drop functionality into the Wicket Tree component

[Wicket-user] Drag and Drop Tree

2006-03-27 Thread Steve Knight
Has anyone implemented a Drag and Drop version of the Tree component yet? Right now I have a working tree and I'd like to add the ability to rearrange nodes using drag and drop. I am looking at using wicket-contrib-scriptaculous to see if it can be incorporated into the tree component. Steve

[Wicket-user] CompoundPropertyModel in 1.2-beta2

2006-03-23 Thread Steve Knight
Before I upgraded to Wicket 1.2, I was doing something like this:CompoundPropertyModel model = new CompoundPropertyModel(summary);add(new Label(surfaceCount, model));add(new Label(unknownCount, model)); And Wicket would properly bind the properties of my model to the labels. However, after

Re: [Wicket-user] Successful CRUD with Wicket: HOW TO

2006-03-21 Thread Steve Knight
I am using Databinder with Wicket and couldn't be happier. It is very simple and for me, it is the right tool for the job. I don't need the complexity of Spring for my current project, so Databinder fit the bill. I am not sure what the problem is that you are having with Databinder, but I am sure

[Wicket-user] IDataProvider.size()

2006-03-21 Thread Steve Knight
If my SortableDataProvider implementation will always return the max number of results (I'm not using paging), is it safe to have the size() method simply return Integer.MAX_VALUE instead of performing a database query to count the actual results? Steve

[Wicket-user] Label display for null values

2006-03-17 Thread Steve Knight
Hello,How can I change how null values are displayed in Labels?Thanks,Steve

Re: [Wicket-user] Label display for null values

2006-03-17 Thread Steve Knight
In some cases, I would like to display -- instead of blanks. I will look into using converters, thanks. SteveOn 3/17/06, Johan Compagner [EMAIL PROTECTED] wrote: use youre own converter?How do you want them to be displayed?johan On 3/17/06, Steve Knight [EMAIL PROTECTED] wrote:Hello,How can I

[Wicket-user] Simplest way to change Date format

2006-02-14 Thread Steve Knight
Hello, I have a Label that displays a java.util.Date, but I'd like to change the way it is displayed. What is the simplest way to change the format for the label? I tried searching the mailing list but I think it only made me more confused. Thanks. Steve

Re: [Wicket-user] Re: Simplest way to change Date format

2006-02-14 Thread Steve Knight
I tried Nathan's suggestion and it seems to work well. Not exactly simple though. I believe RFE [ 1361336 ] already covers this. Thank you both. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?

Re: [Wicket-user] Wicket 1.1.1 released

2006-01-26 Thread Steve Knight
Excellent! When can we expect the first Wicket 1.2 beta release? Steve On 1/25/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Dear Wicket community, After a couple of months without any significant problem the Wicket team has made available the first maintenance release of Wicket 1.1. This