Discussion Group
Custom makro
I'm running spark in my own HTTP Server. I would like to create one of the
following extensions:
a) Use $[TextName] as a short for ${Language["TextName"]}
b) Use <language id="TextName" />
How do I extend spark to be able to do that?
Are there any samples around? (I have the source code, but do not know where
Re: Commented Issue: Support Mono (linux) [3516]
well as examples, and all works just fine on Mono now.
Here's the commit<[link]>that
fixed the problem - you'll notice the use of "Path.Combine" in several
Re: Displaying selected tab
Thanks
2010/3/10 Louis DeJardin <louis.dejar...@gmail.com>
Commented Issue: Support Mono (linux) [3516]
According to a discussion on the mailing list [1] and own tests there are problems resolving view paths when Spark is used with Mono on a linux box.
Fixing this issue would help to port existing applications to linux and also to spread usage of Spark.
Commented Issue: Support Mono (linux) [3516]
According to a discussion on the mailing list [1] and own tests there are problems resolving view paths when Spark is used with Mono on a linux box.
Fixing this issue would help to port existing applications to linux and also to spread usage of Spark.
Re: Displaying selected tab
You could also use the conditional attrib ?{ } syntax
Re: Displaying selected tab
<li class="selected?{currentFruit= =Fruit.Oranges}">Oranges</li>
<li class="selected?{currentFruit= =Fruit.Applies}">Apples</li>
</ul>
Re: Displaying selected tab
code (comparing to an enum value if you only have a limited set of tabs):
<ul>
<li${currentFruit==Fruit.Orang es?" class=\"selected\"":""}>Orange s</li>
<li${currentFruit==Fruit.Apple s?" class=\"selected\"":""}>Apples </li>
</ul>
Displaying selected tab
and then a sub tab this is laid out via two unordered lists something
like
Root Level Tabs
<li class="selected">Fruit</li> - (current and selected)
<li> Vegetables</li>
Second level tabs based on selection from the Root Level
view compilation failing with latest build
And have been getting sporadic "An assembly with the same simple name
<name varies> has already been imported"
When i check AppDomain.Current.GetAssemblie s() sure enough it shows
multiple copies of the same dll, so they are presumably all loaded
Created Issue: HTML 5 and Spark view engine - Naming conflict 'section' [5625]
[CompilerException: Section cannot be used at this location]
Commented Issue: Support Mono (linux) [3516]
According to a discussion on the mailing list [1] and own tests there are problems resolving view paths when Spark is used with Mono on a linux box.
Fixing this issue would help to port existing applications to linux and also to spread usage of Spark.
Using the Spark engine to render views from a database
Is it possible to render the content of a view (including master and
partials) from a database? In other words, build the content of the
view from a series of sources, and send it through the spark engine
for processing including any model information required?
Are there any examples of this?
Thanks,
Commented Issue: Support Mono (linux) [3516]
According to a discussion on the mailing list [1] and own tests there are problems resolving view paths when Spark is used with Mono on a linux box.
Fixing this issue would help to port existing applications to linux and also to spread usage of Spark.
Re: Commented Issue: Add support for VS2010 in Spark VS Intellisense [4497]
support soon, or in a plugin.
On Fri, Mar 5, 2010 at 12:42 PM, sparkviewengine Issue Tracker Rss Feed <
Commented Issue: Add support for VS2010 in Spark VS Intellisense [4497]
I don't seriously expect it will happen before VS2010 RTM's. It can't hurt to ask, right?
Comments: ** Comment from web user: loudej **
Yeah, I took a look at some screen-casts from the PM building an Ook language... It is entirely different, so starting over without the C++ is probably the way to go. Most difficult part will be figuring out how to use the csharp contained language service in the new style of editor, if it's even possible at all...
Commented Issue: Add support for VS2010 in Spark VS Intellisense [4497]
I don't seriously expect it will happen before VS2010 RTM's. It can't hurt to ask, right?
Comments: ** Comment from web user: dj_kyron **
There is an entirely new way of making extensions for VS2010 from a first look. I suppose it would mean that adding Spark intellisense will be easier with this system but that the integration might have to be re-coded? The new code editor window is built using WPF so that may provide some interesting challenges/benefits for Spark.
Commented Issue: Add support for VS2010 in Spark VS Intellisense [4497]
I don't seriously expect it will happen before VS2010 RTM's. It can't hurt to ask, right?
Comments: ** Comment from web user: runxc1 **
Is there any update on this?? What needs to be done to get this to work?
Re: Spark 1.1 RC1
IIRC. Changing from a ~/Views/ base to a ~/ would be a good idea, too.
Especially if it could be done in a non-breaking way.
On Mar 2, 7:34 pm, "Stephen Vanterpool" <step...@vanterpool.net>
wrote:
Re: Using master layouts in a direct usage scenario with views stored as embedded resources?
templates in reverse order (view, then master) works fine.
Allowing views to specify their own master via the <use> element is a
better fit for my requirements, but I can't get it to work that way
regardless of whether or not I programmatically add the master
