You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2006/11/16 12:27:53 UTC

Re: [Tomahawk] Popup don't work

I remember there was an issue...
(but what?)

is it possible to use MyFAces 1.1.5-SNAP and same for Tomahawk too ?



On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
> Hello,
>
> i have a problem with <t:popup>. I never get a popup window. I tried it
> as follow:
>
>                 <t:popup id="infoPopup"
>                          styleClass="popup"
>                          closePopupOnExitingElement="false"
>                          closePopupOnExitingPopup="false"
>                          displayAtDistanceX="10"
>                           displayAtDistanceY="10">
>                      <h:outputText id="info" value="info"/>
>                     <f:facet name="popup">
>                         <h:panelGroup>
>                               <h:panelGrid columns="1">
>                                 <h:outputText id="testOutput"
> value="Test output"/>
>                             </h:panelGrid>
>                         </h:panelGroup>
>                     </f:facet>
>                 </t:popup>
>
> Is there any configuration (or something like that) that i have to use
> to get it working?
>
> I use MyFaces 1.4, Tomahawk 1.3 and Facelets.
>
> regards,
>
> Christian
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: [Tomahawk] Popup don't work

Posted by Christian Wiesing <cw...@ordix.de>.
I use several filters in the application, but the other filters 
shouldn't affect the MyFaces-ExtensionsFilter.

Filters in the web.xml:
    <filter>
        <filter-name>HiveMindFilter</filter-name>
      
<filter-class>de.application.service.impl.HiveMindFilterExt</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>HiveMindFilter</filter-name>
        <url-pattern>*.do</url-pattern>
        <dispatcher>REQUEST</dispatcher>
    </filter-mapping>

    <filter>
            <filter-name>ResponseOverrideFilter</filter-name>
            
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
      </filter>
     <filter-mapping>
            <filter-name>ResponseOverrideFilter</filter-name>
            <url-pattern>*.do</url-pattern>
      </filter-mapping>

      <filter>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>uploadMaxFileSize</param-name>
            <param-value>100m</param-value>
        </init-param>
        <init-param>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

Gerald Müllan schrieb:
> Hi,
>
> well, i use t:popUp the same way like you with the latest build and it 
> works.
>
> Some problems with extensionsFilter?
>
> Here is the snippet:
>
> <t:popup styleClass="popup"
>                         closePopupOnExitingElement="true"
>                         closePopupOnExitingPopup="true"
>                         displayAtDistanceX="10"
>                         displayAtDistanceY="10" >
>                        <h:panelGrid  columns="2">
>                            <h:graphicImage 
> url="/images/ico_link_cs.gif"/>
>                            <h:outputText
> value="#{sessionBean.recentInstantMessage.header}"
>                                          style="padding-right:15px;"/>
>                        </h:panelGrid>
>                        <f:facet name="popup">
>                            <h:panelGrid columns="2" >
>                                <h:outputText
> value="#{text.right_bar_messageBody}"/>
>                                <h:outputText
> value="#{sessionBean.recentInstantMessage.body}"/>
>                            </h:panelGrid>
>                        </f:facet>
>                    </t:popup>
>
> Seems to be the same usage as you have.
>
> cheers,
>
> Gerald
>
> On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
>> I changed the libs to 1.1.5-Snap but it still don't work.
>>
>> Matthias Wessendorf schrieb:
>> > I remember there was an issue...
>> > (but what?)
>> >
>> > is it possible to use MyFAces 1.1.5-SNAP and same for Tomahawk too ?
>> >
>> >
>> >
>> > On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
>> >> Hello,
>> >>
>> >> i have a problem with <t:popup>. I never get a popup window. I 
>> tried it
>> >> as follow:
>> >>
>> >>                 <t:popup id="infoPopup"
>> >>                          styleClass="popup"
>> >>                          closePopupOnExitingElement="false"
>> >>                          closePopupOnExitingPopup="false"
>> >>                          displayAtDistanceX="10"
>> >>                           displayAtDistanceY="10">
>> >>                      <h:outputText id="info" value="info"/>
>> >>                     <f:facet name="popup">
>> >>                         <h:panelGroup>
>> >>                               <h:panelGrid columns="1">
>> >>                                 <h:outputText id="testOutput"
>> >> value="Test output"/>
>> >>                             </h:panelGrid>
>> >>                         </h:panelGroup>
>> >>                     </f:facet>
>> >>                 </t:popup>
>> >>
>> >> Is there any configuration (or something like that) that i have to 
>> use
>> >> to get it working?
>> >>
>> >> I use MyFaces 1.4, Tomahawk 1.3 and Facelets.
>> >>
>> >> regards,
>> >>
>> >> Christian
>> >>
>> >
>> >
>>
>>
>
>


