<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Page button jumps, public and logged in views...]]></title><description><![CDATA[<p dir="auto">hi,</p>
<p dir="auto">just been playing with public views... which i can see being advantageous for casual users wanting a quick look see...</p>
<p dir="auto">however, within my project i have page jumps...</p>
<p dir="auto">&lt;FORM&gt;<br />
&lt;INPUT TYPE="BUTTON" VALUE="  site overview  " ONCLICK="window.location.href='/views.shtm?viewId=19'"&gt;<br />
&lt;/FORM&gt;</p>
<p dir="auto">which i'm looking to change to....</p>
<p dir="auto">&lt;FORM&gt;<br />
&lt;INPUT TYPE="BUTTON" VALUE="  site overview  " ONCLICK="window.location.href='/public_view.htm?viewId=19'"&gt;<br />
&lt;/FORM&gt;</p>
<p dir="auto">so that as long as a public view has been allowed, the guest can navigate using the buttons...</p>
<p dir="auto">thing is, i'd like to jump to look if the user is logged in...</p>
<p dir="auto">a logged in user should get the shtml page so they get the editing menu...</p>
<p dir="auto">can i make the html code logged in aware?</p>
<p dir="auto">would it become a serverside button jump instead?</p>
<p dir="auto">thanks</p>
<p dir="auto">Neil</p>
]]></description><link>https://forum.mango-os.com/topic/611/page-button-jumps-public-and-logged-in-views</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 22:26:41 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/611.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 31 Oct 2010 21:17:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Page button jumps, public and logged in views... on Sat, 06 Nov 2010 02:34:50 GMT]]></title><description><![CDATA[<p dir="auto">There isn't a way to do that within the regular graphical views, but you would be able to do this in the custom views. (See customViewExample.jsp.) These are JSP files, so they have access to the request context, and you can query it like any of the other JSP files.</p>
<p dir="auto">For example, page.tag has the following code:</p>
<pre><code>        &amp;lt;c:if test="${empty sessionUser}"&amp;gt;
          ...
       &amp;lt;/c:if&amp;gt;

</code></pre>
]]></description><link>https://forum.mango-os.com/post/4858</link><guid isPermaLink="true">https://forum.mango-os.com/post/4858</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Sat, 06 Nov 2010 02:34:50 GMT</pubDate></item></channel></rss>