[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-132) Messages API not working as described in reference docs.
Murali Mohan Rath (JIRA)
jira-events at lists.jboss.org
Sat Apr 2 04:21:37 EDT 2011
[ https://issues.jboss.org/browse/SEAMFACES-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593375#comment-12593375 ]
Murali Mohan Rath commented on SEAMFACES-132:
---------------------------------------------
Ok, I found what was the actual problem. I should have used org.jboss.seam.international.status.Messages. I had a dependency on deam 2.2.1 due to jbmp.
BTW, Messages class from seam solder can't be used here.
> Messages API not working as described in reference docs.
> --------------------------------------------------------
>
> Key: SEAMFACES-132
> URL: https://issues.jboss.org/browse/SEAMFACES-132
> Project: Seam Faces
> Issue Type: Bug
> Components: Documentation, Messages & i18n
> Affects Versions: 3.0.0.Final
> Environment: Win 7, 64 bit , maven 3, jdk6, netbeans 7 b2
> Reporter: Murali Mohan Rath
> Priority: Critical
>
> I found the following code in seam faces documentation.
> @Named
> public class Example
> {
> @Inject
> Messages messages;
> public String action()
> {
> messages.info("This is an {0} message, and will be displayed to {1}.", "INFO", "the user");
> return null;
> }
> }
> My maven pom has a dependency to seam faces 3.0.0.Final. There are no class named Messages in seam-faces and seam-international. Messages class is available in seam 2 but don't have the methods mentioned in the example.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list