So i have an application that should take the html of one page which contains different custom directives.
and there is another page which will load the html of the first page and generate input fields according to the number of the custom directive (cms-input) existing in the first page and to the type specified.
so for example here is the first html page
<cms-input type='text' size='14' default='header' label='Header' ></cms:input>
<cms-input type='textfield' size='50' default='paragraph' label='Paragraph'> </cms:input>
the second page should load the first page and generate the fields :
<label>Header</label>
<input type='text' value='header'>
<label>Paragraph</label>
<textarea>paragraph</textarea>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…