[Amrita2-users] newbie questions

RR security.identity at gmail.com
Fri Mar 31 11:26:16 EST 2006


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-



More information about the Amrita2-users mailing list