Setting TileList height to Change Based on How Many Items Are Within It

In my app I have a tilelist populated by an array collection and I need it's height to change based on how many items are within it i.e. as new items are added to the array collection which populates it the tilelist will grow in height so that a scrollbar isn't necessary. Is there some sort of formula I can apply to the tilelist height property so that it expands in height as more items are added to it similar to the way a vbox would?

Hi,
OK - you don't actually need to know how many items there are as javascript can create a collection for you and you can loop through that. In your example, each item will have a NAME attribute of "f02" - using document.getElementsByName("f02") will create a collection of all items that have this name and using a "for" loop, will allow you to examine every one.
One thing to note is that any INPUT item that is disabled or made read-only will not be included in the data when the page is submitted (this is a browser thing not an Apex one), so these items need to be re-enabled immediately prior to the submit action.
For an example of all of this, see my first post in: Re: A better method of handling tabular forms with variable column type?
Andy

Similar Messages

  • How many items are possible in page APEX 3.2

    Hi All,
    I have created around 95 page items,8 different region , 10 buttons and i have used collections in page processing
    While processing the page by using Select with LOV getting error http://3264-ch-dbs:8080/apex/wwv_flow.accept
    I have created 15 extra page item due whih count increases from 80 to 95 .once I have created this I tried processing the page by select list with submit . I am getting above mentioned error
    how many items are possible in page APEX 3.2 , is there limitation ?
    Any sugeestion is welcomed
    Thanks and Regards
    Sachin

    Hello Sachin,
    >> how many items are possible in page APEX 3.2 , is there limitation ?
    You can render up to 100 APEX item on the page, and that includes hidden items. You can define more than 100 items and use conditions to determine which items will be rendered. (Buttons and other components you mentioned are not included in the 100 count).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

  • How can i see how many people are using my apple id without changing the password ?

    how can i see how many people are using my apple id without changing because some people have it

    I'm not sure that you can. Why have so many people got your password? So many in fact, that you don't know how many.
    You can see how many computers are authorised to play any songs you have purchased from the iTunes Store, but that isn't quite the same thing.
    Perhaps a better idea would be to change the password and not let anyone else know what it is. That would at least prevent anyone else from changing it and locking you out of your own account.

  • How many 'seats' are included with Adobe Creative Cloud for teams?

    How many 'seats' are included with Adobe Creative Cloud for teams?

    Hi Mrfrodo,
    There isn't a set number, you purchase the number you would need based on the size of your organization.
    This section of the FAQ might also be helpful for you to learn more about team too.
    http://www.adobe.com/products/creativecloud/faq.html#ccm-teams
    -Dave

  • How many motors are connected?

    Hello,
    I am using two similar experimental set-ups with two motion controllers MID 7604/7602. The only difference between the set-ups is that there are 2 motors connected to one controller and 3 motors connected to the other controller. I would like to have the same software for both set-ups that could recognize whether 2 or 3 motors connected to the controller. Is there any way for me to find out using LabView programs how many motors are connected to the motion controller?
    Thank you very much.
    Evgueni.

    Hi Evgueni,
    there is no direct way for the controller to detect if a motor is
    present or not, but depending on your system setup there might be some
    options:
    If you are using a closed loop system (with encoders), you could
    do a short test move. If the encoder position changes accordingly you
    know that the motor is present.
    If you are using limit switches (forward and reverse), you should
    make sure to use switches that are normally closed. If you configure
    the limit switch inputs correctly, the board should report "both limit
    switches are active", if no limit switch is connected. This should
    indicate, that no motor is connected, too.
    If there are no encoders and no limit switches, you could use a limit switch connector that shorts the limit inputs to GND on the 760x and make it mandatory to use this connector for all axes, that should be active.
    If none of the above methods work for you, you should think of a configuration dialog for your software and ask the user how many axes he wants to use.
    There might be some more options but in general you will have to identify a signal that changes it's state depending if an axis is connected or not.
    I hope this helps,
    Jochen Klier
    National Instruments

  • HT204074 I do not see a "Manage Devices" link when I access my account information through iTunes. I want to know how many devices are linked to my account. Can anyone help?

    I have accessed the Apple Support site http://support.apple.com/kb/ht4627 but I could not find the "Manage Devices" link on iTunes. The advice they give is as follows:
    You can view which devices or computers are currently associated, remove unused devices or computers, and see how long before they can be associated with a different Apple ID from the Account Information page in iTunes on your computer:
    Open iTunes.
    Sign in to your Apple ID by choosing Store > Sign In from the iTunes menu.
    Choose Store > View My Account from the iTunes menu.
    From the Account Information screen, click Manage Devices.
    Next to each device or computer name, you will be able to see when each was associated to your Apple ID. You will also be able to track how many days are remaining before your associated devices or computers can be associated to a different Apple ID.
    Help would be greatly appreciated! Thank you!

    Hello from Albania,
    Please help me !! I'm desperate
    I sold my iPhone 4s a few months ago.
    Now i got my self a new iPad and created a new apple ID which i recently accociated with ITunes and ICloud.
    However, i can't update anything on my Mac since it still requires the old apple id, even though i changed it anywhere i could.
    I also don't get the manage devices when i tried to do this through the iTunes.
    I have no idea what to do.
    Waiting for your reply.
    Regards

  • My playlists show how many titles are in the playlist but does not show the list of titles

    my playlists show how many titles are in the playlist but does not show the list of titles. Is there a setting that I hit by mistake to hide the content?

    Perhaps you have made one column extra wide and the window isn't currently showing the Name column. Try resizing columns, turning off those that you don't need, or scrolling sideways.
    tt2

  • How do we know how many PDFs are generated?

    Hello All-
    We have created an Application ID with enough credentials on it to call the Adobe Services and our developers are using WebServices to call the Form Server in their code with that particular App Id and Generate the PDFs and what we really want to know is if there is any setting in the Adminui or in the code where we can set that and see how many PDFs are being generated for a period of time from that particular App Id? We are not using PDFGen component.
    we are using Adobe LiveCycle 8.0.1 SP3, WebSphere 6.1 and DB2 8.2 database.
    It will be great if someone can tell me if they did this before.
    Thanks in Advance

    On the old discussion software, they had distinctive avatars and identifiers under the avatars. They could have adopted distinctive avatars with the new forum software but they didn't. The reason that they didn't, I assume, is because the new software allows secondary icons to identify users. Every level had its own icon, the Hosts had their own icon, and Apple employees had theirs. This identification system was temporarily disabled along with the rest of the levels and reputations because of the performance hit that was being caused. It may come back if they can fix the performance problems.
    Until then, Hosts and Apple employees have been using text signatures, such as "Apple Discussions Host" to identify themselves. There may be Apple employees who have not gotten the word about the text signatures.
    BTW, to see what I mean by the identification icons, look at how Jive has implemented this feature on their own support forums. On this forum page, look to the right in the box labeled "Legend".

  • How many messages are in an archive file?

    Hi,
    Is there a way to tell how many messages are written to each archive file?  It looks like the default file size is 200M.
    Your help will be greatly appreciated.
    Regards,
    Rick

    Hey
    If you really want,you can cancel this job in sm37.
    But i would say that you can let it run. as long as it does not affects the performance of PI system you should be ok.
    a better approach would have been to increase the retention period in sxmb_adm,then go to SE38 and execute the program RSXMB_SHOW_REORG_STATUS, this will tell you how many messages will be archived/deleted once the job run.
    You can set the retention period so that it takes around 50-60K messages, then let the report run ,should finish in 3-4 hours max (thats what i used to do), then go back to sxmb_adm and reduce the retention period.execute the report again and see how many messages it will archive now.
    Keep on doing this until you archive/delete all the messages.
    Thanks
    Aamir

  • Having issues finding out how many bytes are sent/recieved from a socket.

    Hello everyone.
    I've searched the forums and also google and it seems I can't find a way to figure out how many bytes are sent from a socket and then how many bytes are read in from a socket.
    My server program accepts a string (an event) and I parse that string up, gathering the relevant information and I need to send it to another server for more processing.
    Inside my server program after receiving the data ( a string) I then open another port and send it off to the other server. But I would like to know how many bytes I send from my server to the other server via the client socket.
    So at the end of the connection I can compare the lengths to make sure, I sent as many bytes as the server on the other end received.
    Here's my run() function in my server program (my server is multi threaded, so on each new client connection it spawns a new thread and does the following):
    NOTE: this line is where it sends the string to the other server:
    //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
    //SERVER
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              //setting up sockets
              Socket outputServ = null;
              //create a message database to store events
              MessageDB testDB = new MessageDB();
              try {
                   //setting up channel to recieve events from the omnibus server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   //This socket will be used to send events to the z/OS reciever
                   //we will need a new socket each time because this is a multi-threaded
                   //server thus, the  z/OS reciever (outputServ) will need to be
                   //multi threaded to handle all the output.
                   outputServ = new Socket("localhost", 1234);
                   //Setting up channel to send data to outputserv
                   PrintWriter out = new PrintWriter(new OutputStreamWriter(outputServ
                             .getOutputStream()));
                   String input;
                   //accepting events from omnibus server and storing them
                   //in a string for later processing.
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
                        System.out.println("Waiting for data...");
                        //---------putting string into a message object-------------///
                        // creating a scanner to parse
                        Scanner scanner = new Scanner(input);
                        Scanner scannerPop = new Scanner(input);
                        //Creating a new message to hold information
                        Message msg = new Message();                    
                        //place Scanner object here:
                        MessageParser.printTokens(scanner);
                        MessageParser.populateMessage(scannerPop, msg, input);
                        //calculating the length of the message once its populated with data
                        int length = msg.toString().length();
                        msg.SizeOfPacket = length;
                        //Printing test message
                        System.out.println("-------PRINTING MESSAGE BEFORE INSERT IN DB------\n");
                        System.out.println(msg.toString());
                        System.out.println("----------END PRINT----------\n");
                        //adding message to database
                        testDB.add(msg);
                        System.out.println("-------Accessing data from Map----\n");
                        testDB.print();
                        //---------------End of putting string into a message object----//
                        //sending the string version of the message object to the
                        //output server
                        out.println(msg.toString());
                        System.out.println("Waiting for data...");
                        out.flush();
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   out.close();
                   outputServ.close();
                   csocket.close();
              catch (SocketException e) {
                   System.err.println("Socket error: " + e);
              catch (UnknownHostException e) {
                   System.out.println("Unknown host: " + e);
              } catch (IOException e) {
                   System.out.println("IOException: " + e);
    }Heres the other server that is accepting the string:
    public class MultiThreadServer implements Runnable {
         Socket csocket;
         MultiThreadServer(Socket csocket) {
              this.csocket = csocket;
         public void run() {
              try {
                   //setting up channel to recieve events from the parser server
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             csocket.getInputStream()));
                   String input;
                   while ((input = in.readLine()) != null) {
                        //accepting and printing out events from omnibus server
                        //also printing out connected client information
                        System.out.println("Event from: "
                                  + csocket.getInetAddress().getHostName() + "-> "
                                  + input + "\n");
    System.out.println("Lenght of the string was: " + input.length());
                        System.out.println("Waiting for data...");
                   //cleaning up
                   System.out.println("Connection closed by client.");
                   in.close();
                   csocket.close();
              } catch (IOException e) {
                   System.out.println(e);
                   e.printStackTrace();
    }Here's an example of the program works right now:
    Someone sends me a string such as this:
    Enter port to run server on:
    5656
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=5656]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4919,localport=5656] connected.
    hostname: localhost
    Ip address: 127.0.0.1:5656
    Waiting for data...
    Event from: localhost-> UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1",424,"9.27.132.139","","Omnibus","Precision Monitor Probe","Precision Monitor","@busch2.raleigh.ibm.com->NmosPingFail",5,"Ping fail for 9.27.132.139: ICMP reply timed out",07/05/07 12:29:12,07/03/07 18:02:31,07/05/07 12:29:09,07/05/07 12:29:09,0,1,194,8000,0,"",65534,0,0,0,"NmosPingFail",0,0,0,"","",0,0,"",0,"0",120,1,"9.27.132.139","","","","dyn9027132107.raleigh.ibm.com","","","",0,0,"","","NCOMS",424,""
    Now my program makes it all nice and filters out the junk and resends the new string to the other server running here:
    Enter port to run server on:
    1234
    Listening on : ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=1234]
    Waiting for client connection...
    Socket[addr=/127.0.0.1,port=4920,localport=1234] connected.
    Parser client connected.
    hostname: localhost
    Ip address: 127.0.0.1:1234
    Event from: localhost-> PacketType: UPDATE , SizeOfPacket: 577 , PacketID: 1, Identifer: UPDATE: "@busch2.raleigh.ibm.com->NmosPingFail1" , Serial: 424 , Node: "9.27.132.139" , NodeAlias: "" , Manager: "Omnibus" , Agent: "Precision Monitor Probe" , AlertGroup: "Precision Monitor" , AlertKey: "@busch2.raleigh.ibm.com->NmosPingFail" , Severity: 5 , Summary: "Ping fail for 9.27.132.139: ICMP reply timed out",StateChange: 07/05/07 12:29:12 , FirstOccurance: 07/03/07 18:02:31 , LastOccurance: 07/05/07 12:29:09 , InternalLast: 07/05/07 12:29:09 , EventId: "NmosPingFail" , LocalNodeAlias: "9.27.132.139"
    Lenght of the string was: 579
    The length of the final string I sent is 577 by using the string.length() function, but when I re-read the length after the send 2 more bytes got added, and now the length is 579.
    I tested it for several cases and in all cases its adding 2 extra bytes.
    Anyways, I think this is a bad solution to my problem but is the only one I could think of.
    Any help would be great!

    (a) You are counting characters, not bytes, and you aren't counting the line terminators that are appended by println() and removed by readLine().
    (b) You don't need to do any of this. TCP doesn't lose data. If the receiver manages get as far as reading the line terminator when reading a line, the line will be complete. Otherwise it will get an exception.
    (c) You are assuming that the original input and the result of message.toString() after constructing a Message from 'input' are the same but there is no evidence to this effect in the code you've posted. Clearly this assumption is what is at fault.
    (d) If you really want to count bytes, write yourself a FilterInputStream and a FilterOutputStream and wrap them around the socket streams before decorating them with the readers you are using. Have these classes count the bytes going past.
    (e) Don't use PrintWriter or PrintStream on socket streams unless you like exceptions being ignored. Judging by your desire to count characters, you shouldn't like this at all. Use BufferedWriter's methods to write strings and line terminators.

  • ADF: Best way to find out how many rows are fetched?

    Hello,
    I have overridden method executeQueryForCollection of ViewObject in which I execute supper.executeQueryForCollection and after that want to find out how many rows are fetched during the execution.
    If I try to use getFetchedRowCount I always get "0", if using getEstimatedRowCount, query are being re-executed.
    What method is better to use for that?
    Thank you,
    Veniamin Goldin
    Forbis, Ltd.

    I have a 'home-made' view called RBS, whose definition is this:
    create view RBS as
    select /*+ RULE  */ substr(s.username,1,10) oracle,
           substr(case when s.osuser like 'oramt%'
                       then nvl(upper(s.client_info),'client_info not set')
                       else substr(s.machine,instr(s.machine, '\')+1,length(s.machine))||':'||s.osuser
                  end
                  ,1,20) CLIENT
    ,      substr(''''||s.sid||','||s.serial#||''''||decode(s.status,'KILLED','*',''),1,12) kill_id
    ,      lpad(to_char(t.xidusn),4) rbs#
    ,      lpad(to_char(t.used_ublk),4) ublk
    ,      lpad(to_char(t.used_urec),8) urecords
    ,      i.block_gets
    ,      lpad(to_number(round((sysdate - to_date(t.start_time,'MM/DD/YY HH24:MI:SS')) * 60 * 60 * 24)),9) time
    ,      upper(substr(s.program,1,20)) PROGRAM
    ,      to_char(s.LOGON_TIME,'HH24:MI:SS DD-MON') LOGIN_TIME
    from   sys.v_$transaction t
    ,      sys.v_$session s
    ,      sys.v_$sess_io i
    ,      sys.v_$process p
    where  s.saddr = t.ses_addr
    and    i.sid = s.sid
    and    p.addr = s.paddr
    /By monitoring the URECORDS column value of the row that corresponds to my session doing a transaction, I can see how it progresses.
    Toon

  • How many Job_queue_processes are required?

    Hi all,
    I want to know how many Job_queue_processes are required to drive 50 schedulers.
    According to AQ manual. it says "at least 2 for message propagation" and "set higher values if there are many queues", however, there is no sizing guidelines.
    If you have an experience to create many schedulers which has multiple destination queue, please let me know what number you set to job_queue_parameters.
    NOTE: In our environment, we have 50 schedulers, and each one of it has 3 destination queues.
    Thanks in advance.

    Hi ennisb,
    Now we have 50 schedulers, and we need to propagate 100 messages per second in total. Required throughput is not so high, but we want to set latency=0.
    I think it is better to set job_queue_processes at least 50. However, I wander whether I need extra jobs to realize better performance and/or stability...

  • How many states are there in a second?

    Hi
    I have to make an animation in fireworks and I am working in seconds.
    I can't work out how many states are there in a second.
    Please help.
    Thanks in advance.

    Not really sure what you are asking. If it is the speed of playback then go to the States panel and to the right is a number. Click it. It says 7/100 sec delay. Change this to alter playback speed. It's been ages since I've done animation in Fireworks

  • How many documents are there in this Package?

    Is there an easy way to determine how many documents are in an existing Package?
    At the moment I work around it by using Search on a character pretty much guaranteed to be in them all, but I'd expect it to be a property stored somewhere?
    Acrobat Pro v8.1.2

    Apple in a press release from 2012 claimed more than 45,000 movies, but did not provide any details as to that figure. And it changes rapidly, and it would be different for each country, so unless someone went in and counted them manually in your country's iTunes Store, there won't be an accurate figure available.
    Regards.

  • How many dates are in each month?

    Is there an easy way to determine how many dates are in each
    month?
    as of right now I am looping through creating a new Date()
    and when the month changes I know the last date of the month.
    This is kind of slow, and building a switch statement would
    be kind of exhaustive.
    Any ideas?

    This method is created from the same named method in
    mx.controls.CalendarLayout:
    private function getNumberOfDaysInMonth(year:int,
    month:int):int{
    var n:int;
    if (month == 1) {
    if (((year % 4 == 0) && (year % 100 != 0)) || (year
    % 400 == 0))
    n = 29;
    else
    n = 28;
    else if (month == 3 || month == 5 || month == 8 || month ==
    10)
    n = 30;
    else
    n = 31;
    return n;

Maybe you are looking for

  • Purchase order price variance and quantity variance

    Hi All ,      I am working on a report development where we need price change , value change and quantity change in the report along with net value (ekpo-netwr) .     Can anybody suggest me tables  in ECC where the changes (price,quantity and total v

  • Storing in projects vs. albums

    Hey! I've been doing an internship for 7 months now and I've been taking pictures like crazy, I'm up to 4200 and counting. Currently I'm storing all photos in a project called internship and each event (like roadtrips) are in separate albums. Recentl

  • 9i performance tuning

    hi friends, I am familiar with 10g and have been using it for 14 months. I have been hired by another company where one of their database is 9i release 2. The application that runs in that database is very slow. I am not very familiar with 9i, but wo

  • Locking Table contol

    How to lock a table control upto where data is showing in vertical column . After that new input can be made.

  • My ipod touch safari crashes on full virtion web sits and on some other apps too any simple solutions

    my ipod touch safari crashes on full virtion web sits and on some other apps too, any simple solutions.