Nested Composite Component Doesn't work for table column

I have reported this issue as defect 1541 but I'm hoping someone my have a suggestion on a work around for this. Here is the issue
I am attempting to use composites to represent a table column. I have tried this with both IceFaces and the standard implementation. I have a custom component that is of type UIColumn that is being inserted into another composite that houses a table. The table renders and the column renders. However, the outputText that should represent the row data does not render. Interestingly this will render using composites when I don't have the column rendering as a composite (IE the table is contained in the composite and the row level output is contained in the top level page.). That is not my requirement though. This seems to be a tough cookie to crack. I have the source now and am starting to acquaint myself with it in an attempt to figure out what is going on. Any brilliant ideas out there?
Code is below.
tableColumn.xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:composite="http://java.sun.com/jsf/composite">
<h:head>
</h:head>
<h:body>
<composite:interface componentType="MyColumn">
</composite:interface>
<composite:implementation>
<ice:column headerText="Make" id="column3">
<composite:insertChildren />
</ice:column>
</composite:implementation>
</h:body>
</html>
table.xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:composite="http://java.sun.com/jsf/composite">
<h:head>
<title></title>
</h:head>
<h:body>
<composite:interface>
</composite:interface>
<composite:implementation>
<ice:dataTable augmentTitle="false"
rows="10"
value="#{SessionBean1.carDataProvider.tableDisplayList}"
var="item" >
<composite:insertChildren />
</ice:dataTable>
</composite:implementation>
</h:body>
</html>
Example Page
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:temp="http://java.sun.com/jsf/composite/tempcomp"
<h:head id="outputHead1">
</h:head>
<h:body>
<ice:form id="form1">
<temp:table>
<temp:tableColumn>
<ice:outputText id="outputText3" value="#{item.make}"/>
</temp:tableColumn>
</temp:table>
</ice:form>
</h:body>
</html>
The the new UIMyColumn class
* To change this template, choose Tools | Templates
* and open the template in the editor.
package icefacestestapp2;
import com.icesoft.faces.component.ext.UIColumn;
import javax.faces.component.FacesComponent;
@FacesComponent(value = "MyColumn")
public class MyColumn extends UIColumn {
@Override
public String getFamily() {
return "custom";
Interestingly the row text will not render even if I add it directly to the new
composite column class as seen below.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:composite="http://java.sun.com/jsf/composite">
<h:head>
</h:head>
<h:body>
<composite:interface componentType="MyColumn">
</composite:interface>
<composite:implementation>
<ice:column headerText="Make" id="column3">
<ice:outputText id="outputText3" value="#{item.make}"/>
</ice:column>
</composite:implementation>
</h:body>
</html>

Hi,
I recall an issue in 10.1.3.2 with inner frames that had the wrong JavaScript reference to the DOM. So I assume this to be the same in your case. So you can give it a try with JDeveloper 10.1.3.3 and see if this fixes the problem
Frank

Similar Messages

  • KDE 4.5.1 - Compositing still doesn't work for me

    Hi all, so i've upgraded to KDE 4.5.1 today with hope that compositing (which does not work on my labtop with gma 950 since KDE 4.5.0) will work again. But still same problem, as many has mentioned here before.

    Same here. Intel GMA950. I was hoping that the compositing would work with 4.5.1 again but it doesn't. I'm a huge fan of the KDE innovations and modern ideas with what they want to do but I need a break from the bugs. I'm on openbox now and I think I'm starting to like it.
    Last edited by herrvideman (2010-09-01 20:38:20)

  • The vga adapter (for a Benq projector, for example) is only for Ipod touch 4g? I have an 2g. Doesn't work for this?

    The vga adapter (for a Benq projector, for example) is only for Ipod touch 4g? I have an 2g. Doesn't work for this?
    Thanks in advance.

    The VGA is for the 4G iPod only. The 2G can use the composite and component cables.
    http://support.apple.com/kb/HT1454

  • Receiver determination doesn't work for same IDoc type but in differentSWCV

    hi guys,
    we have an emergency now. Receiver determination doesn't work for same IDoc type but in different SWCV.Please check below for detail.
    1. The process flow is : R/3 IDoc -> XI -> Third party system
    2. In previous release R13, IDoc ORDERS05 was imported and used in XI and software component version is R13. And receiver determination was created.
    3. Now, in new release R17, IDoc ORDERS05 was imported from R/3 to XI again and software component version is R17. And in R17, the receiver determination created in R13 was used for both old interface(R13) and new interface in R17.
    Then we encountered the problem, both interfaces doesn't work now, even we deleted the receiver condition(In R13, IDoc ORDERS05 was sent to system A, and in R17 IDoc ORDERS05 was sent to system B, RCVPRN was used as an condition).
    Does anyone encounter this problem? really need and appreciate your help.
    -Eddie

    information from monitor:
    Status     Sender               Service Sender Namespace                         Sender Interface
    reschedul  XXXCLNT100     urn:sap-com:document:sap:idoc:messages   ORDRSP.ORDERS05
    columns for "Receiver Service","Receiver Namespace", "Receiver Interface" are blank
    And then double click records in monitor, go into detail information...
    Normally there's lots of setps existed, such as
    Inbound Message ( CENTRAL )
    Receiver Identification
    Interface Determination
    Receiver Grouping
    Message Branch According to Receiver List
    Technical Routing
    Call Adapter
    But now there's only one setp -
    "Inbound Message ( CENTRAL )" existed, no any another setp..., and payload in inbound message looks good.
    And in SMQ2, I checked the queue information, found there's an error - "An exception occurred that was not caught." No any other detail information for this error.

  • F:viewParam doesn't work for me

    Hi All,
    I'm exploring the new stuff in JSF 2.0 and hitting some basic problem with f:viewParam tag, - it doesn't set the specified value (have been tried to deploy the war on JBossAS 6)
    Here is the war directory (exploded war and zipped) with single template and view : http://www.diligesoft.com/sales-ui.war.zip
    If anybody can tell me what's wrong it will be greatly appreciated.
    Thanks,
    Dmitry

    I know what the problem (or Bug in JSF?) now, in case anybody will hit it, here are the details
    Here is top level template.xhtml and f:viewParam inserted using ui:insert :
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:view contentType="text/html">
    <ui:insert name="metadata"/>
    </f:view>
    </html>
    the view (view.xhtml) is using this template specified above :
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    template="template.xhtml">
    <ui:define name="metadata">
    <ui:include src="metadata.xhtml"/>
    </ui:define>
    </ui:composition>
    the metadata.xhtml composition :
    <ui:composition xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:metadata>
    <f:viewParam name="id" value="#{customerBean.id}" />
    <f:event type="preRenderView" listener="#{customerBean.loadPersonProfile}"/>
    </f:metadata>
    </ui:composition>
    It doesn't work! The customerBean.loadPersonProfile() got called but customerBean.id is never set
    Looks like the ui:include can't be used for including f:metadata tag, so if you take f:metadata out of metadata.xhtml and put it into the view.xhtml ui:define section :
    <ui:define name="metadata">
    <f:metadata>
    <ui:include src="/sections/customer/metadata.xhtml"/>
    </f:metadata>
    </ui:define>
    It works, but don't put it into the template.xhtml :
    <f:view contentType="text/html">
    <f:metadata>
    <ui:insert name="metadata"/>
    </f:metadata>
    Doesn't work! Very confusing and looks like a Bug to me.
    Hope it will save somebody time.
    Dmitry.

  • SPRunConversionVersion7.0.119:Doesn't Work for Account without any ratetype

    Hi Experts,
    I work with SAP BPC MS7.0
    And the SPRUNCONVERSION doesn't work for accounts without any ratetype : value in the dimension is in blanck.
    I though that it was supposed to work like this :
    "The stored procedure SPRUNCONVERSION scans all records found in the selected region of data and translates them according to the RATETYPE property assigned to the ACCOUNT specified in each record, based on the following mechanism:
    All ACCOUNTS with no RATETYPE (ratetype = blank) will be translated with a factor of 1
    All ACCOUNTS with the reserved RATETYPE = NOTRANS will not be translated
    All other ACCOUNTS will be translated according to the definitions contained in the table of parameters called clcFXTRANS."
    Doesn someone has faced this problem already ? how can I solve it ?
    Thanks for your help,
    Olivia

    Hi Olivia,
    This was seen as inconsistent behavior and was corrected in SP10.
    See the following note [1569127|https://service.sap.com/sap/support/notes/1569127] for further information.
    Thanks,
    John

  • MPEG-2 component doesn't work anymore

    Hi,
    I now recognized, that the MPEG-2 component doesn't work anymore. I don't know since which moment, but maybe since the last QuickTime update. I reinstalled it, but it didn't solve the problem.

    I can open a m2v fil but there is no content and it displays like a sound file.
    If there is no display screen above the controller (i.e., looks like an audio file), check the Inspector (or Properties) window to see what the QT player thinks is contained in the file. Also, what is the source of the file? Files split by windows users and posted on the internet frequently open in this manner without a display screen. Basically, if the QT MPEG-2 Playback component is not working, the file will not open at all. Also, M2V files are normally paired with a separate AIFF file. If you have QT Pro, open the Properties window and check the "Resource" pointer for your M2V track.
    I can't find where it is installed either.
    Did you check the root "Library > QuickTime" folder on your start-up drive? Also, did you install the correct codec? Two versions should be contained in the image file. You want the one that says "For QuickTime 6.4 and later & Intel Macs."

  • The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on that  wifi network

    The wifi at my school isn't very good. And I can't send iMessages through it. It works for some apps like score center and my radar app, but doesn't work for other apps like clash of clans and iMessage. How can I get it to work on my school wifi. I have an iPhone 4S on AT&T and iOS 7.04

    In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
    So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
    If you are not able to access this camera from the local network, then this should be troubleshot first.

  • With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.

  • Push notifications doesn't work for apps like (fb viber , whatsapp etc ) iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    Sorry, I've forgotten the actions done.
    I've restarted the iphone, and I've recovered a previous backup.
    Thanks.

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    How can I upload a video from my PC through I tunes to camera roll on my iPhone? Is there an app or format of specific video supported? Sync from photos include video doesn't work for me.

    download the new you tube apps in i tunes, in os6 just pick a video in the photos apps and select share, the old you tube app icon will appear

  • I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    I've bought an app called WhatsApp but I was not told that app doesn't work for ipod. So I would like to know how to turn back and get my money back.

    Did you fail to look at the requirements before purchasing?
    All sales are final.  You can try contacting itunes support and asking for an exception

  • Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through j

    Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript.
    e.g.
    In Felix Console , in Apache Sling JCR Resource Resolver configuration I have added following mapping.
    /content/myproject/-/
    So If any anchor tag is there like <a href="/content/myproject/en.html"> click me </a> then it will be mapped to "/en.html" automatically.
    But the problem is there in following scenario.
    I have an anchor tag as follows.
    <a href="#" id="test"> click here </a>
    And I am assigning the href to anchor through JQUERY.
    <script>
    $("#test").attr("href","/content/myproject/en.html");
    </script>
    Ideally this should have been mapped to "/en.html".
    But it is not mapping to "/en.html". It still shows "/content/myproject/en.html".
    How to resolve this.
    Thanks,
    Sai

    In a servlet you have access to the resourceResolver so if you know which attributes contain links then it's relatively easy to apply resourceResolver.map to those links.
    Your challenge is clearly how do you know which attributes are links and which aren't. Its is the same challenge that makes parsing the response and rewriting it on the way out difficult - the JSON doesn't have any semantic meaning so how do identify which attributes require rewriting. There really is no good answer ot that question in my experience - all the options have down sides.
    Create some convention - all attributes matching this pattern X get mapped before being converted to JSON (could be attributes whose name ends in link, or it could a convention applied to the value of the attribute - if the attribute is a string that starts with /content apply the resource resolver mapping. In this case you have train your developers to follow this convention which is the down side.
    Create some configurable list of attribute names that require mapping. This is brittle, requires training and is easy to break.
    Implement a client side version of the resource resolver mapping. It wouldn't be as full proof as server side mapping (because that takes into account but you could make it work for simple logic like stripping of /content/site/en. If ou are just trying to solve the simple version of this issue - stripping off the top of the repository path this might be your best option.
    Not worry about it and set up Apache 301 redirects that catch any long URLs and redirect them to short URLs (so configure apache to look for any URL matching /content/site/en and strip off /content/site/en and do a 301 redirect to the shortened URL. You end up with a lot of extra HTTP request because of all the 301s but it would work (I wouldn't recommend this option - but it is possible).

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

Maybe you are looking for

  • Problems with the resources boundles in java studio creator 2

    I try to migrate a proyect from sun java studio creator 2 early access to sun java studio creator 2 but I have a problem, the resource bundle work in creator 2 early access but doesn� work in creator 2, somebody have the same problem? and, the most i

  • IMac i5 as slow as can be and then some

    Got an i5, had it two weeks, works fine (2nd one) no worries, had a software issue, couldn't find a file to delete and so on. So, today I decided enough was enough and to erase the drive and reinstall Snow Leopard from the Apple disc that came with t

  • Incorporating web service in an ABAP web dynpro view

    Hi, I am trying to call an external web service to have its results displayed in an ABAP web dynpro view. I've seen various threads that are dealing with the same issue, but none of them seemed to have helped me (I am quite new at this so maybe I'm j

  • File import best practice

    I need some outside input on a process. We get a file from a bank and I have to take it and move it along to where it needs to go. Pretty straight forward. The complexity is the import process from the bank. It's a demand pull process where an exe ne

  • Error -1073807300 causes and fixes

    Of four identically stations one commonly throws this error during one of several CVI compiled functions. This indicates a memory problem (windows?) or can this actually be an instrument problem? What are the common causes and fixes for this error?