any brail ninjas here?
a possible workaround would be to set
PropertyBag["javascript"] = "" during the action, so the ComponentFor
would overwrite it if present, and you won't get the not found error
On Fri, Oct 17, 2008 at 7:50 AM, di97mni <[EMAIL PROTECTED]> wrote:
>
> No one?
>
> On Oct 15, 10:27 am, "Martin Nilsson" <[EMAIL PROTECTED]> wrote:
> > using brail view engine
> > in some, not all, of my views I have
> >
> > <% component CaptureFor, {"id": "javascript"}: %>
> > <script>
> > //code
> > </script>
> > <% end %>
> >
> > in default.brail I have
> >
> > <html xmlns="http://www.w3.org/1999/xhtml">
> > <head>
> > ....
> > ${javascript}
> >
> > When I'm accessing views that don't have "component CaptureFor" I get
> > "Parameter 'javascript' was not found!"
> >
> > Also tried with ${?javascript} but that generates "Parser Error"
> >
> > Anyone that can tell me how to handle this for views that have no
> > CaptureFor?
> >
> > Cheers
> > Martin
> >
>
--
Ken Egozi.
http://www.kenegozi.com/blog
http://www.musicglue.com
http://www.castleproject.org
http://www.gotfriends.co.il
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---