com.oktiva.mogno.additional
Class PrototypePage

java.lang.Object
  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.TopLevel
                  extended bycom.oktiva.mogno.html.Page
                      extended bycom.oktiva.mogno.additional.PrototypePage
All Implemented Interfaces:
java.lang.Cloneable

public class PrototypePage
extends Page

Descendente de Page para criação de protótipos, somente com os XMLs das páginas.

O MognoApplication.xml deverá ter entradas como:
<TopLevel name="Test1" class="com.oktiva.mogno.html.PrototypePage" xml="Test1.xml"/>

O XML de destino de um link deve ser passado em um parâmetro mognoDestiny. Os links para uma página deste tipo ficam no seguinte formato:
http://myhost/myapp/app?mognoOrigin=Test1&mognoDestiny=Test3

Version:
$Id: PrototypePage.java,v 1.1.1.1 2005/01/05 16:52:56 ruoso Exp $

Field Summary
 
Fields inherited from class com.oktiva.mogno.html.Page
dir, lang, linkrel, meta, script, style, title
 
Fields inherited from class com.oktiva.mogno.TopLevel
application, evOnMessage, evOnUncaughtError
 
Fields inherited from class com.oktiva.mogno.Container
afterEnd, content
 
Fields inherited from class com.oktiva.mogno.Visual
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, styleClass, top
 
Fields inherited from class com.oktiva.mogno.Component
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName
 
Constructor Summary
PrototypePage()
           
 
Method Summary
 void message(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Somente obtém o TopLevel de destino definido em mognoDestiny e faz show().
 
Methods inherited from class com.oktiva.mogno.html.Page
endContainer, getDir, getLang, getLinkrel, getMeta, getScript, getStyle, getTitle, setDir, setLang, setLinkrel, setMeta, setScript, setStyle, setTitle, startContainer
 
Methods inherited from class com.oktiva.mogno.TopLevel
checkSyntax, descendentOf, getApplication, getEvOnMessage, getEvOnUncaughtError, setApplication, setEvOnMessage, setEvOnUncaughtError, showPage
 
Methods inherited from class com.oktiva.mogno.Container
addChildsVector, betweenColumns, betweenRows, endColumn, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, show, startColumn, startRow
 
Methods inherited from class com.oktiva.mogno.Visual
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getId, getLastError, getLeft, getParent, getStyleClass, getTop, htmlAttributes, i18nHtmlAttributes, localizableAttributes, receiveRequest, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyleClass, setTop, showHtmlAttributes
 
Methods inherited from class com.oktiva.mogno.Component
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrototypePage

public PrototypePage()
Method Detail

message

public void message(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.lang.Exception
Somente obtém o TopLevel de destino definido em mognoDestiny e faz show().

Overrides:
message in class TopLevel
Throws:
java.lang.Exception