myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zied Hamdi" <javaha...@gmail.com>
Subject Re: [tobago] menu is displayed under the popup layer (and isn't clickable)
Date Fri, 22 Jun 2007 09:48:43 GMT
Hi Volker, How was the music day in your town?

In my case, the menu items are visibally in a lower z-index, (I see them
under the grey layer and they are not clickable). There's also a problem
with the images : they are not displayed and there's a warning (see below)
even though I took a look in debug, and the image attribute is set
correctly. They have the same urls as the ones that correctly display in the
phones box (under the grey layer).

######################HOME
######################MOBILE
######################WORK
######################FAX
######################OTHER1
######################OTHER2
2007-06-22 11:30:07,328 [http-8080-Processor24] WARN
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(297)
- There are free blocks in the layout:
id='page:personForm:details:adressListSubview:adressesSheet:0:personAdressList:_idJsp81'
2007-06-22 11:30:07,343 [http-8080-Processor24] WARN
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(297)
- There are free blocks in the layout:
id='page:personForm:details:adressListSubview:adressesSheet:1:personAdressList:_idJsp81'
2007-06-22 11:30:07,359 [http-8080-Processor24] ERROR
org.apache.myfaces.tobago.context.ResourceManagerImpl.getPaths(292) - Path
not found, and no fallback. Using empty string.
resourceDirs = '[skins, org/apache/myfaces/tobago/renderkit]' contentType =
'html' theme = 'richmond' browser = 'msie' subDir = 'null' name =
'image/phone_types/' suffix = '.PNG' key = 'null'
2007-06-22 11:30:07,421 [http-8080-Processor24] TRACE
org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(51) - After
Phase :RENDER_RESPONSE(6) Time=1182504607421
2007-06-22 11:30:07,421 [http-8080-Processor24] DEBUG
org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(58) - Phase
RENDER_RESPONSE(6) needs 338546 milliseconds
2007-06-22 11:30:07,421 [http-8080-Processor24] INFO
org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) - Total
response time : 338734 milliseconds

I didn't send the code yesterday because it's ugly :-) (I've gone back to
the 90's), here's a snippet:


<tc:panel>
 <f:facet name="layout">
  <tc:gridLayout columns="*;22px" rows="fixed;*" />
 </f:facet>

 <tx:in id="number" label="#{i18n.number}" value="#{phone.number}" />

 <tc:menuBar id="phoneTypeMenuBar">
  <tc:menu id="phoneTypeMenu"
   image="image/phone_types/#{phone.type}.PNG">
   <%
    PhoneNumber.PhoneType[] types = PhoneNumber.PhoneType.values();
    for( int i = 0; i < types.length; i++ ) {
   %>
   <tc:menuItem id="<%=types[i].toString()%>"
    image='<%="image/phone_types/"+ types[i].toString() +".PNG"%>'
    label="<%=types[i].toString()%>">
    <%System.out.println("######################"+ types[i]);%>
    <tc:attribute name="phoneType" value="<%=types[i].toString()%>" />
   </tc:menuItem>
   <%
   }
   %>
  </tc:menu>
 </tc:menuBar>

 <tc:cell spanX="2">
  <tx:textarea id="note" label="#{i18n.note}" value="#{phone.note}" />
 </tc:cell>

</tc:panel>

It's sure it has to do with the for loop, but I don't understand why the
code works in the other page. In additino to that, I did specify explicit
ids for the case the image was inserted with javascript later. So the for
loop does the same as writing the tags manually before they can be
interpreted by JSF...


2007/6/21, Volker Weber <v.weber@inexso.de>:
>
> Hi Zied,
>
> this is a known bug:
> https://issues.apache.org/jira/browse/TOBAGO-134
>
> Regards,
>    Volker
>
> 2007/6/21, Zied Hamdi <javahamdi@gmail.com>:
> > Hi there,
> >
> > I have a problem with the menu, it doesn't display in the layer of the
> > popup, but under it (see picture).
> >
> > Any suggestions?
> >
> > Regards,
> > Zied Hamdi
> >
>



-- 
Zied Hamdi
zatreex.sourceforge.net

Mime
View raw message