regards,
Martin
On 7/28/05, Maksimenko Alexander <[EMAIL PROTECTED]> wrote:
Balaji Saranathan wrote:
> I know....Heard very often of the saying " Frames are Evil" ;-) But
> there is one thing that we do not want to compromise on...
> It is the resizing of the width of the navigation tree on the left. I
> know horizontal scroll bars will help but our user interface guide
> lines do not accept that. The user should have the facility to drag
> the width of the navigation tree on the left, just like how you do on
> the Eclipse Navigation View Pane.
>
We had the same problem. And firstly begin to work with frames but got
many problems using them. One of them is architectural because for every
server side action you should decide weather we need refresh neighbor
frames or not. And it was problem - it can be solved but not very cleanly.
Now we use tiles and task about resizing was solved by our good
_javascript_-er ;)
Only thng that I dont like it's necessity to wrap any text with
verbatium tag. It realy makes js page not readable. So we look forward
for tapestry like component definition ;)
> I have not come across any solution for this other than frames yet.
> Probably a custom container component similar to JScrollPane in
> Java Swing might help. But such a component on the HTML rendering??
> *sigh* Need a lot of time for me to do that which is not at our disposal.
>
>
> -----Original Message-----
> *From:* Martin Marinschek [mailto: [EMAIL PROTECTED]]
> *Sent:* Wednesday, July 27, 2005 1:09 PM
> *To:* MyFaces Discussion; [EMAIL PROTECTED]
> *Subject:* Re: MYFaces and frames
>
> Well,
>
> you are certainly right with that ;)
>
> regards,
>
> martin
>
> On 7/27/05, *[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>*
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
> hi i know this is probably not the answer you like, but why do
> you want
> to use a frameset? wouldn't it be better to use tiles, frames
> always
> cause problems, especially dealing withbowser compatibility
>
> Balaji Saranathan wrote:
>
> > Hi,
> >
> > I'm trying to create a prototype of Frames and MyFaces. My
> index.jsp
> > looks like the below. At present my header.jsp and
> navtree.jsp do not
> > have anything other than a out.println under <f:view> tag.
> Whenever I
> > access the application, I get this error.
> >
> > Is there any best practices to work with frames? How is the
> page
> > rendered. Should each jsp file under each frame should be
> included in
> > <f:subview> instead of <f:view>.
> >
> >
> > org.apache.jasper.JasperException
> >
> > org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:373)
> >
> >
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> >
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > *root cause*
> > java.lang.NullPointerException
> >
> >
> javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:646)
> >
> >
> >
> javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:254)
> >
> >
> org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:90)
> >
> > org.apache.jsp.index_jsp._jspx_meth_f_view_0
> (org.apache.jsp.index_jsp:80)
> >
> org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:56)
> >
> >
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
> > javax.servlet.http.HttpServlet.service
> (HttpServlet.java:802)
> >
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
> >
> >
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
> >
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java :245)
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >
> >
> >
> > <%@ page language="java" contentType="text/html" %>
> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
> > <%@ taglib uri=" http://java.sun.com/jsf/core
> <http://java.sun.com/jsf/core>" prefix="f" %>
> >
> > <f:view>
> > <frameset rows="46,*" frameborder="yes" framespacing="0"
> border="2">
> > <frame src="" header.jsf" name="header" scrolling="no"
> > noresize="noresize"/>
> > <frameset cols="20%,80%" border="2" frameborder="no"
> > framespacing="2" >
> > <frame src="" name="navigation"
> frameborder="no"/>
> > <frameset rows="90%,22" frameborder="no"
> > framespacing="0">
> > </frameset>
> > </frameset>
> > </frameset>
> > </f:view>
> >
> >
> >
> > Confidentiality Notice
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended
> > for the exclusive use of the addressee(s) and may contain
> confidential
> > or privileged information. If
> > you are not the intended recipient, please notify the sender
> at Wipro
> > or [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]> immediately
> > and destroy all copies of this message and any attachments.
> >
> >------------------------------------------------------------------------
>
> >
> >No virus found in this incoming message.
> >Checked by AVG Anti-Virus.
> >Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date:
> 25.07.2005
> >
> >
>
>
>
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any
> attachments to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential
> or privileged information. If
> you are not the intended recipient, please notify the sender at Wipro
> or [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>

