> unless you are planning to reuse such snippets it is cleaner to let
> your component implement IHeaderContributor.
So if I make a Panel implement IHeaderContributor, the renderHead will
automatically be called? This would be very nice. Maybe it should be
more apparent from the framework?
**
Mar
I've used an old version of it. It works fairly well, and they work to keep
up with standard interfaces. However, be prepared for a learning curve with
anything you have to customize; many of the pieces (at least with my
version) are non-standard. If you anticipate limited customizations and you
Perhaps a subclass of AbstractColumn?
public class MessageFormatColumn extends AbstractColumn
{
private final String pattern;
public MessageFormatColumn(IModel displayModel, String pattern)
{
super(displayModel);
this.pattern = pattern;
}
public void populateItem(Item> cellItem
Hi,
use AbstractColumn instead and provide a panel that does what you want, eg:
columns.add(new AbstractColumn(new Model("CHGE"),
"changed") {
public void populateItem(Item>
cellItem, String componentId, IModel model) {
cellItem.add(new ChangedCellPanel(componentI
Hi all,
columns.add(new PropertyColumn(new Model("Title"), "title", " title
"));
How can I have such a property column that displays java.util.dates?
I would also need the same for checkboxes or true/false values.
Thanks a lot,
Christoph
You could put a link on each row
On Sat, Feb 14, 2009 at 12:19 PM, Christoph Grün wrote:
> Hi all,
>
>
>
> I have a datatable and following method that delivers the selected item in
> the table. How can I get the index of the selected element? There are
> methods for getting the current page inde
Hi all,
I have a datatable and following method that delivers the selected item in
the table. How can I get the index of the selected element? There are
methods for getting the current page index and all page rows, but I couldnt
find a function for getting the index of the current element.
unless you are planning to reuse such snippets it is cleaner to let
your component implement IHeaderContributor.
-igor
On Sat, Feb 14, 2009 at 2:52 AM, Martin Makundi
wrote:
> Hi!
>
> Does Wicket have this functionality built-in? Would it make sense?
> public abstract class AbstractHeaderJavaScr
I know I have, but could only test about it on Monday. Is there any
workaround, to have the timer and the image together?
Thanks,
Adriano
Jeremy Thomerson wrote:
Have you made sure that you don't have any in your code?
This has been known to cause similar behavior.
On Thu, Feb 12, 2009 at
Hi!
Does Wicket have this functionality built-in? Would it make sense?
public abstract class AbstractHeaderJavaScriptBehavior extends AbstractBehavior
implements IHeaderContributor {
/**
* @see
org.apache.wicket.behavior.AbstractBehavior#renderHead(org.apache.wicket.markup.html.IHeader
10 matches
Mail list logo