Discussion Group

Syndicate content
Development discussion and project notification for Spark view engine
Updated: 7 min 9 sec ago

Re: Visual Studio intellisense

Fri, 07/02/2010 - 06:30
Yeah, it would be great if you could make a new build with the msi :)

Re: Contributors

Thu, 07/01/2010 - 14:41
Ah cool! Thanks John & Lou.
Sounds good to me. Let me know what/if I need to do anything.
Cheers,
Rob

RE: Contributors

Thu, 07/01/2010 - 14:25
+1
How many should we aim for? Like... 3 plus the number of current committers? Let's say 2 more...
Sent: Friday, June 25, 2010 3:54 AM
To: spark-dev@googlegroups.com
I support this and vote for robertthrgray.
Sent from my iPhone
It seems like there's been an uptick in contributors working on private forks, especially with vs2010 work ongoing.

Partial View selection

Thu, 07/01/2010 - 09:39
Ok I need some help. I'm getting an error trying to render a partial
view

I have a partial view that is used within another view, but I want to
have an action request that partial directly.

So here it is:

the partial is _StatusAssignment.spark

Status.spark uses it like so (this is simplified it actually has more

Re: Contributors

Thu, 07/01/2010 - 04:17
I support this and vote for robertthrgray.
Sent from my iPhone
It seems like there’s been an uptick in contributors working on private
forks, especially with vs2010 work ongoing.
Do you think this would be an appropriate time to see if the community would
like to vote in some additional committers? Could have the codebetter CI

Re: master partial convention

Wed, 06/30/2010 - 22:41
Hi Mike,
What does the inside of your _Cmd file typically look like? Have you
surrounded all the content in there with <content name="cmd"> cmd stuff
</content>
Not sure if I'm missing some context here, but that should work if you use
the line in your application.spark file as per your email below.

Contributors

Wed, 06/30/2010 - 01:42
It seems like there's been an uptick in contributors working on private forks, especially with vs2010 work ongoing.
Do you think this would be an appropriate time to see if the community would like to vote in some additional committers? Could have the codebetter CI server point at a git repos with more committers than just myself, and provision some more operator roles for to the codeplex project and sparkviewengine.com cms to facilitate updates even further.

RE: Visual Studio intellisense

Tue, 06/29/2010 - 04:40
Ah - looks like we need a new build if the 1.1 doesn't have the vs2k8 msi in it.

-----Original Message-----
Sent: Friday, June 25, 2010 1:29 AM
To: Spark View Engine Dev
Yes, I did see that site. It kept referring to a msi file that was
included in the root of the zip file. In the latest release, v1.1

Re: Visual Studio intellisense

Tue, 06/29/2010 - 04:24
Yes, I did see that site. It kept referring to a msi file that was
included in the root of the zip file. In the latest release, v1.1
there is no msi at all, which kind of threw me off. After searching
around, and posting this question, I decided to download v1.0 and
there it was.
Not sure if it is a mistake or not to leave the msi out of v1.1, but

Re: SparkView and JQuery-tmpl

Tue, 06/29/2010 - 03:52
Hm. I't simple, but I think it's problematic.

Say for example I want to output the string "$43.21", if I say "$$
{price}" then instead it will output a literal "${price}", which isn't
at all what I wanted; and the failure is non-intuitive, so you'll get
a rash of posts to the list from dozens of people who can't get their

master partial convention

Tue, 06/29/2010 - 03:36
I am trying to apply a convention where if a file '_Cmd' exists in a
controller's folder, it is rendered as a sidebar in the master
layout.

I have tried this in my application.spark layout:
<div id="cmd"><use content="cmd"><Cmd/></use></di v>

But this does not look in the controller folder (views/<controller>).

Re: Html.RenderAction Slowness

Tue, 06/29/2010 - 02:48
Ouch! Good spot.
I haven't come across this because I don't tend to use RenderAction any
more. Instead I use the built in Spark partial support to good effect and
sometimes (for some pretty sweet async behaviour) I use the Spark render
view using Javascript functionality. I done a post on how to use it here:

Re: Html.RenderAction Slowness

Tue, 06/29/2010 - 00:24
Okay its not a Spark bug, sorry

Its a bug in RenderAction, when you have 12,000 routes it takes ages
(where as the incoming request is routed handled very quickly)

[link]

Re: Html.RenderAction Slowness

Mon, 06/28/2010 - 06:35
Reproduced this on an example project

MasterTemplate.spark - spark master tempalte file

some where in the markup add:

Keep it simple - do nothing:
public TestViewModel Test()
{
return new TestViewModel();

Without Render.Action page returns 15msec, with it returns
1.20seconds!

Re: Visual Studio intellisense

Mon, 06/28/2010 - 05:47
Hi Henning - are you using VS2008 or VS2010?
I've never tried the older Intellisense installer in conjunction with VS2010
but I did manage to get it working with VS2008.
I presume you've already tried following the brief tutorial:
[link]
<[link]>Also, since I repaved my

Html.RenderAction Slowness

Sat, 06/26/2010 - 16:24
When using Html.RenderAction("Show","Navi gation") from a view
(Index.spark) to load navigation widget the page Home/Index takes
1.08secs to load,

However if I change so that Navigation is included/loaded on primary
viewmodel HomeIndexViewModel (and thus no RenderAction call) it takes
45msec.

Re: SparkView and JQuery-tmpl

Sat, 06/26/2010 - 02:16
So what you're suggesting is that instead of changing the parser to
recognise this:
${{...blah...${Model.Count}... blah...}
as a complete element, with content "...blah...${Model.Count}...bl ah..."
that then needed further parsing in order to render:
${...blah...10...blah...}
Instead, Spark would just recognise ${{ as a token and simply render ${ as a

RE: SparkView and JQuery-tmpl

Fri, 06/25/2010 - 23:05
==== reply out-of-band to observation that <xinclude> is actually <include>
Ah!! That's exactly right. I confused the name of the spec with the name of the element, which is <include>, and doesn't require a namespace by default.
So there's no "x" pattern at all - but a multi-line armored code and text element of some name might be nice to have. However if syntax escaping works you could say, as a feature, that's orthogonal to the problem this thread is about.

Re: Spark + MVC2 Validation

Fri, 06/25/2010 - 22:33
Hi,
how you call Html.EnableClientValidation(); on Spark?
Do you have working client-side validation on Spark?

RE: null reference output

Fri, 06/25/2010 - 19:37
Try $!{Model.Account.Name}
-----Original Message-----
Sent: Wednesday, June 23, 2010 9:05 AM
To: Spark View Engine Dev
When I do this in the view ${Model.Account.Name}
if the Account object is null it outputs : ${Model.Account.Name}
otherwise it outputs the Name Property
is there a way to have it output nothing? What setting do I set for