On Mon, 31 Jan 2005 10:26:44 +0100, Homeijer, Michael <[EMAIL PROTECTED]> wrote: > About the javadocs: > every expression you use in jxpath or EL depends on the actual model (with or > without proxies). > > Docs could be generated from the mmbase configuration, possibly even dynamic > html pages. > Isn't there an app or something allready that generates documentation out of > the configuration?
-there is an ant target to generate builder documentation -I also created kedit that generates javascript/dhtml uml diagrams of a live cloud (you could call this experimental code) but it's in speeltuin/keesj/kedit -maybe the admin modules also have something. > > Michael > > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] namens Kees Jongenburger > Verzonden: zo 30-1-2005 9:34 > Aan: [email protected] > CC: > Onderwerp: Re: [Developers] Re:[MMBASECVS]src/org/mmbase/bridge/util > MapNode.java > > > > Besides making some classes public in the dynclass project, you > will have to create > >a method, to define a class definition for your dynamic class that > represents your > >node. This is a start of the method that only exposes the fields, but > you could also > >expose relations and other usefull stuff. > > Great stuff. > > You might even implement methods based on you object model > getRelatedImages(); > That would return the related images using posrel, and actualy sort > the posrels :) > > The drawback of using those tricks is that there will be no javadocs. > the aviable methods will depend on you datamodel. > > If we go that way, it might also be the moment to introduce the > concept of RelatedNode. > RelatedNode is a node that was retrieved using a getRelatedNodes. Just > like a normal node you can edit it. The difference is that a related > node also contains the relation that was used to retrieve the node. > This solves the problem that currently you must choose between getting > the related node or the relation and if you have one of both is't > difficult to get the other. When do you need both?. Usualy when you > want to edit the posrel of a related node or when you want to sort > related nodes but don't want to use cloud.getList > > greetings > _______________________________________________ > Developers mailing list > [email protected] > http://lists.mmbase.org/mailman/listinfo/developers > > > Disclaimer > > Dit bericht met eventuele bijlagen is vertrouwelijk en uitsluitend bestemd > voor de geadresseerde. Indien u niet de bedoelde ontvanger bent, wordt u > verzocht de afzender te waarschuwen en dit bericht met eventuele bijlagen > direct te verwijderen en/of te vernietigen. Het is niet toegestaan dit > bericht en eventuele bijlagen te vermenigvuldigen, door te sturen, openbaar > te maken, op te slaan of op andere wijze te gebruiken. Ordina N.V. en/of haar > groepsmaatschappijen accepteren geen verantwoordelijkheid of > aansprakelijkheid voor schade die voortvloeit uit (de inhoud van) de > verzending van dit bericht. > > This e-mail and any attachments are confidential and is solely intended for > the addressee only. If you are not the intended recipient, please notify the > sender and delete and/or destroy this message and any attachments > immediately. It is prohibited to copy, to distribute, to disclose or to use > this e-mail and any attachments in any other way. Ordina N.V. and/or its > group companies do not accept any responsibility nor liability for any damage > resulting from (the content of) the transmission of this message. > > > _______________________________________________ > Developers mailing list > [email protected] > http://lists.mmbase.org/mailman/listinfo/developers > > > > _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
