format in wicket generated html?

2008-10-16 Thread Beyonder Unknown
Hi Guys, I was wondering if there's a way that wicket can generate the html in with indentation? Right now, when we view-source our wicket page in the browser, it generates the html without tabs. All lines are left-aligned. Thanks in advance. Wen Tong -- The only constant in life is

Re: format in wicket generated html?

2008-10-16 Thread Beyonder Unknown
16, 2008 at 1:35 PM, Beyonder Unknown [EMAIL PROTECTED]wrote: Hi Guys, I was wondering if there's a way that wicket can generate the html in with indentation? Right now, when we view-source our wicket page in the browser, it generates the html without tabs. All lines are left-aligned

Re: modalWindow disable drag drop?

2008-07-15 Thread Beyonder Unknown
: modalWindow disable drag drop? you could make it less obvious using styling... Beyonder Unknown wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change

modalWindow disable drag drop?

2008-07-12 Thread Beyonder Unknown
Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

autoComplete event question

2008-05-29 Thread Beyonder Unknown
Hi All, I have an autoComplete component that works if I use the arrow key, in selecting the choices, but doesn't work if I use a mouse to click the choices. If you guys have some idea, please let lead me to the right the direction. I'm actually clueless on how to fix this. Thanks in

Re: Formatting a DatePickerSettings