Re: [Tomahawk] Popup don't work

Posted by Gerald Müllan <bi...@gmail.com>.
Hi,

well, i use t:popUp the same way like you with the latest build and it works.

Some problems with extensionsFilter?

Here is the snippet:

 <t:popup styleClass="popup"
                         closePopupOnExitingElement="true"
                         closePopupOnExitingPopup="true"
                         displayAtDistanceX="10"
                         displayAtDistanceY="10" >
                        <h:panelGrid  columns="2">
                            <h:graphicImage url="/images/ico_link_cs.gif"/>
                            <h:outputText
value="#{sessionBean.recentInstantMessage.header}"
                                          style="padding-right:15px;"/>
                        </h:panelGrid>
                        <f:facet name="popup">
                            <h:panelGrid columns="2" >
                                <h:outputText
value="#{text.right_bar_messageBody}"/>
                                <h:outputText
value="#{sessionBean.recentInstantMessage.body}"/>
                            </h:panelGrid>
                        </f:facet>
                    </t:popup>

Seems to be the same usage as you have.

cheers,

Gerald

On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
> I changed the libs to 1.1.5-Snap but it still don't work.
>
> Matthias Wessendorf schrieb:
> > I remember there was an issue...
> > (but what?)
> >
> > is it possible to use MyFAces 1.1.5-SNAP and same for Tomahawk too ?
> >
> >
> >
> > On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
> >> Hello,
> >>
> >> i have a problem with <t:popup>. I never get a popup window. I tried it
> >> as follow:
> >>
> >>                 <t:popup id="infoPopup"
> >>                          styleClass="popup"
> >>                          closePopupOnExitingElement="false"
> >>                          closePopupOnExitingPopup="false"
> >>                          displayAtDistanceX="10"
> >>                           displayAtDistanceY="10">
> >>                      <h:outputText id="info" value="info"/>
> >>                     <f:facet name="popup">
> >>                         <h:panelGroup>
> >>                               <h:panelGrid columns="1">
> >>                                 <h:outputText id="testOutput"
> >> value="Test output"/>
> >>                             </h:panelGrid>
> >>                         </h:panelGroup>
> >>                     </f:facet>
> >>                 </t:popup>
> >>
> >> Is there any configuration (or something like that) that i have to use
> >> to get it working?
> >>
> >> I use MyFaces 1.4, Tomahawk 1.3 and Facelets.
> >>
> >> regards,
> >>
> >> Christian
> >>
> >
> >
>
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: [Tomahawk] Popup don't work

Posted by Christian Wiesing <cw...@ordix.de>.
I changed the libs to 1.1.5-Snap but it still don't work.

Matthias Wessendorf schrieb:
> I remember there was an issue...
> (but what?)
>
> is it possible to use MyFAces 1.1.5-SNAP and same for Tomahawk too ?
>
>
>
> On 11/16/06, Christian Wiesing <cw...@ordix.de> wrote:
>> Hello,
>>
>> i have a problem with <t:popup>. I never get a popup window. I tried it
>> as follow:
>>
>>                 <t:popup id="infoPopup"
>>                          styleClass="popup"
>>                          closePopupOnExitingElement="false"
>>                          closePopupOnExitingPopup="false"
>>                          displayAtDistanceX="10"
>>                           displayAtDistanceY="10">
>>                      <h:outputText id="info" value="info"/>
>>                     <f:facet name="popup">
>>                         <h:panelGroup>
>>                               <h:panelGrid columns="1">
>>                                 <h:outputText id="testOutput"
>> value="Test output"/>
>>                             </h:panelGrid>
>>                         </h:panelGroup>
>>                     </f:facet>
>>                 </t:popup>
>>
>> Is there any configuration (or something like that) that i have to use
>> to get it working?
>>
>> I use MyFaces 1.4, Tomahawk 1.3 and Facelets.
>>
>> regards,
>>
>> Christian
>>
>
>