[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
Thanks Gavin. That's exactly what I had in mind myself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982128#3982128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
Well, the way I would implement this would be for the Page object held by Pages to hold a java.util.ResourceBundle, and have the Seam ResourceBundle check there before looking in the global resource bundle. We should also have a defaulting rule, so that by default we would look in, eg. WEB-INF/classes/messages_myViewId_en.properties, even if nothing is specified in pages.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981917#3981917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
I have implemented this in CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981933#3981933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
What if one wanted to use a different message depending on the circumstances? It seems like it would be nice to be able to define a key besides org.jboss.seam.NoConversation in the pages.xml file along with no-conversation-view-id. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980834#3980834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
Sorry? Depending upon what? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980837#3980837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
That was a bit vague I guess. Depending on what part of the application is being accessed. In other words, something like No Conversation or Operation timed out are fine for areas where the users are familiar with the application (administrators perhaps) but other areas might require a bit more detail. If I had a conversational search page for instance (which I do) where the user pairs down results, if that times out I'd like to provide some additional information. Something like We're sorry, but your search is no longer active, please begin again seems more appropriate to me for people who may not be very computer savvy and therefore might be put off if they get a confusing error message. I don't think that's something I could do right now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980845#3980845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
OK, I'll make a protected method on Manager that you can override and do whatever you like ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980848#3980848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
I could work with it, although I'm not sure how to set a different Manager implementation. Just a thought though, how about the ability to define a resource bundle in pages.xml that would be used by the resourceBundle component to override the default values? Something like that could be useful. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980849#3980849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
You set a different Manager implementation like so: @Name(org.jboss.seam.core.manager) | public class MyManager extends Manager | { |//do anything you like | } I have considered allowing page-scoped resource bundles, for other reasons, and we may well do this at some stage. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980851#3980851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: specify a face message for @Conversational ifNotBegunOut
Thanks. That'll be helpful. The resource bundle change is something that I could use now. If you want to discuss possible implementations I might be able to contribute it over the next month or so. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3980853#3980853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3980853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user