• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Page button jumps, public and logged in views...

    User help
    2
    3
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      skiv71
      last edited by

      hi,

      just been playing with public views... which i can see being advantageous for casual users wanting a quick look see...

      however, within my project i have page jumps...

      <FORM>
      <INPUT TYPE="BUTTON" VALUE=" site overview " ONCLICK="window.location.href='/views.shtm?viewId=19'">
      </FORM>

      which i'm looking to change to....

      <FORM>
      <INPUT TYPE="BUTTON" VALUE=" site overview " ONCLICK="window.location.href='/public_view.htm?viewId=19'">
      </FORM>

      so that as long as a public view has been allowed, the guest can navigate using the buttons...

      thing is, i'd like to jump to look if the user is logged in...

      a logged in user should get the shtml page so they get the editing menu...

      can i make the html code logged in aware?

      would it become a serverside button jump instead?

      thanks

      Neil

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        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.

        For example, page.tag has the following code:

                &lt;c:if test="${empty sessionUser}"&gt;
                  ...
               &lt;/c:if&gt;
        
        

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • First post
          Last post