Apotomo is a MVC widget framework for Rails. Widgets are based on Cells and provide reuseable view components. Having bubbling events, they know when and how to update themselves via AJAX.
Questions tagged [apotomo]
10 questions
2
votes
2 answers
Integrating apotomo with RefineryCMS pages
I'd like to extend RefineryCMS's PagesController to use some apotomo widgets in our project.
I could potentially do an "override" of the PagesController, which copies it into my project, but I'm using another engine that extends the PagesController…

JasonTrue
- 19,244
- 4
- 34
- 61
1
vote
1 answer
Can Apotomo render pass parameters?
I am using Apotomo with Rails and I have some code that looks like this:
root.find_widget(:messages).render :state => :display
which works fine.
I would like to pass some data along with that call. How do I do that?
I imagine something like…

starfry
- 9,273
- 7
- 66
- 96
1
vote
1 answer
Using Apotomo gem to build a user-driven widget page
I am trying to use apotomo for setting up widgets in my app and have been running into a few issues. I've tried researching, but haven't found anything useful yet. Hopefully, someone might have some experience here.
Here is my setup:
I have Users…

Nick
- 290
- 2
- 11
1
vote
1 answer
What is the black dot beside a jquery sortable element?
I'm using JQuery sortable for the first time, and I have a sortable list of elements all working ok (widgets, with a header and some internal form etc workings).
I've defined a header element as a handle for moving each widget in the list and that…

Mitch
- 1,017
- 1
- 13
- 25
0
votes
1 answer
Rails Controllers => params[]
Can someone please help me understand params in nested attributes a little better?
I am using Apotomo. But for the example. We could just assume its in the ApplicationController
I have a simple controller show action.
if params[:id].present?
…

Adam
- 4,054
- 4
- 25
- 28
0
votes
1 answer
Apotomo: How do you render a state/view that's in HTML format from another view that's in another format?
For reasons beyond this problem, I need to respond with JSON when creating an image:
<%=
raw({
...
:url => @image.url(:width => @width, :height => @height),
:edit_link => render({:state => :image_edit_table_cell, :template_format =>…

Ramon Tayag
- 15,224
- 9
- 43
- 69
0
votes
1 answer
How to override url_for_event in Apotomo to always include a parameter?
To get to run Cucumber with my app and subdomains, I read that I should add default parameters to the default_url_options.
However, I can't seem to find a way to add default parameters to the url_for_event helper that Apotomo gives. I believe this…

Ramon Tayag
- 15,224
- 9
- 43
- 69
0
votes
2 answers
View component in Rails
Is there any gem available for implementing view components in Rails? I had look at 'cells' and 'apotomo'. I found them good but documentation is not updated for the latest versions. Any one knows about any other good gem for implementing widgets…

Vishakha
- 421
- 4
- 7
0
votes
1 answer
Kaminari in Apotomo widget, links messed up
I have Kaminari pagination inside an apotomo widget.
The pagination links render as expected until an apotomo event is fired. Then the pagination links render with a href that appears to be the url of the previous apotomo…

rigyt
- 2,219
- 3
- 28
- 40
0
votes
1 answer
Apotomo alternative
The information on the home page of the project I'm working has been piling up that now we are looking for something to create a dashboard-like interface.
That's how I found Apotomo, but I'm wondering what would be some alternatives worth looking…

Marius Butuc
- 17,781
- 22
- 77
- 111