new PRWidget problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

new PRWidget problem

Oleg Korsak
Still no luck :( I can't see it in the list. Also I can't see that "#label" in other PRWidget subclasses.
Ok, I have a "file out" of my package with just one PRWidget subclass:

PRWidget subclass: #PMKHeaderWidget
    instanceVariableNames: ''
    classVariableNames: ''
    poolDictionaries: ''
    category: 'Pier-My-Widgets'!

!PMKHeaderWidget methodsFor: 'rendering' stamp: 'kmz 5/29/2007 03:19'!
renderContentOn: html
    html header: 'yoyo'.
! !


!PMKHeaderWidget methodsFor: 'initialization' stamp: 'kmz 5/29/2007 02:52'!
initialize
    super initialize.! !


!PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
asLabel
    ^ 'KmzHeader'! !

!PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
defaultCssClass
    ^ 'box'! !

!PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
isAbstract
    ^ false! !

!PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
label
    ^ 'KmzHeader'! !

------
I have an image running with this package on: http://kamikaze.seasidehosting.st  (editale, feel free to break all :))



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: new PRWidget problem

Lukas Renggli-2
> Still no luck :( I can't see it in the list. Also I can't see that  
> "#label" in other PRWidget subclasses.

It is on the class side.

> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
> asLabel
>     ^ 'KmzHeader'! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
> defaultCssClass
>     ^ 'box'! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
> isAbstract
>     ^ false! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
> label
>     ^ 'KmzHeader'! !

All the above methods belong to the class side.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: new PRWidget problem

Oleg Korsak
Thanks, finally it works :)

2007/5/29, Lukas Renggli <[hidden email]>:
> Still no luck :( I can't see it in the list. Also I can't see that
> "#label" in other PRWidget subclasses.

It is on the class side.

> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
> asLabel
>     ^ 'KmzHeader'! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
> defaultCssClass
>     ^ 'box'! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:16'!
> isAbstract
>     ^ false! !
>
> !PMKHeaderWidget methodsFor: 'accessing' stamp: 'kmz 5/29/2007 03:04'!
> label
>     ^ 'KmzHeader'! !

All the above methods belong to the class side.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki