Hi everybody,
I want to know if it's possible to customise visual basic template, because I
try and it doesn't work. See my test below :
Template name : errorhandlingexit.rvb
Original content :
Exit <%=MethodType(ThisItem)%>
ErrorHandler:
Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " &
MethodType(ThisItem)%>")
New Content :
Exit <%=MethodType(ThisItem)%>
ErrorHandler:
'Error log into the event log of windows
LogError(Err.Number, "<%=ThisItem.Name & " " & MethodType(ThisItem)%> in
Class" & CLASSNAME, Err.Description)
'Error display to the user
Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " &
MethodType(ThisItem)%>")
I try with operation propreties for VB (in model propreties) but I can used
variable like :
<%=MethodType(ThisItem)%>
<%=ThisItem.Name & " " & MethodType(ThisItem)%>
and it's very important
Pascal Lamothe
System Analyst
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************