[svn] 3661: Fixing our ClassDefLib velocity template after a refactoring of StylesContainer .styleDefs as it no longer an iterator.

Revision: 3661
Author: [email protected]
Date: 2008-10-15 12:45:13 -0700 (Wed, 15 Oct 2008)
Log Message:
Fixing our ClassDefLib velocity template after a refactoring of StylesContainer.styleDefs as it no longer an iterator.
QA: Not necessarily, this may fix issues in the new advanced css code paths, but I'll still address any logged bugs individually.
Doc: No
Reviewer: Paul
Checkintests: Pass
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

Revision: 3661
Author: [email protected]
Date: 2008-10-15 12:45:13 -0700 (Wed, 15 Oct 2008)
Log Message:
Fixing our ClassDefLib velocity template after a refactoring of StylesContainer.styleDefs as it no longer an iterator.
QA: Not necessarily, this may fix issues in the new advanced css code paths, but I'll still address any logged bugs individually.
Doc: No
Reviewer: Paul
Checkintests: Pass
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm

Similar Messages

  • [svn] 1649: Renamed our customized Velocity JAR from mm-velocity-1.4. jar to velocity-dep-1.4-flex.jar.

    Revision: 1649
    Author: [email protected]
    Date: 2008-05-09 14:49:18 -0700 (Fri, 09 May 2008)
    Log Message:
    Renamed our customized Velocity JAR from mm-velocity-1.4.jar to velocity-dep-1.4-flex.jar.
    The standard Velocity name for this JAR, which is built by Velocity's "jar-dep" target, is velocity-dep-1.4.jar. We append "-flex" to indicate that we've customized it, just as for our customized Batik JAR.
    This change affected the mxmlc classpath in modules/compiler/build.xml, the packaging scripts, and the Eclipse projects.
    I also renamed mm-velocity-LICENSE.txt and mm-velocity-NOTICE.txt to drop the "mm-" prefix.
    Bugs: -
    QA: No
    Doc: No
    Reviewer: Jono
    Ticket Links:
    http://bugs.adobe.com/jira/browse/velocity-1
    http://bugs.adobe.com/jira/browse/dep-1
    http://bugs.adobe.com/jira/browse/dep-1
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/development/eclipse/java/flex-jars/.classpath
    flex/sdk/trunk/modules/compiler/build.xml
    Added Paths:
    flex/sdk/trunk/lib/velocity-LICENSE.txt
    flex/sdk/trunk/lib/velocity-NOTICE.txt
    flex/sdk/trunk/lib/velocity-dep-1.4-flex.jar
    Removed Paths:
    flex/sdk/trunk/lib/mm-velocity-1.4.jar
    flex/sdk/trunk/lib/mm-velocity-LICENSE.txt
    flex/sdk/trunk/lib/mm-velocity-NOTICE.txt

    1) Did you assigned weblogic user to presentation server admin after the upgrade?
    Obiee11g: Administration link is missing for weblogic User(Presentation Services)
    2) Goto Administration tab and do 'Scan and Update Catalog Objects That Require Updates'
    Thanks,
    Saichand

  • [svn] 1657: Rebuilt our modified Batik and Velocity JARs after setting the file properties correctly on modules /thirdparty.

    Revision: 1657
    Author: [email protected]
    Date: 2008-05-09 17:37:18 -0700 (Fri, 09 May 2008)
    Log Message:
    Rebuilt our modified Batik and Velocity JARs after setting the file properties correctly on modules/thirdparty.
    Modified Paths:
    flex/sdk/trunk/lib/batik-all-flex.jar
    flex/sdk/trunk/lib/velocity-dep-1.4-flex.jar

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • [svn:fx-trunk] 9707: Our stock html template now propagates ${bgcolor} to the page body' s background-color.

    Revision: 9707
    Author:   [email protected]
    Date:     2009-08-27 13:15:29 -0700 (Thu, 27 Aug 2009)
    Log Message:
    Our stock html template now propagates $ to the page body's background-color.
    QE notes: Requires documentation of new behavior (relative to Flex 3).
    Doc notes: None.
    Bugs: SDK-22723
    Reviewer: Peter F.
    Tests run: Manual Flash Builder tests.
    Is noteworthy for integration: Yes, new html template.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22723
    Modified Paths:
        flex/sdk/trunk/templates/swfobject/index.template.html

    Horgykitkat wrote:
    What I found after taking out the heights from the text areas is that I was left with uneven text column lengths (alternating beige areas). So I created a repeatable jpg with the same alternating beiges and put it as the background of the bodyArea tag. Again, if there is a better way, please let me know!
    A repeating background image to 'fake' equal height columns is perfectly ok.
    It won't work IF your page is responsive but it isn't so no problem. If it were responsive a better solution would be to take advantage of the css property display: table; and display: table-cell;
    In reference to your footer background color not showing I would assume you have floated items within the footer container. If so then you need to clear those floated items which allows the footer container to wrap itself around the floated items inside it.
    You would do this by using css - overflow: hidden; - on the parent container which has the floats inside it.

  • Error while loading velocity template using ear file (weblogic 8.1,SP5)

    Hi,
    In one of our j2ee applications we have a web application and an EJB application.
    Web application uses velocity(1.2).
    Application server is weblogic 8.1 with sp5.
    If web app and ejb app are deployed separately, web app is able to load templates properly but if we make an ear file bundling web app and ejb app, we get following error at the time when application tries to load even the first velocity template.
    org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'login.vt'
         at org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java:438)
         at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:736)
         at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:718)
         at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:337)
         at org.apache.velocity.servlet.VelocityServlet.getTemplate(VelocityServlet.java:499)
         at com.nfsmith.servlet.Controller.handleRequest(Controller.java:377)
         at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:331)
         at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:292)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    We have tried to configure and use all the resource loader for velocity engine(FileResourceLoader, ClasspathResourceLoader , JarResourceLoader etc.) but noting is working.
    I have tried keeping all the templates under WEB-INF\classes dir. This does not work.
    I have even tried keeping all the templates in a separate jar file and kept the same under APP-INF/lib and bundled the same in ear file, even this does'nt work either.
    Should I create a rar file archive or is there any other way to achieve this?
    Appreciate your responses.
    Jaspal

    Please repost this in the WebLogic Portal forum:
    WebLogic Portal

  • Preview of Fixed Position Based eText template displays the formatting

    Hi,
    I am trying to create an EFT template using the eText Fixed Position Based instructions. I copied an existing Fixed Position Based template and made the changes that were needed. When I hit the Preview link, it displays the payments in the formatted template, not in the output that I'm trying to create by using the template.
    Can anyone tell me what step I'm missing? I have created other types of templates and they preview fine.
    Thanks

    There is no difference between DELIMITER_BASED and FIXED_POSITION_BASED
    you can pick up the fixed and convert it into delimiter based,
    allowed columns are MaximumLength,Format,Data,Tag,Comments. delete the rest of the columns.
    And for DELIMITER_BASED templates,After every data field row,you have to insert a delimiter row and put appropriate field delimiters in separate rows between the fields.

  • Velocity template loading problem.

    Hello,
    I want to run first velocity servlet and I can't do this from 2 days
    I tried many combination.
    I use Netbeans 5.5 on linux
    So in this moment I have
    new project of netbeans in
    /home/marcin/3ROK/1SEM/java1/ul/Velocity/
    [root@zet Velocity(0)]# ls -R
    build  build.xml  catalog.xml  dist  nbproject  src  test  web
    ./build:
    web
    ./build/web:
    index.jsp  META-INF  WEB-INF
    ./build/web/META-INF:
    context.xml  MANIFEST.MF
    ./build/web/WEB-INF:
    classes  hello.vm  lib  templates  velocity.properties  web.xml
    ./build/web/WEB-INF/classes:
    HelloTest.class  hello.vm
    ./build/web/WEB-INF/lib:
    velocity-1.5.jar  velocity-dep-1.5.jar  velocity-tools-1.3.jar  velocity-tools-view-1.3.jar
    ./build/web/WEB-INF/templates:
    hello.vm
    ./dist:
    Velocity.war
    ./nbproject:
    ant-deploy.xml  build-impl.xml  genfiles.properties  private  project.properties  project.xml
    ./nbproject/private:
    private.properties  private.xml
    ./src:
    conf  java
    ./src/conf:
    MANIFEST.MF
    ./src/java:
    HelloTest.java  hello.vm
    ./test:
    ./web:
    index.jsp  META-INF  WEB-INF
    ./web/META-INF:
    context.xml
    ./web/WEB-INF:
    hello.vm  templates  velocity.properties  web.xml
    ./web/WEB-INF/templates:
    hello.vmHelloTest.java
    import org.apache.velocity.Template;
    import org.apache.velocity.servlet.VelocityServlet;
    import org.apache.velocity.app.Velocity;
    import org.apache.velocity.context.Context;
    import javax.servlet.http.*;
    import java.util.Properties;
    import org.apache.velocity.exception.ParseErrorException;
    import org.apache.velocity.exception.ResourceNotFoundException;
    import javax.servlet.ServletConfig;
    public class HelloTest extends VelocityServlet {
        public Template handleRequest( HttpServletRequest request,
                                       HttpServletResponse response,
                                       Context context ) {
            Properties p = new Properties();
            p.setProperty( "resource.loader", "class" );
            p.setProperty( "class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader" );
            p.setProperty( "resource.loader", "file" );
            p.setProperty( "file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.FileResourceLoader" );
            p.setProperty( "file.resource.loader.path", "/home/marcin/3ROK/1SEM/java1/ul/Velocity/build/web/WEB-INF/templates");
            p.setProperty( "file.resource.loader.cache", "true");
            p.setProperty( "file.resource.loader.modificationCheckInterval","2");
            try{
                Velocity.init(p);
            catch(Exception e){
                System.err.println("ZET 1 Exception caught: " + e.getMessage());
            Template template = null;
            try {
                context.put("name", "Velocity Test");
                System.out.println("Before gettemplate");
                template = Velocity.getTemplate("hello.vm");
                System.out.println("After Getting the Template"+template);
            } catch( Exception e ) {
              System.err.println("ZET 2 Exception caught: " + e.getMessage());
            return template;
    }When I tried localhost:8082/Velocty/HelloTest in netbeans in tomcat window
    i see this:
    Before gettemplate
    ZET 2 Exception caught: Unable to find resource 'hello.vm'
    2007-04-29 18:44:11 org.apache.velocity.runtime.log.JdkLogChute log
    SEVERE: ResourceManager : unable to find resource 'hello.vm' in any resource loader.

    Hi,
    Even iam facing the same problem..
    here is my code:
    try
                   System.out.println("*****************LOADING CONTEXT OBJECTS");
                   Properties p = new Properties();
                   p.setProperty( "resource.loader", "class" );
                   p.setProperty( "class.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader" );
                   //Velocity.init(p);
                   //Template template = Velocity.getTemplate( "report_email_html.vm" );
                   Velocity.init(p);
                   VelocityContext ctx = new VelocityContext();
                   ctx.put("myObject", new TestContext());
                   Template template = Velocity.getTemplate("/WEB-INF/DefaultTemplate.vm");
                   BufferedWriter writer = writer = new BufferedWriter(new OutputStreamWriter(System.out));
                 if(template != null)
                         template.merge(ctx, writer);
                writer.flush();
                writer.close();               
              catch(Exception e)
                   e.printStackTrace();
              }     Pls help me out

  • How do I fix my dvd/cd drive after updated Itunes?

    How do I fix my dvd/cd drive after updating itunes today?

    Hi there,
    It sounds like you got about half way through the process. You may want to review the process for relocating you iTuens Media found in the article below.
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1364
    -Griff W.

  • Using a Velocity Template in Java User Exit Custom Handler

    I would have thought it would be possible to use a Velocity template in combination with a custom handler in a Java user exit, but I can't seem to figure out how  to do it, and I'm not finding an example of doing this anywhere in the GoldenGate docs.
    For example, I can create a Velocity template and use it to output transactions in the desired format to a file by using a propeties file that looks something like this:
    gg.handlerlist=myhandler
    gg.handler.myhandler.mode=tx
    gg.handler.myhandler.format=./dirprm/my_template.vm
    gg.handler.myhandler.type=file
    gg.handler.myhandler.file=my_output.txt
    What I'm hoping to do is to have a custom handler, and some how  be able to get to the Velocity formatted transaction data in the "transactionCommit(DsEvent, DsTransaction)" method of my custom extension of AbstractHandler by having a properties file that looks like this (same as the above, except for the type, and no file property ... eg:
    gg.handlerlist=myhandler
    gg.handler.myhandler.mode=tx
    gg.handler.myhandler.format=./dirprm/my_template.vm
    gg.handler.myhandler.type=my.custom.GGHandler
    I've verified that I have a valid DsEvent and a DsTransaction with the desired information in by custom handler's transactionCommit method ... and I can even pull out the required data and re-format it there to the desired format so that it looks just like the format that my Velocity template outputs when I'm outputting to a file (as shown in the first properties file).  But shouldn't I somehow  be able to access the Velocity transformation for my DsTransaction in my custom handler?
    Thanks for any assistance / info provided.

    I would have thought it would be possible to use a Velocity template in combination with a custom handler in a Java user exit, but I can't seem to figure out how  to do it, and I'm not finding an example of doing this anywhere in the GoldenGate docs.
    For example, I can create a Velocity template and use it to output transactions in the desired format to a file by using a propeties file that looks something like this:
    gg.handlerlist=myhandler
    gg.handler.myhandler.mode=tx
    gg.handler.myhandler.format=./dirprm/my_template.vm
    gg.handler.myhandler.type=file
    gg.handler.myhandler.file=my_output.txt
    What I'm hoping to do is to have a custom handler, and some how  be able to get to the Velocity formatted transaction data in the "transactionCommit(DsEvent, DsTransaction)" method of my custom extension of AbstractHandler by having a properties file that looks like this (same as the above, except for the type, and no file property ... eg:
    gg.handlerlist=myhandler
    gg.handler.myhandler.mode=tx
    gg.handler.myhandler.format=./dirprm/my_template.vm
    gg.handler.myhandler.type=my.custom.GGHandler
    I've verified that I have a valid DsEvent and a DsTransaction with the desired information in by custom handler's transactionCommit method ... and I can even pull out the required data and re-format it there to the desired format so that it looks just like the format that my Velocity template outputs when I'm outputting to a file (as shown in the first properties file).  But shouldn't I somehow  be able to access the Velocity transformation for my DsTransaction in my custom handler?
    Thanks for any assistance / info provided.

  • I downgrad my iphone from ios5 to ios 4.3.3 and after restoring the ios 4.3.3 i fixed all itunes error but after that my i phone screen turned off and the apple logo didnt shows up any more what ever i did my iphone model 4 gsm

    i downgrad my iphone from ios5 to ios 4.3.3 and after restoring the ios 4.3.3 i fixed all itunes error but after that my i phone screen turned off and the apple logo didnt shows up any more what ever i did my iphone model 4 gsm and fyi  i try all the ways to turn it on but it didnt sucsses

    roaminggnome 
      thanks for helping but i didnt know that is the downgrade is forbidden  and i ask for help and u didnt help me so i just want to thank u for telling me that is the downgrade is forbidden >>> but now i didnt have i phone any more so thank u so much again >>>> 

  • HT4623 After my last iOS update my iphone 4 no longer syncs with my macbook.  How do I fix that?

    After my last iOS update my iphone 4 no longer syncs with my macbook.  How do I fix that?

    Is the device recognized in iTunes? What happens when you try to sync? What have you done to try and correct it? Before anyone can recommend anything, they need to know a little more information.

  • Opening iTunes shows an error- The program can't start because AVFoundationCF.dll is missing from your computer. Try reinstalling the program to fix this problem. ; Even after reinstalling iTunes doesn't start!

    When I start the iTunes program it comes up with this.. pls help!!
    "The program can't start because AVFoundationCF.dll is missing from your computer. Try reinstalling the program to fix this problem."
    Even after reinstalling iTunes doesn't start!

    Repair your Apple Application Support.
    Control Panel > Programs n Features (Win7) or Add n Remove Programs(XP) > highlight AAS, click CHANGE then REPAIR.

  • Dreamweaver cannot find, and thus apply, templates after uploading the website to server

    Hi,
    I am using Dreamweaver 8, and my problem is like this:
    When the site was first built using Dreamweaver, I created a template, after which I was able to apply it to other existing/new pages by [Modify/Templates/Applying Templates to Page].
    However, after uploading all te files to the server, and then downloading them back to my computer, when I tried to apply a template to an existing/new page by [Modify/Templates/Applying templates to Page], Dreamweaver showed that there is "no template" in the entire site - despite the fact that the folder containing the .dwt file was successfully downloaded from the server.
    Also worth mentioning is that, for the pages that are already attached to the template before I sent the files to the server, they are working just fine even after I have uploaded them.
    I saved the files in the following manner:
    >ROOT FOLDER
    >>>TEMPLATE FOLDER
    >>>>>>template.dwt
    >>>indext.html
    >>>OTHER PAGES FOLDER
    >>>>>>page1.html
    >>>>>>page2.html
    I also tried to save the template.dwt directly under "ROOT FOLDER", but that didn't work neither.
    Is somebody else facing the same problem? Or does anyone know how to solve this issue? It would be much appreciated.
    Thanks!

    Your Files panel (F8) should look like this:
    site - YourSiteName (C:\YourSiteName)
         index.html
         -OtherPages
              page1.html
              page2.html
         -Templates
              template.dwt
    If your .dwt file is located in any location other than the Templates folder, it won't work.
    Templates are not a server-side technology.  Templates only work on local files in Dreamweaver.
    I suggest you open your template and examine the code to ensure it is valid and that the Editable Regions are properly defined.
    http://validator.w3.org/
    Then open a child page made from that template to ensure it is pointing to the correct Template.dwt file in your Templates folder.
    Nancy O.

  • HT201328 How can we test that our phone is unlocked after we restore our iPhone?

    How can we test that our phone is unlocked after we restore our iPhone? I don't have access to another sim card at the moment. Only my AT&T sim card.

    A sure way to check is to connect the phone to iTunes on your computer and click Restore iPhone (not Restore Backup). If the phone is unlocked near the end of the Restore iTunes will display "Congratulations. Your iPhone is unlocked."

  • Velocity Template Engine error

    When I look at the "Velocity Template Engine" tab I see the error:
    unable to Find resource 'VM_global_libaray.vm' in any resource loader.
    Could some one help me?
    Thanks in Advance
    Bill

    This error is nothing to worry about -- it's a harmless message from Velocity, which is used by the TemplateMaker extension. If really would prefer not to see it and aren't using TemplateMaker, you can remove the extension by deleting the file "templatemaker.jar" from your ${jdev.home}/jdev/lib/ext directory.
    Thanks,
    Brian

Maybe you are looking for