UI Template replicating itself

Anyone know why sometimes a UI template will replicate itself within itself? I have a several complex UI template with JavaScript and Styles defined inside of them. For some odd reason that I can't figure out, the template will exhibit the following behavior:
<UITemplate Head>
<UITemplate Head>
#BODY#
<UITemplate Foot>
<UITemplate Foot>
Even though my Mark up clearly states that I want:
<UITemplate Head>
#BODY#
<UITemplate Foot>
I had this happen once before and it turned out that the UI Template did not like a piece of Javascript that contained both the full domain of a link, as well as the '&' character:
The line of code looked like this:
oCMenu.makeMenu('top4','','','<server>.<domain>.com/portal/page?_pageid=33,42765&_dad=portal&_schema=PORTAL','','95','16','http://<server>.<domain>.com/pls/portal/docs/1/3802.GIF')
I was able to fix this by removing the '&' character (which was not a viable solution), or, interestingly, remove the full domain name and reference the link locally:
oCMenu.makeMenu('top4','','','/portal/page?_pageid=33,42765&_dad=portal&_schema=PORTAL','','95','16','http://<server>.<domain>.com/pls/portal/docs/1/3802.GIF')
Now I am experiencing the problem again, with nothing similar to the above in any of the javascript.
Does anyone have any idea what causes this behavior? This product never ceases to amaze(*frustrate*) me by making what should be something relatively simple (ie dumping code out to the browser) into a complex activity.
Thanks in advance for the help

Well this time it was because the UI template didn't like some of my JavaScript in the <body>. Moved it to the <head> and things work fine.
I'd still like to know why this happens so I can avoid it in the future. Is this a known bug?

