Discussion Group
Re: Generic SparkViewBase in a standalone app.
viewmodel, since the code that instanciate the view is setting the
DefaultPageBaseType Property using typeOf().FullName
But should I then build the string manually in my code because typeof
returns me those unhandled characters? I'll give it a try and reply in
Re: Generic SparkViewBase in a standalone app.
on the view side, how are you declaring your model? Are you using
something like <viewdata model ="IEnumerable[[EmailData]]"/> with ['s
in place of >'s? A simple answer, but it would match the errors you
are getting.
--
Generic SparkViewBase in a standalone app.
I am building a newsletter service that uses spark to generate the
HTML.
I can get Spark to work fine in my standalone application if the
DefaultPageBaseType is a simple class inheriting from SparkViewBase
So I have a ViewData class inheriting from SparkViewBase with a Model
property of type EmailData containing all the info to build up the
Created Issue: DefaultDescriptorBuilder: Empty prefix is handled incorrectly [6141]
Spark Views in a separate assembly
views to share between several projects. I am able to get the
controllers to load from the shared assembly, but when I try to get
spark to access the views, it won't load them from the shared
assembly. What do I need to do to get spark to access the views in the
Re: Redefining the model
rendering methods.
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spark-dev@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+unsubscribe@googlegr oups.com.
Re: Redefining the model
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spark-dev@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+unsubscribe@googlegr oups.com.
Redefining the model
this topic has come up a few times in the archives, but I never saw an
actual answer:
Let's say I have a strongly-typed view. I like this, because stuff
like MvcContrib Html Helpers use the model so that I can do stuff
like: this.Input(x => x.Name); and so on.
In this view, I am using a number of partials. The partial is also
Re: Visual Studio 2010 Intellisense
but usage right now is very alpha. I (and potentially with some help
from Andy Hitchman) am currently working on getting a beta out the door. I'm
hoping to have something usable for "enthusiasts" to start testing a week or
Re: Visual Studio 2010 Intellisense
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spark-dev@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+unsubscribe@googlegr oups.com.
Re: The view 'Useradmin' or its master was not found in IIS
Thanks again.
James
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spark-dev@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+unsubscribe@googlegr oups.com.
Does spark view engine support display templates?
I have written a String.Spark display template for string types. This
String.Spark has been placed in the Views/Shared/DisplayTemplates
folder. In one of the master pages (Html.spark) I am calling
Html.Display as follows:
<body class="tundra">
<use content="header" />
<div id="menucontainer">
Re: Commented Issue: Css markup crashes view [6114]
solve a lot of headache.
When I first learned about the config option, the first thing I did was set
it to pound-space. Since it is such an easy fix, (that is, since it is a
single config option) I think we should make the change.
Re: Commented Issue: Css markup crashes view [6114]
"accidentally" choose no space will loose a bunch of compiled code
unless they change their Statement Marker to "#" inthe config.
I still agree with Tyler that the default should be changed though....
it's cleaner.
--
Re: Commented Issue: Css markup crashes view [6114]
designs, I must say that I'm sold on Tyler's assertions and
suggestions.
I think it's a very elegant solution and he's also right about the
intellisense bits. In fact, my completion handlers for SparkSense
already put a trailing space after the "#" symbol for the exact reason
Spark VS Integration Installer
Is this on purpose?
I assume the one with v1.0 is still ok to use (not had any troubles
just wanted to check)
James.
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
Re: Commented Issue: Css markup crashes view [6114]
First of all, inline styles are no more inappropriate in HTML than
"goto" statements are in C. There are clear and unambiguously correct
usages for both, even though they may not fit your particular project,
problem set, or coding style. Your statement is true for a limited set
Re: Created Issue: Css markup crashes view [6114]
type:
div#breadcrumb ul li.first{ blah }
Not ideal, but it gets the job done until the stylesheet is moved out
into a separate file.
--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
