Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
- feature idea - conversation names

- feature idea - conversation names

2007-08-10       - By matt.drees

 Back
Does anyone else think it'd be useful to let conversations have a logical name?
e.g.

 | <begin-conversation name="book room"/>
 | or
 | @(protected)(name="book room")
 |

Then you could restrict which conversations components can run in.
e.g.

 | @(protected)(legalConversations={"book room", "modify booking"})
 | or maybe
 | <page>
 |    <legal-conversations>
 |       <name>book room</name>
 |       <name>modify booking</name>
 |    <legal-conversations>
 | ...
 | </page>
 |

This would be particularly helpful for nested conversations.  E.g., say 'book
room' sometimes has a child conversation 'room preferences', and say you don't
want users to access roomPreferences.xhtml unless they're in the 'room
preferences' conversation.  Note that conversation-required isn't helpful here,
because there *is* a conversation, but it's the wrong one.  In this case, you
could redirect to no-conversation-view-id, or maybe make a wrong-conversation
-view-id attribute.


Note that this is just an idea I was thinking about; I haven't run into a
business requirement for this.  And I think you could probably imitate most of
this already with a conversation-scoped ConversationName component and page
actions.  But the syntax seems handy.  And it seems like your code might be
more self-documenting this way, and it would probably help identify programmer
errors more quickly (I've had some frustrating debugging sessions resulting
from components being put in a parent conversation instead of the child one).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4073197#4073197

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4073197
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.