Discussion Group
Variable file name in render partial
<var file='String.format("{0}/{1}", "x","_test")' />
<render partial=file />
it does not render the partial view. Instead it outputs the following in
html response
<render partial=x/_test />
(which tell me that I am missing the double quotes around the file path).
However, when I hardcode the partial view file name in my spark view, i.e
Adding Spark Partial View dynamically
This is my first time with Spark. I have two questions pertaining to add
Spark views:
[1] I am curious how can we add a partial spark view ( I am treating a
partial view as a user control ) to a page (another spark view) dynamically,
as opposed to adding if logic in spark file and deciding which control to
RE: Created Issue: Content within HTML conditional comments is ignored [6373]
There's another feature hidden in ~ that you can find buried in the docs for the config settings.
[link]
In the spark/pages/resources section you can change your production config to replace various ~/xxx prefixes with some alternate value. Putting content on cdn, for example. Works with ISparkSettings in code also.
Re: Created Issue: Content within HTML conditional comments is ignored [6373]
RE: Created Issue: Content within HTML conditional comments is ignored [6373]
Sent: Wednesday, June 30, 2010 7:52 PM
To: spark-dev@googlegroups.com
Cc: sparkviewengine Issue Tracker Rss Feed
Will spark even replace "~" in a attribute??
I'm not sure that it would?
2010/7/1 Asbjørn Ulsberg <asbjo...@gmail.com<mailto:asb jo...@gmail.com>>
Re: Created Issue: Content within HTML conditional comments is ignored [6373]
I'm not sure that it would?
2010/7/1 Asbjørn Ulsberg <asbjo...@gmail.com>
Re: Visual Studio intellisense
Created Issue: Content within HTML conditional comments is ignored [6373]
What's expected: Content within an HTML conditional comment should be evaluated by Spark.
Example code to reproduce:
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" media="screen" href="~/css/ie.6.css">
Areas in ASP.NET MVC 2
I've not been able to configure spark to recognise areas in my asp.net
mvc 2 application.
Having perused [link]
I am unable to use the AddFilter() on my service object - the option
is simply not there.
Hopefully it is just a minor tweak that you can guys can help me with.
RE: Error - MVC Application tries to render .aspx, not .spark
-----Original Message-----
Sent: Monday, June 28, 2010 1:56 PM
Re: Spark + MVC2 Validation
Html.EnableClientValidation() and Html.BeginForm() to make it work.
However, I feel that Spark is in need of client validation support. What
would be quite neat is something like:
<form client-validation="true">
</form>
Where the 'client-validation' attribute is parsed by Spark and with it
Re: Error - MVC Application tries to render .aspx, not .spark
Sent from my mobile
-----Original Message-----
Sender: spark-dev@googlegroups.com
To: Spark View Engine Dev<spark-dev@googlegroups.com >
Reply-To: spark-dev@googlegroups.com
Hello Christopher,
thanks for your help. Unfortunately, that didn't solve the problem. I
Re: Error - MVC Application tries to render .aspx, not .spark
enough, that's your decision. However, be aware that there are plenty
of real world applications already using it quite successfully.
try registering your viewengine before your routes - that's how mine are setup.
Re: Error - MVC Application tries to render .aspx, not .spark
thanks for your help. Unfortunately, that didn't solve the problem. I
will stop for now, maybe I will try Spark again in a few months when
it's more mature.
On 28 Jun., 01:49, Christopher Pelatari <christop...@bluefenix.net>
wrote:
Re: SparkView and JQuery-tmpl
it. :)
It would be nice if {#...#} could (whenever introducing a breaking change
is possible) replace <!-- --> as the default Spark comment mechanism as
well.
-Asbjørn
Re: Error - MVC Application tries to render .aspx, not .spark
SparkEngineStarter.RegisterVie wEngine(ViewEngines.Engines);
Error - MVC Application tries to render .aspx, not .spark
I'm trying to set up my first MVC Application using Spark. But I can't
get it to work. For some reason, my Application still looks for .aspx
views to render, and ignores the .spark files. What am I doing wrong?
Here's how I set upthe Spark engine:
protected void Application_Start()
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.
