Hi,

I'm creating an ExportTable with a Edit PageLink and a Delete ActionLink.
So far no problems with the PageLink however the ExportTable does not seem
to like ActionLinks. When I click it, it does delete the record but it
crashes, the relevant parts of the exception thrown go like this:

[Click] [error] Velocity: Exception rendering
#parse(/comision/ReporteProspectos.htm) at /border-template.htm[line 186,
column 25]
[Click] [error] handleException: java.lang.NullPointerException
at org.apache.click.control.ActionLink.getHref(ActionLink.java:292)
at org.apache.click.control.ActionLink.getHref(ActionLink.java:345)
at org.apache.click.control.AbstractLink.render(AbstractLink.java:629)
at
pue.gob.mx.sle.utils.TableExportContainer.renderExportBanner(TableExportContainer.java:135)
at
pue.gob.mx.sle.utils.TableExportContainer.render(TableExportContainer.java:52)
at pue.gob.mx.sle.utils.ExportTable.render(ExportTable.java:216)

At first I thought I should be overriding the Form's onProcess method like
the Edit FormTable page from the examples, but still get the same error.
Maybe I should make ExportTable extend FormTable? Thanks in advance,

-Carlos

Reply via email to