Alternatively you could use a normal script / view as the default layout and
do something like:

review_state = context.portal_workflow.getInfoFor(context, 'review_state')
return context.traverse(review_state)

This assumes you have registered a view for each possible review_state.
-- 
View this message in context: 
http://plone.293351.n2.nabble.com/Set-a-default-view-based-on-workflow-review-state-tp4937905p4970147.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to