Your subj says about subview, but the code snippet contains f:verbatim. So, what the tag you have problem with? If you ask about f:verbatim,
you should not put any control elements, such as command link. f:verbatim is a transient component. it means it and its subtree does not stored in the component tree.
--
Sergey :
https://ajax4jsf.dev.java.net/