From: Jean P. M. <jp....@fr...> - 2007-11-19 21:11:09
|
Le 19 nov. 07 =E0 21:52, Anjo Krank a =E9crit : > I so throughly hate the edit relationship page in D2W that I never =20 > bothered to check... > > You can of course just use the original, like =20 > NEUD2WEditRelationshipPage or whatever it is called, you could =20 > create your own or you can think a bit more about this... there are =20= > a *lot* of ways to edit a relationship, small, large, owned, =20 > selectable etc. All of them can be pretty easily done in ERD2W. I'd =20= > rather you think about the specifics of what you want as UI and then =20= > we can help you with it. I just wanted to show a prototype very soon to my collegues, so that =20 is why I hoped to use a ready-made solution. I am not very interested =20= in the UI at this stage (this will be an internal app, used by 10 =20 persons), I just want to validate the model and basic editing =20 functionality. But you are right. The "standard", neutral look-like UI is not what I =20= want here. In fact I do not want to select existing objects and add =20 them to the to-many. I just want to be able to add new objects to the =20= relationship and delete objects. Is that functionality built-in within ERD2W, or do I have to implement =20= it by writing my own components? Thanks. > > > Cheers, Anjo > > Am 19.11.2007 um 21:26 schrieb Jean Pierre Malrieu: > >> Now that I have trashed the Neutral look, I enjoy automatic >> localization of templates. Really great! >> >> But now I am lost with the editing of to-many relationships (they =20 >> were >> working with the Neutral look). >> >> If I setup a rule like the one in BugTracker: >> >> (task =3D 'edit' and smartRelationship.isToMany =3D 1) =3D=3D> =20 >> componentName =3D >> "ERD2WEditToManyRelationship" >> >> then the relationship display nothing :( (there is nothing to >> display yet, but I mean no way to edit it ) ) >> >> If I set a rule like: >> >> (task =3D 'edit' and smartRelationship.isToMany =3D 1) =3D=3D> =20 >> componentName =3D >> "ERD2WEditToManyFault" >> >> then a browser is displayed, with an edit button for the =20 >> relationship. >> But if I click on the EditButton, I get the following exception: >> >> Could not find a page in <D2WContext task=3DeditRelationship, >> entity=3DResultatScolaire, propertyKey=3Dnull, >> pageConfiguration=3DEditRelationshipResultatScolaire> >> >> I suppose I have to write a rule like >> >> pageConfiguration =3D 'EditRelationshipResultatScolaire' =20 >> =3D=3D>pageName=3D??? >> >> but I could not figure it out the right-hand side. >> >> JPM >> >> >> >> = ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Wonder-disc mailing list >> Won...@li... >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > > |