Hi,

that's not working, too.
Do you already know, when the bug will be solved?


Matthias Wessendorf-4 wrote:
> 
> Hi.
> 
> On Feb 18, 2008 7:37 PM, Maik77 <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I found out, that tr:commandNavigationItem is only workig inside a
>> tr:navigationPane. OK for that.
>> But tr:panelPopup is still not working! I also tried to modify the
>> PanelPopup Demo from irian, but no icon is displayed there, too. My path
>> to
>> the image is correct!
> 
> just looked at the code and saw the bug, not used :-)
> 
>>
>> Does panelPopup also has to be inside a special pane or something???
> 
> nope, simply a bug.
> 
> As a (quick) work around you may try:
> 
> <tr:panelPopup>
>   <f:facet name="trigger">
>     <tr:panelGroupLayout>
>       <tr:icon name="info"/>
>       <tr:outputText value="Link Text"/>
>     </tr:panelGroupLayout>
>   </f:facet>
>   ...
> </tr:panelPopup>
> 
> Please see [1] on the facet.
> 
> -M
> 
> [1]
> http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelPopup.html
> 
>>
>> Wfg
>>
>> Maik
>>
>>
>>
>> Matthias Wessendorf-4 wrote:
>> >
>> > Hi,
>> >
>> > On Feb 17, 2008 5:25 PM, Maik77 <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi,
>> >>
>> >> I want to use some components with the icon-attribute
>> >> (tr:commandNavigationItem and tr:panelPopup), but the icon is never
>> >> rendered.
>> >> The path to the image should be correct, because using a simple  tag
>> with
>> >> the same path is showing the image.
>> >> Short example:
>> >> <?xml version="1.0" encoding="UTF-8"?>
>> >> <jsp:root xmlns="http://www.w3.org/1999/xhtml";
>> >>         xmlns:jsp="http://java.sun.com/JSP/Page";
>> >>         xmlns:f="http://java.sun.com/jsf/core";
>> >>         xmlns:tr="http://myfaces.apache.org/trinidad";
>> >>         version="2.0">
>> >> <f:view>
>> >>     <tr:document title="test">
>> >>           <tr:form>
>> >>                 <tr:commandNavigationItem text="test"
>> >> icon="/images/warn.gif"/>
>> >>           </tr:form>
>> >>     </tr:document>
>> >>   </f:view>
>> >> </jsp:root>
>> >>
>> >> The text is rendered, but not the icon.
>> >> I'm using Trinidad 1.2.6 (old versions had the same prob) and Facelets
>> >> 1.1.14.
>> >>
>> >> Do I have to configure something special, or what could be my fault?
>> >
>> >
>> > checking the trinidad demos, it works
>> >
>> http://example.irian.at/trinidad-demo-20080218/faces/components/commandNavigationItem.jspx
>> >
>> > The source code:
>> >
>> http://example.irian.at/trinidad-demo-20080218/faces/components/commandNavigationItem.jspx.source
>> >
>> > contains some commandNavigationItem that have an icon, like:
>> >
>> > <tr:commandNavigationItem text="Icon Item"
>> >   actionListener="#{demoCommandNavigationItem.navigationItemAction}"
>> >   icon="/components/images/file.gif"
>> >   partialSubmit="true"/>
>> >
>> >
>> > make sure, that "warn.gif" is available via
>> >
>> > http://server:port/context/images/warn.gif
>> >
>> > thx,
>> > Matthias
>> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/-Trinidad--Icon-%28attribute%29-not-rendered-tp15530596p15530596.html
>> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > Matthias Wessendorf
>> >
>> > further stuff:
>> > blog: http://matthiaswessendorf.wordpress.com/
>> > sessions: http://www.slideshare.net/mwessendorf
>> > mail: matzew-at-apache-dot-org
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-Trinidad--Icon-%28attribute%29-not-rendered-tp15530596p15547189.html
>>
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Matthias Wessendorf
> 
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Trinidad--Icon-%28attribute%29-not-rendered-tp15530596p15664277.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to