[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problem with Amrita

Miquel Oliete

10/28/2006 3:25:00 PM

Hi all

I'm a ruby newbie and I'm trying to do something with templates using
Amrita.

I have a template which contains html with some <div id="something">...</div>
into it and Amrita doesn't generate this chunk of html because it gets
because there is no something data into the structure.

Do you know if there is a way to jump over this problem?

Do you think Amrita is not good enough and you can tell me something better?

Thanks in advance

Kind regards

--

Miquel (a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux Wolverine 2.6.14)

Welcome to the jungle, we got fun and games
Guns n' Roses


______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice...

2 Answers

Gavin Sinclair

10/28/2006 3:32:00 PM

0

Miquel Oliete wrote:
>
> I have a template which contains html with some <div id="something">...</div>
> into it and Amrita doesn't generate this chunk of html because it gets
> because there is no something data into the structure.
>
> Do you know if there is a way to jump over this problem?

It's been a while, but I'm pretty sure you can get Amrita to use
something other than "id" as its anchor. It seems a bit silly to me to
use "id" for two unconnected things.

> Do you think Amrita is not good enough and you can tell me something better?

Amrita's fine. There are other options that will probably be faster or
may appeal to you (in terms of the way they do things) but Amrita can
get the job done elegantly.

Cheers,
Gavin

Miquel Oliete

10/28/2006 4:28:00 PM

0

On Sun, 29 Oct 2006 00:35:12 +0900
Gavin Sinclair wrote:

> Miquel Oliete wrote:
> >
> > I have a template which contains html with some <div id="something">...</div>
> > into it and Amrita doesn't generate this chunk of html because it gets
> > because there is no something data into the structure.
> >
> > Do you know if there is a way to jump over this problem?
>
> It's been a while, but I'm pretty sure you can get Amrita to use
> something other than "id" as its anchor. It seems a bit silly to me to
> use "id" for two unconnected things.
Are you telling me that I can use another "keyword" different than id
to tell Amrita where it must change when I call the expand method?How
can I do this?
>
> > Do you think Amrita is not good enough and you can tell me something better?
>
> Amrita's fine. There are other options that will probably be faster or
> may appeal to you (in terms of the way they do things) but Amrita can
> get the job done elegantly.
>
> Cheers,
> Gavin
>
>


--

Miquel (a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux Wolverine 2.6.14)

Welcome to the jungle, we got fun and games
Guns n' Roses


______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto.
http://es.voice...