From matthew_pflueger at hotmail.com Wed Mar 22 16:50:16 2006 From: matthew_pflueger at hotmail.com (Matthew Pflueger) Date: Wed, 22 Mar 2006 16:50:16 -0500 Subject: [Amrita2-users] excluding tags Message-ID: I am very interested in utilizing Amrita2 for my latest Ruby on Rails project. However, I need the ability to put fake content directly in the html pages for demo purposes/peer review which will be automatically taken out upon html file compilation. For example:
nameauthor
my name1my author1
my name2my author2
my name3my author3
Any tag with class="mockup" (and its children) would be removed upon html to ruby compilation. Is this something Amrita2 already supports? If not, how hard would this be to implement? Thanks, Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/amrita2-users/attachments/20060322/e04dd8e5/attachment.htm From security.identity at gmail.com Fri Mar 31 11:26:16 2006 From: security.identity at gmail.com (RR) Date: Fri, 31 Mar 2006 09:26:16 -0700 Subject: [Amrita2-users] newbie questions Message-ID: Wondering what the difference is between Amrita2 and Amrita? I can't seem to find much documentation about that, or RDoc on Amrita2 for that matter. I *really* like the complete separation of UI development and back-end integration that Amrita2 enables. I have Amrita2 working through rails and am wondering: 1) How can I add/modify attributes through the associated elements id-method in my controller? That is, I have a submit button with the id="form_submit_button". How can I change its value attribute through: def form_submit_button #what goes here? end 2) Other than iterating elements (tr,li, etc.), is there a way to add a new element in the id-method in my controller? Thanks, -RR-