Have you tried explictly creating an enclosing form? Maybe it only creates a form if it doesn't find a parent form.
<h:form> blah blah blah </h:form> On 2/8/06, Hasnain Badami <[EMAIL PROTECTED]> wrote: > Hi > > I have tried creating the pages. When you create a panelTabbedPane it > generates a form tag. I used the following code > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > > <%@ taglib prefix="c" uri ="http://java.sun.com/jstl/core" %> > > <%@ taglib prefix="f" uri ="http://java.sun.com/jsf/core" %> > > <%@ taglib prefix="h" uri ="http://java.sun.com/jsf/html" %> > > <%@ taglib uri="http://myfaces.apache.org/tomahawk " > prefix="t"%> > > <f:view> > > <f:loadBundle basename="com.prytania.resource.Messages " var="messages"/> > > <html> > > <head> > > <title><h:outputText value="#{messages['title']}"/></ title> > > <t:stylesheet path="/report.css" /> > > </head> > > <body> > > <t:panelTabbedPane > > selectedIndex="#{TabSupport.selectedTabIndex}" > > styleClass="tabbedPane" > > width="100%" > > bgcolor="#FFFFCC" > > activeTabStyleClass="activeTab" > > inactiveTabStyleClass="inactiveTab" > > activeSubStyleClass="activeSub" > > inactiveSubStyleClass="inactiveSub" > > tabContentStyleClass="tabContent" > > > > > > > <t:panelTab label=" #{messages['portfolio_summary']}"> > > <f:verbatim> > > hi how are you > > </f:verbatim> > > </t:panelTab> > > <t:panelTab label=" #{messages['portfolio_detail']}"> > > <f:verbatim> > > hi how are you > > </f:verbatim> > > </t:panelTab> > > <t:panelTab label=" #{messages['portfolio_statistics']}"> > > <f:verbatim> > > hi how are you > > </f:verbatim> > > </t:panelTab> > > </t:panelTabbedPane> > > </body> > > <html> > > </f:view> > > > > On 2/8/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > > I remember seeing this problem posted on the jenia4 mailing lists. > > I'm still confused about it. As far as I know, > > myfaces:panelTabbedPane does not generate a form. Admittedly, I'm a > > bit behind on running the latest myfaces snapshot, but as of the Dec > > 11th snapshot (maybe even the Jan 2nd snapshot -- my version control > > contains conflicting information), this was true. > > > > I recommend being sure about what's generating the forms. > > > > Try creating a page with just a panelTabbedPane, a page with just a > > popupFrame, and a page with both and compare them. > > > > On 2/8/06, Hasnain Badami <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > I am using jenia4faces popupFrame ( which requires a parent <h:form>) > inside > > > a myfaces:panelTabbedPane. But due to some reason I am not able to open > the > > > popup. > > > Looking at the html source of the generated page i can see that > > > panelTabbedPane generates a form and inside that form resides the form > which > > > jenia4faces requires. > > > So form inside a form. > > > > > > Also in the source the following javascript is generated > > > > > > function clear_tabportfoliosummary_3A_5Fid22() { > > > var f = document.forms ['tabportfoliosummary:_id22']; > > > f.elements['__jeniaPopupFrame'].value=''; > > > > f.elements['tabportfoliosummary:_id22:_link_hidden_'].value=''; > > > f.target=''; > > > } > > > Now because the tabportfoliosummary:_id22 form (the jenia4faces > popupFrame > > > parent) is inside the tabbed pane form the javascript code generates > error > > > at var f = document.forms['tabportfoliosummary:_id22']; > > > Has anybody encountered anything like this before? Is there any > solution to > > > it? > > > Best Regards > > > Hassnain > > > > > > >

