You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/02/22 18:16:13 UTC

[jira] [Commented] (ISIS-349) Show notifications, warning messages and error messages in Wicket

    [ https://issues.apache.org/jira/browse/ISIS-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584452#comment-13584452 ] 

Dan Haywood commented on ISIS-349:
----------------------------------

On further testing, discovered a race condition, meaning that in certain circumstances the info and warning messages are not rendered. 

This is most likely due to how the Wicket viewer exploits the REDIRECT_AFTER_POST rendering strategy.  From Isis' viewpoint, there are two interactions.  The reason this is a problem is because Isis associates the MessageBroker with the interaction (persistence session/transaction) rather than with the user.

To address this, am moving MessageBroker to be owned by the AuthenticationSession.  For now, it will still be lazily created by the IsisTransactionManager, but will only be created once per user.
                
> Show notifications, warning messages and error messages in Wicket
> -----------------------------------------------------------------
>
>                 Key: ISIS-349
>                 URL: https://issues.apache.org/jira/browse/ISIS-349
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.1.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Blocker
>             Fix For: viewer-wicket-1.2.0
>
>
> in other words, if using domainObjectContainer.informUser(...), or warnUser(...), or raiseError()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira