[Seaside] trouble with callbacks
Jason Rogers
jacaetevha at gmail.com
Mon Aug 1 20:59:07 CEST 2005
On 7/29/05, Ramon Leon <rleon at insario.com> wrote:
> Show code.
renderMyContentOn: html
| itemView |
viewFilter := self getViewFilterFor: (self call: self criteriaComponent)
itemView := self viewFilter view.
itemView isEmptyOrNil
ifTrue:
[html divClass: #content with: [html text: 'None']]
ifFalse:
[bacthedListTableComponent tableHeaders: (self gatherHeadersFrom: itemView).
[bacthedListTableComponent data: itemView.
html render: [bacthedListTableComponent].
criteriaComponent
"answer a ShoreComponent that will be used to set my searchCriteria"
criteriaComponent
ifNil: [criteriaComponent := self criteriaComponentClass parent: self;
label: self filterName;
yourself].
^ criteriaComponent
--
Jason Rogers
"I am crucified with Christ: nevertheless I live; yet not I,
but Christ liveth in me: and the life which I now live in
the flesh I live by the faith of the Son of God, who loved
me, and gave himself for me."
Galatians 2:20
More information about the Seaside
mailing list