Unable to open a standard WAD template (Tech.Content)

Hi All,
We are working with the standard web templates for technical content (Eg: Runtimes of BI Applications :: 0TPLI_0TCT_MC01_Q0111 ).W ehave installed the templates ,all the flows,process chains.We have installed them in 3.X version and i am assigned to role SAP_BW_BI_ADMINSTRATOR.
But when i try to open the templates in 3.x WAD I am getting the error "you have no authorization to change the template.Do you want to create  a copy? --> If i say yes it is running some HTML code in the scrren with  a VALIDATE option in the bottom right.If i click on that i am getting the following  error
"the selected template contains HTML fragments ,non supported items or is not designed to be edited with wad use the functions 'upload to server' or "download to server ' and edit the web template in an externalHTML editor.
Can you suggest what we are missing or how to fix this issue?
Thanks
Sri

What you can do is :
1. Make these templates changeable - in the transport connection under RSA1 - select Object Changeability and then under TMPL right click and set to Everything changeable.
If this is your development system which is open - you need not do this....
2. You can also view the templates ( HTML version ) using program RS_TEMPLATE_MAINTAIN
Going by your error - looks like some Authorization objects are missing for you to be able to edit the templates - since these are SAP Defined - I would recommend not editing them and instead - going through the HTML using the program mentioned above and if you need a copy of the same - then copy the HTML and put it into a new template under the HTML View.

