[Nitro] nobody there?

Emmanuel Piperakis epiperak at softlab.ece.ntua.gr
Wed Sep 7 05:11:51 EDT 2005

why doesn't anybody answer? :-(

The problem I am facing in kind of this:

most of the Mixin functions return a string using the %| .... | which 
evaluates correctly when I pass #{...} in it, but when I use it in the 
.xhtml files is is not correctly proccessed, eg

in the controller I have

def link_pop(function_s = "", label_s = "", caller_s = "", id_s = "")
   %|\#\{popup(:text => '#{label_s}', :uri => '#{function_s}/#{caller_s}/#{id_s}')\}|

which I pass to the view through this...
   @data = @bgroups.map {|b| [b.title_en, b.title_jp, b.creation,

then in the view I have...
       #{table(:headers => @header, :values => @data)}

but instead of getting the popup link I get a string like...
#{popup(:text => 'E', :uri => 'edi/bgroup/1')}

Please help here...

Emmanouil Piperakis (epiperak at cs.ntua.gr)
{To explore is Human, to Create is Devine,
  To teach is Primal, to Rule is Sin}

More information about the Nitro-general mailing list