[Nitro] Localization

Emmanuel Piperakis epiperak at softlab.ece.ntua.gr
Tue Sep 6 04:27:21 EDT 2005


> Hmm, try:
>
> <input value="[[save]]" type="save" />

This worked fine!

[[bgroup_creation]]: #{date_select(Time.now, :name => 'creation')}

but this does not work. It returns in the request the selected values but 
it does not store the in the object with the request.fill(object)

def save_bgroup
   puts request['creation']
   if request.post?
     bgroup = Bgroup.new
     request.fill(bgroup)
     bgroup.save
   end
   redirect_to_referer
end

any ideas?


>
> if that doesnt work escape this:
>
> <![CDATA[
> ...
> ]]>
>
> -g.
>
> On 9/6/05, Emmanuel Piperakis <epiperak at softlab.ece.ntua.gr> wrote:
>> Hi all,
>> how can I put localization in the Input tag?
>>
>> <input value=[[save]] type="save" />
>>
>> fails. It says...
>> malformed XML: missing tag start Line: Position: Last 80 unconsumed
>> characters:
>>
>> Any help?
>>
>> Emmanouil Piperakis (epiperak at cs.ntua.gr)
>> {To explore is Human, to Create is Devine,
>>   To teach is Primal, to Rule is Sin}
>> _______________________________________________
>> Nitro-general mailing list
>> Nitro-general at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/nitro-general
>>
>
>
> -- 
> http://www.gmosx.com
> http://www.navel.gr
> http://www.nitrohq.com
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>

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