Is there any User Interface Library for rails?

Hi guys,
I ever used YUI(Yahoo User Interface Library). It’s great. But it
is hard to use within Rails. I wants to implement the modal dialogs
using such a library. Is there any User Interface Library for rails?

You can try out ExtJS. Iam not sure this is what you expect.

Thank you very much. I get the ExtJS plugin for Rails, it’s wonderful.

On 12ÔÂ10ÈÕ, ÏÂÎç12ʱ58·Ö, Ayyanar Aswathaman <rails-mailing-l…@andreas-

Is there plugin exists for EXTJS-RAILS?

Daniel C. wrote:

Thank you very much. I get the ExtJS plugin for Rails, it’s wonderful.

On 12��10��, ����12ʱ58��, Ayyanar Aswathaman <rails-mailing-l…@andreas-

Can u share from where u got the ExtJS plugin for Rails… and how to
install it

Check out Redbox
http://blog.craigambrose.com/articles/2006/08/16/redbox-a-rails-compatible-lightbox,
I have used it and it is awesome.

On Dec 9, 2007 8:13 PM, Daniel C. [email protected] wrote:

Hi guys,
I ever used YUI(Yahoo User Interface Library). It’s great. But it
is hard to use within Rails. I wants to implement the modal dialogs
using such a library. Is there any User Interface Library for rails?


http://www.rubyplus.org/
Free Ruby Screencasts

Bala P. said the following on 19/12/07 05:17 AM:

Check out Redbox
http://blog.craigambrose.com/articles/2006/08/16/redbox-a-rails-compatible-lightbox,
I have used it and it is awesome.

I can see where it would be useful.

I do wonder about using something like that for error handling though.

Suppose I have an “Oops” mechanism, perhaps with controller and
templates, perhaps not. It would be invoked programmatally with
arguments.

It may be simply a “I’m sorry Dave, you can’t do that” access control an
go back yo where you were, or more sophisticated with redirect on close,
buttons …

Of course I want this to be lightweight :slight_smile:

Of course I can’t pre-load the page with every possible error and
dialogue box.

I looked at the Yahoo User Interface Library but the learning curve is
steep for such simple requirements. All the components seem to be in
scrptalicious but is there a plugin or … something … that bundles
them nicely?


If you need to be told what your values are
the implication is that you don’t hold them right now.

If you hold your values strongly enough,
you don’t need to print them out and stick them on a wall.

If everyone shares them,
they don’t need to read them off a wall, either.
– Marcus J. Ranum

On Dec 19, 2007, at 9:47 AM, Anton J Aylward wrote:

Of course I can’t pre-load the page with every possible error and
dialogue box.

You can do remote calls with RedBox. Something like
link_to_redbox_remote or link_to_remote_redbox. I tried it once
earlier this year and it was pretty slick. I had some problems with
it not working correctly in IE6 and the author never responded to my
requests for help, so I gave up and took it out.

Phillip

On Dec 19, 2007 10:47 AM, Anton J Aylward [email protected] wrote:

I do wonder about using something like that for error handling though.

the implication is that you don’t hold them right now.

If you hold your values strongly enough,
you don’t need to print them out and stick them on a wall.

If everyone shares them,
they don’t need to read them off a wall, either.
– Marcus J. Ranum

You want RJS. Here’s a good tutorial on the matter:
http://www.rubynoob.com/articles/2006/05/13/simple-rails-rjs-tutorial

Jason

Jason R. said the following on 19/12/07 10:51 AM:

You want RJS. Here’s a good tutorial on the matter:
太阳集团0638开头的网址✅【欢迎下载】

Hmm. To be honest I don’t find that helpful. There’s a lot it doesn’t
tell me.

What I have right now is an “Oops” (as in “Ooops!”) controller and a
small set of actions.
The views are all … well think of them as a big red box (no, not that
RedBox), possibly with a graphic of a bomb, an exclamation or question
mark or a ‘stop sign’ as appropriate. There’s the message and in most
cases an “OK” button. Simple modal box. The message may be an array.
The OK button is a link_to, usually back to the page that caused the
error.

There’s a small class of boxes that have more than one button. E.g

message => “You need to be logged in to do that”
buttons => [ { name => “Register” , :action => ‘register’ },
{ name => “Log In”, :action => ‘login’ },
{ name => “Go Back”, :action => link to calling page }
]

And an even smaller class that are actually dialogue boxes. Entering
authentication codes and the like.

I suppose that I can recycle the views for each action ?
But how much do I have to change my code?

I suspect that the warning boxes will be a lot simpler, just make the
box go away and the ‘previous’ page is still there.


The whole problem with the world is that fools and fanatics are always
so certain of themselves, and wiser people so full of doubts.
–Bertrand Russell

There seem to be some efforts regarding plugins for Rails and Ext JS.
Here are the ones I know of:

  • An “Experiment” providing Rails helpers for Ext JS, looks abandoned
    as code is no longer around: http://extonrails.com/

I recently played with Ext and Rails myself and documented the effort
here:
http://inside.glnetworks.de/2008/01/08/ext-js-and-rails-how-do-they-get-along/

This demonstrates basic solutions for Rails integration and features a
“soon-to-be-announced” Ext Scaffold Generator plugin for Rails - a
preview version is available on Rubyforge:
http://rug-b.rubyforge.org/svn/ext_scaffold

On 19 Dez. 2007, 10:29, Ayyanar from Aspire Systems <rails-mailing-