Displaying 4 results from an estimated 4 matches for "lb8sqxizkshbdgjk7y7tuq".
2005 Dec 23
4
DRY relative to edit and show
I''m a newbie, but it seems like edit and show should somehow share a
partial form.
In particular I''ve customized the layout of my edit form by using a
table and multiple rows/columns and I want my show form to look the
same.
Currently I''ve modified my show view to use _form, but now all the
fields are read/write and obviously they need to be read only on the
show form.
2005 Aug 06
3
Macromedia Flash Loading Issues
I''ve discovered something very odd about the way Rails is handling
Flash media. I am attempting to load a partial that contains the code
for a flash adverstisment for the website. It was working ok when the
code was in the page, but once I pulled it out to a partial (so I
could use it on other pages) it stopped working.
<%= render(:partial =>
2005 Dec 27
0
Edge Rails idea -- was [DRY relative to edit and show]
...the readonly
> attributes (or enabled, etc... as appropriate for the control) to true or
> false based on the view being a show or edit. This would eliminate the
> duplication we see between the actions.
>
> Just my opinion!
>
> Michael
>
>
> Toby Boudreaux <rails-lb8SQxIZKShBDgjK7y7TUQ@public.gmane.org> wrote:
> If none of your fields in your ''show'' action are editable, why do you
> want to use a form?
>
> Assuming you want a form (in a table) for editing and a table for
> showing, it isn''t redundant (or in violation of the DRY rule) t...
2005 Dec 23
5
AJAX : Server to Client callback possible ?
hi,
is there a way (with rails) to have live updates triggerred by the
server on the client side?
is there a little javascript lib i didn''t know that can listen to
incoming server orders....
a friend of mine thought about an hidden .swf to make the socket
connection and that can launch javascript instructions into the client
web page.
any working solutions to point me to ?
thanks