2008-05-22 Thread Beyonder Unknown
Hi Nate, I think you have to create/override the factor method in DateTextField and set it from there: protected DateTextField newDateTextField(String id, PropertyModel dateFieldModel) { return new DateTextField(id, dateFieldModel, new

DateTextField related question

2008-05-21 Thread Beyonder Unknown
Hi All, Has anyone tried using DateTextField with DatePicker, that instead of having a calendar image beside the DateTextField and calendar pops up when click, it actually pops up when you click the text field itself? Any response will be greatly appreciated! Thanks, Wen Tong -- The only

Re: em tag in Link

2008-04-09 Thread Beyonder Unknown
Thanks Gerolf! I appreciate it. --- Gerolf Seitz [EMAIL PROTECTED] wrote: in Application.init(): getMarkupSettings().setDefaultBeforeDisabledLink(); getMarkupSettings().setDefaultAfterDisabledLink(); Gerolf On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown [EMAIL PROTECTED] wrote

disabling navigation in AjaxFallbackDefaultDataTable

2008-03-26 Thread Beyonder Unknown
Hi All, Is there a way to disable the navigation (AjaxNavigationToolbar) in AjaxFallbackDefaultDataTable? I want to set the rowsPerPage to a certain number, but when i do that, the navigation automatically appears. I was wondering if there's a good way to disable it, aside from extending the

Re: AjaxFallbackDefaultDataTable not refreshing in IE6

2008-02-20 Thread Beyonder Unknown
, Feb 15, 2008 at 1:48 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: I'm still building the code to the simplest possible, so that its easy to debug. I'll attached ones i got it working. Is it okay, to cut and paste the code in the comment? Thanks, Wen Tong -- The only constant

Re: Custom JavaScript Panel ?

2008-02-20 Thread Beyonder Unknown
Hi Warren, Try this. Have your panel implement IHeaderContributor, and implement the method: /** * This method will call this javascript to set the button to its default state. */ public void renderHead(IHeaderResponse response) {

AjaxFallbackDefaultDataTable not refreshing in IE6

2008-02-15 Thread Beyonder Unknown
Hi Guys, The AjaxFallbackDefaultDataTable (with SortableDataProvider) component that I'm using is not refreshing in IE6, but works fine with firefox. The Wicket Ajax Debugger says: ERROR: Error while parsing response: Object required INFO: Invoking post-call handler(s)... INFO: invoking

Re: AjaxFallbackDefaultDataTable not refreshing in IE6

2008-02-15 Thread Beyonder Unknown
: AjaxFallbackDefaultDataTable not refreshing in IE6 please enter a bug report along with a quickstart -igor On Fri, Feb 15, 2008 at 1:12 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Igor, Its wicket 1.3.1. Thanks, Allan -- The only constant in life is change. - Original Message From

Re: AjaxFallbackDefaultDataTable not refreshing in IE6

2008-02-15 Thread Beyonder Unknown
in the html source. -igor On Fri, Feb 15, 2008 at 1:15 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Btw, the javascript that im referring to is my javascript found in the markup. But when I see the ajax debug it appends the ^ character. Thanks, Wen Tong -- The only constant in life

Re: AjaxFallbackDefaultDataTable not refreshing in IE6

2008-02-15 Thread Beyonder Unknown
Btw, the javascript that im referring to is my javascript found in the markup. But when I see the ajax debug it appends the ^ character. Thanks, Wen Tong -- The only constant in life is change. - Original Message From: Beyonder Unknown [EMAIL PROTECTED] To: users@wicket.apache.org

Re: AjaxTabbedPanel notworking in IE 6

2008-02-11 Thread Beyonder Unknown
inspector? In the application logs? Martijn On 2/9/08, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, Have you guys encountered problem with AjaxTabbedPanel? The link doesn't work. And when i changed it to TabbedPanel it worked! Thoughts? Best, Wen

AjaxTabbedPanel notworking in IE 6

2008-02-08 Thread Beyonder Unknown
Hi All, Have you guys encountered problem with AjaxTabbedPanel? The link doesn't work. And when i changed it to TabbedPanel it worked! Thoughts? Best, Wen Tong -- The only constant in life is change.

adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Hi All, I was wondering if there's a way to add or decorate a javascript call in CheckBox? What I did was: new CheckBox(checkBox, new Model()) { protected void onComponentTag(ComponentTag tag) { tag.put(onclick,executeSomething(););

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
is change. - Original Message From: Beyonder Unknown [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Wednesday, February 6, 2008 1:24:16 PM Subject: Re: adding extra javascript call in CheckBox Thanks Igor! I appreciate the prompt reply. Best, Wen Tong -- The only constant

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
Never mind, I noticed that it doesn't call the super.onComponentTag(). my bad. Wen Tong -- The only constant in life is change. - Original Message From: Beyonder Unknown [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Wednesday, February 6, 2008 2:14:12 PM Subject: Re: adding

Re: adding extra javascript call in CheckBox

2008-02-06 Thread Beyonder Unknown
super.oncomponenttag() -igor On Feb 6, 2008 2:14 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Another thing that is confusing to me is that, why is it that when I override the onComponentTag() the name attribute in the generated markup disappear. I'm just appending function

adding conditional component

2008-02-04 Thread Beyonder Unknown
Hi all, How do you guys implement a link that is conditional? Like for example the link only shows if a given data is provided. Adding the a-tag in the Markup will coz an error if the condition is not met, because AjaxLink is not added. Thanks! Wen Tong -- The only constant in life is

Re: adding conditional component

2008-02-04 Thread Beyonder Unknown
tag is not rendered either -igor On Feb 4, 2008 4:16 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Thanks Janos! This will solve the problem! Although it has extra unused tag in the markup. Regards, Wen Tong -- The only constant in life is change

how to add check listener?

2008-01-28 Thread Beyonder Unknown
Hi All, Have anybody tried adding a check listener to the Check component (Not CheckBox ) ? Thanks in advance! Regards, Wen Tong -- The only constant in life is change. Looking for last minute

IndicatingOrderByBorder?

2008-01-28 Thread Beyonder Unknown
Hi All, Is there such class as IndicatingOrderByBorder? I need to display some progress icon while sorting. Thanks, Wen Tong -- The only constant in life is change. Never miss a thing. Make

Re: binding problem :(

2008-01-25 Thread Beyonder Unknown
PROTECTED] To: users@wicket.apache.org Sent: Thursday, January 24, 2008 11:42:26 PM Subject: Re: binding problem :( Do you use an item reuse strategy for the repeater? Martijn On 1/25/08, Beyonder Unknown [EMAIL PROTECTED] wrote: I think for some reason, when I submit

Re: binding problem :(

2008-01-25 Thread Beyonder Unknown
:( Do you use an item reuse strategy for the repeater? Martijn On 1/25/08, Beyonder Unknown [EMAIL PROTECTED] wrote: I think for some reason, when I submit, it overrides the model in the form. and when I do form.getModelObject() it returns a wrong value. I'm

Re: listView sorting question

2008-01-24 Thread Beyonder Unknown
constant in life is change. - Original Message From: Thomas Kappler [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Thursday, January 24, 2008 12:47:35 AM Subject: Re: listView sorting question On Jan 23, 2008 10:35 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: The use case

Re: progress component?

2008-01-24 Thread Beyonder Unknown
for IndicatingAjax** components from the Wicket Extensions package. Martijn On 1/24/08, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, I was wondering if there's a way to implement a progress component in wicket? The scenario is when I click a button it takes a while to process everything

binding problem :(

2008-01-24 Thread Beyonder Unknown
Hi All, For some reason, my checkbox doesn't bind to my model. I have a DataView that contains the Check component, and in my button, onClick, I use form.getModelObject(), but the objects doesn't get set. (Earlier than this, I tried AjaxButton and the form.getModelObject() returns an array of

Re: binding problem :(

2008-01-24 Thread Beyonder Unknown
@wicket.apache.org Sent: Thursday, January 24, 2008 8:01:57 PM Subject: Re: binding problem :( On Thu, 24 Jan 2008, Beyonder Unknown wrote: For some reason, my checkbox doesn't bind to my model. I have a DataView that contains the Check component, and in my button, onClick

Re: binding problem :(

2008-01-24 Thread Beyonder Unknown
. - Original Message From: Timo Rantalaiho [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Thursday, January 24, 2008 8:01:57 PM Subject: Re: binding problem :( On Thu, 24 Jan 2008, Beyonder Unknown wrote: For some reason, my checkbox doesn't bind to my model. I have

listView sorting question

2008-01-23 Thread Beyonder Unknown
Hi All, I was wondering if there's a better way to sort a list view. The use case is that, I have a page that renders a listview, and I need to add a link that sorts the list when clicked. My listView uses LoadableDetachableModel that retrieves data using hibernate backend. Any help will be

Re: listView sorting question

2008-01-23 Thread Beyonder Unknown
examples in wicket-examples under repeaters. wicketstuff.org/wicket13/repeater -igor On Jan 23, 2008 1:35 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, I was wondering if there's a better way to sort a list view. The use case is that, I have a page that renders a listview, and I need

progress component?

2008-01-23 Thread Beyonder Unknown
Hi All, I was wondering if there's a way to implement a progress component in wicket? The scenario is when I click a button it takes a while to process everything and reload some panels in the page. I'm thinking of displaying progress dots or something similar to tell the user that its

Re: how to reference component in RequestTarget

2008-01-15 Thread Beyonder Unknown
@wicket.apache.org Sent: Tuesday, January 15, 2008 8:49:28 AM Subject: Re: how to reference component in RequestTarget On Mon, 14 Jan 2008, Beyonder Unknown wrote: I was wondering what is the best practice when referencing components inside an onClick/onSubmit. Normally: public void

Re: wicket to generate javascript?

2008-01-15 Thread Beyonder Unknown
15, 2008 2:50 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: hi All, Is there a way to generate a javaScript variable in wicket? How can I generate this javascript below: script type=text/javascript var GLOBALVARS = test; /script to appear in my markup when rendered? Thanks

Re: how to reference component in RequestTarget

2008-01-15 Thread Beyonder Unknown
, 15 Jan 2008, Beyonder Unknown wrote: I'm going to try your solution! OK, remember that you can also use marker interfaces for shooting the visitor. For example, you can make PanelA and PanelB classes both implement a UserSelectionEventReceiver interface and then when a user is selected with an Ajax

how to reference component in RequestTarget

2008-01-14 Thread Beyonder Unknown
Hi All, I was wondering what is the best practice when referencing components inside an onClick/onSubmit. Normally: public void onClick(AjaxRequestTarget target) { //do things here. //update these components.

Re: how to reference component in RequestTarget

2008-01-14 Thread Beyonder Unknown
? } }; Thanks, Allan -- The only constant in life is change. - Original Message From: Martijn Lindhout [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, January 14, 2008 2:23:51 PM Subject: Re: how to reference component in RequestTarget what is exactly the usecase? 2008/1/14, Beyonder

WicketServlet vs. WicketFilter

2008-01-10 Thread Beyonder Unknown
Hi All, Are there any criteria in choosing WicketFilter over WicketServlet? In the api it says, Please use WicketFilter if you require advanced chaining of resources. What does this mean? If you have deeply rooted Panel within a Panel with a Panel? Thanks, WT -- The only constant in life

Re: WicketServlet vs. WicketFilter

2008-01-10 Thread Beyonder Unknown
the filter - for example weblogic has pretty broken filter support, also some osgi containers only support registration of servlets. -igor On Jan 10, 2008 11:44 AM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, Are there any criteria in choosing WicketFilter over WicketServlet

the flow of wicket

2008-01-10 Thread Beyonder Unknown
Hi All, I am studying wicket from the WicketFilter to the WebApplication, but I don't understand the concept of RequestCycleProcessor and how does it get invoked. I read the Wicket In Action and Pro Wicket but the explanation is not that detailed. Does anybody know of a primer with regards

Re: the flow of wicket

2008-01-10 Thread Beyonder Unknown
: Re: the flow of wicket On Jan 10, 2008 5:47 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Igor, Since it got mentioned in the book, I just thought I'd asked for more information. IRequestCycleProcessor has javadoc which explains what it is used for. the actual workflow is unimportant

Re: rendering a panel

2008-01-07 Thread Beyonder Unknown
it automatically updates when rerendered. no need to call render() or anything else. see the wiki page on detachable models. -igor On Jan 7, 2008 1:33 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi All, Greetings! I was wondering if any of you here encountered this situation. I have a 2 Panels

Re: rendering a panel

2008-01-07 Thread Beyonder Unknown
, 2008 2:27 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Igor, Thank you Igor! I appreciate the reply. How do I implement DetachableModel in AjaxTabbedPanel? If the button it click, it should update the tabs. I build a DetachableModel that returns a Collection in its load() method. Should

Re: rendering a panel

2008-01-07 Thread Beyonder Unknown
. - Original Message From: Uwe Schäfer [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, January 7, 2008 2:59:14 PM Subject: Re: rendering a panel Beyonder Unknown wrote: The Panels use detachableModels already. Sorry for not being clear. What I want to achieve is, when Panel1

Re: rendering a panel

2008-01-07 Thread Beyonder Unknown
PROTECTED] To: users@wicket.apache.org Sent: Monday, January 7, 2008 2:54:13 PM Subject: Re: rendering a panel tabbedpanel.gettabs().add(new tab(.)); -igor On Jan 7, 2008 2:50 PM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi there. No. I just use plane tabbedPanel. But the Button:onSubmit

Re: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
From: Igor Vaynberg [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Friday, January 4, 2008 8:25:26 AM Subject: Re: TabbedPanel making AJAX? why exactly isnt ajaxtabbedpanel the way to go? -igor On Jan 4, 2008 7:48 AM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Guys, I

Re: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
, 2008 8:48 AM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Igor, How are you? The AbstractTab returns a Panel that calls a backend object using hibernate Lazy Loading. (We have a session filter that closes the hibernate session after the page is loaded ). So when you click the tab

TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
Hi Guys, I was wondering if there's a way to implement TabbedPanel that when you click the tab, it will do an ajax call to the backend, and update the body of the tab. I looked at AjaxTabbedPanel, but it seems like its not the way to go. Any help will be gladly appreciated. Thanks, Wen Tong

Re: AW: TabbedPanel making AJAX?

2008-01-04 Thread Beyonder Unknown
:48 AM, Beyonder Unknown [EMAIL PROTECTED] wrote: Hi Guys, I was wondering if there's a way to implement TabbedPanel that when you click the tab, it will do an ajax call to the backend, and update the body of the tab. I looked at AjaxTabbedPanel, but it seems like its not the way to go. Any

vertical TabbedPanel

2007-12-07 Thread Beyonder Unknown
Hi All, Have anybody here implemented a vertical TabbedPanel? I looked at wicket extension tabbedPanel but it doesn't have a property to render vertical one. Any help will be greatly appreciated. Regards, Allan -- The only constant in life is change.