<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[JavaRanch: Latest posts for the topic "CommandLink in Subview"]]></title>
		<link>http://www.coderanch.com/forums/t/82/JSF/CommandLink-Subview</link>
		<description><![CDATA[Latest messages posted in the topic "CommandLink in Subview"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>CommandLink in Subview</title>
				<description><![CDATA[Hi <br />  <br /> Is there a restriction on having something like: <br />  <br /> <br /> &lt;h:form id="Logout_FORM"&gt;<br />  <br /> &lt;h:commandLink action="#{loggedUsers.logout}" value="Logout1" id="register_submit1" /&gt;<br />  <br /> &lt;/h:form&gt;<br />  <br /> Inside a &lt;f:subview&gt;  in a file like Header.jsp<br />  <br /> This file then gets included in home.jsp as : <br />  <br /> &lt;f:verbatim&gt;<br />  <br /> &lt;%@include file="/Header.jsp"%&gt;<br />  <br /> &lt;/f:verbatim &gt;<br />  <br /> My problem is that this never works. If I have the former code (commandlink) copy pasted directly in home.jsp it works. But including it does not. Why is that?<br />  <br />  <br /> Thanks<br />  <br /> Raj]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/211721/1012913</guid>
				<link>http://www.coderanch.com/forums/posts/preList/211721/1012913</link>
				<pubDate><![CDATA[Sun, May 28 2006 18:14:00 MDT]]></pubDate>
				<author><![CDATA[Raj Maheshwari]]></author>
			</item>
			<item>
				<title>CommandLink in Subview</title>
				<description><![CDATA[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.<br />  <br /> --<br /> Sergey : &lt;a href="https://ajax4jsf.dev.java.net/" target="_blank" rel="nofollow"&gt;https://ajax4jsf.dev.java.net/&lt;/a&gt;]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/211721/1012914</guid>
				<link>http://www.coderanch.com/forums/posts/preList/211721/1012914</link>
				<pubDate><![CDATA[Sun, May 28 2006 22:16:00 MDT]]></pubDate>
				<author><![CDATA[Sergey Smirnov]]></author>
			</item>
			<item>
				<title>CommandLink in Subview</title>
				<description><![CDATA[Sergey<br /> Thanks for the reply.<br />  <br /> As I mentioned, the &lt;f:verbatim&gt; has a include which includes a file called Header.jsp. My Header.jsp has the &lt;f:subview&gt; (and the f:subview contains the h:commandLink).<br />  <br /> So will that work? I even tried to not wrap the include statement inside the f:verbatim and that did not do the trick for me.<br />  <br /> Thanks,<br /> Raj]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/211721/1012915</guid>
				<link>http://www.coderanch.com/forums/posts/preList/211721/1012915</link>
				<pubDate><![CDATA[Sun, May 28 2006 22:40:00 MDT]]></pubDate>
				<author><![CDATA[Raj Maheshwari]]></author>
			</item>
			<item>
				<title>CommandLink in Subview</title>
				<description><![CDATA[Ok mybad. It works. I just had to redeploy.<br />  <br /> Thanks<br /> -raj]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/211721/1012916</guid>
				<link>http://www.coderanch.com/forums/posts/preList/211721/1012916</link>
				<pubDate><![CDATA[Sun, May 28 2006 22:44:00 MDT]]></pubDate>
				<author><![CDATA[Raj Maheshwari]]></author>
			</item>
	</channel>
</rss>
