You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Ganesh Mathrubootham (JIRA)" <ji...@apache.org> on 2008/12/06 20:23:19 UTC

[jira] Created: (ROL-1764) example for plugin model needs to be updated

example for plugin model needs to be updated
--------------------------------------------

                 Key: ROL-1764
                 URL: https://issues.apache.org/roller/browse/ROL-1764
             Project: Roller
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 4.0
            Reporter: Ganesh Mathrubootham
            Assignee: Roller Unassigned
            Priority: Trivial


The sample model to access user object from theme templates doesn't work as is, and needs modification.  This issue was brought up by a user in the mailing list where I had replied with the solution to the poster.  

http://mail-archives.apache.org/mod_mbox/roller-dev/200812.mbox/%3cdcfa440e0812051409y2c1d3e1by98c298c573144d70@mail.gmail.com%3e



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


[jira] Updated: (ROL-1764) example for plugin model needs to be updated

Posted by "Ganesh Mathrubootham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/roller/browse/ROL-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Mathrubootham updated ROL-1764:
--------------------------------------

    Attachment: plugin_model_example_fix.patch

This patch would fix the issue.   The fix is to use the page context rather than http request from the map passed to model.  This requires a change in the build file to include jsp-api.jar dependency.  I applied this fix and tested it locally by succesfully applying a theme template that accesses user object using the sample model.  Please review the patch and apply.

> example for plugin model needs to be updated
> --------------------------------------------
>
>                 Key: ROL-1764
>                 URL: https://issues.apache.org/roller/browse/ROL-1764
>             Project: Roller
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 4.0
>            Reporter: Ganesh Mathrubootham
>            Assignee: Roller Unassigned
>            Priority: Trivial
>         Attachments: plugin_model_example_fix.patch
>
>
> The sample model to access user object from theme templates doesn't work as is, and needs modification.  This issue was brought up by a user in the mailing list where I had replied with the solution to the poster.  
> http://mail-archives.apache.org/mod_mbox/roller-dev/200812.mbox/%3cdcfa440e0812051409y2c1d3e1by98c298c573144d70@mail.gmail.com%3e

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


[jira] Assigned: (ROL-1764) example for plugin model needs to be updated

Posted by "David Johnson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/roller/browse/ROL-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson reassigned ROL-1764:
----------------------------------

    Assignee: David Johnson  (was: Roller Unassigned)

> example for plugin model needs to be updated
> --------------------------------------------
>
>                 Key: ROL-1764
>                 URL: https://issues.apache.org/roller/browse/ROL-1764
>             Project: Roller
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 4.0
>            Reporter: Ganesh Mathrubootham
>            Assignee: David Johnson
>            Priority: Trivial
>         Attachments: plugin_model_example_fix.patch
>
>
> The sample model to access user object from theme templates doesn't work as is, and needs modification.  This issue was brought up by a user in the mailing list where I had replied with the solution to the poster.  
> http://mail-archives.apache.org/mod_mbox/roller-dev/200812.mbox/%3cdcfa440e0812051409y2c1d3e1by98c298c573144d70@mail.gmail.com%3e

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


[jira] Work started: (ROL-1764) example for plugin model needs to be updated

Posted by "David Johnson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/roller/browse/ROL-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ROL-1764 started by David Johnson.

> example for plugin model needs to be updated
> --------------------------------------------
>
>                 Key: ROL-1764
>                 URL: https://issues.apache.org/roller/browse/ROL-1764
>             Project: Roller
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 4.0
>            Reporter: Ganesh Mathrubootham
>            Assignee: David Johnson
>            Priority: Trivial
>         Attachments: plugin_model_example_fix.patch
>
>
> The sample model to access user object from theme templates doesn't work as is, and needs modification.  This issue was brought up by a user in the mailing list where I had replied with the solution to the poster.  
> http://mail-archives.apache.org/mod_mbox/roller-dev/200812.mbox/%3cdcfa440e0812051409y2c1d3e1by98c298c573144d70@mail.gmail.com%3e

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