Search found 18 matches

Go to advanced search

by timmeh
Mon Apr 14, 2014 4:04 pm
Forum: General Discussion
Topic: Boolean conditions in Jade
Replies: 1
Views: 3385

Boolean conditions in Jade

Just a simple one, just curious why the following logic occurs this way write "" = null; //true write "".Date = null; //true write "".TimeStamp = null; //true write "".Time = null; //false??? write "false".Boolean = null; //true?? write "true".Boolean = null; //false write "".Time = null; If a null ...
by timmeh
Fri Mar 01, 2013 5:05 pm
Forum: General Discussion
Topic: Executing an object of Method class?
Replies: 2
Views: 3090

Re: Executing an object of Method class?

Thanks Beejay!

Yes I was using JadeTestCase, thanks for clarifying about the runner, I was having a play with some JadeScripts with the tests and wanted to find out if executing methods directly was possible.

Cheers
Tim
by timmeh
Fri Mar 01, 2013 12:17 pm
Forum: General Discussion
Topic: Executing an object of Method class?
Replies: 2
Views: 3090

Executing an object of Method class?

Is it possible to execute an Object of Method class? I am trying to write a JadeScript that gets all the void methods from a test class and executes them one by one but cant find any documentation on Method class, I can loop around a method dictionary, although cant find any way to execute that meth...
by timmeh
Thu Sep 20, 2012 5:35 pm
Forum: General Discussion
Topic: addCookie(), getCookies() methods
Replies: 1
Views: 2646

Re: addCookie(), getCookies() methods

I've tried the example

Code: Select all

addCookie("userName", "Wilbur", 120, "");
within the following methods in the jadeHTMLClass within the highest schema:
reply(), updateValues(), processRequest(), generateHTMLString() methods

If anyone has any advice at all would be highly appreciated!
by timmeh
Fri Sep 14, 2012 4:08 pm
Forum: General Discussion
Topic: addCookie(), getCookies() methods
Replies: 1
Views: 2646

addCookie(), getCookies() methods

Hi I tried using the example from the documentation addCookie("userName", "Wilbur", 120, ""); in my reply method for JadeHTMLClass although a cookie is never added to the clients browser (image attached). getCookies also returns no results. I'm using Jade 6.3.9 with IIS7.5, is anyone else using thes...
by timmeh
Wed Jun 27, 2012 6:16 pm
Forum: General Discussion
Topic: Anyone used .net's iTextSharp in Jade?
Replies: 1
Views: 2812

Anyone used .net's iTextSharp in Jade?

Trying to utilise this library http://sourceforge.net/projects/itextsharp/ to make working with PDF a little easier for a web project. After importing the .Net library i've followed this guide: http://www.mikesdotnetting.com/Article/80/Create-PDFs-in-ASP.NET-getting-started-with-iTextSharp and writt...
by timmeh
Wed Jun 27, 2012 5:20 pm
Forum: General Discussion
Topic: Importing .net, select all - dont import option?
Replies: 0
Views: 2129

Importing .net, select all - dont import option?

I've been importing a few .net classes and every time going through the wizard theres a list of 200 or so classes, and you have to spend 5-10mins clicking each one and then dont import class option.
Is there a option or way somehow to unselect all classes from import?

Cheers!
by timmeh
Wed Jun 27, 2012 1:09 pm
Forum: General Discussion
Topic: Sorting collections
Replies: 14
Views: 13144

Re: Sorting collections

cheers for the clarification, all works really well now.

Thanks again!
by timmeh
Fri Jun 22, 2012 12:52 pm
Forum: General Discussion
Topic: Sorting collections
Replies: 14
Views: 13144

Re: Sorting collections

Okay I resolved this last issue by using a subclass of Array with the Any type, and a if statement to typecast values =]
by timmeh
Fri Jun 22, 2012 12:18 pm
Forum: General Discussion
Topic: Sorting collections
Replies: 14
Views: 13144

Re: Sorting collections

I'd go with 7 String keys on the ExtKeyDynaDict, and then if they've only chosen 3 of 7 sort options, set the remaining key values to a null string as you don't care about the sort ordering from that point onwards. Then, when you're deciding what to use for each of the 7 string key parameters to th...

Go to advanced search