myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafa PĂ©rez" <raja...@gmail.com>
Subject Re: Can a JSF page be in database?
Date Fri, 11 Apr 2008 11:47:37 GMT
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 <antongavazuk@gmail.com>
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, hermod.opstvedt@dnbnor.no <hermod.opstvedt@dnbnor.no>:
> >
> >
> > 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:javaone9@yahoo.com]
> > 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.
> >
> > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * *
> >
> >
>

Mime
View raw message