Hi Mike,

I changed it  t:dataTable, t:column
i still get 'orgApacheMyFacesPopup' is undefined
it is surprising that it works for scenario where h:dataTable value is either a ListDataModel/ResultSetDataModel but it dosent work in a scenario where i do individual column extraction from listdatamodel after i have done some postprocessing on the result
set...
Fails in here
<h:form>
       
            <t:dataTable value="#{bean.getListDataModel}" var="customers"
               styleClass="customers"
               headerClass="customersHeader" columnClasses="custid,name">
               <t:column>
                  <f:facet name="header">
                     <h:outputText value="ProbeID"/>
                  </f:facet>
                   <t:popup id="x"
                styleClass="popup"
                closePopupOnExitingElement="true"
                closePopupOnExitingPopup="true"
                displayAtDistanceX="10"
                displayAtDistanceY="10" >
               
                <f:facet name="popup">
                    <h:panelGroup>
                        <h:panelGrid columns="1" >
                        <h:outputText value="Popup Text 1"/>
                        </h:panelGrid>
                    </h:panelGroup>
                </f:facet>
            </t:popup>
                  <h:outputText value="#{extracted firstColumn from each row}"/>
                 
                </t:column>
                </t:dataTable>
               </h:form>

it WORKS in this scenario where i dont extract column from rows
value customer.all  = ResultSetDataModel

<h:dataTable value="#{customer.all}" var="customers"
               styleClass="customers"
               headerClass="customersHeader" columnClasses="custid,name">
               <h:column>
                  <f:facet name="header">
                     <h:outputText value="#{ msgs.customerIdHeader}"/>
                  </f:facet>
                   <t:popup styleClass="popup">
              
                <f:facet name="popup">
                    <h:panelGroup>
                        <h:panelGrid columns="1" >
                        <h:outputText value="Popup Text 3"/>
                        <h:outputLink value=" http://myfaces.apache.org" >
                            <h:outputText value="MyFaces Homepage"/>
                        </h:outputLink>
                        <h:outputLink value=" http://myfaces.apache.org" >
                            <h:outputText value="MyFaces Homepage"/>
                        </h:outputLink>
                  
                        </h:panelGrid>
                    </h:panelGroup>
                </f:facet>
            </t:popup>
<h:outputText value="#{customers.Cust_ID}"/>
</h:column>
</h:datatable>

thanks

On 8/2/06, Mike Kienenberger <[EMAIL PROTECTED] > wrote:
You might need to make it a t:dataTable instead to support popups.
But I'm not really certain.

With facelets 1.1.11, Myfaces core 1.1.4 release candidate, and
Myfaces 1.1.5, I haven't had any problems with t:popup inside of a
t:dataTable.


On 8/2/06, bs < [EMAIL PROTECTED]> wrote:
> Hi,
>
> Iam trying to use t:popup in h:dataTable
> iam getting an  error
> ....Popup' null or not an object
> sometimes i get
> orgApacheMyFacesPopup not defined
>
> all my web.xml files are updated for 1.1.3 (myfaces,tomahawk)
> do you know what is happening?
>
> thank you
>

Reply via email to