Children problem with composite components

Hi,
I'm using Mojarra 2.0.2-FCS and playing with JSF 2.0 composite components.
I have a simple composite component named textRow which puts a label and input text. Here is the code:
<composite:interface>
    <composite:attribute name="label" required="true" />
    <composite:attribute name="value" />
</composite:interface>
<composite:implementation>
    <h:outputLabel value="#{cc.attrs.label}" />
    <h:inputText value="#{cc.attrs.value}" />
</composite:implementation>When I use this composite component inside a h:panelGrid with 2 columns (like code fragment below), first component goes to first column, second component goes to second column. But this is not what I want. I want to put all the labels to the first column and inputs to the second. How can I make this?
<h:panelGrid columns="2">
    <my:textRow label="firstName" />
    <my:textRow label="surName" />
</h:panelGrid>

Hi Anca
You can just type it in.

Similar Messages

  • Problems with Logical Components

    Hi All,
    I am having problems with Logical Components with our project. We are implemeents SAP HCM and we have defined a logical component Z_ERP for the ECC server. now when you look at the transaction from SOLAR02 it seems they also have a logical Component SAP Learning Solution that is assigned to them. what could be the cause of this???

    Hi Trevor,
    If you brought them in from the Business Process Repository, the logical component is going to be the default one. If you want to use your own, you need to replace the default one with yours.
    You can do this in SOLAR_PROJECT_ADMIN by going to the System Landscape tab > Systems tab > highlight the SAP Learning Solution logical component row > press F4 > replace it with Z_ERP.
    If for some reason SAP Learning Solution isn't listed as a logical component you may have to add it, you can also just go to SOLAR02 > Edit > Replace Log. Comp > Enter SAP Learning Solution in the top box and Z_ERP in the bottom one > click Save.
    regards,
    Jason

  • CUA problem with composite role

    Hello experts, I have a problem with a composite role in my CUA parent system. If you look at the roles tab you will see one of the child roles has a name of child CUA system in the 'target sys' column. the rest all have 'user system'. Can anyone explain how this 'target sys' column is defined?
    Thanks
    Dave Wood

    I do not know if you have solved this issue, but the target system is defined within your single role on you menu tab.
    No what happens is that in transaction SM30 table SSM_RFC you define system variable linked to your logical system.
    This variable determines that when you import roles from another system by means of transaction PFCG > Read from other system from RFC and you select your variable the system will automatically default in the target system field the system it is suppose to go back to.
    So this way when you distibute the roles it will only go back to that particular target system, and you do not need to specify and guess where the role came from.
    Try removing that table entry in SM30 SSM_RFC and see if that way you will be able to remove the target system from the role.
    However it is not a bad thing to have activated. If you are working with position base authorizations and you have more than 1 system, you define 1 composite role for all the roles, for all the systems and you will be able to see where the composite resides by means of the target value.
    Hope this makes sense.
    Regards
    Sonja

  • Problems with many components

    Hi everybody, I am building a GUI using swing, everything is ok, but some times the OutOfMemoryError() occurs. I have 256 Mb in my PC, but in my application I use a lot of components too.
    Does any body know how can I manage the memory and free the space that is not in use????
    Thanks in advance.

    Hi!
    I've the same problem with some of my applications. What I do is to set the max heap for the java virtual machine. I work with jdk 1.1.8, and the line command parameters are:
    java -ms14m -mx60m my_application
    where -ms is the initial memory heap and -mx is the maximum memory heap. You can increase them if you continue having memory problems.
    About freeing the memory, try searching in the forum for "garbage collection". There are some recomendations to do that.
    Hope it helps!
    Regards

  • Problem with Composition Tutorial

    Hi at first,
    I am new to this forum as well as new to the SAP composition application topics
    Since I want to learn how to build composite applications with the Netweaver Developer Studio/ Process Composer I started with the tutorial "Getting Started with Composite Designer" included  in the Studio.
    If I follow the instructions up to modeling of data objects the final step of generating the tables of the emplserv.bl.caf package fails with the error message:
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
    Problem with WSDL file parsing. See nested message.
    IO Exception occurred while parsing file:unknown protocol: c
    unknown protocol: c
    Can anyone help me with this problem?
    Thanks in advance

    Hi Felixw,
    You are probably using JDK 1.6 instead of JDK 1.5.
    Please adjust the startup -vm parameter to be the javaw.exe of JDK 1.5 and you are just fine!
    For instance:
    C:\IDE\eclipse\SapNetweaverDeveloperStudio.exe -vm "c:\jdk1.5.0_18\bin\javaw.exe"
    Kind regards,
    Ivan

  • RSL Problems with DataVisualization Components and Flex 3.4 SDK

    After discovering that the 3.4.1 SDK included with Flash Builder Beta 2 seems to be incomplete (missing the data visualization components and some of the signed swz files).
    I've attempted to install the latest official build SDK into Flash Builder 4 and I'm running into a problem with the RSLs for datavisualization.swz.  I did have to locate the datavisualization components on adobe.com an coppied them into the apporpiate directories.
    Error #2046: The loaded file did not have a valid signature.
    Failed to load RSL http://...com/flex/rsls/datavisualization_3.4.0.9271.swz
    Failing over to RSL http://...com/flex/rsls/datavisualization_3.4.0.9271.swf
    The app run fine but it isn't caching the RSLs.  Is this a known problem with attempting to use an older build of the SDK with Flash Builder or is there something else going on?  I previously was building this project with Flex 3.2 but I figured while I was at it to upgraded to the latest official 3.4 SDK.

    So I've added the suggested lines to the flex-config.xml and it doesn't help.  I had to alter the path to the swf and swz slightly to get it to match the pre-existing entry for the framework.swz so I have the following rsl entries in my config now:
      <runtime-shared-library-path>
          <path-element>libs/framework.swc</path-element>
          <rsl-url>framework_3.4.0.9271.swz</rsl-url>
          <policy-file-url></policy-file-url>
          <rsl-url>framework_3.4.0.9271.swf</rsl-url>
          <policy-file-url></policy-file-url>
       </runtime-shared-library-path>
      <runtime-shared-library-path>
          <path-element>libs/datavisualization.swc</path-element>
          <rsl-url>datavisualization_3.4.0.9271.swz</rsl-url>
          <policy-file-url></policy-file-url>
          <rsl-url>datavisualization_3.4.0.9271.swf</rsl-url>
          <policy-file-url></policy-file-url>
       </runtime-shared-library-path>
    If I have everything set to be merged into code or have the "Use local debug runtime shared libraries when debugging" checked then the message doesn't appear.  But the minute I attempt to load the swz from same directory as the app or crossdomain like previously I'm getting thie same basic message even with manually coping the swz to the output directory or having the checkbox for "Copy library to deployment path" box checked.
    Error #2046: The loaded file did not have a valid signature.
    Failed to load RSL datavisualization_3.4.0.9271.swz
    Failing over to RSL datavisualization_3.4.0.9271.swf
    I've verified that all the copies of the swz are exactly the same and that no corruption is taking place as all the copies of the swz have the same md5 of 8b3138326f85d4b5b1aae9866f3909c0.  I figured that 3.4 has been out long enough it would be a known issue is there was a problem with how the swz is signed and I'm unable to locate any such beug reports.  I can't be the 1st person to try loading 3.4's datavisualization components as an RSLs.
    The corresponding section of of .actionscriptProperties file for the RSL is currently this
    <libraryPathEntry index="4" kind="3" linkType="4" path="${PROJECT_FRAMEWORKS}/libs/datavisualization.swc" useDefaultLinkType="true">
       <crossDomainRsls>
         <crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="datavisualization_3.4.0.9271.swz"/>
         <crossDomainRslEntry autoExtract="true" policyFileUrl="" rslUrl="datavisualization_3.4.0.9271.swf"/>
       </crossDomainRsls>
    </libraryPathEntry>

  • Problem with JSF components

    I am having problem with myfaces tomhawk components in a portal environment
    They work fine as a standalone web application
    When we make it a portlet, they render properly, but the pagination and links in the calendar components are not working
    They submit the page to the server, but does nothing

    Hi,
    WLP 9.2 will be using the Sun RI for JSF portlets. We are going to certify with Apache MyFaces post GA.
    The Beta drop of WLP 9.2 is coming soon and you will be able to do more around development.
    We appreciate you taking the time to review the product and provide feedback.
    Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with flash components in director  tollbox

    1- I have 2 buttons named "makeQst1BT" in frame 1 and  "chkQst1BT" in frame 2,  which both are draged from toolbox.
    First the user gets a random question in frame 2 andhas to answer it, When the user clicks "chkQst1BT" its visible is to disappear after answering. it is done nicely  and button disappears.by  the follwing code.
    sprite("chkQst1BT").visible =false
    then later when user navigates back to a frame 1 again and wants to make a new question and presses "makeQst1BT" this button is to set the visible of "chkQst1BT" to true again by this code:
    sprite("chkQst1BT").visible =true
    BUT here I get script error  indicating that PROPERTY #visible not found.
    Why this happens? and how can I set the visible of  chkQst1BT back to true?
    ( I get many similar script errors saying PROPERTY #text not found in the same movie)
    2- I have draged many textArea flash components from toolbox, then want to change their ink from copy to background transparent, it appearantly accepts this choice but it is still displayed like "copy" with white bakgr.( I do it from property inspector window)
    What is strange is that only one of text Areas changes appearance when ink changed to background transparant but not others.
    Any ideas?
    Thanks in advance!

    First off, you should know that the flash components aren't that predictable/stable to begin with, but anyway.
    1 If the sprite only exists in frame 2 you can't change it's properties in frame 1. What you can do, and I'm reasonably sure you don't need to, is to put the visible code in a on begin sprite handler for a script on the sprite which should be run every time you enter frame 2.
    2. Works fine here so I can only speculate on what's causing your problem. My guess is that the text areas share sprite channel with some other component during your movie and that component has it's ink set to copy. Move the flash text area component to their own channels or add a behavior script to them that sets the ink in the on begin sprite handler.

  • Master-Detail query problem with composite key

    I have tested a MD form with EMP and DEPT tables and the MD query works okay.
    I have created two tables both with two fields EMP_ID and REPORT_DATE as a composite key. The problem I am having with the MD form is that it does not query back the results when I select the QUERY button. I have verified that the join is setup during the creation of the form.

    I have recreated the form and the MD query works fine.

  • Problem with DVT components on headless server

    JDEV/ADF VERSION: 11.1.1.0.1
    TECHNOLOGY: Fusion Web Application, WLS 10.3
    Hi,
    maybe someone has/has the same problem. I have created a page with
    some basic dvt components like pie and bar charts. Everything works fine on my dev machine.
    When I deploy the generated EAR on the test env (OEL 5, headless) and try to access the
    page (which contains the dvt components) I get the following exception:
    "Can't connect to x11 server ...."
    and the WLS shuts down!!!!
    Has anyone an idea if an x server is mandatory?
    Thanks in advance for any hints,
    Andreas.

    Andreas,
    I don't have a Linux box to test with at the moment, but it has been a common thing I've dealt with in other environments. Have you tried setting up a VNC server on the Linux box and setting the DISPLAY environment variable to reference that display before starting WLS?
    John

  • Installation problem with Composition Environment 7.1 SR3 - Trial Version

    Hi guys,
    I'm installing that 1.6G version of Composite Environment. I encountered the following error just after I accepted the license agreement.
    An error occurred while processing service SAP NetWeaver CE Developer Edition > SAP NetWeaver CE Development System( Last error reported by the step :The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DGAPIMon' does not exist on the 'localhost' host.). You may now
    choose Retry to repeat the current step.
    choose View Log to get more information about the error.
    stop the task and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/CE71_DEV_ADA/INSTALL.
    I'd appreciate it very much if you could help me

    Hi,
    1. See to it that all previous instances of SAP trial versions of sw have been removed from your PC/laptop.
    2. Remove your laptop from any network and install Ms- loop back adapter or have a it connect to a network with proper IP.
    3. Have your DHCP enabled.
    Let us know if above suggestions worked for you.
    Cheers!!
    Sukanta Rudra

  • Problem with composite id

    hello frnds,
    i hava an table with four primary key.
    i want to fetch records which are composited with these four keys.
    so any one has idea that how to use hibernate for composite id then pls help me.....
    thanx in advance,,,
    regards
    Pandev84

    hello frnd,I'm not your friend. Nor am I your "frnd".
    can u give me any sample code for composite-id
    mapping in our mapping file??No. You take a shot at it, then I'll help you fix it. Do some work first - like reading the documentation.

  • Problem with composition

    Does anyone know where I can find a good tutorial on composition. I have to take 3 classes that are already written using inheritence and transform them so they are using composition. I have had a few people briefly explain what composition is but I have nopt heard a real good definition enough to make me understand it? any help would be appreciated.

    and better yet explanation to what is composition you may find at:
    http://www.artima.com/objectsandjava/webuscript/CompoInherit1.html
    but again, all this may be found with help og google http://www.google.com
    just search for "composition java" or whatever you need, and there you go...

  • Problem with dsiplaying components

    hi is it possible in java studion creator 2 update 1 to display components withis the table as we use <table> tag in html. waiting for ur great help pls.
    Regards
    Anandkumar

    I am not sure about your question so I will give 2 answers. Hopefully, one of the answers will answer your question.
    If you want the components to be layed out in rows and columns, add a Palette > Basic > Layout > Grid Panel to the page, set the number of columns, and put the components in the grid panel. You can nest grid panels and group panels in the grid panel to create complex layouts.
    You can use the Table Layout dialog box to set the types of components that appear in each column of a Palette > Basic > Table component. If you want to add additional components to a column, drop the component into column. See "Adding an Insert Feature" in http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html. In that section, you add Message components to columns.

  • Problem with composite AV cable

    I bought the apple composite AV cable to connect my iPad2 with the car but it doesn't work (my car is the 2009 Infiniti G37 sedan). Does anyone have experiences why it doesn't work?

    The Composite Cables do not allow mirroring of the iPad screen. To get any video output make sure you are in a supported app, like the Videos App or Photos App in Slideshow mode to get video output through the Av composite cables.

Maybe you are looking for

  • Query on Master CHM

    Hi All, Greets! I have a query on RoboHelp. I have a master chm, which is linked to couple of individual CHMs. I have a requirement to now place all the individuals chms in a sub-folder,keep the master chm outside the sub- folder and deliver it to th

  • Simplest screenshot process

    Hi, I have read a lot of web literature about screenshots on OS X 10.6. but I did not find the missing software/process/keyboard trick. Does anyone know a software that just let me do the 3 following steps: 1. Make a keyboard combination to make appe

  • /private/tmp/tmpinstallmc.dmg keeps coming back after removing Genio

    Hi, A few weeks ago, I woke my Mac up to find a security dialogue telling me that an Installation Helper wanted to install files and needed my amin password.  Naturally, I was suspicious and did not enter it.  I then noticed a new Installer on my des

  • Cisco-av-pair

    Hi all, i'm trying to configure ACS Radius and a Pix to work as Proxy Cut-Through. i wanna set up some acl to have a certain type of traffic for some users and another one for some others. I tried by downloadable acl but it doesn't work (could it be

  • Copy & Pasted text from PDF messes up upper-case words..

    Hey there, Have this problem on many PC's in my work, on Windows Vista and Windows 7, using Adobe Reader v9.1.0. When highlighting text and copying, then going elsewhere and pasting, the 'case' of the text messes up. For example, if I copied: "The QU