Re: best way to add tooltips in wicket

2011-07-12 Thread Rodrigo Heffner
Thanks again, Martin. I realised earlier that the below only renders the default browser title attribute, so no CSS editing for it: add(new Label(tooltip01, this is tool tip 01).add(new MootipBehaviour( This is my tool tip, I can be very long and even have formatting like br / and be

Re: best way to add tooltips in wicket

2011-07-13 Thread Rodrigo Heffner
: Cant remember what the mootip panel are doing.. heres the link for the source though: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jdk-1.5-parent/minis-parent/minis/src/main/java/org/wicketstuff/minis/mootipbehavior/ 2011/7/12 Rodrigo Heffner rodrigo.heff

Re: best way to add tooltips in wicket

2011-07-13 Thread Rodrigo Heffner
with the WebMarkupContainer. On Wed, Jul 13, 2011 at 10:11 AM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Thank you. This is what I get when I tried the same stuff on the archetype: the visibility of the tooltip flickers between hidden and visible when I'm hovering the label. Each time it flickers

Re: IHeaderContributor of invisible Components

2011-07-14 Thread Rodrigo Heffner
When you say my javascript is not loaded, do you mean it's not added to the page or it's added but doesn't work? On 14 Jul 2011 12:21, Benedikt Rothe benedikt.ro...@qleo.de wrote: I have a problem with IHeaderContributor and invisible Components: A Panel MyPanel implements IHeaderContributor.

AjaxEventBehavior(onchange) and AjaxFormComponentUpdatingBehavior(onchange) on same DropDownChoice

2011-07-22 Thread Rodrigo Heffner
Hi guys, I'm very new to Wicket, and I came across this: What I want to do: - I have a DropDownChoice component and I'd like to update it's model when it changes through AJAX. Also, I want to refresh (repaint, reload) this dropdown's parent when a value is changed, also though AJAX. My

Re: AjaxEventBehavior(onchange) and AjaxFormComponentUpdatingBehavior(onchange) on same DropDownChoice

2011-07-22 Thread Rodrigo Heffner
+ IntegrityLevelDropDownPanel.* *this.getParent().getParent().**getParent()); target.addComponent(* *IntegrityLevelDropDownPanel.** this.getParent().getParent().**getParent());*           }       }); On Fri, Jul 22, 2011 at 6:32 AM, Rodrigo Heffner rodrigo.heff...@gmail.comwrote: Hi guys, I'm

Re: AjaxEventBehavior(onchange) and AjaxFormComponentUpdatingBehavior(onchange) on same DropDownChoice

2011-07-22 Thread Rodrigo Heffner
So far it seems to work. Thank you Clint On Fri, Jul 22, 2011 at 12:55 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Hi Clint, Thank you very much for your (quick) response. I had the (maybe incorrect) idea that AjaxEventBehavior's target.addComponent(aComponent) would only make

Re: Form Model Not Available for AjaxFallbackLink

2011-07-31 Thread Rodrigo Heffner
I had the same question last week. This is probably what you want: http://wicket.apache.org/apidocs/1.4/org/apache/wicket/ajax/form/AjaxFormComponentUpdatingBehavior.html . Add this to your component and it's model will be updated without submitting the form. On 31 Jul 2011 15:05, vineet semwal

Re: on the fly components

2011-07-31 Thread Rodrigo Heffner
Hi Ramazan, I'm also very new to wicket, and I've came across a similar situation too. I solved my situation by using different panels with the same markup id. Something like (inside the populateItem method): if (condition == true) { item.add(new SomePanel(sameId)); } else {

Re: Radio with compoundPropertyModel

2011-08-09 Thread Rodrigo Heffner
Hi Marco, I haven't tested this, but I believe this should do the trick: class PhoneNumber { String number; boolean default; /* Add getters and setters for both */ } public void EditPhonePanel(String id, PhoneNumber phoneNumber) { CompoundPropertyModel model = new

Re: Radio with compoundPropertyModel

2011-08-09 Thread Rodrigo Heffner
Please change my TextField line for add(TextField(number, model.bind(number))); Please check parenthesis as well :) I'm not working now and my IDE is not open Sorry! On Tue, Aug 9, 2011 at 7:12 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Hi Marco, I haven't tested this, but I

Re: Radio with compoundPropertyModel

2011-08-09 Thread Rodrigo Heffner
, but that approach didn't solve the problem. Actually, the problem is not the CompoundPropertyModel, if I use a PropertyModel instead it wouldn't work as well... in both cases only the textField is updating my model, the radio does not. Thanks Marco On Tue, Aug 9, 2011 at 4:13 PM, Rodrigo Heffner

Re: onchane not working with jquery numeric plugin

2011-08-18 Thread Rodrigo Heffner
Hi Rebecca, I'm quite new to wicket but I've had a similar problem before. I would imagine that the jquery function must be binded to the same behaviour (onchange) that you're using in your code. If you change your code to be triggered onblur, does this happen as well? On 18 Aug 2011 06:31,

Re: onchange not working with jquery numeric plugin