Similar Messages

  • Flash Player is replicating itself

    I am using Win8 64bit, on a Toshiba Tecra, Flash Player version 15.0.0.189, with Mozilla Firefox as the browser.
    I am finding that Flash Player is replicating itself, (the most that I have removed is 18 copies).  What could be a remediation for this, please.

    From Win8 Task Manager:
    Let me know if you need further information.
    Redial

  • Issue with ROUND function in RTF template

    Hi All,
    Can anyone please help me in implementing the ROUND function at the RTF template.
    Need to handle rounding of amounts at the RTF template level itself.
    The ROUND function should be implemented to the following tags:
    <?sum(current-group()/TAXABLE_AMOUNT)?> (Record level)
    <?sum(TAXABLE_AMOUNT)?> (Report level total)
    Eg. If the Sum(current-group()/TAXABLE_AMOUNT) for a particular record is 401.65 then it should round of to 402
    we try to do this using following syntax ..
    1) by declaring variable "value"
    <?xdoxslt:set_variable($_XDOCTX, value, sum(current-group()/TAXABLE_AMOUNT))?>
    2) <?xdofx:round(sum(current-group()/TAXABLE_AMOUNT))?>
    3)<?xdofx:round(xdoxslt:sum(current-group()/TAXABLE_AMOUNT))?>
    but we ding get the solution.
    A quick response on this is highly appreciable.
    Thanks,
    Praveen

    Re: Summing derived values within xdofx:
    Re: Rounding not working

  • HP 2005pr USB 2.0 Port Replicator - Video not with my Surface Pro 3

    Hi everyone,
    I've spent tons of hours already trying to get the HP 2005pr USB 2.0 Port Replicator working with my Surface Pro 3 and no luck. I mean, the USB replication / hub works, meaning that if I plug in a USB mouse / keyboard, they work. It recognizes the device in Device Manager and the ViewSpan application is running. But if I plug in a display in the VGA, nothing happens, no monitor gets detected, and even if I "force-detect" one it still doesn't display anything.
    I've tried with 3 driver versions so far:
    0.2.5 - not working at all. Reboots my Surface while installing. (this one is on the device itself).
    3.X - which is the first with support for Windows 8 I think. I can install it and everything works as described above - meaning no VGA.
    5.3.X - same story as above.
    I've tried uninstalling, restarting and uninstalling several times with both versions. No luck. And I've literally been on every forum where people have problems with the replicator and nothing helped.
    Anyone had any luck getting such a setup to work?
    Or any ideas on how to get it to work?
    Thanks.

    Hi @blinkk2
    I see that you are having problem connecting an external monitor to your Microsoft Surface Pro 3 through the HP USB Port Replicator. As the USB ports are working with the mouse and keyboard we know what the Port Replicator itself is working this is going to be something with the drivers on the Surface. I would recommend contacting Microsoft Support to see if they can recommend a graphics driver for you.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Hard drive keeps cloning itself in finder

    This is the second time I saw this on a Mac, and never happened to me before (being working in a AASP for the last 9 years)
    The disc fails, and won't boot, but you can see all the data starting up in Target or mounting the HD as an external device in a known good computer and system.
    But, after a few minutes the disc mounts again as a new FW external drive, and kees doing it as long as its conected.
    I was able (apparenty) to extract all the info, conning it with third party software, but, the surprise is that none of the cloned files worked.
    Disk utilities repairs the volume, and restores permissions... but the disc fails again.
    I've tryed disc warrior (wich is unable to fix the drive as it keeps mounting itself every few minutes) techtools, data rescue... all with the same result, the drive seems to be repaired but as it keeps clonning or mounting, eventually fails again, and no data can be copyed  if the copy time tooks more time than the time the drive takes to cole itsef agai.
    So, any idea what this could be?
    any possible solutions or work arounds to extract the info?
    Even GSX didn't know what that was, at least a few months ago...
    I will appreciate any ideas.
    (Mac OsX 10.7 installed on bad HDD, OsX 10.7, 10.8 & 10.9 tryed to solve this matter)
    * One common error when trying to copy items is: The finder can't complete the operation because some data in ".DS_Store" can't be read or written. (Error code -36)
    Picture shows three FW external units identical to each other.. (as it turns to be the same one replicating itself)

    Assume for second your drive has failed totally, and get another backup drive to backup your source.
    Once backed up you can determine how bad the failure is with Disk Utility Repair Disk, or if not revealing Alsoft Disk Warrior. Always have at two known working copies of your data at all times.

  • I applied a template to a page with SWFs and now that page does not play the SWFs. Why?

    I applied a template to a page with SWFs and now that page does not play the SWFs (just a blank area where the SWF should be). When I detach the template it will play the flash file. This site will eventually be updated via Adobe Contribute. And I just discovered that when applying a template to a page that uses HTML datasets (Master/Detail),it no longer reads the Master/detail regions and displays a blank. Any thoughts?
    [Moved to Dreamweaver forum by moderator]

    Firstly, you shouldn't really 'apply' a template to a page, you should create a child page by going to FILE>NEW>Page from Template.  Too many things can happen when applying a template the way you are doing it. eg:; editable and non-editable regions not matching up and being asked where to place these regions and in all likelihood, you end up with 2 or more of the same region.
    When a swf file is inserted into a page, a corresponding Scripts folder is written automatically is stored in the root of the site - it is also linked to in the head of the document. What I believe is happening is that when you apply a template to the page, the Template has no idea that there is a swf file on the page and is not aware of the correct link to the Scripts folder.  If you do a test and add the swf file to the template page itself, I bet that the links to the swf and the scripts folder are correct - because DW knows the correct path to the script file.   Hence the reason the page probably works when you detach it from a template.

  • Link to a document template

    Hi
    I have a document set with a word document template (.dotx). When the user is clicking on this link: it opens up the dotx file in Word. However if she clicks on Send To ---> Download a copy; then instance of the document from the template is opened (.docx)
    which is what I want.
    Is it possible to open the docx file when clicking on the document template link itself?
    Any Inputs appreciated.
    Thanks
    Rgds
    Santosh
    Santosh

    If you link directly to the dotx then that is what will open.  If you create a content type that inherits from document and load the dotx as the Template for the content type then clicking on the new button will open a docx based on that dotx.  The
    following article discusses how to create a content type with a custom template:
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/add-multiple-office-templates-to-a-document-library-HA102409514.aspx
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Flash not playing on html page after template is altered

    Hi,
    Can anyone help. If i alter anything on a template none of the .swf files on pages based on that template will work when previewed in the browser.
    I am using DW CS3.
    Anyone any ideas

    Good day,
    This issue can be considered as a limitation at some point because Dreamweaver lacked the ability to "auto-update", although it was not really the best practice to include Flash contents in a DW template.
    There is a workaround though. You may need to edit the template (.dwt) itself and work in Code View.
    While in Code View, use the Find and Replace (Edit > Find and Replace) feature so it will be easier for you to find what you are looking for.
    In the Find and Replace window, choose Current Document as value for Find in, and Source Code as Search.
    In the Find input field, type --> 'src' (including the single quotes) and click on Find Next.
    Once you found 'src', pay attention to the text next to it enclosed in single quotes. The value in the single quotes is the path of where the Flash file is saved. try to remove ../ if you happen to see it. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Using Find and Replace again, this time, try to search for 'movie' (including single quotes). You'll see again the text next to it which is the same value as what you have searched before. Do the same thing, try removing ../. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Save the DW template file and try to preview the pages again in the browser.
    I hope this helps.
    Regards,
    Christine R.
    Adobe North America Technical Support

  • Template adds an extra ../

    I'm creating templates for my pages. The template includes a
    menu, and two main editable regions. The menu is not editable.
    However, when I apply this template to existing pages it is adding
    an extra "../" to all of my menu links. Anyone know why?
    The templates worked fine for my main pages, this is a
    template I am creating for subfolders...Should their be another
    template folder in the subfolder I am working on or is 1 main
    template folder sufficient?
    Any ideas would be greatly appreciated.

    Yep - your template links are improperly made -
    (from DWT file you linked)
    <li id="first">
    <div><a
    href="../../index.html">Home</a></div>
    ----------------------^^^^
    This is not possible to get in a properly made template link.
    Go up one
    directory level and you are at the root of the site. There is
    no
    opportunity to go up a second level.
    <ul>
    <div id="box">
    <li><a
    href="../directions.html">Directions</a></li>
    <li><a href="../sitemap.html">Site
    Map</a></li>
    <li><a
    href="../text/home.html">Text-Only</a></li>
    </div>
    </ul>
    </li>
    <li>
    <div><a href="">Fall
    Sports</a></div>
    <ul><div id="box">
    <li><a href="b_soccer.html">Boys
    Soccer</a></li>
    --------------------^^^^^
    Unless this file is actually in the Templates folder (it
    should not be),
    then this link is also improperly made.
    All links in a template file should be correct with respect
    to the template
    file itself.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dsskinner" <[email protected]> wrote in
    message
    news:esmn4h$p84$[email protected]..
    > Link to Template File:
    http://www.gatewayhs.com/Templates/site_ath.dwt
    >
    > Link to Page that is using the template file:
    >
    http://www.gatewayhs.com/pages/ath_pgs/b_basket.html
    >
    > Link to Page not yet using the Template file:
    >
    http://www.gatewayhs.com/pages/ath_pgs/b_soccer.html
    >
    > Both Template and Child were uploaded at the same time
    and have not been
    > changed.
    >

  • HTML Template for Items

    I'm working on creating an HTML template for use with and Item type portlet on Portal 10.1.4. I have the items themselves rendering as I want with the layout I want but I'm having an issue with the item categories. Since the template renders itself for each item, how do I add the category to the layout so that it renders similar to the portal default, which is grouped by category. The category is displayed once and the items assigned to that category are listed below it. If I add the category substitution tag to the template the category name is rendered along with each item. If there are 14 items in one category then the same category displays 14 times.
    Does anyone have any ideas on how to accomplish this? Thanks in advance.

    You don't.  That isn't how Web Dynpro works.  The architecture is such that it abstracts the HTML/JavaScript rendering of the output.  You place a UI element on the screen and only a metadata reprsentation of the screen is created at design time.  At runtime different rendering engines can be applied to produce the final output.  This allows SAP to add new rendering engines and to improve the rendering engines over time without having to adjust the applicaitons itself. This makes Web Dynpro sutiable for producing Business Transactions, but not general web pages.  It also gives us the flexibility to render Web Dynpro in HTML/JavaScript, a desktop client (.Net 3.0 and WPF), and a RIA client (Adobe Flex).
    You can alter the theme of the WDA application when running in HTML rendering.  The theme gets automatically inherited from the NetWeaver Portal - or you can apply a stanalone theme when running without the portal.  Theming allows for some basic changes of color scheme and branding elements - but is not the same as applying a complete HTML template.

  • Template Updates

    I have Dreamweaver 8 on MAC and I updated my site template.
    When I updated the rest of the child pages. the changes did not
    work. If I open any of the child pages, choose >Modify Attached
    template: the changes are seen on the template and work when
    testing the template by itself.

    >I have Dreamweaver 8 on MAC and I updated my site
    template. When I updated
    >the
    > rest of the child pages
    Wait - if you update the template, you don't need to update
    the child pages,
    since that happens automatically when you save the changed
    template.
    > I open any of the child pages, choose >Modify
    Attached template
    There is no such option.
    What is it you are doing?
    Anyhow, here are seven common mistakes that will result in
    changes not
    propagating from Template to child -
    1. Rename the Templates folder
    2. Move the Templates folder to some other folder level in
    the site other
    than root level
    3. Move a template out of the Templates folder.
    4. Make changes to an editable region of the template (which
    will not
    propagate)
    5. Assume that template changes can be uploaded to the server
    without also
    uploading the changed local files
    6. Corrupt the site cache so that the link between template
    and child page
    is broken
    7, Improperly create your child pages by simply opening the
    template,
    adding page specific content, and resaving the template with
    an *.html
    extension rather that its *.dwt extension. (you can tell if
    this is the case
    by looking at the code on a child page - if you see anything
    like <!--
    TemplateBeginEditable... then this is what you have done)
    The 6th problem can be repaired by using SITE | Advanced >
    Recreate Site
    Cache, and the six others can be fixed by just not doing
    them. Have you
    done any of those?
    Or, read this -
    http://www.adobe.com/go/dd83ba8b
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Paulino Apistar" <[email protected]> wrote
    in message
    news:[email protected]...
    >I have Dreamweaver 8 on MAC and I updated my site
    template. When I updated
    >the
    > rest of the child pages. the changes did not work. If I
    open any of the
    > child
    > pages, choose >Modify Attached template: the changes
    are seen on the
    > template
    > and work when testing the template by itself.
    >

  • Was library sharing disabled in iTunes 6.0.1.3?

    I'm no longer able to see other users' libaries (on my network) since I upgraded to 6.0.1.3. I know others who have the same problem, even though we have "Look for shared music" checked in Preferences. Users with older versions of iTunes can see other libraries without a problem. Anyone know what the problem is here? Is there some security built in to the new version that prevents sharing? Or limits it somehow?
    Dell Inspiron 9100   Windows XP  

    Well, I've noticed this problem at work (while using my work laptop on a network with other users -- some who have iTunes 5 and some iTunes 6) and at home (using a completely different laptop).
    At first I thought it was a configuration problem on my work laptop, but now I'm thinking it has something to do with iTunes itself.
    The weird thing is: People at work who use iTunes 5.0 can see the shared drives without a problem. Those with 6.0 cannot. So this problem is replicating itself in two completely different environments -- leading me to believe it's something in iTunes 6. Hmm....
    Dell Inspiron 9100 Windows XP

  • Fast forward problem in iTunes 6.0.1.3

    Hello
    I am using iTunes 6.0.1.3 on Windows XP Pro.
    The situation is this. I have a song that is 7:30 long. When I play it normally it works just fine. However when I use the fast forward and advance to time mark 6:45 and start playing it is actually playing the part of the song that is at 6:00 (within a second or two), I let it go ahead and play and when it gets to 7:30 it just stops and jumps to the top of the menu tree (both it iTunes and on my ipod (40 gig 4g).
    I have tried the fast forwarding in Music Match and Adobe Audition and it works just fine. I have tested the mp3 file with all the editors and players I have and it works great.
    It appears there is some type of synch issue with fast forward and I don't really know where to start.
    Any help would be appreciated.
    Thank You.
    Sony VGC RA810G   Windows XP Pro  

    Well, I've noticed this problem at work (while using my work laptop on a network with other users -- some who have iTunes 5 and some iTunes 6) and at home (using a completely different laptop).
    At first I thought it was a configuration problem on my work laptop, but now I'm thinking it has something to do with iTunes itself.
    The weird thing is: People at work who use iTunes 5.0 can see the shared drives without a problem. Those with 6.0 cannot. So this problem is replicating itself in two completely different environments -- leading me to believe it's something in iTunes 6. Hmm....
    Dell Inspiron 9100 Windows XP

  • Issue with Resubmission in WS12300111

    Hi Experts,
                      In my leave workflow when a request is rejected by the employee I am getting a workitem in my portal "Process Leave Request by Employee", when I resubmit the request system is triggering a new request instead of provcessing the same request, I mean when I take a look at the log its not following the loop after resubmission and I am unable to withdraw the request when it is rejected by the approver.
    The work item "Process Leave Request by Employee" is not getting disappeard in the portal.
    Can anbody suggest how to process the same request and how to cancel the request when rejected.
    Thanks alot.
    Regards.
    Ranganadh.

    Basically, the standard workflow template design itself will have a task saying that when the leave request is rejected by the manager then again it goes to the meployee who triggered the WF i mean initiator. and the task number is 12300116 right?
    Now check t he workflow tempalte design that aftern loop you should have this task inserted
    Secondly
    old workitem that I got for resubmitt is not disappearing from the worklist
    You mean to say that when you resubmit the workitem from the requestor list then it is not disappearing from his list?
    if this is the case then does the application is throughing any error say " Workitem already in status completed" som thing like that
    Ithink the workitem is not getting completed check in the class CL_PT_REQ_WF_PROCESSOR -> ContinueWorkflow() in that the workitem will be getting completed each time when ever you try to execute the request. now chek whether the correct workitem is getting completed or not.

  • Screen goes black

    Newest Mac Mini, My screen will randomly go black for several seconds and return without my doing anything to get it back.  It happens while workin in various programs, browsing, etc. The computer is set to require a password on return from sleep but when these events occur the display returns to whatever I was doing, no login required. Everything is up to date.  Any suggestions or help would be appreciated.

    I fixed up a genius bar appointment at my local Apple store.  They wheeled out a version of my LCD monitor and... unbelievably... the problem replicated itself.  After running tons of diagnostic tests they decided the best thing was to switch over the HDMI to DVI connector that came with the mac mini.  But they didn't have one as this part is manufactured solely for the mac mini.  So I took a DVI to mini thunderbolt connector (as I'd run my macbook air through the monitor via this type of connector with no issues). 
    So far, the problem is solved.  So, until you hear from me otherwise, I take it to be a faulty HDMI to DVI connector - or maybe a faulty batch of them. 
    Swap the connector for a DVI/mini thunderbolt connector and hopefully things will be okay.
    I'll report back if the problem recurs.

Maybe you are looking for