[Building Sakai] How to use addAlert(state, string) in AssignmentAction.java (Assignment tool)

le tan vu imleeu at gmail.com
Thu May 13 06:25:54 PDT 2010


Hi, Zhen
Thanks for your quick and useful reply.
When I add that line into vm file, the alert message now can display. But
the "sitdup.alert" seems not in assignment.properties. I have a warning
about this inexistent variable. So I replace it by "gen.alert".

Best regards.

On Thu, May 13, 2010 at 7:13 PM, Zhen Qian <zqian at umich.edu> wrote:

> Hi,le tan vu:
>
> Have you put the following into vm file? This will actually display the
> state alert message.
>
> <div
> class="alertMessage">$tlang.getString("sitdup.alert")$validator.escapeHtml($alertMessage)</div>
>
> Thanks,
>
> - Zhen
>
> On Thu, 13 May 2010 18:39:25 +0700, le tan vu <imleeu at gmail.com> wrote:
>
> Hello everybody.
> I'm on the way modifying Assignment tool in order to provide better tool
> for our faculty.
> In order to display warning on a vm file, I saw that you use
> addAlert(state, string). But when I try to do the same thing, the warning
> does not display.
> Please show me how to use that function fully if you know.
> Thanks in advanced.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100513/566bdd30/attachment.html 


More information about the sakai-dev mailing list