i am currently adding the ability to host a podcast with pier..
since a podcast is really just a specialized blog, i thought about
doing it two ways.
one, add the required fields to the blog class. then, i would subclass
PBBlogRssView and PBEntriesRssView and change their render methods..
or two, i could subclass PBBlog and make a whole new object.
i like the idea of subclassing PBBlog, but i don't know how magritte
would handle such a thing..
anyone have any pointers?
thanks!
--
----
peace,
sergio
photographer, journalist, visionary
http://www.CodingForHire.comhttp://www.coffee-black.comhttp://www.painlessfrugality.comhttp://www.twitter.com/sergio_101http://www.facebook.com/sergio101
What VM is the one click image running. I recently tried to install the
image from the one click package but it failed because the image had been
saved using the COG VM.
Hi,
my goal is to display Pier environment as Seaside subcomponent.
I have some problem ....
First i create a class:
WAComponent subclass: #TestMultiPier
instanceVariableNames: 'pageA pageB tabs task'
classVariableNames: ''
poolDictionaries: ''
category: 'DTR-TestPier'
the
initialize
super initialize.
tabs := OrderedCollection new.
nomeKernel := 'pier'.
pageA := PRPierFrame on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )).
self initTopMenuFor
the
initTopMenuFor
tabs add: 'PageA' -> pageA.
the
renderContentOn: html
html text: 'Prova gestione multi Pier istance'.
html paragraph: Time now.
self renderTopMenuOn: html.
task ifNotNil:[ html div id: 'divTabMst';
with:[ html render: task]]
the
renderTopMenuOn: html
html unorderedList id: 'menu'; with: [
tabs do: [ :each |
html listItem: [
html anchor
class: (task = each value
ifTrue: [ 'active' ]);
callback: [ task := each value ];
with: each key ] ] ]
Now when clic on the PageA link the system rendering the Pier page correctly.
The error is erase when i click on sub link ( of the Pier main page ) Information or Environment.
The system report the error:
UndefinedObject(Object)>>doesNotUnderstand: #context:
PRCurrentContext class>>value:
[] in PRContext>>activationCallback
BlockClosure>>valueWithPossibleArguments:
WAActionCallback>>evaluateWithArgument:
WAActionCallback(WACallback)>>evaluateWithFieldValues:
[] in WACallbackRegistry>>handle:
OrderedCollection>>do:
WACallbackRegistry>>handle:
[] in [] in WAActionPhaseContinuation>>runCallbacks
BlockClosure>>on:do:
WAActionPhaseContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo:
[] in WAActionPhaseContinuation>>runCallbacks
BlockClosure>>ensure:
WAActionPhaseContinuation>>runCallbacks
WAActionPhaseContinuation>>handleRequest
[] in WAActionPhaseContinuation(WASessionContinuation)>>basicValue
BlockClosure>>on:do:
WAActionPhaseContinuation(WASessionContinuation)>>withUnregisteredHandlerDo:
WAActionPhaseContinuation(WASessionContinuation)>>basicValue
Because this ?
Thanks,
Dario
Hi,
i create small book based on PRBookDistribution.
Now i have 2 question:
A) How i can save it in PDF format ?
B) After create and update the pages with the Pier editor ( Login and edit the structures ) i can save the change to the original methods ?
This for save and generate a new structure ( in other image ) update with the last change.
The same question is relative to save the note add by user.
Thank for any consideration,
Dario