search for: template_nam

Displaying 10 results from an estimated 10 matches for "template_nam".

Did you mean: template_name
2006 Aug 30
1
Shouldn't rxml files be exempt from layout by default?
...ml to the list of exempt extensions? I''d assume most people would be surprised to see their XML embedded in the middle of their (most probably) rhtml layout. http://dev.rubyonrails.org/svn/rails/trunk/actionpack/lib/ action_controller/base.rb: def template_exempt_from_layout?(template_name = default_template_name) template_name =~ /\.rjs$/ || (@template.pick_template_extension(template_name) == :rjs rescue false) end I''ve overrided it in my own application.rhtml as below but I''m thinking that this should probably be the default behaviour....
2016 Aug 31
6
RFC: FileCheck Enhancements
...are some doubts about syntax of templates. I agree that use of \#, \:, \= is quite different from usual characters in FileCheck and was chosen because of same approach for escaping in regexp. Adrian Prantl suggested to use double-brackets "[[" to escape. >> Old syntax: >> \#(template_name) - use of template 'template_name'. It can occur in CHECK-PATTERN line, when description of one template includes other templates described before. (Without quote, I don't know how escape # here) >> \:(Variable_name)- template variable with name 'variable_name' >> \...
2016 Aug 24
9
RFC: FileCheck Enhancements
...org/D22403) There are some doubts about syntax of templates. I agree that use of \#, \:, \= is quite different from usual characters in FileCheck and was chosen because of same approach for escaping in regexp. Adrian Prantl suggested to use double-brackets "[[" to escape. Old syntax: \#(template_name) - use of template 'template_name'. It can occur in CHECK-PATTERN line, when description of one template includes other templates described before. (Without quote, I don't know how escape # here) \:(Variable_name)- template variable with name 'variable_name' \:(variable_name)\=...
2016 Sep 01
2
RFC: FileCheck Enhancements
...e doubts about syntax of templates. I agree that use of \#, \:, \= is quite different from usual characters in FileCheck and was chosen because of same approach for escaping in regexp. Adrian Prantl suggested to use double-brackets "[[" to escape. >>> Old syntax: >>> \#(template_name) - use of template 'template_name'. It can occur in >>> CHECK-PATTERN line, when description of one template includes other >>> templates described before. (Without quote, I don't know how escape >>> # here) >>> \:(Variable_name)- template variabl...
2016 Sep 01
2
RFC: FileCheck Enhancements
...e doubts about syntax of templates. I agree that use of \#, \:, \= is quite different from usual characters in FileCheck and was chosen because of same approach for escaping in regexp. Adrian Prantl suggested to use double-brackets "[[" to escape. >>> Old syntax: >>> \#(template_name) - use of template 'template_name'. It can occur in >>> CHECK-PATTERN line, when description of one template includes other >>> templates described before. (Without quote, I don't know how escape >>> # here) >>> \:(Variable_name)- template variabl...
2016 Sep 05
2
RFC: FileCheck Enhancements
...about syntax of templates. I agree that use of \#, \:, \= is quite different from usual characters in FileCheck and was chosen because of same approach for escaping in regexp. Adrian Prantl suggested to use double-brackets "[[" to escape. >>>> Old syntax: >>>> \#(template_name) - use of template 'template_name'. It can occur >>>> in CHECK-PATTERN line, when description of one template includes >>>> other templates described before. (Without quote, I don't know how >>>> escape # here) >>>> \:(Variable_name)-...
2016 Jul 19
2
RFC: FileCheck Enhancements
Hi Elena, > On Jul 19, 2016, at 6:36 AM, Elena Lepilkina via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi all, > > I made new patches for most of changes with llvm-commits subscriber. But two patches were updated, because there are a lot of comments (patch for CHECK-WORD and patch for templates pattern). Will it be ok? IMO it's fine to keep some of the original
2006 Jan 17
9
Setting layout template in .rhtml
I''ve a single controller - class ContentController < ApplicationController end in the app/views/content folder I have quite a few .rhtml files I need to be able to choose a different layout template to use in each of these .rhtml files. i''d like to be able to do something like (which doesn''t work..) <% layout ''layout1'' %> Any
2006 May 17
9
Render No Layout?
Hi guys, Am having a problem. I have this def in my index controller that works like this: def do_something $a = variable1 $b = variable2 $c = variable3 $d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'', ''#{$a} - #{$b}''); \n </script>" $trigger = "1" render(:partial =>
2010 Apr 30
5
Using classes from extnode to define config files?
Hi all, I''m using cobbler as our external node manager and it''s working really well (including deployment of ActiveMQ from RI''s RPMS and Mcollective - blog post coming soon!) however I''ve run into a problem with exim configuration files. We use exim in a number of different configurations depending on the role of the server (webserver/antivirus/outbound