2011-08-18 Thread Rodrigo Heffner
I mean that the numeric() function may have logic that changes / overrides wicket's onchange calls, either the numeric() function works or (if removed) the AjaxFormComponentUpdatingBehavior works. On Thu, Aug 18, 2011 at 9:03 AM, rebecca rivka.shis...@gmail.com wrote: The ajax did work with

Cannot render slider inside modal window

2011-08-23 Thread Rodrigo Heffner
Hi all, I have a modal window and I want to add a jqwicket slider to it. The slider works normally if it's added directly to my page, but not inside the modal window (I can inspect the html and see that my WebMarkupContainer is rendered, but the slider isn't shown). Here's the code: add(new

AjaxFallbackLink's onClick with null AjaxRequestTarget (migrating 1.4 to 6)

2012-09-19 Thread Rodrigo Heffner
Hi, I have many AjaxFallbackLinks in my application, and all the onClick events have a null AjaxRequestTarget, causing NullPointerExceptions. Most of them look like this: new AjaxFallbackLink(editDetailsLink) { @Override public void onClick(AjaxRequestTarget target) {

Re: AjaxFallbackLink's onClick with null AjaxRequestTarget (migrating 1.4 to 6)

2012-09-19 Thread Rodrigo Heffner
need AjaxLink. Maybe JavaScript is disabled ... I just tested http://www.wicket-library.com/wicket-examples-6.0.x/ajax/links (the second link is AjaxFallbackLink) and 'target' is non-null. On Wed, Sep 19, 2012 at 1:59 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Hi, I have many

Re: StringRequestTarget migration question

2012-09-19 Thread Rodrigo Heffner
Ok, finally managed to run the page affected by the code and it's working as expected. Thanks! On 18 September 2012 15:35, Martin Grigorov mgrigo...@apache.org wrote: See TextRequestHandler too. On Tue, Sep 18, 2012 at 5:18 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Thanks

Re: ToolTips with Panel

2013-03-05 Thread Rodrigo Heffner
Hi Antonio, Have you tried Twitter Bootstrap's popover ( http://twitter.github.com/bootstrap/javascript.html#popovers) ? I'm not sure you can use pages inside, but you have control of the HTML so you can use panels. On 4 March 2013 11:48, anton antoniovalenciasp...@hotmail.com wrote:

Re: Model for dropdowns in a listview

2013-04-20 Thread Rodrigo Heffner
Have you tried using CompoundPropertyModels? In that way you could bind a property to the dropdown, instead of using null

Re: Table with a lot of ajax links

2013-08-06 Thread Rodrigo Heffner
Thank you very much, Ernesto. I have a similar scenario, a panel with about 300 AjaxFallbackLinks and each with some custom logic on the onClick, but your solution looks much better. On 5 August 2013 17:31, Ernesto Reinaldo Barreiro reier...@gmail.comwrote: Dave, Mind that is just

AjaxEditableLabel as Filter in FormFilter?

2013-10-09 Thread Rodrigo Heffner
Hello, In a FilterForm, I tried replace my TextFilteredPropertyColumn for an AjaxEditableLabelFilteredPropertyColumn, but didn't have much success. Has anyone tried something similar? Thank you -- Rodrigo H M Bezerra

Re: AjaxEditableLabel as Filter in FormFilter?

2013-10-09 Thread Rodrigo Heffner
(), this.getPropertyExpression()); } } Best regards, Sebastien On Wed, Oct 9, 2013 at 5:53 PM, Rodrigo Heffner rodrigo.heff...@gmail.comwrote: Hello, In a FilterForm, I tried replace my TextFilteredPropertyColumn for an AjaxEditableLabelFilteredPropertyColumn, but didn't have much success. Has anyone

Re: AjaxEditableLabel as Filter in FormFilter?

2013-10-10 Thread Rodrigo Heffner
); // This was a TextField before add(filter); } public final AjaxEditableLabelT getFilter(){ return filter; // This returned a TextField before } } Any ideas? Thank you On 9 October 2013 19:32, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Hi Sebastien, I'll

Re: AjaxEditableLabel as Filter in FormFilter?

2013-10-10 Thread Rodrigo Heffner
. If I click in any of these new textfields and then click on something else (onBlur), I get an Access Denied Page. On 10 October 2013 10:11, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Oct 10, 2013 at 12:04 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Hi Sebastien, Sorry

Session management on timeout

2014-12-17 Thread Rodrigo Heffner
Hello, I'm implementing session management on my application, adding each authenticated session to a list. When users logout (session#invalidate), I remove their session from my list. My problem lies with session timeout - it doesn't call session#invalidate, I can only see the

Re: Session management on timeout

2014-12-17 Thread Rodrigo Heffner
#sessionUnbound(String sessionId) François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 10:23, Rodrigo Heffner rodrigo.heff...@gmail.com a écrit : Hello, I'm implementing session management on my application, adding each authenticated session

Re: Session management on timeout

2014-12-17 Thread Rodrigo Heffner
) // super.sessionUnbound(sessionId); } François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 10:45, Rodrigo Heffner rodrigo.heff...@gmail.com a écrit : Thanks for your quick replies. Martin, I'm using wicket 6.0.0 and couldn't see org.apache.Session