Re: [Wicket-user] bookmarkable ajax components?

2006-06-11 Thread Ittay Dror
Igor Vaynberg wrote: > components are stand alone but they need to live inside a container (the > page) because they are stored in it. this is how the urls are built, and > some other services componetns depend on are provided. > > what you might do is create a generic container page that does

Re: [Wicket-user] bookmarkable ajax components?

2006-06-11 Thread Igor Vaynberg
components are stand alone but they need to live inside a container (the page) because they are stored in it. this is how the urls are built, and some other services componetns depend on are provided.what you might do is create a generic container page that does nothing more then read off the url w

Re: [Wicket-user] bookmarkable ajax components?

2006-06-11 Thread Ittay Dror
yes, i can do that, but i was wondering if there is a way without needing to write a page (i'm planning on having many such components) thanx, ittay Igor Vaynberg wrote: > why not just create a page that only shows the table? > > -Igor > > > On 6/11/06, *Ittay Dror* <[EMAIL PROTECTED] >

Re: [Wicket-user] bookmarkable ajax components?

2006-06-11 Thread Igor Vaynberg
why not just create a page that only shows the table?-IgorOn 6/11/06, Ittay Dror <[EMAIL PROTECTED] > wrote:Hi,Since by using ajax components can be refreshed individually, can they be "bookmarked". What I mean is, can I have a URL such that loading it will give me the html snippet of the component

[Wicket-user] bookmarkable ajax components?

2006-06-11 Thread Ittay Dror
Hi, Since by using ajax components can be refreshed individually, can they be "bookmarked". What I mean is, can I have a URL such that loading it will give me the html snippet of the component? Can this be done from an external page? My use case is to be able to embedd a table showing some data

Re: [Wicket-user] FormComponentFeedbackIndicator usage

2006-06-11 Thread Aaron Hiniker
Oops, accidently hit ctrl+return to send.. These aren't exceptions, they are just new Throwable().printStackTrace() to see where and when isVisible() is being called stack trace from non-working application: 19:54:36,115 ERROR [STDERR] java.lang.Throwable 19:54:36,116 ERROR [STDERR] at c

Re: [Wicket-user] header contribution ordering

2006-06-11 Thread Michael Day
If I understand you correctly, that wouldn't help. Do you mean that I should just use markup inheritance with no borders? I can't do that because I need to be able to change the border implementation at runtime. Or do you mean that the BaseBorderPage would just add a border? If so, that

Re: [Wicket-user] FormComponentFeedbackIndicator usage

2006-06-11 Thread Aaron Hiniker
In my initial attempts, I can't replicate the problem in a quickstart application. Perhaps the stack traces being different could lead to some ideas: On Sun, 2006-06-11 at 18:48 -0700, Igor Vaynberg wrote: create a quickstart project so that we can see the problem. -Igor

Re: [Wicket-user] header contribution ordering

2006-06-11 Thread Juergen Donnerstag
And why don't you create a BaseBorderPage -> BasePage -> Page. It would be separated than Juergen On 6/11/06, Michael Day <[EMAIL PROTECTED]> wrote: > Yes, basically I have a border for all pages, but I add it in my > BasePage class. I did it this way so that I could easily change > border imple

Re: [Wicket-user] FormComponentFeedbackIndicator usage

2006-06-11 Thread Igor Vaynberg
create a quickstart project so that we can see the problem.-IgorOn 6/11/06, Aaron Hiniker <[EMAIL PROTECTED] > wrote: I'm digging into this problem a little more. When my "MessagePanel" renders, the super.isVisible() is returning true... meaning FormComponentFeedbackIndicator returning t

Re: [Wicket-user] FormComponentFeedbackIndicator usage

2006-06-11 Thread Aaron Hiniker
I'm digging into this problem a little more. When my "MessagePanel" renders, the super.isVisible() is returning true... meaning FormComponentFeedbackIndicator returning true.  When I attach a debugger to FormComponentFeedbackIndicator#updateFeedback(), the setVisible() calI is passed 'false' v

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread lu dongping
visitChildren is so coolOn 6/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: here is a quick and easy way to do ajax headers toolbar for datatable. it modifies all regular links produced by the regular toolbar to be ajax links with fallback.package wicket.extensions.ajax.markup.html.repeater.data.t

[Wicket-user] Custom FormComponent or Panel with complex validation ?

2006-06-11 Thread smallufo
I have an object that want to embed it in a form. My custom object has its complicated validation mechanism (not just validators in wicket.markup.html.form.validation.*) , what should I do ? For example : MyDatePicker , that will check if you pickup February , and it will check if 'day' is larger

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread Igor Vaynberg
here is a quick and easy way to do ajax headers toolbar for datatable. it modifies all regular links produced by the regular toolbar to be ajax links with fallback.package wicket.extensions.ajax.markup.html.repeater.data.table ;import wicket.Component;import wicket.ajax.AjaxEventBehavior;import wic

[Wicket-user] a utility method in FormTester

2006-06-11 Thread karthik Guru
Instead of calling WicketTester.getComponentFromLastRenderedPage, i would like to get to the component from FormTester Does it make sense to have another utility method in FormTesterclass FormTester{   public FormComponent getFormComponent(String formComponentId){        return     (FormComponent)w

Re: [Wicket-user] header contribution ordering

2006-06-11 Thread Michael Day
Yes, basically I have a border for all pages, but I add it in my BasePage class. I did it this way so that I could easily change border implementations in one class. I think I'm just going to abandon that method, and just add the border on each page with a custom BorderFactory or something.

Re: [Wicket-user] Sortable DataTable with AJAX

2006-06-11 Thread lu dongping
I added two Ajax*.javas to make ajax happy.and changed the final onClick method to non-final. because AjaxOrderByLink have to override it.  ( perhaps I should not do it this way)And I added another ListSortStateLocator to wrapper a simple List as a ISortStateLocator, then PageableListView/ListView

Re: [Wicket-user] Wicket Newbie Best Practices Questions

2006-06-11 Thread Karl M. Davis
Hello again all,   Thanks very much for all of your advice.  I think I'm starting to grasp how models should be used now.  Just a couple of follow up questions:   Model for ListChoice selections: I am now using a LoadableDetachableModel for pulling the list of snippets on each page loa

Re: [Wicket-user] header contribution ordering

2006-06-11 Thread Juergen Donnerstag
a) you can not change the order. b) Not sure I understood your component hierachy already and that is probably because you are using markup inheritance and the idea of bordered pages for the very same page? Not that it is forbidden but people are usually using only either one with markup inheritanc