Re: styling thead in DataTable

2008-03-11 Thread Christian Alejandro Marquez Grabia
;ll > try > to find the of a DataTable issue. > > Thanks guys > > > On Tue, Mar 11, 2008 at 3:45 AM, Christian Alejandro Marquez Grabia < > [EMAIL PROTECTED]> wrote: > > > You can change tag attributes by overriding the onComponentTag() method, > > at > >

Re: styling thead in DataTable

2008-03-10 Thread Christian Alejandro Marquez Grabia
You can change tag attributes by overriding the onComponentTag() method, at least that is what I do when modifying any class or other attribute. (you should get the attribute from the tag parameter, and then set it there as well) I'm not sure where you should add that for the thead builder, but if

Re: Settings focus to window opened by javascript appended to AjaxLink

2008-02-20 Thread Christian Alejandro Marquez Grabia
You should try without the alertit removes the focus when you click the 'Ok' button. Instead you should try something like: onfocus= "this.value = 'focused';" Another method that can be used is select() instead of focus() Rgds, Christian On 2/20/08, jeredm <[EMAIL PROTECTED]> wrote: > > > I

Re: Adding onClick event to form fields

2008-02-20 Thread Christian Alejandro Marquez Grabia
Yes...and the right way to do it is not using ajaxlink, but using AjaxFormComponentUpdatingBehaviour("onclick") I tried this on FF, and the mouse events are accepted in text fields...according to the page, accepted in all tags except: base, bdo, br, frame, frameset, head, html, iframe, meta, param

Re: IllegalStateException with AjaxFallbackDefaultDataTable

2008-02-07 Thread Christian Alejandro Marquez Grabia
Are you sure the component has been already added to the page before calling the getPage() method? On 2/7/08, jwray <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm experiencing an IllegalStateException (stack trace below) that I can't > get rid of. I have a AjaxFallbackDefaultDataTable with columns m

Re: No feedback message in Modal window with AjaxSubmitLink

2007-12-28 Thread Christian Alejandro Marquez Grabia
Have you added the feedback panel to the target when detecting an error? (see method onError(AjaxRequestTarget, Form)) In there you should do target.addComponent(feedbackPanel); (since it is an ajax submit link) Hope it helps, Chris On 12/28/07, Javed <[EMAIL PROTECTED]> wrote: > > > Hi all, > >

Re: How can i present a busy component

2007-12-27 Thread Christian Alejandro Marquez Grabia
Yes...that is another way (I forgot about it) I remember I used it oncebut changed it to my previous proposal (request to change the way it was shown), it was simple to use. Rgds, Chris On 12/27/07, Michael Sparer <[EMAIL PROTECTED]> wrote: > > > what about using a IndicatingAjaxLink or Indi

Re: How can i present a busy component

2007-12-22 Thread Christian Alejandro Marquez Grabia
since as I can see, it should get the job done. Rgds, Chris On 12/22/07, Per Newgro <[EMAIL PROTECTED]> wrote: > > Hi Christian Alejandro Marquez Grabia > > this looked promising but it's not working here. Am i missing something? > I use wicket 1.3-rc1 and added my link

Re: How can i present a busy component

2007-12-22 Thread Christian Alejandro Marquez Grabia
Hi there, I did this on Wicket 1.2.6. In the link I override the getCallDecorator() and return a new IAjaxCallDecorator() { ... } decorateScript(script): In here I appended before the script, the script to show a sign (like gmail does) to show the user that something is loading. decorateOnFailur

Re: Create button to open popup Window.

2007-12-10 Thread Christian Alejandro Marquez Grabia
Hi Maybe you should look at this example using Modal Windows http://www.wicket-library.com/wicket-examples/ajax/modal-window.1 Cheers, Chris On 12/10/07, Karen Schaper <[EMAIL PROTECTED]> wrote: > > Hi, > > I am very new to wicket. My background is with jsp. > > I'd like to add a button that w

Re: Question regarding navigation with the browser's back button

2007-11-08 Thread Christian Alejandro Marquez Grabia
wrote: > maybe your tree model caches more then it should, not sure. if you > want regen the page then its url has to be bookmarkable, but the tree > doesnt work with that really without some extra work... > > -igor > > > On 11/5/07, Christian Alejandro Marquez

Re: Question regarding navigation with the browser's back button

2007-11-05 Thread Christian Alejandro Marquez Grabia
on > backbutton... > > -igor > > > On 11/5/07, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> wrote: > > I am using Wicket version 1.2.6 > > > > I have been looking for this or related issues in the list, but couldn't > > find any to solve my pr

Question regarding navigation with the browser's back button

2007-11-05 Thread Christian Alejandro Marquez Grabia
I am using Wicket version 1.2.6 I have been looking for this or related issues in the list, but couldn't find any to solve my problem. I have a page that show a Tree with many items. These items can be deleted using a link. When the item is deleted the page is reloaded using SetResponsePage(). Th

Re: Prompting a User to Save When Leaving a Page

2007-11-02 Thread Christian Alejandro Marquez Grabia
I have a problem while doing this... I am using Wicket 1.2.6 and when I attempt to leave the page after modifying the form, the alert pops up, but if I select Cancel, in order to remain in the page, everything that had Ajax stops working, without any visible errors. Any ideas? Did anyone had the

Re: Problem with form default button in IE

2007-10-09 Thread Christian Alejandro Marquez Grabia
After working some time on this, I got to fix the problem. Thanks anyway =), Christian On 10/8/07, Christian Alejandro Marquez Grabia <[EMAIL PROTECTED]> wrote: > > Hi all, and thanks in advanced for your attention. > > I'm having some problems with the default butto

Problem with form default button in IE

2007-10-08 Thread Christian Alejandro Marquez Grabia
Hi all, and thanks in advanced for your attention. I'm having some problems with the default button in a form that is not working in IE. Here is the situation: I have a collapsible border that contains the form. When clicked, the form is toggled and when the page loads, this border is set default