incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janne Jalkanen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-460) Add current time stamp to WikiVariables
Date Tue, 06 Jan 2009 10:13:45 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661098#action_12661098
] 

Janne Jalkanen commented on JSPWIKI-460:
----------------------------------------

The question is - if we enabled plugins as plugin parameter values (which shouldn't be a very
complicated thing to do), wouldn't that solve all our problems pretty neatly?  Only thing
that's really needed is to make sure that the parser won't stop at the wrong apostrophe...

It would be generic, useful and would not require a new syntax.


> Add current time stamp to WikiVariables
> ---------------------------------------
>
>                 Key: JSPWIKI-460
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-460
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: NicolaFischer
>            Assignee: Harry Metske
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: patch.txt
>
>
> Hi,
> i would like to add a current time stamp to the wikivariables to use it in different
plugins (f.e Formhandler).
> Input:
> Call with [{$identifier=time format}]
> f.e. [{$timestamp=yyyyMMdd}]
> Output:
> 20081219
> Explanation:
> 1. "timestamp" as identifier for the variable
> 2. after the "=" come the "time format". (Examples: yy-MM-dd hh:mm, yyyy.MM.dd)
> Exception: if the "time format" is null or wrong, a message appears.
> The changes would be made in the VariablesManager.java. I have the code ready and tested.
> Question: How can I achieve Commitrights?

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


Mime
View raw message