[opencms-dev] Issue with building from CVS head
Achim Westermann
a.westermann at alkacon.com
Fri Nov 11 09:14:23 CET 2005
Hi Ed,
seems that you have to install a fresh version of org.opencms.workplace.explorer too. Or at least replace the history.jsp from your checkout.
kind regards,
Achim
Edward Zarecor wrote:
> I've built opencms from the CVS head as I've seen on the list that there
> may be a fix there to address the frozen properties issue.
>
> However, I'm having an issue:
>
> When I try to view the history of a file I get the following Exception:
>
> ...snip...
>
> cannot resolve symbol
> symbol : variable PARAM_VERSIONID
> location: class org.opencms.workplace.commons.CmsHistory
> out.print(String.valueOf( wp.PARAM_VERSIONID )); //[
> /WEB-INF/jsp/offline/system/workplace/commons/history.jsp; Line: 42]
> ^
>
> In that JSP I see:
>
> import="org.opencms.workplace.commons.*"
>
> .... snip .....
>
> document.main.<%= wp.PARAM_VERSIONID %>.value // wp is of type CmsHistory
>
> In org.opencms.workplace.commons.CmsHistory.java I see:
>
> public class CmsHistory extends CmsDialog {
>
> /** Value for the action: restore the version. */
> public static final int ACTION_RESTORE_VERSION = 100;
>
> /** The dialog type. */
> public static final String DIALOG_TYPE = "history";
>
> /** Request parameter value for the action: restore the version. */
> public static final String DIALOG_RESTORE = "restore";
>
> /** The value of the version ID parameter. */
> private String m_paramVersionid;
>
> ................. snip ...........
>
> There is no such static variable and there doesn't seem to be in the
> extended classes either. Restoring to the binary build I have the same
> problem.
>
> Ed.
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list