[Seaside] magritte forms - how to call and render forms?
Richard Durr
richard.durr at googlemail.com
Wed May 5 12:16:25 UTC 2010
Why not like this?
SidebarComponent >> renderAnchorsOn: html
html anchor
callback: [ self mainArea call: (someObject asComponent addValidatedForm) ];
with: 'Change MainArea'.
On Tue, May 4, 2010 at 2:59 PM, sergio_101 <sergiolist at village-buzz.com> wrote:
>> In my Menu Planner, I do this:
>>
>> self call: MPRecipe bananaLoaf asComponent.
>>
>> MPRecipe has all the class-side Magritte goodies like descriptionName etc.
>
> what this does is fire off the magritte form in the current component..
>
> what i would like to do is programmatically tell mainArea to fire off
> the magritte form..
>
> i think i am just approaching this wrong..
>
> the idea is that i have an anchor in a left sidebar..
>
> when it is clicked, i would like to replace the mainArea(the center
> column) with the form..
>
> thanks!
>
>
>
> --
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the seaside
mailing list