57 |
push @w, $w; |
push @w, $w; |
58 |
} |
} |
59 |
|
|
60 |
|
push @w, Strix::View::User->new( render_as => 'edit' ); |
61 |
|
|
62 |
while ( 1 ) { |
while ( 1 ) { |
63 |
|
|
64 |
|
warn "# got $#w elements\n"; |
65 |
|
|
66 |
my $form = join('<hr/>', map { $_->process($f) } @w ); |
my $form = join('<hr/>', map { $_->process($f) } @w ); |
67 |
my $doc = Continuity::Widget::DomNode->create( |
my $doc = Continuity::Widget::DomNode->create( |
68 |
html => [ |
html => [ |
69 |
head => [ |
head => [ |
70 |
link => { rel=>"stylesheet", href=>"form.css", type=>"text/css" } |
link => { rel=>"stylesheet", href=>"/static/form.css", type=>"text/css" } |
71 |
], |
], |
72 |
body => [ |
body => [ |
73 |
h1 => [ 'Strix::User' ], |
h1 => [ 'Strix::User' ], |
74 |
form => { method=>'post' } => [ |
form => { method=>'post' } => [ |
75 |
$form |
$form, |
76 |
], |
], |
77 |
], |
], |
78 |
] |
] |
82 |
$req->next; |
$req->next; |
83 |
|
|
84 |
$f = { $req->params }; |
$f = { $req->params }; |
|
warn "...here we go again..."; |
|
85 |
} |
} |
86 |
|
|
87 |
warn "NO WAY OUT!"; |
warn "NO WAY OUT!"; |