[Dynapi-Help] TemplateManager & HTMLComponent fi

2003-07-13 Thread Raymond Irving
[*] Updated quickrefs (See docs/docs/quickref.html) [-] Fix HC problem in Opera - use [^\[] instead of [^]] inside template manager [+] Add a name field to HC form elements inside the constructor. Also add a setElementName() field [-] Fix HTMLMenu problem with submenus by adding subMnuOffset to cr

Re: [Dynapi-Dev] Re: [Dynapi-Help] TemplateManager

2003-06-25 Thread Raymond Irving
--- Dev <[EMAIL PROTECTED]> wrote: > Hi! > > Raymond, thats it!!! > > It sounds great with the clone, i think that was the > thing i was after :) > > > tp.cloneField('field1', 'field1.1','field1.2'); > > tp.addChild(new DynLayer(),'field1.1'); > > tp.addChild(new DynLayer(),'field1.2'); > > So

Re: [Dynapi-Dev] Re: [Dynapi-Help] TemplateManager

2003-06-25 Thread Dev
Hi! Raymond, thats it!!! It sounds great with the clone, i think that was the thing i was after :) > tp.cloneField('field1', 'field1.1','field1.2'); > tp.addChild(new DynLayer(),'field1.1'); > tp.addChild(new DynLayer(),'field1.2'); So if i get this right, the cloneField will take the first par

Re: [Dynapi-Dev] Re: [Dynapi-Help] TemplateManager

2003-06-24 Thread Raymond Irving
Hi, The Template object is basically a DynLayer with an html template as it's content. Fields are basically placeholders and/or containers. Only one DynLayer can be added to a field at any one time. The TemplateManager (TM) allows you to replace a field's object or content at any time: example:

Re: [Dynapi-Dev] Re: [Dynapi-Help] TemplateManager

2003-06-24 Thread Dev
Hi Raymond, and the rest of you all. What i was trying to explain (althought very fuzzy) was that it would be great to be able to add more than one layer to one field. Example: 1. I create a template with 2 fields, call them field1 and field2 2. I add one dynlayer, lyr1 to field1 3. I add anot

Re: [Dynapi-Help] TemplateManager

2003-06-24 Thread Raymond Irving
Sorry Daniel, I don't think I understand the question. Could you please give examples and a little more explanation? -- Raymond Irving --- Dev <[EMAIL PROTECTED]> wrote: > Hi! > > I was wondering if there is any way to add more than > one part to a field? Or atleast get the same result > as add

[Dynapi-Help] TemplateManager

2003-06-24 Thread Dev
Hi! I was wondering if there is any way to add more than one part to a field? Or atleast get the same result as adding 2 parts to the same field. Now the part will be overwritten. Regards Daniel --- This SF.Net email is sponsored by: INetU A

[Dynapi-Help] TemplateManager new field format

2003-06-05 Thread Raymond Irving
Hi, I'm thinking about changing the way we now enter embed fields within an html template. The old way: [EMAIL PROTECTED] The new way: {fieldname} {fieldname[ This is a multi-line embedded field tex/html block ]} Which format do you think is best? -- Raymond Irving ___