Problem with Amrita

M

Miquel Oliete

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.yahoo.com
 
G

Gavin Sinclair

Miquel said:
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
 
M

Miquel Oliete

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?
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.yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top