Event handlers in a template file in uix

Is it possible to define event handlers in a uix template file. I would like to define a global button kind of like the following code:
<globalButton source="toolbar_icon_prefs.gif" text="My Profile"
destination="UsersMyProfile_View.uix" event="event1" />
I would probably remove the destination field and let the java program called by the event decide the destination.
The event handler would need to not interfer with event handlers defined on individual pages.
Thanks, Steve

Sorry, Steve, but event handlers are not supported in templates.
- Ryan

Similar Messages

  • Load control template file /_controltemplates/TaxonomyPicker.ascx failed:

    hi got these below errors in event viewer
    Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
    i got this error message in wfe server eventviewer
    and this in  app server
    SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure
    Process Name: w3wp
    Process ID: 2236
    AppDomain Name: /LM/W3SVC/225774399/ROOT-1-130435939931055825
    AppDomain ID: 2
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:360914811eaa476b987aeea6e86a1806#authority=urn:uuid:ef463974a1364560a1ba9d3040a23e8f&authority=https://tfssp:32844/Topology/topology.svc
    Active Endpoints: 1
    Failed Endpoints:1
    Affected Endpoint:
    http://tspmcwfe:32843/360914811eaa476b987aeea6e86a1806/MetadataWebService.svc
    adil

    In both Bing and Google "Load control template file /_controltemplates/TaxonomyPicker.ascx failed" gives this as the first result:
    http://support.microsoft.com/kb/2481844
    I'm happy to help people fix issues they've tried to sort themselves however failing to use a search engine before posting a thread is inefficient.

  • Evaluating FXG files - possible to access elements and add event handlers?

    I would like to read an existing FXG file into flash builder and then datamine the file for elements, and add event handlers to those elements.
    For instance, if I have two rectangles in an FXG file (not in the flash builder mxml) and then read it in, I'd like to search for every rectangle and add an event handler that detects a mouse click. If the FXG code changes to three rectangles, I don't want to change my mxml for flash builder.
    Is this possible?

    I'm seeing a pretty tragic death using the following, where theDiagram.fxg is in the assets directory. Does <Graphic> map to a SpriteVisualElement, or is the <Graphic> composed of SpriteVisualElements?
    import assets.theDiagram;
    private var fxgCls:Class = theDiagram as Class;
    private var fxgElement:SpriteVisualElement = new fxgCls() as SpriteVisualElement;
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[E:\dev\4.x\frameworks\projec ts\framework\src\mx\core\UIComponent.as:7093]
    at mx.core::UIComponent/set nestLevel()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:3986]
    at spark.core::SpriteVisualElement/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\4.x\frameworks\projects\s park\src\spark\core\SpriteVisualElement.as:2106]
    at spark.core::SpriteVisualElement/addChild()[E:\dev\4.x\frameworks\projects\spark\src\spark \core\SpriteVisualElement.as:2070]
    at assets::theDiagram_Text_16710627/createText()
    at assets::theDiagram_Text_16710627()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at mx.core::FlexSprite()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\FlexSprite.as: 61]
    at spark.core::SpriteVisualElement()[E:\dev\4.x\frameworks\projects\spark\src\spark\core\Spr iteVisualElement.as:87]
    at assets::theDiagram()[assets/theDiagram-generated.as:10]
    at SpecViewer()[SpecViewer.mxml:22]
    at _SpecViewer_mx_managers_SystemManager/create()
    at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\ projects\framework\src\mx\managers\systemClasses\ChildManager.as:304]
    at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:2810]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.x\frameworks\projects\frame work\src\mx\managers\SystemManager.as:2637]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.x\framewo rks\projects\framework\src\mx\managers\SystemManager.as:2539]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:515]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

  • Do I need to worry about these event handlers in a grid from a memory leak perspective?

    I'm pretty new to Flex and coudn't figure out how to add event handlers to inline item renderer components from the containing file script so I attached the listnerers simply as part of the components themselves (eg <mx:Checkbox ... chnage="outerDocument.doSomething(event)"../>):
    <mx:DataGrid id="targetsGrid" width="100%" height="100%" doubleClickEnabled="true" styleName="itemCell"
          headerStyleName="headerRow" dataProvider="{targets}"
          rowHeight="19" fontSize="11" paddingBottom="0" paddingTop="1">
         <mx:columns>
         <mx:DataGridColumn width="78" dataField="@isSelected" headerText="">
         <mx:itemRenderer>
              <mx:Component>
                   <mx:HBox width="100%" height="100%" horizontalAlign="center">
                        <mx:CheckBox id="targetCheckBox" selected="{data.@isSelected == 'true'}"
                             change="outerDocument.checkChangeHandler(event);"/>
                        <mx:Image horizontalAlign="center" toolTip="Delete" source="@Embed('/assets/icons/delete.png')" useHandCursor="true" buttonMode="true"
                             click="outerDocument.deleteHandler(event);"/>
                        <mx:Image id="editButton" horizontalAlign="center" toolTip="Edit" source="@Embed('/assets/icons/edit-icon.png')" useHandCursor="true" buttonMode="true"
                             click="outerDocument.editHandler(event);"/>
                   </mx:HBox>
              </mx:Component>
         </mx:itemRenderer>
         </mx:DataGridColumn>
              <mx:DataGridColumn id="Name" dataField="@collectionDesc" headerText="Name" itemRenderer="com.foobar.integrated.media.ui.component.CellStyleForTargetName"/>
              <mx:DataGridColumn id="Created" width="140" dataField="@createDateTime" headerText="Created"  labelFunction="UiHelper.gridDateFormat" />
         </mx:columns>
    </mx:DataGrid>
    This grid is part of a view that will get destroyed and recreated potentially many times during a user's session within the application (there's a large dynamic nature to the app and views are created at run-time.) By destroyed I mean that the view that holds the above datagrid will no longer be referenced under certain circumstances and an entire new view object is created (meaning the old datagrid is no longer refernced and a new one is created.)
    I heard you should clean up event handlers when they are no longer used, and I know at what point the view is destroyed, but I don't know how to clean up the event handlers added to the item renderer components? Is it something that the Flex garbage collector will handle efficiently?
    Also, on a somewhat related note, how could I push the item renderer to an external component since in my event handlers for the item renderer buttons I need a reference to the datagrid.selectedIndex which, as an external item renderer I wouldn't have access to this containing grid?

    No. You don't need explicit cleanup in this case: if your outerDocument is going away, you have nothing to worry about. The event handler leak can happen in sort of the reverse situation: suppose you have a long-lived MyView that contains a custom DataGrid like the one below. Now suppose that MyView frequently destroys and re-creates the grid. And suppose that on its creationComplete event, the grid registers a listener for outerDocument's (MyView's) enterFrame Event. Unless you explicitly remove this listener, MyView will still have a reference to it even after the grid that registered the listener is destroyed (and garbage collected).
    This is a pretty contrived example, but it sort of illustrates the potential for leaks: a certain component is elligible for garbage collection, but some longer-lived component holds a reference to it (or part of it, such as a listener function). If the longer-lived component is elligible for GC as well, you don't really need to worry about proper cleanup. That's what you're paying the GC processor cycles for.

  • Problem with auto height property in .dwt template file

    following is the code for the template file of my website, the pages which this is template for have different length content but the height wont adjust according to the content and the text over flows under the footer and the green content area does not lengthen with the content. i havent uploaded the pages because there is this error so cant give an address for online sample. the content is in the "page-body" tag which is an editabbe region, the content in the tag is for experimental pupose copy and paste it iver n over for different content lengths, id really appreciate a quick reply need to upload the pages asap
    <!DOCTYPE html>
    <html  lang="en" dir="ltr" id="du-edu"  crossriderapp5060="true" crossriderapp-plugins-5060="true"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
              <!-- mimic Internet Explorer 7 for president's micro-site -->
              <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
              <meta name="msvalidate.01" content="5D411CE78DB32250E9FA56793A53B72D">     
        <link href="../pu/pupagetemplate_files/top_navigation_layout.css" rel="stylesheet" type="text/css" media="all">
        <link href="../pu/pupagetemplate_files/slideshow.css" rel="stylesheet" type="text/css" media="screen">
        <!-- include css definitions for positioning the main body of page -->
        <link href="../pu/pupagetemplate_files/index_layout.css" rel="stylesheet" type="text/css" media="all">
        <!-- include css definitions for positioning the bottom navigation elements -->
        <link href="../pu/pupagetemplate_files/bottom_navigation_layout.css" rel="stylesheet" type="text/css" media="all">   
        <!-- include css definitions for formatting most inline text styles -->
        <link href="../pu/pupagetemplate_files/text_styles.css" rel="stylesheet" type="text/css" media="all">
        <!-- TemplateBeginEditable name="doctitle" -->
        <title>Peace University USA</title>
        <!-- TemplateEndEditable -->
        <meta name="Description" content="An nnovative private university in Dashington DC, PU offers innovative and rigorous undergraduate, graduate and professional programs. The University is distinguished by its hands-on learning opportunities, strong faculty-student collaboration and global perspective. ">
                            <meta name="Keywords" content="university, Peace, degrees, bachelors degree, masters degree, doctorate, school of social work, alumni, public good">
              <meta name="author" content="Peace University USA">
         <link rel="shortcut icon" href="http://faithinpeace.org/.images/favicon.ico" sizes="16x16" type="image/x-icon">
          <link rel="shortcut icon" href="http://faithinpeace.org/images/favicon.ico" sizes="16x16 32x32 48x48 57x57 144x144" type="image/gif">
          <link href="../pu/pupagetemplate_files/style.css" rel="stylesheet" type="text/css" id="css">
          <link href="../pu/pupagetemplate_files/home.css" rel="stylesheet" type="text/css" id="css">
       <style type="text/css">
       body {
              background-color: #252525;
              background-image: url(../pu/pupagetemplate_files/website%20background.jpg);
       body,td,th {
              color: #FFFFFF;
       a:link {
              color: #000;
    a:visited {
              color: #000;
       #apDiv1 {
              position:absolute;
              width:531px;
              height:115px;
              z-index:7;
              background-image: url(../pu/images/logo.png);
              top: 1px;
       #du-edu body #globalFooter #footerLinksContainer #subFooter ul li a {
              text-align: left;
       #apDiv2 {
              position:absolute;
              width:323px;
              height:91px;
              z-index:6;
              top: 100px;
              /* [disabled]background-image: url(../pu/images/logoplain.png); */
              left: 678px;
       .b {
              list-style-type: circle;
              color: #FFFFFF;
       #apDiv3 {
              position:absolute;
              width:200px;
              height:54px;
              z-index:-2147483648;
              left: 24px;
              top: 3px;
       #apDiv4 {
              position:absolute;
              width:592px;
              height:70px;
              z-index:6;
              left: 3px;
              top: -1px;
       #apDiv5 {
              position:absolute;
              width:200px;
              height:115px;
              z-index:-2147483648;
       #apDiv6 {
              position:absolute;
              width:200px;
              height:115px;
              z-index:10;
       #apDiv7 {
              position:absolute;
              width:862px;
              height:auto;
              z-index:12;
              left: 84px;
              top: 92px;
              min-height: 573px;
       #apDiv8 {
              position:absolute;
              width:349px;
              height:382px;
              z-index:11;
              left: 488px;
              top: 232px;
              background-image: url(../pu/pupagetemplate_files/pwm.png);
              background-repeat: no-repeat;
              opacity: 0.5;
       </style>
       <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
       </script>
       <!-- TemplateBeginEditable name="head" -->
       <!-- TemplateEndEditable -->
    </head>
       <body onLoad="MM_preloadImages('../pu/pupagetemplate_files/ropagelogo.png')"><div id="pageWrapper" class="broke-endless-pages">                       
       <div id="alertbox" class="none">
       </div>
       <div id="apDiv6">
         <div id="header">
           <!-- *** mainNav: holds the actual navigation imagery -->
           <div id="mainNav">
             <ul id="topNavLinks">
               <li class=""><a href="http://faithinpeace.org/about.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;About Top&#39;]);">About Peace</a> |
                 <div id="menu1" class="subNavMenu" style="visibility: hidden; ">
                   <div class="subNavArrow"><img src="../pu/pupagetemplate_files/nav_arrow.gif" height="14" width="20" alt=""></div>
                   <div class="column">
                     <ul class="subNavLinks">
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/about.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow About&#39;, &#39;History&#39;]);">History &amp; Mission</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/about.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow About&#39;, &#39;Administration&#39;]);">Facts &amp; Figures</a></li>
                       <li class="thirdLevelNav"><a href="http://faithinpeace.org/rnd.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow About&#39;, &#39;President&#39;]);">Research &amp; Development</a></li>
                       <li class="thirdLevelNav"><a href="http://www.facebook.com/pages/MAD-Media-Art-and-Design-Center-of-Excellence/31164214225245 2" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow About&#39;, &#39;Provost&#39;]);">Media Arts &amp; Design</a></li>
                       <li class="thirdLevelNav"><a href="http://www.facebook.com/YOUTHENGAGEMENTPLATFORM" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow About&#39;, &#39;Finance&#39;]);">Youth Engagement Platform</a></li>
                     </ul>
                   </div>
                 </div>
               </li>
               <li class="hoverIt"><a href="http://faithinpeace.org/admissions.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;Admissions Top&#39;]);">Admissions</a> |
                 <div id="menu2" class="subNavMenu" style="visibility: hidden; ">
                   <div class="subNavArrow"><img src="../pu/pupagetemplate_files/nav_arrow.gif" height="14" width="20" alt=""></div>
                   <div class="column">
                     <ul class="subNavLinks">
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/undergraduate.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Undergrad Programs&#39;]);">Apply</a></li>
                       <li class="thirdLevelNav"><a href="http://faithinpeace.org/howtoapply.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Apply&#39;]);">Apply Now</a></li>
                       <li class="thirdLevelNav"><a href="http://faithinpeace.org/Peace-University-Catalog-2011-12.pdf" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Materials&#39;]);">Catalog</a></li>
                       <li class="thirdLevelNav"><a href="http://faithinpeace.org/Peace-University-Admission-Application-Form.pdf" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Materials&#39;]);">Applicationa Form</a></li>
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/undergraduate.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Undergrad Programs&#39;]);"> Undergraduate Programs</a></li>
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/graduate.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Grad Programs&#39;]);">Graduate Programs</a></li>
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/nondegree.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Admission&#39;, &#39;Apply Grad Programs&#39;]);">Non-Degree Programs</a></li>
                     </ul>
                   </div>
                 </div>
               </li>
               <li class=""><a href="http://faithinpeace.org/academics.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;Schools Top&#39;]);">Academics</a> |
                 <div id="menu3" class="subNavMenu" style="visibility: hidden; ">
                   <div class="subNavArrow"><img src="../pu/pupagetemplate_files/nav_arrow.gif" height="14" width="20" alt=""></div>
                   <div class="column">
                     <ul class="subNavLinks">
                     </ul>
                   </div>
                   <div class="column">
                     <ul class="subNavLinks">
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/diciplines.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Departments&#39;]);">Departments and Disciplines</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/undergraduate.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Undergrad Studies&#39;]);">Undergraduate Studies</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/graduate.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Grad Studies&#39;]);">Graduate Studies</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/nondegree.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Part-time&#39;]);">Part-Time and Non-Degree</a></li>
                       <li class="secondLevelNav"><a href="http://http//www.digital.edu/lms/" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Distance&#39;]);">Distance Education</a></li>
                     </ul>
                   </div>
                   <div class="column">
                     <ul class="subNavLinks">
                       <li class="secondLevelNavTop"><a href="http://faithinpeace.org/Peace-University-Catalog-2011-12.pdf" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Online Catalog&#39;]);">Online Academic Catalog</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/courses.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Course Listings&#39;]);">Course Listings</a></li>
                       <li class="secondLevelNav"><a href="http://faithinpeace.org/howtoapply.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Schools&#39;, &#39;Admissions Info&#39;]);">Admissions Information</a></li>
                     </ul>
                   </div>
                 </div>
               </li>
               <li><a href="http://webapps.jhu.edu/jhuniverse/research/" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;Research Top&#39;]);">Research</a> |
                 <div id="menu4" class="subNavMenu">
                   <div class="subNavArrow"><img src="../pu/pupagetemplate_files/nav_arrow.gif" height="14" width="20" alt=""></div>
                   <div class="column">
                     <ul class="subNavLinks">
                       <li class="secondLevelNavTop"><a href="http://digital.edu/callforpapers.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Research&#39;, &#39;APL Research&#39;]);">Call for Papers</a></li>
                     </ul>
                   </div>
                 </div>
               </li>
               <li class="hoverIt"><a href="http://faithinpeace.org/faculty.htm" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;Athletics Top&#39;]);">Faculty</a> | </li>
               <li><a href="http://alumni.jhu.edu/" onclick="_gaq.push([&#39;_trackEvent&#39;, &#39;Home Link&#39;, &#39;Follow Top&#39;, &#39;Alumni Top&#39;]);">Contact Us</a></li>
             </ul>
           </div>
           <!-- *** mainNav div ends here*** -->
         </div>
       </div>
       </div>
       <a class="hiddenFromViewer broke-endless-pages" href="http://www.faithinpeace.org/#skippedNav">Skip navigation</a>
       <header id="globalHeader">
              <div id="globalHeaderContent">
                <nav id="globalNav"></nav>
                <section class="searchContainer">
                  <nav id="globalUtilities">
                    <ol>
                      <li></li>
                    </ol>
                  </nav>
                </section>
                <div class="clear">
                  <div id="apDiv2"><a href="../pu/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('logo1','','../pu/pupagetemplate_files/ropagelogo.png',1)"><img src="../pu/pupagetemplate_files/pagelogoplain.png" name="logo1" width="323" height="86" border="0"></a></div>
                </div>
              </div>
       </header>
    <div id="contentWrapper"><div id="apDiv7"><!-- TemplateBeginEditable name="page-body" --> <span class="align">eace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.  While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals. While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals. While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals. While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals. While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or mediciPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyPeace University is registered with and recognized by the State Council of Higher Education for Virginia as an exempt faith based institution. Peace University is operated by Peace LLC a State Corporation Commission of the Commonwealth of Virginia approved Limited Liability Company. Peace University voluntarily ventures to conform with the regional, national, and international accrediting institutions' standards and quality processes. We have devised a breakthrough flexible learning process to suite individual student's needs and tailored to the individual's academic goals. It is our bottom line to provide quality education to our students and collaborate with international institutions of repute and quality who share the same vision and goals.
        While National Accreditation is common for traditional U.S. institutions of higher learning, utilizing standard teaching methods, we note that every country has its own standards and independent accrediting organizations. Accreditation is a voluntary process and does not guarantee a worthy education. Rather, it means an institution has submitted its courses, programs, budget, and educational objectives for review. Peace University's Camps based and Distance Learning Programs are unique, non-traditional and not accredited by the U.S. Department of Education. This may be a determining factor for those individuals interested in pursuing certain disciplines requiring State licensing, (such as law, teaching, or medicine). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordinglyne). It is recommended that you consider the importance of National Accreditation for your specific field or profession and make your decision accordingly. </span> . <!-- TemplateEndEditable --></div>
      </section>
    </div>
       </div>
       <footer id="globalFooter" name="globalFooter">
             <section id="footerLinksContainer">
           <nav id="learnFooter" class="footerLinks">
              <h1>Academics</h1>
              <div class="footerBorder">
    <h2>Undergraduates</h2>
    <ul>
      <li><a href="http://faithinpeace.org/undergraduate.htm" title="Degree Programs">Degree Programs</a></li>
      <li><a href="http://faithinpeace.org/faculty.htm" title="Faculty &amp; Staff">Faculty &amp; Staff</a></li>
    </ul>
    <h2>Graduates</h2>
    <ul>
      <li><a href="http://faithinpeace.org/graduate.htm" title="Degree Programs">Degree Programs</a></li>
      <li><a href="http://faithinpeace.org/rnd.htm" title="Graduate Research">Graduate Research</a></li>
      <li><a href="http://faithinpeace.org/faculty.htm" title="Faculty &amp; Staff">Faculty &amp; Staff</a></li>
    </ul>
                <h2>Non Degree</h2>
                <ul>
                  <li><a href="http://faithinpeace.org/nondegree.htm" title="Programs">Programs</a></li>
                  <li></li>
                  <li><a href="http://faithinpeace.org/faculty.htm">Faculty &amp; Staff</a></li>
                </ul>
             </div>
       </nav>
            <nav id="liveFooter" class="footerLinks">
              <h1>Virtual University</h1>
              <div class="footerBorder">
                <ul>
                  <li><a href="http://www.digital.edu/lms">Log In</a></li>
                  <li></li>
                </ul>
              </div>
            </nav>
            <nav id="applyFooter" class="footerLinks">
              <h1>About Us</h1>
              <div class="footerBorder">
                    <ul>
                  <li></li>
                  <li><a href="http://faithinpeace.org/about.htm" title="Facts &amp; Figures">Facts &amp; Figures</a></li>
                  <li></li>
                  <li><a href="http://faithinpeace.org/mission.htm" title="Vision &amp; Values">Vision &amp; Values</a></li>
                  <li><a href="http://faithinpeace.org/rnd.htm" title="Research &amp; Development">Research &amp; Development</a></li>
                  <li><a href="http://www.facebook.com/pages/YEP-Youth-Engagement-Platform-Peace/309623245721408" title="Youth Engagement Platform">Youth Engagement Platform</a></li>
                  <li><a href="http://www.facebook.com/pages/MAD-Media-Art-and-Design-Center-of-Excellence/31164214225245 2" title="&gt;Media Arts &amp; Design">Media Arts &amp; Design</a></li>
                </ul><br>
                <h2><a href="">Partners</a></h2><br>
                <ul>
                           <li><a href="http://digital.edu/"><img src="../pu/pupagetemplate_files/dulogoteal2.png" width="111" height="43"></a> <br></li>
                  <li><a href="http://digitalinternational.com/collaborate.htm"><img src="../pu/pupagetemplate_files/dilogoorange.png" width="111" height="43"></a><br></li></ul>
              </div>
            </nav>
            <nav id="applyFooter" class="footerLinks">
              <h1>Apply</h1>
              <div class="footerBorder">
                <h2>Undergraduates</h2>
                <ul>
                  <li><a href="http://faithinpeace.org/admissions.htm" title="Admission">Admission</a></li>
                  <li><a href="http://faithinpeace.org/financialinfo.htm" title="Tuition and Fee">Tuition and Fee</a></li>
                  <li><a href="http://faithinpeace.org/aid.htm" title="Financial Aid and Scholarships">Financial Aid and Scholarships</a></li>
                </ul>
                <h2>Graduates</h2>
                <ul>
                  <li><a href="http://faithinpeace.org/admissions.htm" title="Admission">Admission</a></li>
                  <li><a href="http://faithinpeace.org/financialinfo.htm" title="Tuition &amp; Fee">Tuition &amp; Fee</a></li>
                  <li><a href="http://faithinpeace.org/aid.htm" title="Financial Aid and Scholarships">Financial Aid and Scholarships</a></li>
                </ul>
                <h2><a href="http://faithinpeace.org/howtoapply.htm">How to Apply</a></h2>
              </div>
            </nav>
            <nav id="newsFooter" class="footerLinks">
              <h1>Contact</h1>
              <div class="footerBorder">
                <ul>
                  <li><a href="http://faithinpeace.org/employment.htm" title="Employment">Employment</a></li>
                  <li><a href="http://faithinpeace.org/careers.htm" title="Career and Development">Career and Development</a></li>
                  <li><a href="http://eepurl.com/nj22f">Contact Form</a></li>
                </ul>
              </div>
            </nav>
    <div class="clear"><!--//--></div>
                <section id="followList">
              <ul>
                <li></li>
    </ul></section>
                <nav id="subFooter">
    <ul>
            <blockquote>
              <p><a href="http://www.facebook.com/pages/Peace-University/235720776442514" target="_blank" title="Peace University facebook"><img alt="Facebook" src="../pu/pupagetemplate_files/btn_facebook.jpg"></a> | <a href="http://faithinpeace.org/contact.htm" title="&gt;Contact Us">Contact Us</a> | <a href="http://faithinpeace.org/employment.htm" title="Jobs">Jobs</a> | 
              </p>
              <p> Peace University USA is an equal opportunity affirmative action institution.<span style="display:none;"><a href="http://www.omniupdate.com/oucampus/de.jsp?user=Denver&site=DU_Main&path=%2Findex.pcf"><img src="../pu/pupagetemplate_files/icon_edit_lt.png"></a></span>
              </p>
              <p> </p>
            </blockquote>
            </ul>
    </nav>
          </section>
    </footer>
       <div id="apDiv8"></div>
    <script>
    try{for(var lastpass_iter=0; lastpass_iter < document.forms.length; lastpass_iter++){ var lastpass_f = document.forms[lastpass_iter]; if(typeof(lastpass_f.lpsubmitorig2)=="undefined"){ lastpass_f.lpsubmitorig2 = lastpass_f.submit; lastpass_f.submit = function(){ var form=this; var customEvent = document.createEvent("Event"); customEvent.initEvent("lpCustomEvent", true, true); var d = document.getElementById("hiddenlpsubmitdiv"); for(var i = 0; i < document.forms.length; i++){ if(document.forms[i]==form){ d.innerText=i; } } d.dispatchEvent(customEvent); form.lpsubmitorig2(); } } }}catch(e){}
       </script><sfmsg id="sfMsgId" data="{&quot;imageCount&quot;:0,&quot;ip&quot;:&quot;182.177.153.216&quot;}"></sfmsg><div class="extLives"></div></body></html>

    sandyrojito wrote:
    how do i fix it though? can make corrections in the code and send me the code?
    It's not fixable. If you do not know how to use static <divs> then you might want to consider using a table stucture for the construction. Whilst not the ideal way to go tables do work in conjunction with one another.
    You can only really use abosolutely positioned <divs> for  a simple website which has say a header and 2/3/4 columns and no footer. As soon as you try to include a footer the absolutely positioned column <divs> can't recognise it's there so any content in them does not push the footer down.

  • [JS] Basic question about event listeners and event handlers

    I am very new to the whole topic of event listeners and event handlers.  I'd run the test for the following problem myself, but I don't know where to start, and I just want to know if it's impossible -- that is, if I'm misunderstanding what event listeners and event handlers do.
    Say I have an InDesign document with a text frame that is linked to an InCopy story.  Can I use an "afterImport" event listener on the text frame to perform some action any time the link to the InCopy story gets updated?  And will the event handler have access to both the story that is imported, and the pathname of the InCopy file?
    Thanks.

    Thank you, Kasyan.
    Both of those are good solutions.
    We are currently using InDesign CS4 and InCopy CS5.  I'm hoping to get them to purchase the whole CS5 suite soon, since I'd like to start writing scripts for InDesign CS5 as soon as possible, as long as I'm going to have to be doing it in the not too distant future anyway.  The greater variety of event handlers sounds like it might be something that is crucial to the project I'm working on, so that adds to the argument for getting CS5.
    Thanks again.  You have no idea how helpful this is.  I made some promises to my boss yesterday that I later realized were  based on assumptions of mine about the InDesign/InCopy system that didn't make any sense, and I was going  to have to retract my promises.  But after reading your response I think I can still deliver, in a slightly different way that I had been thinking before.
    Richard

  • Problem with displaying flash file in UIX page

    Hi everybody
    I would like to use a flash file (.swf file) above all my UIX pages.
    I want to put falsh file in the UIX template file (.uit file) so that
    when I create pages based on template, it will be shown on the top of all pages .
    Does anybody know if there is a solution for doing this ?
    Which UIX tags can be used ?
    Best Regards
    Navid

    Add tht html namespace like
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:html="http://www.w3.org/TR/REC-html40"
    targetNamespace="http://www.example.org"
    Then you can add you flash contents at appropriate place.
    Like
    <html:OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    WIDTH="100%" HEIGHT="100%">
    <html:PARAM NAME="movie" VALUE="TLT-intro4.swf"></html:PARAM>
    <html:PARAM NAME="quality" VALUE="medium"></html:PARAM>
    <html:PARAM NAME="bgcolor" VALUE="#000000"> </html:PARAM>
    <html:EMBED src="TLT-intro4.swf" quality="medium"
    bgcolor="#000000" WIDTH="100"
    HEIGHT="100"
    TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </html:EMBED>
    </html:OBJECT>
    So you should get your flash working that way. Rest everything is same as getting it work in html.
    Regards,
    Vijay V

  • Help with Event Handlers with Scope

    I have a question of how I must implement the event handlers with scope, I have problems in the execution of processes BPEL (they are generating exceptions in the dehydration)
    I have two models for event handlers and I need to know which is the best way to implement event handlers.
    Another question is, in what it influences the "variableAccessSerializable" attribute.
    Thanks!
    1) Event Handlers with PartnerLink invocation OUTSIDE Scope
    <invoke name="Invoke_1" partnerLink="PartnerLink1"/>
    <scope name="Scope_1" variableAccessSerializable="yes">
    <eventHandlers>
    <onMessage partnerLink="PartnerLink1"/>
    <onAlarm/>
    </eventHandlers>
    <sequence name="Sequence_1">
    </sequence>
    </scope>
    2) Event Handler with PartnerLink invocation INSIDE scope
    <scope name="Scope_1" variableAccessSerializable="yes">
    <eventHandlers>
    <onMessage partnerLink="PartnerLink1"/>
    <onAlarm/>
    </eventHandlers>
    <sequence name="Sequence_1">
    <invoke name="Invoke_1" partnerLink="PartnerLink1"/>
    </sequence>
    </scope>

    Thanks -- indeed a crucial call might be missing. I was doing
    this until 3 yesterday morning.
    Would this be the correct sample code to use? :
    http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=Flash_MX_2004&file=00000846.html
    It seems to work (although someone cautions in the page
    comments that it doesn't).
    Part of my trouble in working with AS 2.0 is that I feel I
    shouldn't have to do such complicated things (Delegate classes,
    etc) in order to get simple things done (loading XML files). This
    is not a complaint per se -- rather I feel that I must be missing
    something, that it is my inexperience that is causing me to bend
    through so many hoops: programming "should" be elegant and simple.
    So, any links helpful. Thanks.

  • OIM11g - Event handlers - picking up external libraries

    Hi all,
    I seem to be running into an issue with event handlers. I have to refer to some other custom libraries within them and they don't seem to be accessible by the event handlers.
    I've put the libraries in JavaTasks and ThirdParty but I'm still getting NoClassDef found and in the worst case the Orcherstration engine seems to break preventing me from even logging into OIM and meaning I have to remove the event handler metadata manually.
    Does anyone know how the event handler classpath works and where I can put libs such that event handlers can use them?
    Thanks.
    Wayne.

    From the WebLogic Administrator screen, you can go to the servers for your OIM Server, or SOA Server, whichever will be accessing the jar. Under the server start tab, add in the path in the classpath section for your jar file. User forward slashes. Now when your server starts, it will load those jar files and they should be accessible.
    -Kevin

  • Event handlers inheritence

    Do You plan to add some inheritence into event handlers. Example: I have event defined in UIX page and i have same event registred at global level through PageBroker.
    Do You know how can I handle event with same name before globally defined?

    This isn't the way UIX currently works; if you need functionality of this sort, you'll want to implement a
    custom registration mechanism. One thing you could
    do is add a <javaClass> element to your pages:
    <page ...>
      <javaClass name="yourPackage.YourClass"/>
    </page>...where YourClass extends DefaultUINodePageDescription and overrides getEventHandler() to return a custom EventHandler that first calls through to super.getEventHandler().handleEvent(...)), then looks
    up a globally defined event handler. That's a pretty
    sketchy description, but it would give you what you're
    looking for.

  • 10g: Data Binding in event handlers?

    I'm trying to use data binding in my event handlers so that I can have a definitive source for the Strings that name things like this. I can see that the page is getting generated with the proper names on the elements in the page, but I always get an UnhandledEventException when I trigger the event. The idea is something like this:
            <submitButton text="Refresh" event="${ pageBean.controlRefreshEventName }" >
            </submitButton>
            <submitButton text="Hide Controls" event="${ pageBean.controlHideEventName }" >
            </submitButton>
        <handlers>
            <event name="${ pageBean.controlRefreshEventName }">
                <method class="com.avega.portlets.view.EventHandler"
                        method="handleControlFormSubmit"/>
            </event>
            <event name="${ pageBean.controlHideEventName }">
                <method class="com.avega.portlets.view.EventHandler"
                        method="handleControlFormSubmit"/>
            </event>
        </handlers>
    ...Now in my EventHandler I would be able to use the getXXXName methods when checking for which submit button was hit. Except I'm getting an exception instead.
    (BTW, I only have the two event tags because I wasn't sure how to concatenate the el expressions with a space...)

    No, there's no indication that anything is wrong until I cause the event and get the UnhandledEventException.
    However, I did the an experiment with the following tags, the first in a plain JSP, the second in a UIX page, and it seems that this is the normal way of handling a non-existant bean reference. Both cases printed 'text' in the page and did not complain that 'noBean' didn't exist. It seems you get an error when you reference a non-existant property on an existing bean, but no error if the bean itself doesn't exist. Anyway, UIX doesn't appear to be any different from JSP in this regard.
    <c:out value="${ noBean.noProperty } text" />
    <styledText text="${ noBean.noProperty } text" />

  • OIM 11g: Event Handlers/Plugins Classpath

    We have a number of custom utility libraries that we use for OIM development which are currently uploaded to the OIM database OIMHOME_JARS table.
    Ideally, we'd like to reference classes from these JARs in our plugins/event handlers. During initial testing, it looks like the plugin code doesn't consider the uploaded JARs and we get a bunch of NoClassDefFoundError errors.
    Is there no way to get the plugin code to be able to use the uploaded utilities? or is the solution to also deploy the utility JARs within the plugin zip file itself (not ideal).
    Thanks.

    Not always true. In most of the cases you would find that it reads the helper jars from within the lib directory inside the plugin but in some special cases it does't behave that simple.
    UploadJars definitely doesn't work. I had to put the jar in the weblogic startup script to set classpath for this to work. This script is *<domain_home\bin\setDomainEnv.cmd\>*
    So its a bit dubious.

  • Spry and Iframe event handlers

    Hi,
    I am trying to implement an ajax simulated file upload using
    spry and iframes. With Spry's power to attach event handlers and
    $$() notation for accessiblities is there a way that you can detect
    when an iframe is loaded using any of spry's utilities.?

    there is nothing other than the basic delay in web overlay.
    I suppose the only thing to do would be to create the whole article as HTML, but I'm sure that would be over the top, it would put me off!
    Alistair

  • How to Deploy the Event Handlers OIM 11g

    Hi
    I have developed the code for post process event handler using OIM 11 G API. The OIM not invoking the EventHandlers while updating the users attribute or creating the users attribute.
    I have done the following task to develop and deploy the OIM 11g Event handlers. They are
    1) Implementing the PostProcessHandler interface and provide the implementation of execute method.
    Sample Class
    public class SamplePostProcessEventHandler implements PostProcessHandler {
         private Logger logger=Logger.getLogger("TEST-LOGGER");
         public SfsuPostProcessEventHandler()
              logger.debug("Invoking Event Handler Plugin");
         @Override
         public boolean cancel(long arg0, long arg1,
                   AbstractGenericOrchestration arg2) {
              // TODO Auto-generated method stub
              return false;
         @Override
         public void compensate(long arg0, long arg1,
                   AbstractGenericOrchestration arg2) {
              // TODO Auto-generated method stub
         @Override
         public EventResult execute(long processid, long eventid, Orchestration orchestration) {
              // TODO Auto-generated method stub
              logger.debug("Operation "+orchestration.getOperation());
              logger.debug("Parameters "+orchestration.getInterEventData());
              logger.debug("Parameters "+orchestration.getParameters());
              EventResult result=new EventResult();
              return result;
         @Override
         public BulkEventResult execute(long arg0, long arg1, BulkOrchestration arg2) {
              // TODO Auto-generated method stub
              return null;
         @Override
         public void initialize(HashMap<String, String> arg0) {
              // TODO Auto-generated method stub
    2) Create the Jar File SamplePostProcessEventHandler.jar
    3) Create the Plugin.xml file
    Sample File
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass="test.eventhandlers.SamplePostProcessEventHandler" version="1.0" name="SamplePostProcessEventHandler">
    </plugin>
    </plugins>
    </oimplugins>
    4) Create the directory lib and copy the SamplePostProcessEventHandler.jar file into this directory
    5) Creating the Zip file with the following directory structure.
    plugin.xml
    lib/SamplePostProcessEventHandler.jar
    6) Register the plugin
    ant -f pluginregistration.xml register
    7) Creating the Custom Events xml file called EventHandlers.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <eventhandlers>
    <action-handler class="test.eventhandlers.SamplePostProcessEventHandler" entity-type="User" operation="CREATE" name="SamplePostProcessEventHandler" stage="postprocess" order="LAST" sync="TRUE"/>
    <action-handler class="test.eventhandlers.SamplePostProcessEventHandler" entity-type="User" operation="MODIFY" name="SamplePostProcessEventHandler" stage="postprocess" order="LAST" sync="TRUE"/>
    </eventhandlers>
    8) Importing the Above XML into the MDS Schema Using the weblogicImportMetadata.sh file
    Directory Structure of the Event Handler Schema File
    /home/oracle/eventhandler/db/EventHandlers.xml
    weblogic.properties file parameters
    wls_servername=oim_server1
    application_name=oim
    metadata_from_loc=/home/oracle/eventhandler
    9) Finnally Running the PurgeCache.sh All
    10) Restarted the OIM Server.
    11) Testing
    I have logged into the OIM Admin Console >> Search the User > Update the First Name. The event handlers are not invoked any create or update operation. I am not able to see the log entries into the log file.
    My Log Entry Configuration.
    log File Configuration :
    /u01/app/wl-10.3.5.0/Oracle/Middleware/user_projects/domains/oim_domain/config/fmwconfig/servers/oim_server1/logging.xml
    <log_handler name='test-handler' level='FINEST' class='oracle.core.ojdl.logging.ODLHandlerFactory'>
    <property name='logreader:' value='off'/>
    <property name='path' value='/u01/app/wl-10.3.5.0/Oracle/Middleware/user_projects/domains/oim_domain/servers/oim_server1/logs/test-event.log'/>
    <property name='format' value='ODL-Text'/>
    <property name='useThreadName' value='true'/>
    <property name='locale' value='en'/>
    <property name='maxFileSize' value='5242880'/>
    <property name='maxLogSize' value='52428800'/>
    <property name='encoding' value='UTF-8'/>
    <logger name="TEST-LOGGER" level="FINEST" useParentHandlers="false">
    <handler name="test-handler"/>
    <handler name="console-handler"/>
    </logger>
    Is there anything is missing while deploying the event handlers.
    Help is Greatly appreciated.

    Change as per the following :
    1. Put the event hander in the /home/oracle/eventhandler /metadata/metadata directory and
    2. Change the following in the weblogic properties
    application_name=OIMMetadata
    metadata_from_loc to =/home/oracle/eventhandler/metadata
    This will work.

  • Portal Forms (9ias) JavaScript Event Handlers

    For each form field it is possible to write event handlers in Javascript e.g OnFocus
    //On BLUR effectively prevents the field from ever gaining
    //focus.
    this.blur();
    There are no PL/SQL event handlers at field level. Is there any way that we can call PL/SQL code from the Javascript event?
    Thanks in Advance.

    In case of do_event(), you can do a view source of the form's runtime page and lookup the code. It's a simple javascript that set values to some hidden variables.
    When you do a view source , you will find some javascripts like :-
    <SCRIPT TYPE="text/javascript" SRC="<some-url>">
    Copy the url and paste it on a new browser window and try to access it. In case of IE, it will prompt you for a file download. Download the file as a text file and you will get to see the code.

Maybe you are looking for

  • How to create a Maintenance view in order to update 4 tables

    Hello, I want to update 4 tables having the same key. MANDANT + SIRET (fiscal french ID). I try to create a maintenace view, i need to update the 4 tables using a single screen. When i use the relationship the system display a message "Relationships

  • [SOLVED] Initramfs fails to properly mount luks partition

    Hello All, As I foreshadowed in my intro, I'm having trouble getting encrypted Archlinux to work on my Acer Aspire 5750. I've previously had encrypted Debian Netinst and encrypted Aptosid working on this device. The arch iso I'm using is 2011.08.19-c

  • Reader 9.0 won't open on internet

    When I open a Reader document on the internet the file appears and then I get a pop-up that says that I must purchase Reader 8.0 Pro to view the file. When I visit the same website from one of my other computers it works fine. Any suggesting on what

  • How do I set apple mail to default to firefox?

    Before switching from Safari to Firefox, links in apple mail (v1.3.11) e-mails would default to Safari for opening. After changing to Firefox as my preferred browser, now apple mail defaults to IE 5.2 to open links in e-mails. I can't find anything i

  • AS2/CS4 Netstream problem...

    I'm currently building a custom flv player and need some help.  Maybe I'm missing something, I'm not sure.  The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and