How to place elements among each other

hi,
how can i place checkboxes among each other, so that i have such design:
checkbox 1 value 1
checkbox 2 value 2
checkbox 3 value 3
and so on...
i use following component:
<h:selectManyCheckbox>
     <f:selectItems/>
</h:selectManyCheckbox>i've tried also these ones, but it didn't help:
<h:selectManyCheckbox>
<h:outputText value="<br>" escape="false"/>
     <f:selectItems/>
<h:outputText value="<br>" escape="false"/>
</h:selectManyCheckbox>i always get all my checkboxes in one line:
checkbox 1 value 1 checkbox 2 value 2 checkbox 3 value 3
Maybe i can specify the style-attribute in <h:selectManyCheckbox> to force the line break?
anybody how already solved such problem?

ok, i did it you say, but now i get an exception:
Could not find component 'tom' (calling findComponent on component 'imageForm:_id19:0:_id21')
here the code:
fill tomahawk component with selectedItems
<h:panelGrid columns="1" styleClass="myFont">
     <h:column>
     <t:selectManyCheckbox value="#{dataBean.selectedItems}" id="tom" onclick="this.form.submit()" layout="spread">
          <f:selectItems value="#{dataBean.items}" id="selectTomaHawkItems"/>
     </t:selectManyCheckbox>
     </h:column>
</h:panelGrid>place tomahawk-components in dataTable
<h:panelGrid columns="1">
     <h:column>
          <h:dataTable value="#{dataBean.myList}" binding="#{MyDataBean.htmlDataTable}">
             <h:column>
                  <t:checkbox index="#{MyDataBean.htmlDataTable.rowIndex}" for="tom"/>
             </h:column>
         </h:dataTable>
     </h:column>
