Displaying 8 results from an estimated 8 matches for "listcontroller".
2010 Jul 23
1
using listcontrol
hi, i a new to wxRuby, but have been able to create a frame/listcontrol and
fill the list with items.
What I do not understand is why the vertical scroll bar on the list does not
respond?
I have 15 items showing and 50 in the list. Do I need some event to
activatte it?
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2006 Apr 23
1
Fixes for ListControl
These patches fix the ListCtrl_virtual demo. Note I changed the loading
of the icon to the loading of a bitmap. I remember discussing this
before. For some reason the .xpm loader isn''t initialized properly for
Wx::Icon. However, the function will take a bitmap just fine so this
works. This also adds directors for wxListItem and wxListEvent
Roy
2006 Jun 17
2
how to delete a parent record and child records?
...the
show.rhtml for my ''list'' view. That works great. And I can destroy a
customer record just fine (using the auto-generated destroy link). But I
can''t figure out how to also destroy the accounts that are associated
with a customer via customer_id.
I have a
class ListController < ApplicationController
that lists all the customers, no problem.
That ListController class has the default destroy method that deletes
the selected customer from the database, simply:
Customer.find(params[:id]).destroy
My questions:
1) Should a MySQL foreign key have been created (eith...
2006 Jun 28
4
argument out of range...
...@notams.push(notam) if (to_secs(notam.debut)<Time.now.to_i and
to_secs(notam.fin)>Time.now.to_i)
end
end
def to_secs(str = nil)
Time.gm(2000+str[0..1].to_i, str[2..3].to_i, str[4..5].to_i,
str[6..7].to_i, str[8..9].to_i).to_i if str
end
[/code]
It tells me : "ArgumentError in ListController#fir_tahiti - argument out
of range".
I already spend hours on this and i can''t find a solution...
Plz help me !!!
--
Posted via http://www.ruby-forum.com/.
2006 May 24
0
Routes recognition problem
...r.rb
/app/controllers/admin/sidebar_controller
/app/controllers/community/input_controller.rb
/app/controllers/community/sidebar_controller.rb
Each of those controllers is declared with the appropriate module like so
class Admin::NewController < ApplicationController
# ...
end
class Admin::ListController < ApplicationController
# ...
end
class Admin::SidebarController < ApplicationController
# ...
end
class Community::InputController < ApplicationController
# ...
end
class Community::SidebarController < ApplicationController
# ...
end
I have the following subdirectories in a...
2005 Nov 12
2
undefined method `protocol' for nil:NilClass
...development log below. Versions are in the trace.
Does anyone know the cause, or have an idea/hint/solution for this? :-)
Thanks!
Allen
======= Error Page:
NoMethodError in List#index
undefined method `protocol'' for nil:NilClass
script/server:49
======= development.log:
Processing ListController#index (for 127.0.0.1 at Sat Nov 12 10:29:43
EST 2005)
Parameters: {"action"=>"index", "controller"=>"list"}
Rendering within layouts/application
Rendering list/index (200 OK)
NoMethodError (undefined method `protocol'' for nil:NilClass):...
2005 Jul 15
5
Nested Controllers
Hi there,
I wondered if anybody had any experience with having nested
controllers?For example, I''d like a hierarchy something like this:
/product
/product/list
/product/detail
/product/detail/category
I can''t find any documentation on this, so any advice/experience
anybody might have would prove useful.
N.B. This is for a generator which builds Views and Controllers
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version"
This series removes some of the really old deadwood from the tools build
and makes some other things which are on their way out configurable at
build time with a default depending on how far down the slope I judge
them to be.
* nuke in tree copy of libaio
* nuke obsolete tools: xsview, miniterm, lomount & sv
*