Thanks a lot for your response Bob.

The below code i have in ViewTest.tml(test/view)

  ${message:label.markup} :   <br/> <br/>
     <pre t:type="syntaxhighlighting/syntaxhighlighter"
language="literal:xml" > <t:outputraw value="prop:markup"/> </pre>
     
     <br/> <br/>



     <input t:id="submitCopy" type="submit" value="Copy"/>
     <input t:id="submitRun" type="submit" value="Run"/>


       <t:if test="showOptions">
                        <input t:id="submitUpdate" type="submit" 
value="Update"/>
                <input t:id="submitDelete" type="submit" value="Delete"/>
        
        </t:if>




         <t:if test="fromCreate">
         <input type="button" value="Back to Home"
onclick="location.href='../start';" />
      </t:if>


When we click on Run button as shown in above code we navigate to
ExecutionProgress.tml

<t:layout xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
title="Search Testable Entity">

<div id="anyID" t:type="Any" environment="environment"
testsToRun="addedTestableEntities"
t:mixins="testExecutionProgressDisplay"></div>


</t:layout>


Can i write some java script in the ExecutionProgress.tml such that this
page is shown and only when the user clicks on Run Button and executes the
test case(But not when user uses back button to see the test script which he
has executed and this takes him first to /execution/run/progress page and
executes the test case again and then he/she will be able to see the test
case).

Plz help me out with some thing here.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disable-operations-caused-due-to-back-and-forward-buttons-tp5719689p5719726.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to