</h:panelGrid>and MyDataBean has following lines:
private HtmlDataTable htmlDataTable = new HtmlDataTable();
     public HtmlDataTable getHtmlDataTable() {
          return htmlDataTable;
     public void setHtmlDataTable(HtmlDataTable htmlDataTable) {
          this.htmlDataTable = htmlDataTable;
     public int getRowIndex() {
          return htmlDataTable.getRowIndex();
     }

Similar Messages

  • When syncing 2 iphones to itunes how do you avoid getting each others apps

    When you sync 2 iphones to itunes how do you avoid
    getting each others apps

    For some reason without syncing
    when I download an app the 2 phones
    get the same app. They are 2 different
    phones with 2 different apple IDs

  • How would 2 people call each other using facetime if both were in a foreign country but staying at different locations within that country?

    How would 2 people call each other using facetime if both were in a foreign country but staying at different locations within that country?

    It's tied to the Apple ID also - I believe it would use that to find the right person/device.
    Perhaps this article would help: http://support.apple.com/kb/HT4319. It looks like you may want to go in through your contacts and make the call.
    If you're concerned about data charges, put your phone in Airplane mode before trying to Facetime. That will prevent it from trying to make a call over your cellular data.
    ~Lyssa

  • I can not use mac book air with samsung galaxy 3 to transfer files. i download the  OS X mountain line version the latest one...how can i introduce them each other?

    i can not use mac book air with samsung galaxy 3 to transfer files. i download the  OS X 10.8.1 mountain line version the latest one...how can i introduce them each other?

    Thanks how do I get the latest version then? online its asking me to submit address details and all sort and I'm not keen to do that, I'm working away from the city I bought it in and there is no Apple Store near me yet?

  • Me and my wife share itunes acct for iour iphones and ipads how do we stop geting each others e-mails on our own devices

    me and my wife have iphones and ipads but we seam to get each others e-mails and would like to keep them seperate how do we do that when shareing one itunes acct

    According the this: http://www.apple.com/mobileme/transition.html, "After moving to iCloud, family member accounts are no longer linked to the master account."  You can share an iCloud calendar (see http://support.apple.com/kb/PH2690), but I don't think you will be able to share iCloud contacts unless you are signed into the same iCloud account on both phones.

  • After installing ios 6 to my iphone4 and my daughters iphone4s we now get each others text messages. How can we disconnect from each other so that I don't receive the text messages from her and her friends and she does not receive mine?

    After installing IOS6 on my iphone 4 and my daughters iphone 4s we have this wonderful connection that we would like to break.  We are now seeing/receiving each others text messages.  I love my daughter but I don't really want to get all of her text messages from her friends and I don't really want to read every response she sends.  Additionally, she can also see my text messages and there are times I really don't need for her to know everything that I am doing. 
    So It is time to cut the cord we need our own seperate texting.  I am not sure what we did to have this happen but how do we undo it?

    Get your Apple ID sort out.
    Only use the same Apple ID in Settings > iTunes & App Stores to share purchases, no where else.
    Here some tips, it was written for IOS 5 but it's still valid for iOS 6.
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family

  • We have 2 iphones 4 and one ipod touch and they all use the same apple address for purchases.  How do we stop getting each others texts?

    We are recieveing each others texts, it has only happened since we upgrated to iOS6.  We only get each others iMessages.

    You have two issues: 1. iPad is designed for single person use, not multiple users like a computer is, 2. Everyone trying to use this "single person" device uses the same Apple ID. As far as iMessage is concerned, this is the same person...how would it know differently?
    There is no solution to fix this. Even if everyone got their own Apple ID's, you're still trying to use a device, designed to be used by a single user, with multiple users. It simple is not gonna work, and if you manage to get it to work, it won't work very well.

  • X61T - How similar are models to each other for swapping parts purposes?

    I recently purchased an X61 Tablet at auction and am loving it. I got a great deal and it is exceeding my expectations already. (This isn't my first ThinkPad, though.)
    However, part of getting a great deal on it is that it isn't perfect. It was sold as surplus, and saw years of constant use before it made its way into my hands. There are a few things wrong with it that I've noticed, including:
    The center latch is loose. It locks, but it feels like someone who hadn't used a ThinkPad before pulled up on the top HARD a few times instead of using the switch.
    The slot where the pen goes doesn't have a way of ejecting the pen: the piece that grabs on to the pen's clip had broken off and was blocking the entire slot, so I removed it. The way the part broke means that there is no easy way to reattach it.
    I would like to get these fixed, eventually. Now for my actual question:
    How similar are the different models of X61T to each other?
    My computer is a 7764-CTO. I was thinking about just buying a 'for parts' X61T for these plastic pieces and to have some pieces to keep it alive for as long as possible. I'm assuming that the CTO ('configure-to-order') doesn't matter much and that any 7764 should work, but would a different model (e.g. 7767-XXX) be similar enough to buy for parts? I have reviewed the Hardware Maintenance Manual and they sometimes list different FRUs. However, it is difficult to tell to which FRU a part belongs (particularly the above parts). Moreover, I imagine that the FRUs may have different numbers but be functionally equivalent on occasion. 
    For practical purposes of cannibalizing parts from one X61T to another, how similar are the different models (776X) to each other? I would hate to buy a 'for parts' computer and have slight differences render it useless for my purposes. Thanks!

    X60T has a different (albeit swappable) LCD assembly, and utterly different palmrest and keyboard bezel. Couldn't tell you about the pen resting area since I've never looked into that...
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • We share an apple id how can we stop getting each others contacts

    please help

    This is caused by multiple people sharing the same iCloud account..  When you do this any data you sync with the shared iCloud account such as contacts is merged and will appear on all devices sharing the account.  To fix this you both need to have separate iCloud accounts (you can continue to share the same Apple ID for purchasing from the iTunes and app stores). 
    Begin by deciding which deivce will be keeping the current iCloud account.  On the one that will be changing accounts, if there are any photos in photo stream that are not in the camera roll or backed up somewhere else save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll. 
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this device, not from iCloud.  The device that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On [iDevice].  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting the other person's contacts from your account, and vice versa).
    You should also avoid using the same Apple ID for iMessage and FaceTime (or you're likely to get each other's text messages and FaceTime calls).  If you're currently sharing an ID for these services, on one of the devices go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with a separate ID (such as your separate iCloud ID).  For FaceTime, do the same thing in Settings>FaceTime.

  • Responsive design - how do boxes go under each other

    Hello,
    I want to make a responsive animation, I can rescale the whole animation, but in this case the text will be very small.
    I have 4 boxes next to each other, and I what I would like to do, when I resize the browser at a point the boxes would go under each other. Is there a way to do this?

    Hi, Mandi-
    So what you're talking about is a feature that many are calling "adaptive layout."  While Animate doesn't do this natively, you might want to check out the EdgeCommons library, which will allow you to set symbols for different widths based on media queries.
    http://www.edgedocks.com/edgecommons
    Hope this helps,
    -Elaine

  • How do applicaitons communicate between each other

    I am doing research for a term paper on ERPs, and am currently studying the architecture of Oracle E-business suite.
    I have understood that there is an Application server, which is made up of one or more Tablespace(s) that contain the data from some or all of the applications. In a way, it can be look at like a wheel with the server being the hub or center while each application is a spoke of that wheel.
    Yet, I have been told that an application like General ledger only pulls information from certain applications. While an application like Accounts Receivable pushes and pull form/to multiple applications. Logically, I think that either multiple Tablespaces are used and certain applications can pull form one or more specific Tablespaces, or applications can only pull certain information from a Tablespace.
    So, my question in the end is; how do the applications actually communicate if data is entered into an application and if it is edited? Thank you very much in advance.

    Also, you seem to have one or two basic terms and concepts mxied up. For example, Tablespace is a storage management unit, of Oracle rdbms, really unimportant when talking tables or how applications pull information. The hub and spokes concept sounds like OAI, which is an integration component of eBS/Applications.

  • How to run code after each other?

    Hi there, a little question.
    I call a function that returns the path of a new saved image as a string.
    In that function I  use a loader to load the image. After the image is loaded I set the url of the saved image and return it.
    Next = id of the new saved image
    Imageurl = the url of the image to load.
    thumborfull = an indication to see if the thumb needs to be saved or the full image, so the thumb can be saved in a different folder than the full image.
    My problem: when I call this function.. the return goes first, and then the loader complete. In the loader complete I set the new path of the image which i want to return.
    So, my code runs synchronal, and not synchronic.. How do you get it to run synchronic?
    Please some help.
    code:
         public var myimageurl:String;
         public function saveImageFromInternet(next:Number, imageurl:String, thumborfull:String):String
              var imgClass:Class;
              //the second way
              var loader:Loader;
              //source code of the second way
              loader = new Loader();
              //notice: NOT _loader.addEventListener,is  _loader.contentLoaderInfo.addEventListener
              loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(event:Event):void
                    var loader:Loader = Loader(event.target.loader);
                        // width and heigt of selected image
                   var originalimgwidth:Number=event.target.width;
                   var originalimgheight:Number=event.target.height;
                   //put original image into bitmapdata
                   var bitmapje:BitmapData;
                   bitmapje=new BitmapData(originalimgwidth, originalimgheight, false, 0xFFFFFFFF );
                   bitmapje.draw(loader.content,null,null,null,null,true);          
                   var newimagefile:File=new File();
                   if(thumborfull=="thumb")
                        newimagefile=docsDir.resolvePath("Tmtp/I"+next+".mtp"); //image path
                        myimageurl=newimagefile.nativePath;
                   else
                        newimagefile=docsDir.resolvePath("Fmtp/I"+next+".mtp"); //image path
                        myimageurl=newimagefile.nativePath;               
                   var stream:FileStream = new FileStream;          // create new filestream
                   stream.open(newimagefile, FileMode.WRITE);     // open filestream
                   var data:ByteArray = encodeToJpg(bitmapje);     // convert bitmapdata to a jpg bytearry
                   stream.writeBytes(data, 0, data.length);     // writing the image
                   stream.close();
              loader.load(new URLRequest(encodeURI(imageurl)));
              return myimageurl;

    If you are concerned that you are losing the url as it is not available from the complete event, you could use a custom event, which allows you to pass your own data into the custom event. Then in your custom complete event object you will still have the url.
    http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_1.html

  • How do classes talk to each other - newb question

    Hey, im fairly new to java and have a problem
    If i have my main class (main) instantiate a new object of a class (ftp)
    how does ftp return information to main after it has been created,
    i might need the information at any time so i can't use the constructor again, can i?
    i realise main could call a method of ftp to return some information but i cant have it doing it every second when it might only need the information every 10 minutes
    can i create my own eventlistener in main to listen for something i can start in ftp?
    i can up some code if you like cos i'm sure that makes no sense but any help is very welcome :)

    A listener/observer pattern can help, as you have noted.
    public class DataClass {
        private int field1;
        //private String field2;
        private List<DataChangedListener> listenerList = new ArrayList<DataChangedListener>();
        public void setField1(int newVal) {
           field1 = newVal;
           fireUpdate();
        public void getField1() { return field1; }
        private void fireUpdate() {
           for ( DataChangedListener listener: listenerList )  {
              listener.dataChanged(this);
        public void addListener( DataChangedListener listener) {
           listenerList.add(listener);
    public interface DataChangedListener {
       public void dataChanged(DataClass source);
    }

  • Elements overwrites each others in Linked List

    hello, my problem is mentioned as the subject.
    i'm trying to add the same object into a linked list each time with different values, however it doesn't work and eventually all objects stored in the linked list become identical.
    here's the sample code.
    public class Object1
         private String s = null;     
         public Object1(){}
         public void setS(String s){this.s = s;}
         public String getS(){return s;}
    import java.io.*;
    import java.util.List;
    import java.util.LinkedList;
    import java.util.Collections;
    public class Test
         public static void main(String[] args)
              List ll = Collections.synchronizedList(new LinkedList());
              Object1 obj1 = new Object1();
              obj1.setS("111111");          
              ll.add(obj1);
              for (int i=0; i<ll.size(); i++)
                   Object1 obj2 = (Object1)ll.get(i);
                   System.out.println(">>>>>before:: " + obj2.getS() + "\n");
              obj1.setS("2222222");
              ll.add(obj1);
              for (int i=0; i<ll.size(); i++)
                   Object1 obj2 = (Object1)ll.get(i);
                   System.out.println(">>>>>after:: " + obj2.getS());          
    and the result looks like this:
    before:: 111111
    after:: 2222222
    after:: 2222222what i really want is something like this instead:
    before:: 111111
    after:: 111111
    after:: 2222222could any one please help
    thanks in advance
    cedricc

    You need to understand the distinction between references and objects. You're not storing objects in the linked list, but references. All of these references point to the same object. You need to create a new object each time through the loop.

  • How Unlink Master Pages from Each Other

    When I create a new master page, even if it isn't based on an existing one, changes I make in the order of layers in that master page are applied to the other master pages as well.  And when I change the order of layers in other master pages, the order changes in the new one.  Please help me unlink these.  I've found mentions that this can be done, but not specific instructions for how.  Thank you!!!!

    On your new master page, Shift+Command+Click on the item you want to change. You can then drag it to a new layer from within the layers pallet by dragging the colored dot next to the layer it's currently on to the layer you would like it to be on.

Maybe you are looking for

  • Windows Vista 64 and Itunes/Ipod

    Evening all, Was wondering if anyone has had any issues using Itunes or an Ipod with Windows Vista 64? Cheers

  • Thinking about storing my iPhoto and iTunes on a NAS Drive

    Hi, I am thinking about buying a LaCie Network Space MAX NAS Drive and I just wanted to know if anyone else is using one and can provide some insights or advice. I have a the following set up: - Macbook pro - Macbook air - Apple TV - Airtport Extreme

  • My ipod used to connect, now it doesn't!

    I tried to charge and update my ipod yesterday, but it won't connect and charge. I have tried everything. My ipod's batterery is dead so i can't even do the 5 r's! please help

  • Wicd Doesn't Show Networks

    I just installed wicd, had it working and everything, and then after I restarted X and wicd, it said I wasn't connected. The internet still worked, though; firefox was fine and I was torrenting at about 60 Kbps. Then, after a reboot, the whole thing

  • What are the best earbuds up to £60 - Shure E2Cs?

    I find at max volume the Classic has too much treble - a lot of sibilance etc. The apple earbuds supplied actually seem to deaden this a bit which is good but they also sound too muddy so I want to buy some better earbuds. Can anyone recommend a real