Hi Legolas,

I understand that you want some common fragment around the main content
of each page and at least one of those fragments should be dynamic ( in
your case a Tree ).

Yes, you could go ahead and start using HTML-frames for this, but I
don't see why you would want to.
Using HTML-frames will result in the browser sending multiple request to
you application for just fragment of the page. My guess is, that this
will lead to all kind of problems with navigation-rules.

What you want is some kind of templating and you don't need HTML-frames
for that. 

You should build a template holding all the common page fragments (
including your Tree ) and let all the individual pages in your
application use the temlpate.


I would like to advice to take a look at tiles
http://myfaces.apache.org/tomahawk/tiles.html or Facelets (
https://facelets.dev.java.net/ ) which both provide support for
templating.

Personally I like facelets very much and it allows me to build all the
elements on my page as seperate ui:components, each in their own
xhtml-file and build the pages reusing those components.

Good luck,
    Marco Beelen

Note: Recommended reading: Facelets fits JSF like a glove @ IBM
DeveloperWorks
http://www-128.ibm.com/developerworks/java/library/j-facelets/


 

-----Original Message-----
From: legolas [mailto:[EMAIL PROTECTED] 
Sent: donderdag 11 januari 2007 13:30
To: users@myfaces.apache.org
Subject: how to use html frame inside a jspf? (jsp fragment)


Hi
Thank you for reading my post.
I have several page fragment around main content of each page 
one of this fragments contain a tree which will grows in time.
what i want to do is:

create the fragment
add a frame inside it
add tree inside the frame.

is it do-able?

thanks
-- 
View this message in context:
http://www.nabble.com/how-to-use-html-frame-inside-a-jspf--%28jsp-fragme
nt%29-tf2958529.html#a8276509
Sent from the MyFaces - Users mailing list archive at Nabble.com.




------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------

Reply via email to