]], template items
\\list.vm Line 81 Column 41 threw an exception}
Any idea why this is happening?
Thank you
Eyal
The error occurs exactly here
Code:
BaseHttpHandler.cs
public virtual void Process(HttpContext context)
{ ...
catch(Exception ex) { ...
{throw new
here?
Code:
$Url.Link('Product Name', %{controller='product', action='view',
params={id=15, name='ProductName'}})
Thanks
Eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post
. Process(HttpContext context):
ex = {Unable to evaluate expression because the code is optimized or
a native frame is on top of the call stack.}
Any idea why?
thanks
Eyal
On Feb 10, 3:06 pm, Jimmy Shimizu jimmy.shim...@gmail.com wrote:
the UrlHelper will be able to generate urls if you have
in $Products)
a href=/products/searchresult.ashx?productId=$Product.Id
$Html.HtmlEncode($Product.Name)/a
#end
On Feb 10, 4:43 pm, eyal ebarda...@gmail.com wrote:
I looked into your suggestions and that is what I decided to do:
#foreach($Product in $Products)
li$Url.Link($Product.Name
/myproduct/11/searchresult.ashx?productId=11
However I want the url to appear as such .../specials/myproduct/11/
How can I do this?
thanks
eyal
On Feb 10, 4:43 pm, eyal ebarda...@gmail.com wrote:
I looked into your suggestions and that is what I decided to do:
#foreach($Product in $Products
to accommodate a proper url. Is
there a function that is already written that I can use?
thanks
eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle
Hi All,
I am using $Url.For( )and $Url.Link(). How can I use them to wrap
around images and divs.
In pure html I can do this very easily using the closing /a tag:
a href=...
img name=... src=... /
/a
thanks
eyal
--~--~-~--~~~---~--~~
You received this message
(-+).Replace(cleanedUrl, -) to avoid
double '-' characters
On Wed, Feb 11, 2009 at 6:38 PM, eyal ebarda...@gmail.com wrote:
Hi All,
I need to convert a string into url compatible format. For example,
Product cost $24.00 higher/lower. - original string
product-cost-24-00-higher-lower
not set to an instance of an object.
Does anyone know what can I use to replace them?
I tried the following but it didnt work:
changed
protected override void Reset() {}
into
public override void Reset() {}
thanks
eyal
--~--~-~--~~~---~--~~
You received
Hi Alex,
RegexReplace is not recognized to be a valid method. Am I missing a
lib ref? (Regex is recognized)
thanks
eyal
On Feb 11, 10:55 am, Alex Henderson bitterco...@gmail.com wrote:
I have an extension method I use for this, basically the same as Kens...
public static string Slugify
text.ToLowerInvariant().RegexReplace([^a-z0-9]+,
-).RegexReplace(-+$, ).RegexReplace(^-+$, );
}
On Thu, Feb 12, 2009 at 5:38 AM, eyal ebarda...@gmail.com wrote:
Hi All,
I need to convert a string into url compatible format. For example,
Product cost $24.00 higher/lower. - original string
product
=../container/images/product_images/thumb$image.FileId
border=0/
Thanks
Eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users
Hi Victor,
this example is not working. the html generated is:
a href=$Url.For(%{controller='product', action='pageName', params=
{prodId=199
On Feb 11, 10:23 am, Victor Kornov wee...@gmail.com wrote:
a href=Url.For( )
img name=... src=... /
/a
hi victor,
thanks for the reply:
this is what i came up with... and this works
#set ($myUrl = $Url.For(%{controller='...}))
a href='$myUrl'
eyal
On Feb 11, 12:42 pm, Victor Kornov wee...@gmail.com wrote:
You are using NVelocity viewengine, right? I've not used it can't
use this to extract image h and w
HttpPostedFile image
Bitmap sourceImage = new Bitmap(image.InputStream,
false);
int width = sourceImage.Width;
int height = sourceImage.Height;
On Feb 11, 6:20 pm, Daniel Pupek
hi all,
For some reason one routing rule replaces the other. Meaning whenever
I try to evoke MyView(id) func SearchResult(categoryId) is executed
instead. Any ideas of how to fix this?
thanks
eyal
I have the following routing rules:
rules.Add(new PatternRoute(/controller
mysite.com/productName/d- erroneous url
mysite.com/productName/ - erroneous url
Normally, I trap and handle such errors in a Controller. But now that
I'm using routing, such errors for some reason dont even reach the
controller.
thanks
eyal
are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable
Here is my class declaration:
public static class RoutingRules
{
public static void Register(IRoutingRuleContainer rules)
{
}
}
thanks
eyal
Perfect. Works like a charm
Thanks
Eyal
On Feb 11, 11:06 pm, Ken Egozi egoz...@gmail.com wrote:
both rules are using the same pattern:
SOME-STRING / SOME- STRING / SOME- INTEGER
so the engine will match the first rule.
you need to differentiate the two.
say:
/search/productName
the extensions are available within fileId as such .../thumbb41cd7c4-
dfd5-470c-b524-6a48e2928e93.jpg
The image were working fine before I applied url routing
Thanks
Eyal
On Feb 12, 9:52 am, mausch mauricioschef...@gmail.com wrote:
Aren't you missing the extension?
i.e. thumb${image.FileId
=
$CategoryName}))
button type=button onclick=location.href='$pagedUrl';
$text/button
#end
#end
Thanks
eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post
You are right it does work. I also tried it with $siteRoot which works
too.
Thank you
eyal
On Feb 15, 9:17 pm, jsimons johnsimons...@yahoo.com.au wrote:
This should also work:
src=/container/images/product_images/thumb
$image.FileId
On Feb 15, 11:20 am, eyal ebarda...@gmail.com wrote
().Is(searchresult));
On Feb 14, 10:19 pm, eyal ebarda...@gmail.com wrote:
Hi All,
I am trying to rewrite urls using diggystylepagination but without
any success. Any suggestions?
The following code results with this url:
.../products/searchresult.ashx?page=2
However Im trying to get
?
thanks
eyal
On Feb 12, 8:33 am, eyal ebarda...@gmail.com wrote:
That is exactly what I'm trying to get the RoutingRule class to do but
without any success.
I tried to use RedirectToAction(404) or RedirectToAction
(generalerror) using Try Catch. I am getting the following error:
The resource
?
Thanks
Eyal
On Feb 6, 5:05 am, Patrick Steele patrick.ste...@gmail.com wrote:
I just looked at some of my code using an early Dec/2008 version of
MonoRail and my mail code is:
System.Collections.Hashtable data = new System.Collections.Hashtable();
data.Add(data1, data1);
data.Add(data2
Thanks for the reply Ricardo
The example you have still does not work for me. It crushes on
DeliverMail()
thanks
eyal
here is the stacktrace:
at Castle.MonoRail.Framework.Controller.DeliverEmail(Message
message) in c:\svn20\MonoRail\Castle.MonoRail.Framework
\Controller.cs:line 1466
name) at SN.Controllers.ContactController.SendContact
(Contact contactFromPage)
On Feb 25, 1:27 am, Ricardo Lopes rjlo...@gmail.com wrote:
If the problem is on DeliverMail then is not the same problem.
Did you configure the EmailSender correctly ?
2009/2/25 eyal ebarda...@gmail.com
Thanks
Ok resolved problem all i had to do was replace smtp.hostname with
mail.hostname in my config file
thanks for the direction Ricardo
Eyal
On Feb 25, 1:27 am, Ricardo Lopes rjlo...@gmail.com wrote:
If the problem is on DeliverMail then is not the same problem.
Did you configure the EmailSender
thanks
Eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to
castle
Hi Loic,
Thanks for the reply. Your solution works perfectly.
Eyal
On Feb 27, 12:58 am, Loic Nageleisen loic.nagelei...@gmail.com
wrote:
On 27 Feb 2009, at 06:18, eyal wrote:
Hi All,
The updated trunk for framework 2.0 has some changes regarding
pagination. Appearantly
I found an issue with HasLast apparently HasNextPage does not replace
it. All it does is go to next page if you click on Last nav. link.
Also TotalPages remains TotalItems
Thanks
eyal
On Feb 27, 1:56 pm, eyal ebarda...@gmail.com wrote:
Hi Loic,
Thanks for the reply. Your solution works
ItemName into a nvelocity var $ItemName so I can
use it in the title tag as such
title $ItemName /title
Thanks
Eyal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group
However, I am able to use my emailing system. For example the Contact
Us works on my site. So if mailbox is unavailable why can I use it
otherwise?
Thanks
Eyal
On Mar 13, 2:25 am, Ricardo Lopes rjlo...@gmail.com wrote:
The problem is from your mail server:
Mailbox unavailable. The server
, man 1 mono-service
2009/4/16 eyal ebarda...@gmail.com:
Hi All,
I am interested in building a controller that takes care of automated
jobs on a daily bases. For example I want to send an email to an
account holder based on a certain criteria. The scheduler will test
for this criteria
Hi Colin,
It seems that the Scheduled Task wizard performs its operation on
windows applications. However I want the task to be performed on a
remote app on my web site. Can I still use this wizard? Not sure how
Thanks
Eyal
On Apr 16, 11:12 am, Colin Ramsay colinram...@gmail.com wrote:
If you
, most likely.
Use a windows service.
On unix, man 1 mono-service
2009/4/16 eyal ebarda...@gmail.com:
Hi All,
I am interested in building a controller that takes care of automated
jobs on a daily bases. For example I want to send an email to an
account holder based on a certain
Hi Jimmy,
the domains point to the same IP and bound to the same folder dir of
the site. they all work except when I use the category links mentioned
previously. Also I tried using a non routed url which worked fine for
all domains.
Any idea what else could be the problem
Thanks
Eyal
On Apr
.
Either way I'm out of ideas. I don't really know a scenario why a
routing-rule would be bypassed, maybe someone else can explain what
could be the cause of that.
eyal wrote:
Hi Jimmy,
the domains point to the same IP and bound to the same folder dir of
the site. they all work except when
Problem solved. My provider had to include a wild card settings to
allow multi domains for the same dir.
On Apr 21, 8:40 am, eyal ebarda...@gmail.com wrote:
They are all bound to the same path as well as the same IP address. So
you can say that they are bound to the same web site.
On Apr 21
39 matches
Mail list logo