Similar Messages

  • Unable to open /delete a Web Template in Development

    Hi Experts,
    I am unable to open a web template. It says "You do not have sufficient authorization to change the template,Do you want to  create a copy". I need to delete this template and when i click on delete ,there is no impact on the template. Please let me know how i can delete this template. I tried to see what authorization I am missing in SU53, but it did not help.How can I find what authorization is associated with that web template? Kindly suggest.
    Regards,
    Kavitha

    if you get no authorization error message, then it is purely authorization issue.
    When you executing Templates in BEx, it wont help in SU53. in this case, you have to check the roles and its authorization assigned on it.
    By checking with your roles matrices, you can check the authorization.
    Please check the auth objects, S_RS_COMP, S_RS_COMP1, S_RS_MPRO, S_RS_ICUBE.
    Please check whether the cubes, multi/info providers are assigned properly and the activities too.
    Hope this would help you.

  • Unable to open yahoo mail -cant see mail content

    unable to open yahoo mail on mozilla -cant see mail content though i can see the details on Internet explorer. what may be the problem kindly help

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    If clearing the cookies doesn't help then it is possible that the file <i>cookies.sqlite</i> that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete <b>cookies.sqlite-journal</b> and <b>cookies.txt</b>, if they exist, in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Unable to open Keynote 6.1 templates

    Whenever I open Keynote and attempt to select a template, the software hangs, and the beach ball spins.  The only way to recover is to force quit.  I am able to get into Keynote by selecting and opening an existing presentation from Finder, but then if I go to File>New>Choose, I get the spinning beach ball.  I am able to change the theme of an existing presentation by selecting File>Change Theme, but I am simply unable to create a new presentation from scratch.
    I'm running Mavericks on a 2011 iMac.  I recently "upgraded" to Keynote 6.1.

    repair tasks for Keynote 6.1
    Try this repair for iWork applications, its sorted out many similar problems, ensure you complete all the tasks and in the order shown:
    1  delete all the iWork applications if you have them, not just Keynote by using Appcleaner from Mac Update to            do this, its freeware
    2  restart the Mac;   Apple menu > restart
    3  immediately after the start chime,  press the shift key until you see the Apple symbol.
             let it fully boot up,  it will take longer as the OS is repairing the drive
    4  when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive  then First Aid tab and          click  repair disc permissions
    5  when complete, restart the Mac normally
    6  install Keynote from the Mac App Store
    Please report back to let us know how this helped.

  • Can you refund my 199 dollars as im unable to dowqnload the standard version !X and am sick to death of adobe

    i want my 199 dollars refunded as im unable to open adobe standard 1X

    Please try to download from here : http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Acrobat standard can be installed only on Mac. Please the system requirement.
    You can also check Unable to download Acrobat XI Standard trial
    I am moving this to Acrobat for resolution.
    Regards
    Rajshree

  • Unable to open ppt file in KM content

    Hi,
              I am unable to open the ppt file in KM content. I am getting the error  : "could not open ...........ppt.".
    We are using the reverse proxy to connect to the portal.
    Can anyone help me in this regard.
    Raghu

    Hi Praveen and SJ,
    I uploaded the ppt file in some folder in KM content. Then I tried to open it . but I am unable to open the file. However I am able to open the file after right clicking the folder and save as target to my PC.
    It is there in MIME types.  Is there any extra configuration needed to open the ppt file firectly.
    Not only in Km content but also in KM iview also I am unable to open it directly.
    I am able to open doc, pdf files directly.  I am having problem only with ppt file.
    Can you help me on this ...
    Thanks,
    Raghu

  • Why a standard web template like 0ADHOC_CHART_LIB can't be opened?

    Goto Metadata Repository, check local activated Web Template Name, 1st web template listed is called 0ADHOC_CHART_LIB, but why Web Application Designer can't open it?
    Thanks

    Hello,
    0ADHOC_CHART_LIB is a Library Item therefore it is no real template and can´t be opened directly in WAD.
    a Library Item is e.g. a chart item with some additional standard paramater which can be reused by library in another template.
    Goto WAD create a new template there you can browse through library item. unfortunately i have no system here so i cannot say where the library function is in detail.
    Regards Marcus

  • Why standard web template like 0ADHOC_CHART_LIB  can't be opened?

    Goto Metadata Repository, check local activated Web Template Name, 1st web template listed is called 0ADHOC_CHART_LIB, but why Web Application Designer can't open it?
    Thanks

    Hello,
    0ADHOC_CHART_LIB is a Library Item therefore it is no real template and can´t be opened directly in WAD.
    a Library Item is e.g. a chart item with some additional standard paramater which can be reused by library in another template.
    Goto WAD create a new template there you can browse through library item. unfortunately i have no system here so i cannot say where the library function is in detail.
    Regards Marcus

  • Unable to open "compose mail/settings/contacts" in standard view in 2 out of 3 Gmail accounts

    Unable to open "compose mail/settings/contacts" in standard view in 2 out of 3 Gmail accounts. When "compose new mail" is selected "loading...." appears at the top then the page is frozen. ie you can't select inbox etc. Changing from standard to basic h/ml then clears the Loading... and gmail can be used (without spellcheck etc).
    This might not be Mozilla, but I can access these accounts in standard view on another computer.

    Your Gmail account may well be an IMAP account, just like the iCloud mail account. In which case it will work in just the same way as iCloud mail, except that you will have to set it up manually on each device, where as iCloud mail adds the account itself when you log into iCloud.
    Whilst it works the same as iCloud mail it isn't iCloud that syncs it for you.

  • Office 2013 - Unable to open word template

    Hi,
    I have windows service written in VC++ and trying to open a word template xxx.dotx located on the server. however, I am geting below error code while opening the same template. I have written a sample application and it is opening the template.
    my windows service is 32 bit and I have installed office 2013 64bit and OS win 7 64bit.
    <hr=-2147467259>
    working code
    #import "MSO.DLL" rename_namespace("MSOFFICE") rename("RGB", "ofRGB") rename("DocumentProperties", "ofDocumentProperties")
    #import "VBE6EXT.OLB" rename_namespace("MSVBEXT") rename("Application", "ApplicationVBExt") raw_interfaces_only
    #import "msword.olb" rename_namespace("MSWORD") rename("DialogBox", "DialogBoxWRD") rename("RGB", "RGBWRD") rename("DocumentProperties", "DocumentPropertiesWRD") rename("ExitWindows", "ExitWindowsWRD") named_guidsvoid CWordTestDlg::OnButton1()
    // TODO: Add your control notification handler code here
    MSWORD::_ApplicationPtr m_pWordApp;
    HRESULT hr = m_pWordApp.CreateInstance("Word.Application");
    if(FAILED(hr))
    AfxMessageBox("Unable to start MS Word.", hr);
    return;
    AfxMessageBox("Successfully Created");
    m_pWordApp->DisplayAlerts = MSWORD::wdAlertsNone;
    // Make sure the application is not visible.
    m_pWordApp->Visible = VARIANT_FALSE;
    MSWORD::_DocumentPtr m_pWordDoc = NULL;;
    MSWORD::DocumentsPtr pDocs = m_pWordApp->Documents;
    if(pDocs == NULL)
    AfxMessageBox("Unable to retrieve the documents collection from MS Word.", pDocs);
    return;
    // Open the template.
    CComVariant varTemplateName(_T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    m_pWordDoc = pDocs->Open(&varTemplateName);
    if(m_pWordDoc == NULL)
    CString msg;
    msg.Format("Unable to open %s.", _T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    AfxMessageBox(msg);
    return;
    AfxMessageBox("Successfully Opened");
    m_pWordApp.Detach();
    // Reset the MSWord Document ptr.
    m_pWordDoc.Detach();
    thanks,
    Krishna

    Hi,
    Interop is not supported on a Server or with in a services.
    But if you want to this, you have to set up the Environment. I follow this Guideline with my Word and I'm able to start Word on a Server.
    1) Goto Control panel -> Administrative Tools -> Component Services
    2) Expand Tree by clicking on Component Services -> Computers -> My Computer -> DCOM Config
    3) Search CLSId 00020906-0000-0000-C000-000000000046 (which is for Word 97-2003 application)
    4) By selecting 00020906-0000-0000-C000-000000000046 this CLSId now right click on Properties
    5) In the Propeties area, click on Security TAB
    6) Select Customize option from all (Launch and Activations Permissions, Access Pemissions, Configuration Permissions)
    7) Take the User of the Services and Allow all permissions for this user
    8) Go to Identity TAB in the same properties area, select option as a This user and then add username (the user must be administrator of this machine) and password. Click on Apply, Ok
     Locale Profile: True
    9) Refresh Component Services and check your application is working fine or not.
    10) set Folder, if not present:
       C:\Windows\SysWOW64\config\systemprofile\Desktop
    This article gives some insights.
    http://theether.net/download/Microsoft/kb/288367.html
    Hope this helps.
    Kind Regards
    Thomas

  • Unable to Open Multiple Windows  Adobe Acrobat 9 Standard

    I have Adobe Acrobat 9 Standard and recently am unable to open multiple documents at one time without an error occurring and Adobe shutting down.  I use multiple screens and want one doc open while I review or compare with another doc.  It is happening on two machines at my home both running Windows 8.1.  Any help is appreciated.

    Hi Ankit,
    Thank you for your advice, but Im still having problems.
    Back to the OP.  To avoid the threads getting confused, I suggest the other user starts a new one?
    I have tried ensuring that PDFs are automatically opened by Adobe.  I used the path you suggested.  However, I'm still having the same problem.
    When I went to do this, Adobe was listed in the "recommended" list of products with which to open PDF files.  However, I ignored this and followed your guidance.  Once I had done, nothing happened (i.e. Adobe icon was not added to the 'Other products' list below the 'Recommended').
    To me, this speaks of either a bad installation or bad association in which something is causing Adobe not to recognise itself.
    What else can you advise?
    Is there, for instance, a way to have a clean removal of Adobe, and then reinstall?  I don't even know if this will work. 

  • Unable to open files/apply templates

    Overnight, my copy of DVD Studio Pro has become unable to open any existing projects. I attempt to open the project, and the "Loading Project" progress bar goes through *Opening File*, *Loading Assets*, and then completely locks up once *Loading Menus* appears. I initially suspected corrupted project files, but the projects open fine on a second machine (details below). I can create a new file, and even add assets, but if I try to apply an Apple template, the "Applying Template" progress bar appears, and locks up (necessitating a force-quit of the application).
    I have trashed preferences (repeatedly), and even gone so far as to reinstall the entire FInal Cut Studio from the discs (from the upgrade discs -- we recently upgraded to Final Cut Studio 2). And it's still happening.
    There was a recent Pro Application Support update (4.0.2) and a Final Cut Pro update (6.0.1) -- has anyone heard anything about problems being caused by those updates? My primary machine is a Dual 2.3 GHz PowerPC G5, and the secondary machine I tested is a 2 x 2.66 GHz Dual-Core Intel Xeon; the above-mentioned updates have not been installed on the second machine.
    WIll I have to go back to the original Final Cut Studio 1 discs and reinstall those, and then reinstall the upgrade again? Or does anyone have any other ideas?

    Okay, so I appear to have found a solution, but I'm baffled as to why it might work. It started with the discovery that if I logged in as a different user, everything seemed to work. So in the end, I trashed my existing user account (After backing up everything, of course) and created a brand new one.
    Didn't work. Tried again -- still didn't work.
    As bizarre as it sounds to say it, my computer just doesn't like me; or more specifically, it doesn't like my name. I can create a whole new user account with a different name, and everything works. Create one with my name (after deleting the old one, so as not to have duplicate accounts), and I have the same problems.
    Can anyone think of why this might be the case?

  • I have HugesNet Gen4 and have downloaded most current version.  I am unable to open and cannot find where in system preferences and/or Safari I give permission.  Can a techie tell me where?

    Because I downloaded from internet, I am unable to open.  I cannot find where I give permission and/or if I need to download some plug in or something.  Please help and thanks.

    Hello Charlene,
    It sounds like you are getting a message that the application you downloaded can't be opened because it's from an unidentified developer. 
    Gatekeeper is a feature of Mac OS X that by default blocks software from unknown developers, but you can change the functionality to download and install software from developers you trust:
    Gatekeeper gives you more control over what you install. You can choose the safest option and only allow apps that come from the Mac App Store to open. There is also the option of only allowing apps that come from the Mac App Store and identified developers. Or you can choose to allow any apps to open, just like previous versions of OS X.
    Gatekeeper options are found in Apple menu > System Preferences… > Security & Privacy > General tab under the header "Allow applications downloaded from:"
    If you trust the source you are downloading the application from, you can switch the option to "Anywhere" to download the file.  Once you finish downloading the file, you can always switch back to one of the other options.
    OS X: About Gatekeeper
    http://support.apple.com/kb/ht5290
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Unable to open templates from server input form folder and server root folder from some system while the same can be open from others system

    Hi,
    I am unable to open input scheduled from server root folder and also from input form folder on some system while they can be open from others system.
    Please advice.
    Thanks in advance

    Hi Hengye,
    While opening , it dont give any error. When I try to open it , it takes some time to load then nothing happen.However I can open it on other system but not on mine my collegue and user system.
    Please advice.
    Thanks.

  • Web Template Tech Comparison (including fastm)

    1. Preface
    In the Java Web Application, the Page Generation Part may be the most tedious and painful part.
    All other layers can be well structured. Only the Page Generation Part is mixed and bad structured.
    This article first introduces and compares various Template Techs, and next introduces a Open Source Template project ? fastm written by the Author (namely me, &#61514;).
    fastm is a PHP Java Port and Enhancement.
    I hope fastm will free all Java Web Programmers from the tedious and painful page-making work.
    2&#65294;Template Tech Comparison
    The page in this article means XML, HTML, WML, etc, all of which can be displayed in the browser.
    According to the Logic location, Template Tech can be categorized as two categories.
    (1) One category is that, the page itself contains the ?if, else, for? logic.
    Such as, JSP+TagLib, Velocity, XML+XSLT (XSLT contains logic), Tapestry, etc.
    The logic in the page is not full developed as an OO Programming Language like Java.
    The logic in the page can not utilize the ?Object?, ?Class?, ?Package? such Object-Oriented features.
    So Template Techs of this category have no good structures, and have no good reusability.
    (2) Another category is that, the page itself contains no logic.
    Such as, XMLC, DOM+XPath, Echo, PHP, JDynamiTe, fastm, etc.
    In this category, because the logic only exists in the Java Code, so the Template?s structure and reusability is as good as the Java Program.
    Below will detail and compare these Template Techs.
    2.1. JSP + TagLib
    JSP+TagLib is the standard Template Tech of Sun company.
    Advantages:
    Authoritative; Standard; Many users; All kinds of TagLibs from 3rd parts.
    Because JSP is Servlet and uses java code, Java code in JSP is very powerful and flexible, and can use all advantages of Java Language.
    TagLib can help reuse the Page Components and help drive out the ?Java Code? pollution.
    Disadvantages:
    The disadvantages of JSP are obvious. Java Code and HTML are mixed together. This is the notorious Java Code Pollution problem, which makes many programmers headache.
    Even TagLib can not solve this problem completely.
    What is more, programmers and HTML editors can not work on the same file. Every time HTML editors edit the page, programmers have to add the Java code and TagLib to the page again.
    The HTML page mixed with Java Code and TagLib can not be correctly displayed in the Browser or HTML Edition tools such as Dream Weaver and Front Page.
    If you do not run the Web Server, you can not see the result of the JSP. You can not see the Layout, Style, and the content.
    On the efficiency, flexibility, structure, reusability, JSP and TagLib are at the 2 ends.
    If you use many TagLib in the JSP, the JSP is well structured and more like XML, and the page component can be reused. But the compiled result of TagLib is big, slow and low efficient. The TagLib is not flexible. It can only do limited things. TagLib code must conform to the TagSupport definition so that the TagLib code itself can not be well reused. The writing of TagLib is not a happy work.
    If you use a lot Java Code in the JSP, the page structure will be bad and unmanageable. If your code scattered in a big HTML, it will be a nightmare. It is painful to find corresponding ?{? and ?}?. Except the ?Include File? or ?jsp:include?, the mixed Java Code and HTML can not be reused at all.
    2.2. Velocity
    http://jakarta.apache.org/velocity/
    Velocity is a template tool. Velocity template consists of HTML and Velocity Scripts and Variables.
    Advantages:
    Velocity scripts start with #, and Velocity Variables starts with $. These do not conflict with the element definition of HTML, WML and XML.
    A simple Velocity page without branch or loop logic can be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    Disadvantages:
    Same as JSP, Velocity template mixes the logic with the HTML. If the Velocity template contains complex branch or loop logic, it can not be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    In the big HTML, to find corresponding ?#if? and ?#end? is also a painful work. Except the ?Include File?, the mixed Velocity code and HTML can not be reused at all.
    2.3&#65294;XML + XSLT
    http://cocoon.apache.org/
    Cocoon project uses the way of XML + XSLT. Java Program only outputs the XML data. Cocoon chooses proper XSL file to transform the XML data to HTML, WML, etc.
    Advantages:
    Programmers do not need to consider the page layout and structure at all. They only generate the XML data. One XML data can be transformed to different style pages with different XSL file.
    In the aspect of separation of data and presentation, the way of XML + XSLT may be the best.
    Disadvantages:
    Slow. The speed of XSLT is slow.
    Because no HTML file, you can see the layout, style, content at all if you do not run the XSLT to transform the XML.
    XSL is not an easy language. Without the ?What you see is what you get? edition tool, the learning cost of XSL is much higher than HTML.
    2.4. Tapestry
    http://jakarta.apache.org/tapestry/
    Tapestry extends the HTML element. Tapestry uses these extended HTML element to represent the branch or loop logic, component, and variable.
    Advantages:
    Tapestry template only contains the HTML element and can be displayed in the HTML edition tool such as Dream Weaver and Front Page. Same as Velocity, Tapestry template contains branch and loop logic. Whether the Tapestry template can be CORRECTLY displayed in the HTML edition tool, depends on the complexity of the logic.
    The page component of Tapestry has the quite reusability.
    Disadvantages:
    Complex. The template definition and usage of Tapestry is complex. Due to complexity, so the speed is slow.
    I have no real experience of using Tapestry. Here I dare not say more. &#61514;
    2.5. XMLC
    http://xmlc.enhydra.org/
    XMLC compiles HTML, WML files to Java DOM classes. Programmers do not care about the page (or just define id for some HTML element). Programmers only need to operate the DOM structure to created dynamic result.
    XMLC creates operation method for every HTML element with id defined.
    Advantages:
    The template is just the pure HTML, no any logic. The template can be correctly displayed in the HTML edition tool such as Dream Weaver and Front Page.
    Java Code processes the DOM structures. The Java Code has the good structure and reusability. The DOM node is the HTML element, and can be reused well as the Page Component. You can put any DOM node to any DOM structure.
    Because the Java DOM class is created in the compiling time, there is no need to dynamic XML parsing. The DOM building speed is fast.
    Disadvantages:
    Every time you changed the HTML page, you need recompile the HTML to the Java DOM class. Many HTML is not the well-structured XML document (XHTML), and can not be correctly compiled as the DOM structure.
    The Java DOM structure can not be reused in the Multiple-Thread environment. Every HTTP Request needs to operate one exclusive DOM structure. The memory cost is big.
    After the DOM is changed, it is difficult to reset the DOM to initial status for next reuse. If the HTML file is big, the memory cost will be very big.
    XMLC is not flexible or powerful enough in some aspects. For example, as we know, many JavaScript is confined in the XML Comments. As below:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    If we need to dynamically create the JavaScript Code, it is difficult for XMLC to deal with the XML Comments which it self is not a DOM structure.
    2.6. DOM + XPath
    As we said above, XMLC functions at the compilation time.
    We can also use the way of building DOM at the Run Time. And we can use XPath to locate the target node and operate them.
    NekoHTML(http://www.apache.org/~andyc/neko/doc/html/) is an HTML Parser.
    NekoHTML uses Xerces Native Interface of Apache Xerces ( http://xml.apache.org/xerces2-j/index.html) to parse the HTML and can fix some unmatched tags to make a well-structured XHTML DOM.
    XPathAPI of Apache Xcerse can help to locate DOM nodes easily. Please refer NeckHTML document for the DOM + XPath usage.
    Advantages:
    It has the same advantages as XMLC.
    Run Time DOM building can reflect the page change in time.
    Disadvantages:
    It has the same disadvantages as XMLC.
    Run Time DOM building costs more time than XMLC. We may have a way to reuse the DOM. We use the first-time built DOM as the Standard DOM. We never operate on the Standard DOM. Every time request comes, we deep copy the Standard DOM to get a new clean DOM, and use it. Thus every HTML only needs to be parsed once. Only when the HTML changes, the Standard DOM needs to be re-parsed and rebuilt.
    Using XPath to locate DOM node is not fast. It may need to iterate the whole DOM structure.
    2.7. Echo
    http://sourceforge.net/projects/echo
    Echo project does not need template at all. Programmers write Swing-like code, and Echo outputs the HTML result.
    Advantages:
    No need to consider HTML. Swing-like code is the real UI component with the great reusability.
    Disadvantages:
    Echo hides the HTML and automatically generates many JavaScript and HTML which are difficult to maintain. The way is not flexible enough for Web program.
    2.8. PHP
    PHP template is a great design. PHP template uses the XML Comment to mark the Dynamic block, and uses ?{? and ?}? to mark the Variable.
    Advantages:
    XML Comment will not be displayed in the HTML or XML edition tools. ?{?and ?}? are not the reserved word of XML. So PHP template is a valid HTML too, and can be displayed correctly in the HTML edition tools. Programmers and HTML editors can work on same files. What you see, is what you get.
    Simple, easy to use, flexible (even as flexible as the Java Code of JSP).
    Disadvantages:
    Compared to other template techs, PHP has few short comings.
    One thing to mention, the Java Script code included in the XML Comment:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    We can not use XML Comment in the XML Comment. So we have to use {} to mark the Dynamic part.
    2.9 JDynamiTe
    https://sourceforge.net/projects/jdynamite
    From all aspects, I believe PHP is the best Template tech.
    One colleague of mine introduced the PHP template to me. I was highly interested. And I want to port the PHP to Java. First I searched on the internet and found the JDynamiTe (Java Dynamic Template) (https://sourceforge.net/projects/jdynamite) open source project which ported the PHP to Java.
    JDynamiTe Template is similar as PHP Template with a little extension and as same simple as PHP. I read its sample and like it at once.
    But I found that JDynamiTe has one shortcoming. Same as the XML DOM, JDynamiTe Template can be changed. One JDynamiTe Template can not be used in the Multiple Thread multiple thread.
    Every time request comes, JDynamiTe needs to parse the HTML to get a template DOM in the structure. And you need to set values on the template DOM, and get the result. After that, the template DOM can not be used if you do not reset it to the initial status.
    If HTML is big, it will cost much time to read and parse the HTML.
    So I decide to implement my own high efficient reusable project ? fastm (fast template).
    2.10. fastm
    http://sourceforge.net/projects/fastm
    http://sourceforge.net/projects/lightweb
    fastm template is similar as PHP template, and same as the JDynamicTe template.
    fastm template can be said as the Multiple-Thread port of JDynamicTe.
    In the fastm, the Template DOM (parsed from HTML) and the ValueSet DOM (the values for the template) are separated.
    Every HTML only needs to be parsed once to a Read-Only template DOM. Since it is Read-Only, it is Thread Safe. One Template DOM can be used in a Multiple-Thread environment.
    The Template DOM can be combined with different ValueSet DOM to generate different results.
    The fastm parser reads the HTML line by line. The parsing speed is very fast.
    fastm is faster than the way of JSP + TagLib.
    fastm may be slower than pure JSP without TagLib. Also it is possible that fastm may be faster then pure JSP. JSP (namely Servlet) writes the HTML line by line to the HTTP Response, the Net transfer efficiency is not high (of course, JSP may uses the HTTP Response Buffer). fastm writes the whole block of page into the HTTP Response once. The socket layer can take the full advantage to optimize the transfer efficiency.
    fastm support dynamic JavaScript Code generation, which is difficult in PHP or JDynamicTe.
    Except XML Comment, fastm support JavaScript Comment too. For example:
    // BEGIN DYNAMIC: special_code
    // END DYNAMIC: special_code
    This block is marked as the Dynamic block.
    fastm emulates the PHP and JDynamic. My original creation is to separate the Template DOM and ValueSet DOM. The separation of Template DOM and ValueSet DOM is a great advance based on the PHP & DOM concept.
    fastm is implemented with JDK1.4 without any 3rd part lib. Both the code size and the Runtime Size are very small.
    Among all the Java Template Techs I know, I believe fastm is the best way in all aspects?fast, easy to use, flexible, and powerful.
    I hope fastm will solve the painful Page Generation problem and will be popular among the Java programmers of the world.

    Deep insight of fastm Design Idea
    1. PHP (&fastm) marks the HTML as simple DOM
    PHP template is a beautiful design. It uses Begin-End in the XML Comment to mark the HTML or WML as different blocks. And it can marks blocks in any block.
    This way will mark an HTML page as a Tree Structure similar as DOM. But XML DOM is too heavy -- every element is a DOM node. The DOM node type may be complex. For example, in an HTML DOM, every HTML element is a DOM node, like Body, Table, TR, TD, Form, Input, etc.
    PHP template is a light-weight DOM. PHP template only has 3 kinds of node � static text, variable, Begin-End block. Only the Begin-End block can contains other nodes.
    The design is so neat, powerful, easy and general. PHP Template can be used to define any well-structured or bad structured HTML, WML, even XUL, XAML files.
    And in the HTML edition tools, what you see is what you get. I do not know any other Template Tech can be so great.
    After many painful experiences of using all kinds of Template Techs, I get to know the PHP Template Tech through my colleague�s introduction. I feel very happy and only regret that I know it so late.
    fastm Template copied the idea of the PHP Template and made a little of extension.
    fastm template�s BEGIN-END DYNAMIC block corresponds to PHP Template�s Begin-End block.
    Let�s look at the HTML block below.
    <select name=�zipcode�>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <option value=�{zipcode}�>{zipcode}</option>
         <!-- END DYNAMIC: zipcodes -->
    </select>
    As we can see, this block contains one Dynamic block (zipcodes). The Dynamic block (zipcodes) contains two same variables {state}. The other parts are static text.
    The DOM structure of the HTML block is as below:
    [Static Text] <select name=�zipcode�>
    [Dynamic Block] zipcodes --
    | --- [Static Text] <option value=�
    | --- [Variable] {zipcode}
    | --- [Static Text] �>
    | --- [Variable] {zipcode}
    | --- [Static Text] </option>
    [Static Text] </select>
    2. ValueSet DOM is a Great Advance of DOM Concept
    The key feature of Template DOM is Read-Only, unchangeable.
    Every time request comes, PHP needs to parse the PHP template to get a PHP Template DOM. Then PHP code sets values for the DOM to get the result.
    PHP Template DOM is changeable.
    HTML (WML&#65292;XML) DOM is designed to be changed HTML DOM itself is both Template and Data. Program operates on the DOM node to get the result.
    Changeable DOM can not be used in the Multiple-Thread environment. Every thread must get its own DOM copy to operate and get result. If the most part of the Page is static text, this way will waste a lot of spaces and times.
    fastm Template DOM is Read-Only, unchangeable. One fastm Template DOM can be used in the Multiple-Thread environment.
    Since we can not change the fastm Template DOM, how we set values for the Template DOM and how we get the result from it?
    fastm introduced the concept of ValueSet. ValueSet is a tree-structure Data Set used to match the Read-Only Template DOM to generate the dynamic result.
    Programmers must build the whole ValueSet DOM in advance, and combine the ValueSet DOM with the Template DOM to get the result.
    The usage of fastm is like below:
    (1) In the life of the program, the fastm template only needs to be parsed once to a Template DOM.
    The parsing of fastm template is very fast, much faster then JSP compilation, Velocity
    Parsing, XML DOM parsing, even faster than XML SAX parsing. And the result Template DOM size is only a little more than the original source template file.
    (2) The code creates different ValueSet DOM and matches them to the Read-Only Template DOM to generate dynamic results.
    Due to the simple structure of Template DOM, the matching is very fast, usually faster than the fastest pure JSP/Servlet. The ValueSet DOM space efficiency is less than the pure JSP/Servlet, but the ValueSet DOM size can be optimized to be close to the pure JSP/Servlet.
    For example, let�s build a ValueSet DOM for the above Template DOM (the �zipcode select� one).
    String[] zipcodes = {�361005�, �100008�};
    IValueSet top = new ValueSet(); // corresponding to that whole HTML block
    List items = new ArrayList(); // corresponding to the Dynamic Block -- zipcodes
    for(int i = 0; i < zipcodes.length; i++){
         IValueSet item = new ValueSet();
         item.setVariable(�{zipcode}�, zipcodes);
         items.add(item);
    top.setDynamicValueSets(�zipcodes�, items);
    We combine the ValueSet DOM with the Template DOM and generate the following result.
    <select name=�zipcode�>
         <option value=�361005�>361005</option>
         <option value=�10008�>100008</option>
    </select>
    As we can see, the relation between Template DOM �Dynamic block� node and ValueSet DOM node is not one-to-one, but one-to-many. One �Dynamic block� node maps a list of ValueSets. How many ValueSets are in the list, how many times the �Dynamic block� node will be displayed.
    Compared to the TabLib, the advantage of fastm is obvious. Several lines of code or a method can do the work of one or several TagLib.
    The separation of ValueSet DOM from Template DOM is a great advance of idea.
    After all, in one page, the static part is much more than the dynamic part. Template DOM represents the static part, and it is parsed only once and kept only one copy. ValueSet DOM represents the dynamic part, and it can be created at any time.
    The separation of ValueSet DOM from Template DOM is a more thorough separation of presentation from Data, even more thorough than the way of XML/XSLT. In the way of XML/XSLT, the XML is the pure data; But the XSLT is not the pure presentation since it contains the logic. In the fastm, ValueSet DOM is the pure data, no any logic; Template DOM is the pure presentation, no any logic.
    One Template DOM can be used to match many ValueSet DOM. Vice versa, one ValueSet DOM can be used to match many Template DOM.
    For example, we have following HTML block.
    <table>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <tr><td>{zipcode}</td></tr>
         <!-- END DYNAMIC: zipcodes -->
    </table>
    We match the above �top� ValueSet to this template and get the following result.
    <table>
         <tr><td>361005</td></tr>
         <tr><td>100008</td></tr>
    </table>
    3. ValueSet DOM is the reusability center
    The reusability center of JSP is TagLib.
    The reusability center of XML DOM is the DOM node operations.
    In the fastm, the Template DOM is Read-Only, so the reusability center is the ValueSet DOM operations, such as the above code to generate the ValueSet.
    Same as the XML DOM, Template DOM can be used in the whole or be used as blocks.
    Through ValueSet, you can compose blocks of any Template DOM together and get the result. It is very easy to implement the Tile or Portal in fastm.

Maybe you are looking for

  • For loops and dynamic sql string syntax

    Hi is there a why to loop through a dynamic sql string normally you would have FOR cur IN (select * from emp) LOOP but I have a dynamic sql string called l_sql I have tried the following FOR cur IN l_sql LOOP but I get PLS-00456: item 'L_SQL' is not

  • Virtual PC

    Hi everyone. I have just downloaded the "Virtual PC for Mac" software (version 7) on my iBook G4 (Power PC 1.33 GHz). I have had lots of problems installing the Windows Operating system now and I tried everything I could and followed the instructions

  • How to Create a XML Publisher Portlet using OmniPortlet

    Hi, Please help me. I have a project that needs to create an XML Publisher portlet using omni portlet. Is there any complete documents here or anyone can give more details on this? Appreciate to those will help.. Thanks, Russel

  • Read XML from remote server

    Not sure if this is even possible. I am using APEX on a INTERNAL server, on the same network is another server hosting files. Using PL/SQL code, I need to read the XML file. So APEX/ORACLE is at http:\\server1\apex\f?p........ And the files are at \\

  • Superfish drop-down menu – built from a SharePoint list not working

    Hi All,           I required multiple menus and I am following the below url to achieve my task .After following the all the steps I don't get any result.Can any one help me how can I over come from the issue http://spjsblog.com/2011/11/06/superfish-