click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Resolved: (CLK-295) Global Page format member not being set or being set to null
Date Sun, 11 Jul 2010 11:19:50 GMT


Bob Schellink resolved CLK-295.

    Resolution: Cannot Reproduce

> Global Page format member not being set or being set to null
> ------------------------------------------------------------
>                 Key: CLK-295
>                 URL:
>             Project: Click
>          Issue Type: Bug
>          Components: core
>         Environment: RC1
>            Reporter: Joel Schmidt
>            Assignee: Malcolm Edgar
>            Priority: Minor
> Under some circumstances, the global 'format' member of pages is not being set or is
being set to null.
> I haven't been able to fully isolate the problem, but it occurs in the the following
general circumstance: I have a base page with defines a header & footer, both of which
reference $format in the .htm file. Then, extending a base page I have another page class
which creates a form for entering search criteria, and a table below the form for displaying
search results. I set the global Format object to a custom format class in click.xml. When
one of these form/table pages renders the value of $format is null.
> I've tried statically initializing 'format' in both my page classes; doesn't work. I've
tried setting the value of 'format' in both onInit() and onRender(); doesn't work. I've tried
declaring my own 'format' in my base page class; the framework detects this as clashing with
the framework's reserved name, and uses that value.
> The only workaround I've found is to declare my own 'format' member in each leaf page

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message