Discussion Group
Re: Visual Studio intellisense
Re: Contributors
Sounds good to me. Let me know what/if I need to do anything.
Cheers,
Rob
RE: Contributors
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
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
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
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
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
-----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
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
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
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
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
Its a bug in RenderAction, when you have 12,000 routes it takes ages
(where as the incoming request is routed handled very quickly)
Re: Html.RenderAction Slowness
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!
Html.RenderAction Slowness
(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
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
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
how you call Html.EnableClientValidation(); on Spark?
Do you have working client-side validation on Spark?
RE: null reference output
-----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
