... or component-binding! regards,
Martin On 4/11/08, Rafa Pérez <[EMAIL PROTECTED]> wrote: > I don't know what you want to achieve by reading the jsp from a database. If > you need dinamically added pieces maybe you could use jsp:include, iframes > or facelets ui:composition. > > On Fri, Apr 11, 2008 at 1:29 PM, Anton Gavazuk <[EMAIL PROTECTED]> > wrote: > > > >>What I like to achieve is layout design that can be dynamically added > > Maybe its better to write custom component/filter for adding "dynamic" > > option > > Using DB for storing UI components - as for me its very ugly. > > > > 2008/4/11, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > > > > > > > Hi > > > > > > A JSF page is a JSP page which again gets compiled into a .java class - > > So: > > > No, you can't do that unless you start messing with the jsp compiler. > > > > > > A possible (but not recommended soulution) is to have a filter that > > loads > > > the file from database and writes it to disc. Then some of the jsp > > compilers > > > will see that a change has been made and then recompile it. > > > > > > You would be better off looking at (Shale) Clay or Facelets. > > > > > > Hermod > > > > > > > > > > > > -----Original Message----- > > > From: Dave [mailto:[EMAIL PROTECTED] > > > Sent: Friday, April 11, 2008 7:26 AM > > > To: users@myfaces.apache.org > > > Subject: Can a JSF page be in database? > > > > > > > > > > > > Hi, > > > > > > Normally JSF pages are package in a war file. Is it possbile to put a > > JSF > > > page in database, and loaded dynamically and rendered? What I like to > > > achieve is layout design that can be dynamically added. > > > > > > Thanks for any idea. > > > Dave > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > http://mail.yahoo.com * * * * * * * * * * * * * * * * * * * * * * * * * > > * * > > > * * * * * * * * * * * > > > > > > This email with attachments is solely for the use of the individual or > > > entity to whom it is addressed. Please also be aware that the DnB NOR > > Group > > > cannot accept any payment orders or other legally binding correspondence > > > with > > > customers as a part of an email. > > > > > > This email message has been virus checked by the anti virus programs > > used > > > in the DnB NOR Group. > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * > > > > > > > > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces