1 Sep 2006 04:41
[Pier/Magritte Question] Customizing Edit Form Page
Bill Sun <billksun <at> yahoo.com>
2006-09-01 02:41:42 GMT
2006-09-01 02:41:42 GMT
Hi all,
I want to make changes to the "Edit Form" page, specifically, I want to add commands to allow the reordering of the html elements, so that I can re-arrange the order of the elements after I have created them. Where do I make the changes at?
I traced the code back to MAContainerComponent, but got lost there.
-Bill
I want to make changes to the "Edit Form" page, specifically, I want to add commands to allow the reordering of the html elements, so that I can re-arrange the order of the elements after I have created them. Where do I make the changes at?
I traced the code back to MAContainerComponent, but got lost there.
-Bill
_______________________________________________ SmallWiki, Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________ Smallwiki mailing list Smallwiki <at> impara.de http://impara.de/mailman/listinfo/smallwiki
The problem was that the description of the container didn't set the
children to ordered and then the report didn't display the 'up' and
'down' links. This bug is fixed in Magritte-Model-lr.225. Thanks for
reporting.
MAContainer class>>descriptionChildren
^ (MAToManyRelationDescription accessor: (MASelectorAccessor read:
#children write: #setChildren:) label: 'Elements' priority: 400
default: self defaultCollection)
classes: (MADynamicObject on: [ MAElementDescription
withAllConcreteClasses ]);
beOrdered; " <--- this was missing "
yourself
Some background information: The Form Editor in Pier is completely
auto generated, there is no additional code. In contrary the editor
in Aare, a commercial workflow definition and management system, has
been especially customized for this application. Therefor it displays
only a small selection of relevant tools for our customer.
> Let me know if I'm still not making much sense here. This meta
> stuff and Smalltalk are still very new to me, so I might not be
> using the correct terminologies here.
Btw, I'll be at Camp-Smalltalk and ESUG in Prague starting from
Saturday for a week. If anybody is interested to participate and I
find some spare time I would like to start with new (not sure yet if
this will be 1.1 or 2.0) and rethought version of Magritte. And yes,
I will also give two Seaside related presentations
RSS Feed