From de545935560f9d3c28ff35da2d9a179279b68a40 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 13 Dec 2006 10:42:43 +0000 Subject: Invalidate #413 --- .../tickets/protected/pages/Ticket413.page | 65 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket413.php | 31 +++++++++++ 2 files changed, 96 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket413.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket413.php (limited to 'tests/FunctionalTests/tickets') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket413.page b/tests/FunctionalTests/tickets/protected/pages/Ticket413.page new file mode 100644 index 00000000..90f8226c --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket413.page @@ -0,0 +1,65 @@ + + + + + + +

+ + + + + + To edit an existing location name simply edit one of the fields below: + + + + + + + + + +

+ + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket413.php b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php new file mode 100644 index 00000000..1da32b52 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket413.php @@ -0,0 +1,31 @@ +'ITN001','name'=>'Motherboard','quantity'=>1,'price'=>100.00,'imported'=>true), + array('id'=>'ITN002','name'=>'CPU','quantity'=>1,'price'=>150.00,'imported'=>true), + array('id'=>'ITN003','name'=>'Harddrive','quantity'=>2,'price'=>80.00,'imported'=>true), + array('id'=>'ITN004','name'=>'Sound card','quantity'=>1,'price'=>40.00,'imported'=>false)); + public function onLoad($param) + { + parent::onLoad($param); + + if (!$this->IsPostBack) + { + $this->locations_datagrid->setDataSource($this->_data); + $this->locations_datagrid->dataBind(); + } + + } + + public function bla($sender, $param) + { + $sender->Text = 'a'; + } + +} + +?> \ No newline at end of file -- cgit v1.2.3