Sha256: 6f37db44929a5b92c0a7fe72163fe404cd31a6d8830f744bcff9e8e0f791dc3f

Contents?: true

Size: 561 Bytes

Versions: 3

Compression:

Stored size: 561 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8
# Html::View::Navigation -- ydim -- 13.01.2006 -- hwyss@ywesee.com

require 'htmlgrid/divcomposite'
require 'htmlgrid/link'

module YDIM
	module Html
		module View
class NavigationLink < HtmlGrid::Link
	def init
		super
		self.value = @lookandfeel.lookup(@name)
		self.href = @lookandfeel._event_url(@name)
	end
end
class Navigation < HtmlGrid::DivComposite
	COMPONENTS = {
		[0,0]	=>	:debitors,
		[1,0]	=>	:invoices,
		[2,0]	=>	:logout,
	}	
  CSS_ID_MAP = ['navigation']
	DEFAULT_CLASS = NavigationLink
end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ydim-html-1.0.3 lib/ydim/html/view/navigation.rb
ydim-html-1.0.2 lib/ydim/html/view/navigation.rb
ydim-html-1.0.1 lib/ydim/html/view/navigation.rb