wow!!
cool. That was so educational :)
Thanks.
If I change this, it will change EVERYTHING, right?
What if I want to do something like: em style=color: green; only for
this PNL ?
Is there a way?
My other option is to add this style (attribute and CSS actually) to the
inner span.
I think that the
On Tue, Apr 29, 2008 at 11:00 AM, Eyal Golan [EMAIL PROTECTED] wrote:
wow!!
cool. That was so educational :)
Thanks.
np :)
If I change this, it will change EVERYTHING, right?
yes, this is the setting for all disabled links.
What if I want to do something like: em style=color: green;
thanks,
here's what I did.
1. I have a StyledAjaxNavigationToolbar that overrides:
@Override
protected PagingNavigator newPagingNavigator(String navigatorId, final
DataTable table) {
return new StyledAjaxPagingNavigator(navigatorId, table);
}
2. Then my
instead of the custom AbstractBehavior, you could add an
AttributeAppender like this:
link.add(new AttributeAppender(class, true, new
Model(disabledPaginLink), ) {
public boolean isEnabled() {
return !getComponent().isEnabled();
}
});
Gerolf
On Tue, Apr 29, 2008 at 1:09 PM, Eyal Golan
hh,
the isEnabled() of the AttributeAppender is a really cool tool.
I used it in another place.
I have a StyledDataTable that overridden onComponentTag:
@Override
protected void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
if (dataProvider.size() == 0)