Space at the beginning of a row in a listbox?

i want to add rows in that way, that it look like a tree hierachy, but the listbox always remove the spaces at the beginning! what can i do?
If i use the selectOneListbox from HTML i only can set the value that should be printed, but i can't set a return value if the row is selected, is that right?
best regards

ok, here is the outcome:
<?xml version="1.0"?>
<!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">
<head>
<meta content="no-cache" http-equiv="Pragma" />
<meta content="no-cache" http-equiv="Cache-Control" />
<meta content="no-store" http-equiv="Cache-Control" />
<meta content="max-age=0" http-equiv="Cache-Control" />
<meta content="1" http-equiv="Expires" />
<title></title>
<script type="text/javascript" src="/EdithsAddRemoveList/theme/com/sun/rave/web/ui/defaulttheme/javascript/formElements.js"></script>
<link rel="stylesheet" type="text/css" href="/EdithsAddRemoveList/theme/com/sun/rave/web/ui/defaulttheme/css/css_master.css" />
<script type="text/javascript">
var sjwuic_ScrollCookie = new sjwuic_ScrollCookie('/Page1.jsp', '/EdithsAddRemoveList/faces/Page1.jsp');
</script>
<link id="link1" rel="stylesheet" type="text/css" href="/EdithsAddRemoveList/resources/stylesheet.css" />
</head>
<body id="body1" style="-rave-layout: grid">
<form id="myForm" class="form" method="post" action="/EdithsAddRemoveList/faces/Page1.jsp;jsessionid=6F2D961C364A5579FCC4A691FA389D5A" enctype="application/x-www-form-urlencoded">
<select style="height: 168px; left: 96px; top: 72px; position: absolute; width: 96px;font-family:monospace; white-space:pre" class="Lst" id="myForm:listbox1" name="myForm:listbox1" size="12" onchange="listbox_changed('myForm:listbox1');  return false;">
     <option class="LstOpt" value="8">ADAT</option>
     <option class="LstOpt" value="9">  3. Klasse</option>
     <option class="LstOpt" value="10">  4. Klasse</option>
     <option class="LstOpt" value="14">  5. Klasse</option>
     <option class="LstOpt" value="11">Englisch</option>
     <option class="LstOpt" value="12">  1. Klasse</option>
     <option class="LstOpt" value="13">  3. Klasse</option>
</select>
<input id="myForm:button1" name="myForm:button1" class="Btn2" onblur="return this.myonblur();" onfocus="return this.myonfocus();" onmouseout="return this.myonmouseout();" onmouseover="return this.myonmouseover();" style="position: absolute; left: 264px; top: 168px; width: 72px; height: 48px" type="submit" value="Button"></input><script type="text/javascript">sjwuic_assign_button('myForm:button1', defaultButtonStrings, true, false, false);</script>
<input id="myForm_hidden" name="myForm_hidden" value="myForm_hidden" type="hidden" />
<input type="hidden" name="com.sun.faces.VIEW" id="com.sun.faces.VIEW" value="_id1:_id2" />
</form>
</html>

Similar Messages

  • How to insert a black space at the beginning of a timeline

    Hi guys,
    Sorry for the stupid question....I only bought FCPX yesterday.
    I have figured out how to drop an audio file into the timeline and add some title effects to the beginning. But now i want to add a black space at the beginning.
    Is there an easy way to do this that I have simply missed - I have spent several hours trying to find a way to do it... 
    Thanks in advance for your help  
    Best regards,
    Craig

    Thanks everyone for the help - really appreciate it !!
    I didn't know that there could only be one "correct" answer - so sorry to Tom if I have done this incorrectly. I was too excited that both answers worked for me that I didn't really concentrate hard enough on whose idea it was - I thought I could mark them both as correct.
    Next time I will take more time for a considred response.
    Thanks again everyone - you really helped me out.
    Cheers,
    Craig

  • How do I delete the blank space at the beginning or end of a project?

    I constantly end up with blank space at the beginning or end of a project - how do I remove it?  I get this ALL the time and I jsut can't get rid of it.  Obviously I want my project to start at 0.00 not at 1.xx.
    Thanks.

    That's not a project. You're inside an multicam angle editor. You need to edit the multicam clip into a project. That's where you edit it.

  • Trying to use GREP to add 2 spaces to the beginning of a line, under a particular circumstance.

    Hello,
    I am trying to add 2 blank spaces to the beginning of any line that has a punctuation at the end of that line, followed by a forced line break.
    I can get the GREP to find the punctuation at the end of a line with a forced line break:
    [[:punct:]](?=\r)
    But, is there a way to tell it to now add 2 spaces to the beginning of that line?
    Any guidence is greatly appreciated.
    thanks
    babs

    If applying a paragraph style works (nice thought!), then finding [[:punct:]]\n and applying the style works fine, no need for the grouping and the lookbehind. But if it's really the case that two spaces need to be inserted, then that's possible only if the text is not formatted at all. Then
    find ^.+[[:punct:]]\n
    change to \x20\x20$0
    will do the trick (\x20 is the space character). If the text does have any formatting, a script is needed.
    Peter

  • Getting to the beginning of a row

    Hello, Does anyone know any kind of keyboard shortcut to get to the beginning of a row? In Excel on Windows I was able to work in my spreadsheets without using the mouse. Now that I have switch to Numbers I cannot find any kind of keyboard shortcut to get to the beginning of a row.
    Please help! Thank you!

    Below is an Applescript that will move the selection (cursor) to column A of the current row. It is almost entirely Yvan's work from his scripts that did additional things.
    Unless the script menu allows keyboard shortcuts, I recommend creating a service for Numbers using Automator then creating a keyboard shortcut to activate it. Control left arrow seems like a logical choice for a keyboard shortcut.
    In Automator, choose to create a new Service. The service receives "no input" in "Numbers.app". Drag and drop the Utilities/Run Applescript action. Delete the default text. Paste in the script. Run it to make sure it works. Save and give it a name like "Goto Column A". It will show up in the Services menu when you are in Numbers.
    In System preferences/Keyboard, set up a shortcut for your new menu item for Numbers.
    When you activate the service, there will be a slight delay before the action occurs but I believe it does what you requested.
    on run
    set {rname, tName, sName, dName} to my getSelection()
    if rname is not missing value then
    set twoNames to my decoupe(rname, ":")
    set {rowNum1, colNum1} to my decipher(item 1 of twoNames, dName, sName, tName)
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    set selection range to cell 1 of row rowNum1
    end tell
    end if
    end run
    --=====
    on getSelection()
    local mySelectedRanges, sheetRanges, thisRange, _, myRange, myTable, mySheet, myDoc, mySelection
    tell application "Numbers" to tell document 1
    set mySelectedRanges to selection range of every table of every sheet
    repeat with sheetRanges in mySelectedRanges
    repeat with thisRange in sheetRanges
    if contents of thisRange is not missing value then
    try
    thisRange as text
    on error errMsg number errNum
    set {_, myRange, _, myTable, _, mySheet, _, myDoc} to my decoupe(errMsg, quote)
    return {myRange, myTable, mySheet, myDoc}
    end try
    end if -- contents…
    end repeat -- thisRange
    end repeat -- sheetRanges
    end tell -- table of sheet of document of application
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe

  • Indesign adds an anoying space at the beginning of a line

    Text supplied to me very very often has the combination:
    <tab><bullet><tab>rest of text....
    If I select <tab><bullet><tab> and hit delete, Indesign replaces it with a space.
    It's very annoying because I then have to delete the space. Who needs a space at the beginning of a line like that!?
    Preferences > Autocorrect > [  ] Enable Autocorrect is OFF, so there's no substitution going on (I think).
    Can someone offer any insight as to what I need to adjust in my prefs to stop this behaviour.
    I'm using Mac OS 10.9 and Indesign 2014
    Many thanks,
    K.

    Theway  I choose to to fix this kind of problem is to Use Find and Replace. Under Find, insert the text or code that you want deleted. Under Replace, insert NOTHING, then select Change All. If you don'twant to replace all instances use the Find Next to keep the coding or use the Change/Find that will delete the code and find the next instance. I use this method all the time to get rid of the double-spaces that are frequently found in word processing files. You can probably do the same thing in your word processing program.
    It may sound complicated but it's really quite easy.

  • Unaccountable space at the beginning of a HTML document.

    I've designed and developed a website using Skeleton boilerplate and Perch CMS, and it works perfectly in all desktop browsers I've tested it in and almost does in Firefox 18.0.1 for Windows XP.
    When I browse the site and click on the news page (http://www.f3racing.co.uk/news.html) in Firefox 18.0.1 there's a weird empty space right at the beginning of the document, so the main navigation and header is pushed down maybe 190 pixels from the top of the window pane.
    This ONLY happens on the news page, Firefox doesn't add this on any other page despite it using the same boilerplate.
    When using firebug if I disable this float:
    .container .column, .container .columns {
    float: left;
    in the skeleton.css file the space vanishes, but this is vital to the boilerplate I'm using and removing it would mean a complete re-build of the website, is there a way I can get this page functioning as it does in all other browsers?

    He has a thread over there.
    http://forums.mozillazine.org/viewtopic.php?f=25&t=2655221

  • Return space in the case of no row returned

    Hi,
    I have a requirement , if sql query will not return any row in that case I want to display speace
    Please have a look into belwo example.
    select number_column1, number_column2,varchar_columb3 from my_table where column1=values
    In the case of no_row_returned above query should return space
    example
    ' ' number_column1,' ' number_column2,' 'varchar_columb3

    Hi,
    Siddharth Singh wrote:
    Hi,
    I have a requirement , if sql query will not return any row in that case I want to display speace
    Please have a look into belwo example.
    select number_column1, number_column2,varchar_columb3 from my_table where column1=values
    In the case of no_row_returned above query should return space
    example
    ' ' number_column1,' ' number_column2,' 'varchar_columb3An outer join produces results when when nothing is found in a certain table:
    SELECT     m.number_column1
    ,      m.number_column2
    ,     m.varchar_columb3
    ,     ' '     AS space_col     -- If wanted
    FROM             dual
    LEFT OUTER JOIN my_table  m  ON  m.column1  = m.vals     -- VALUES is not a good column name
    ;Whether or not space_col is included, the result set will include 1 row that appears to be empty when no data is actaully taken from my_table.

  • To add space at the begining of a file

    Hi,
      i have a requirement, when you transfer data to a file it should start writing data from 10th place.
    ex: data p_ext LIKE rlgrap-filename.
         data: var1(9)  type c value 'test data'.
         data: hold(100) type c.
         p_ext = '/devabap/if/daily/out/test1.rg'.
    open dataset p_ext for output in text mode encoding default.
    concatenate c_blank
                       var1
                       into hold
                       separated by cl_abap_char_utilities=>horizontal_tab.
    transfer cont to p_ext.
    close dataset p_ext.
    When i do this and check the file contents in AL11.
    i can see the contents like
    #test data.
    but i want to know how this can that be changed to like
                     #test data.
    Regards,
    Raghavendra.

    Hi ,
      When you use concatenate using separating , the separating string  does not come in the first place , it just comes between the values you are concatenating .
    so to acheive your result , you should again concatenate  cl_abap_char_utilities=>horizontal_tab , to your result before you transfer it to the file.
    concatenate cl_abap_char_utilities=>horizontal_tab cont into cont.
    or you can do is use the shift command after the concatenate operation.
    Here is a sample
    shift cont by 10 places RIGHT.
    Regards
    Arun
    Edited by: Arun R on Jan 22, 2009 1:29 PM

  • Audio clips cutting off at the beginning, after replacing audio.

    I have received an fla for a complex game, and have been directly replacing the audio clips in it with new ones with the same file name. The game randomly chooses themes, displaying text and a corresponding audio clip.  After replacing the old files with the new ones, out of 20 audio clips, about 6 of them get cut off at the beginning. There is no discernible difference in the length of the clips, or empty space at the beginning between the original audio files and the new ones.
    Is it possible that there is something happening in the actionscript that could be causing the problem? The fla calls a file calls Themes.as, this is the code in the file, case the answer is in there somewhere:
    import utils.Randomise;
    class com.tt.games.newsfinder.Themes{
    //AVAILABLE THEMES
    public static var THEME_1:String = "sports";
    public static var THEME_2:String = "music";
    public static var THEME_3:String = "pets";
    public static var THEME_4:String = "flying";
    public static var THEME_5:String = "new teeth";
    public static var THEME_6:String = "hats";
    public static var THEME_7:String = "bikes";
    public static var THEME_8:String = "swimming";
    public static var THEME_9:String = "zoos";
    public static var THEME_10:String = "shoes";
    public static var THEME_11:String = "bedtime stories";
    public static var THEME_12:String = "moving house";
    public static var THEME_13:String = "cleaning your teeth";
    public static var THEME_14:String = "films";
    public static var THEME_15:String = "painting and drawing";
    public static var THEME_16:String = "food";
    public static var THEME_17:String = "drinks";
    public static var THEME_18:String = "the seaside";
    public static var THEME_19:String = "trees";
    public static var THEME_20:String = "boats";
    //SELECTED THEM
    public static var CURRENT_THEME:String;
    //FRAME LABELS FOR ANT NEWS TOPICS
    public static var TOPICS_SPORT:Array = ["football","cricket","tennis","balls","bowling"];
    public static var TOPICS_MUSIC:Array = ["guitar","recorder","notes"];
    public static var TOPICS_PETS:Array = ["fish","hamster","dog","rabbit","mouse"];
    public static var TOPICS_FLYING:Array = ["plane_green","plane_yellow","plane_small"];
    public static var TOPICS_NEW_TEETH:Array = ["teeth"];
    public static var TOPICS_HATS:Array = ["hat1","hat2","hat3"];
    public static var TOPICS_BIKES:Array = ["bike1","bike2","bike3"];
    public static var TOPICS_SWIMMING:Array = ["goggles","flippers","rubber_ring"];
    public static var TOPICS_ZOO:Array = ["octopus","monkey","snake","dolphin"];
    public static var TOPICS_SHOES:Array = ["shoes1","shoes2","shoes3"];
    public static var TOPICS_BOOKS:Array = ["book1","book2","book3"];
    public static var TOPICS_MOVING:Array = ["box1","box2","box3"];
    public static var TOPICS_CLEANING_TEETH:Array = ["toothpaste"];
    public static var TOPICS_FILM:Array = ["projector","camera"];
    public static var TOPICS_DRAWING:Array = ["pencil"];
    public static var TOPICS_FOOD:Array = ["cake"];
    public static var TOPICS_DRINK:Array = ["tea_pot","cups"];
    public static var TOPICS_SEASIDE:Array = ["sandcastle","bucket","spade","crabs"];
    public static var TOPICS_TREES:Array = ["tree1","tree2","tree3"];
    public static var TOPICS_BOATS:Array = ["boat1","boat2","boat3"];
    public static function fGetTopicsByTheme(p_nLength:Number):Array{
    var l_aTopics:Array = new Array();
    var l_aChosen:Array = new Array();
    switch(CURRENT_THEME){
    case THEME_1: l_aTopics = TOPICS_SPORT.slice(); break;
    case THEME_2: l_aTopics = TOPICS_MUSIC.slice(); break;
    case THEME_3: l_aTopics = TOPICS_PETS.slice(); break;
    case THEME_4: l_aTopics = TOPICS_FLYING.slice(); break;
    case THEME_5: l_aTopics = TOPICS_NEW_TEETH.slice(); break;
    case THEME_6: l_aTopics = TOPICS_HATS.slice(); break;
    case THEME_7: l_aTopics = TOPICS_BIKES.slice(); break;
    case THEME_8: l_aTopics = TOPICS_SWIMMING.slice(); break;
    case THEME_9: l_aTopics = TOPICS_ZOO.slice(); break;
    case THEME_10: l_aTopics = TOPICS_SHOES.slice(); break;
    case THEME_11: l_aTopics = TOPICS_BOOKS.slice(); break;
    case THEME_12: l_aTopics = TOPICS_MOVING.slice(); break;
    case THEME_13: l_aTopics = TOPICS_CLEANING_TEETH.slice(); break;
    case THEME_14: l_aTopics = TOPICS_FILM.slice(); break;
    case THEME_15: l_aTopics = TOPICS_DRAWING.slice(); break;
    case THEME_16: l_aTopics = TOPICS_FOOD.slice(); break;
    case THEME_17: l_aTopics = TOPICS_DRINK.slice(); break;
    case THEME_18: l_aTopics = TOPICS_SEASIDE.slice(); break;
    case THEME_19: l_aTopics = TOPICS_TREES.slice(); break;
    case THEME_20: l_aTopics = TOPICS_BOATS.slice(); break;
    if(l_aTopics.length < p_nLength){
    //make it long enough!
    var l_nDif:Number = p_nLength - l_aTopics.length;
    for(var i:Number = 0; i< l_nDif; i++){
    //add the list itself, in case its length is 1!
    l_aTopics = l_aTopics.concat(l_aTopics);
    //now trim it
    l_aChosen = l_aTopics.slice(0,p_nLength);
    return l_aChosen;
    * get a random selection of topics of a fixed length, not including those from the chosen theme
    public static function fGetRandomTopics(p_nItems:Number):Array{
    var l_aTopics:Array = new Array();
    if(CURRENT_THEME != THEME_1) l_aTopics = l_aTopics.concat(TOPICS_SPORT);
    if(CURRENT_THEME != THEME_2) l_aTopics = l_aTopics.concat(TOPICS_MUSIC);
    if(CURRENT_THEME != THEME_3) l_aTopics = l_aTopics.concat(TOPICS_PETS);
    if(CURRENT_THEME != THEME_4) l_aTopics = l_aTopics.concat(TOPICS_FLYING);
    if(CURRENT_THEME != THEME_5) l_aTopics = l_aTopics.concat(TOPICS_NEW_TEETH);
    if(CURRENT_THEME != THEME_6) l_aTopics = l_aTopics.concat(TOPICS_HATS);
    if(CURRENT_THEME != THEME_7) l_aTopics = l_aTopics.concat(TOPICS_BIKES);
    if(CURRENT_THEME != THEME_8) l_aTopics = l_aTopics.concat(TOPICS_SWIMMING);
    if(CURRENT_THEME != THEME_9) l_aTopics = l_aTopics.concat(TOPICS_ZOO);
    if(CURRENT_THEME != THEME_10) l_aTopics = l_aTopics.concat(TOPICS_SHOES);
    if(CURRENT_THEME != THEME_11) l_aTopics = l_aTopics.concat(TOPICS_BOOKS);
    if(CURRENT_THEME != THEME_12) l_aTopics = l_aTopics.concat(TOPICS_MOVING);
    if(CURRENT_THEME != THEME_13) l_aTopics = l_aTopics.concat(TOPICS_CLEANING_TEETH);
    if(CURRENT_THEME != THEME_14) l_aTopics = l_aTopics.concat(TOPICS_FILM);
    if(CURRENT_THEME != THEME_15) l_aTopics = l_aTopics.concat(TOPICS_DRAWING);
    if(CURRENT_THEME != THEME_16) l_aTopics = l_aTopics.concat(TOPICS_FOOD);
    if(CURRENT_THEME != THEME_17) l_aTopics = l_aTopics.concat(TOPICS_DRINK);
    if(CURRENT_THEME != THEME_18) l_aTopics = l_aTopics.concat(TOPICS_SEASIDE);
    if(CURRENT_THEME != THEME_19) l_aTopics = l_aTopics.concat(TOPICS_TREES);
    if(CURRENT_THEME != THEME_20) l_aTopics = l_aTopics.concat(TOPICS_BOATS);
    l_aTopics = Randomise.fRandomise(l_aTopics);
    return l_aTopics.slice(0,p_nItems);
    public static function fGetThemeByTopic(p_sTopic:String):String{
    if(fIsInList(p_sTopic,TOPICS_SPORT)) return THEME_1;
    if(fIsInList(p_sTopic,TOPICS_MUSIC)) return THEME_2;
    if(fIsInList(p_sTopic,TOPICS_PETS)) return THEME_3;
    if(fIsInList(p_sTopic,TOPICS_FLYING)) return THEME_4;
    if(fIsInList(p_sTopic,TOPICS_NEW_TEETH)) return THEME_5;
    if(fIsInList(p_sTopic,TOPICS_HATS)) return THEME_6;
    if(fIsInList(p_sTopic,TOPICS_BIKES)) return THEME_7;
    if(fIsInList(p_sTopic,TOPICS_SWIMMING)) return THEME_8;
    if(fIsInList(p_sTopic,TOPICS_ZOO)) return THEME_9;
    if(fIsInList(p_sTopic,TOPICS_SHOES)) return THEME_10;
    if(fIsInList(p_sTopic,TOPICS_BOOKS)) return THEME_11;
    if(fIsInList(p_sTopic,TOPICS_MOVING)) return THEME_12;
    if(fIsInList(p_sTopic,TOPICS_CLEANING_TEETH)) return THEME_13;
    if(fIsInList(p_sTopic,TOPICS_FILM)) return THEME_14;
    if(fIsInList(p_sTopic,TOPICS_DRAWING)) return THEME_15;
    if(fIsInList(p_sTopic,TOPICS_FOOD)) return THEME_16;
    if(fIsInList(p_sTopic,TOPICS_DRINK)) return THEME_17;
    if(fIsInList(p_sTopic,TOPICS_SEASIDE)) return THEME_18;
    if(fIsInList(p_sTopic,TOPICS_TREES)) return THEME_19;
    if(fIsInList(p_sTopic,TOPICS_BOATS)) return THEME_20;
    return "";
    private static function fIsInList(p_s:String,p_aList:Array):Boolean{
    var l_n:Number = p_aList.length;
    var l_b:Boolean = false;
    for(var i:Number = 0; i < l_n;i++){
    if(p_aList[i] == p_s){
    //trace("!!! ** match >> " + p_aList[i] + " matches " + p_s);
    l_b = true;
    break;
    return l_b;
    public static function fRandomTheme():String{
    var l_aThemes:Array = [THEME_1,
    THEME_2,
    THEME_3,
    THEME_4,
    THEME_5,
    THEME_6,
    THEME_7,
    THEME_8,
    THEME_9,
    //THEME_10, << removed the shoes topic as we didn't have the audio for it!
    THEME_11,
    THEME_12,
    THEME_13,
    THEME_14,
    THEME_15,
    THEME_16,
    THEME_17,
    THEME_18,
    THEME_19,
    THEME_20
    var l_s:String = String(Randomise.fPickRandom(l_aThemes));
    CURRENT_THEME = l_s;
    return l_s;
    public static function fGetHeader(p_n:Number):String{
    var l_sHeader:String = "Can you find " + p_n + " people who ";
    l_sHeader += fGetActivity();
    l_sHeader += "?";
    return l_sHeader;
    public static function fGetEndTxt(p_n:Number):String{
    var l_sTxt:String = "That's brilli-Ant! You found " + p_n + " people who ";
    l_sTxt += fGetActivity();
    l_sTxt += "!";
    return l_sTxt;
    public static function fGetActivity():String{
    var l_sHeader:String ="";
    switch(CURRENT_THEME){
    case THEME_1: l_sHeader += "played sports today"; break;
    case THEME_2: l_sHeader += "are learning a musical instrument"; break;
    case THEME_3: l_sHeader += "have a new pet"; break;
    case THEME_4: l_sHeader += "have been flying"; break;
    case THEME_5: l_sHeader += "have lost a tooth"; break;
    case THEME_6: l_sHeader += "are wearing a hat"; break;
    case THEME_7: l_sHeader += "can ride a bike"; break;
    case THEME_8: l_sHeader += "went swimming"; break;
    case THEME_9: l_sHeader += "went to the zoo"; break;
    case THEME_10: l_sHeader += "have new shoes"; break;
    case THEME_11: l_sHeader += "read a book"; break;
    case THEME_12: l_sHeader += "are moving house"; break;
    case THEME_13: l_sHeader += "cleaned their own teeth"; break;
    case THEME_14: l_sHeader += "watched a film"; break;
    case THEME_15: l_sHeader += "drew a picture"; break;
    case THEME_16: l_sHeader += "baked a cake"; break;
    case THEME_17: l_sHeader += "made a cup of tea"; break;
    case THEME_18: l_sHeader += "went to the beach"; break;
    case THEME_19: l_sHeader += "climbed a tree"; break;
    case THEME_20: l_sHeader += "have been in a boat"; break;
    return l_sHeader;
    public static function fGetSuggestion():String{
    var l_sTxt:String = ""
    switch(CURRENT_THEME){
    case  THEME_1: l_sTxt = "How many sports can you think of that you play with a ball? How many of them have you played?"; break;
    case  THEME_2: l_sTxt = "Do you know any songs? Why not sing it right now?"; break;
    case  THEME_3: l_sTxt = "How about taking the dog for a walk? You don’t have a dog? Take someone else’s dog for a walk!"; break;
    case  THEME_4: l_sTxt = "Not everyone can go flying, but everyone can fly a kite! Why don’t you make your own kite and see if it flies?"; break;
    case  THEME_5: l_sTxt = "Have you got a wobbly tooth? Don’t forget to put it under your pillow when it falls out!"; break;
    case  THEME_6: l_sTxt = "Does your Mum have a hat? What does it look like on you?"; break;
    case  THEME_7: l_sTxt = "Can your Dad ride a bike? Why don’t you ask him?"; break;
    case  THEME_8: l_sTxt = "Can your Mum swim? Why don’t you ask her?"; break;
    case  THEME_9: l_sTxt = "How many animals can you think of that begin with the letter M? Ask someone else and see who thinks of the most!"; break;
    //case  THEME_10: l_sTxt = "shoes..."; break;
    case  THEME_11: l_sTxt = "What’s your favourite bedtime story? Can you read it to yourself?"; break;
    case  THEME_12: l_sTxt = "Have you ever moved house? Why not ask a grown-up about a time when they moved house?"; break;
    case  THEME_13: l_sTxt = "Have you cleaned your teeth today? I hope so! How many toothbrushes are there in your bathroom?"; break;
    case  THEME_14: l_sTxt = "What was the last film you saw? Do you have a favourite? Ask a grown-up to tell you about their favourite film!"; break;
    case  THEME_15: l_sTxt = "You can draw your news too! Draw a picture of what you did today!"; break;
    case  THEME_16: l_sTxt = "Have you ever baked a cake? Cooking can be fun - and if you make something delicious, that’s definitely news!"; break;
    case  THEME_17: l_sTxt = "Fruits make great drinks. How many different fruits can you think of that you can drink?"; break;
    case  THEME_18: l_sTxt = "You can do lots of different things at the beach. How many different things can you think of?"; break;
    case  THEME_19: l_sTxt = "Can you see any trees outside the nearest window? How many can you see?"; break;
    case  THEME_20: l_sTxt = "Why don’t you make your own boat and see if it floats in the bath?"; break;
    return l_sTxt;
    Any help would be extremely appreciated.
    Thank you,
    Ginger

    If you have not upgraded to version 7 you should do that.
    If you have upgraded to Version 7, be sure to do the updates to 7.0.5
    Go to the Help menu and select 'About Adobe Presenter' to see what version, if it is 7.0, to 7.0.2 you need to update it
    drop down the help menu again and you will see an 'update' option.
    you need to install in order - 7.0.1, then 7.0.2 then 7.0.5 - you cannot install all at once
    another thing you might want to do is open the file you are working on in 7.0.5 snd save it out with a new filename in a new location to combat that pesky problem of the 'media.ppcx' file disappearing....

  • Check space in the end to display warning message.

    I am currently working on validations on functional locations in the EDIT MASK. the code is already written for validations on to check for space in the beginning of the each level in the edit mask. however user requirement is that the program should produce warning messages for spaces regardless of where they appear in the Edit Mask. we have not validated to check for space at the end of each level.
    I have checked with condense ,shift string right deleting trailing spaces however I am not able to check for space at the end of levels.
    when i debugged the program the level8 length shows as 2 even though there is only one char in the level8. i
    could you please suggest any possible solution or any keywords that would help. you can go through the below code which is already written for checking space in the begining.
    here l_level1
    Level 8 errors
        l_length = STRLEN( l_level8 ).
    IF ( l_level8 = space AND l_dash_count > 6 ) OR
             l_dash_count > 7 OR
             l_length > 4.
          lt_mask_err-error = '8E'.
          APPEND lt_mask_err.
          l_errlvl8 = c_y.
        ENDIF.
    Level 8 Warning
        IF rb_bdc <> c_on AND p_warn = c_on AND
        ( l_level8 <> space AND l_level8+0(1) = space ).
          lt_mask_err-error = '8W'.
          APPEND lt_mask_err.
        ENDIF.
    i have added this code to display warning message using shift.
        l_lev8 = l_level8.                                                
        shift l_lev8 right.                                             
        l_length = STRLEN( l_lev8 ).                                    
        IF rb_bdc <> c_on AND p_warn = c_on AND                       
        ( l_lev8 <> space AND l_lev8+0(1) = space ).                    
          lt_mask_err-error = '1W'.                                     
          APPEND lt_mask_err.                                          
        ENDIF.

    You can use REGEX for string parsing, it is really handy. If you would like to test it out check out program "demo_regex_toy".
    Trailing space:
    FIND REGEX '[ ]+$' IN lv_text.
    leading space
    FIND REGEX '^[ ]+' IN lv_text.
    Any space
    FIND ALL OCCURRENCES OF REGEX '[ ]+' IN lv_text.

  • How to let the data appears at the beginning of the second page?

    Hi All,
    I've created a form-like report and it's layout model is like this:
    !http://up1.arb-up.com/files/arb-up-2009-9/Fgm23304.jpg!
    You can see parent repeating frame number 1 and child number 2 in red
    suppose that the normal frame containing f1 is suffused by fields within repeating frame 1
    If I run the report the first page will appear normally, but the second page the field f2 will not appear at the beginning of it. I want the field f2 appearing at the beginning of page 2 because there is a blank space at the beginning of it.

    give the property of the fiield f2 --> print object on -- All Pages.
    and give the property of field F_2 and child repeating Frame property --> vertical elasticity -- variable

  • Want to include spaces in the Results in the Text field.

    Hi All,
    Please help with the possible ways.
    I want to ge the output of a test filed in the results as such.
    I need to get a <Space> then the names.
    for e.g. I want <Space><Space> and then the test field in my answers report.
    Currently when I give ' ' and concat it with the column name it doesnt provide two spaces at the begining.
    Any other ways to do it.
    regards,
    Bhavik

    Hi Bhavik,
    try this, go to column properties -> Dataformat -> Change treat text as drop down -> plain text (don't break spaces).
    this will allow spaces.
    Thanks,
    Vino

  • SmartForm: Require Space between the various text mentioned in the invoice

    Hi Experts,
    The issue is that the user expects a space between the various text mentioned in the invoice so that it is easier to read the data.
    Current text:
    "LubeAnalyst#Nr.:1234212/AMOTDate:25.11.09Component:GasMotor"
    Users request of how he wants the text to look like with spaces:
    "LubeAnalyst#  :1234212/AMOT  Date:25.11.09  Component:GasMotor"
    Our suggestion to the user:
    1) Go to the sales order in change mode using transaction VA02
    2) Double click on the line item (material)
    3) Go to the texts tab and then to additional billing text
    4) You will find the text in the adjacent window
    5) You can edit the text so as to enter a space at the beginning of each line and the same will be reflected in the invoice document after you reprocess the output
    6) Save the changes by clicking on the save button
    Users Response:
    The order will be generated automatically.
    The order will be generated as a after event order and after this the invoice will be send directly from our cmpany to the customer, so we have no possibility to make any change in the system.
    The order and invoice are processed completely automatically, so we are unable to do any manual job!
    It's an auitomatic process, so the first solution, which is described down, isn't helpfull for me.
    Help Regarding:
    Dear Sdners, please guide me towards a fix for this issue.
    Regards,
    SuryaD.
    Edited by: SuryaD on Nov 27, 2009 12:57 PM

    Hello!
    It seems, that the text is everytime containing same tags as "LubeAnalyst", "Date" and "Component". I would add a coding node before the text-node that uses the command "find" searching the string for these tags and then split the string by given positions of "find" using the command "split" or by using the string offset.
    Kind regards,
    Klaus

  • How to create a table with the spaces between the row..

    Hello,
    I am using jdev 11.1.1.6 and I need to insert the spaces between the rows. How this can be done?
    Thanks and Regards,
    Tarun Agrawal

    Hi Tarun,
    This css rule is useful to set the padding on each cell:
    .AFTableCellPadding:alias {
      padding: 10px 0px 10px 0px;
    }But if you want to insert a real space between the rows (property "cellspacing") you can do something like this:
    af|table > div + div > table {
      border-collapse: separate;
      border-spacing: 0px 5px;
    }AP

Maybe you are looking for

  • Linking of hotspot in ALV to a program

    Hi All... How can i Navigate to a program from a field of ALV list, on which Hotspot in selected??   it_t-col_pos = '2'.   it_t-fieldname = 'PROGNAME'. *IT_T-ref_fieldname = 'P_CODE'. *IT_T-ref_tabname = 'I_ALL'.   it_t-seltext_m = 'Program Name'.  

  • IPhone 5 time is incorrect

    After I update my phone to ios 6.1.2 the time is already incorrect. I tried to restore and hard reset the phone still not working. I even set the timzone manually it goes back to the original problem. Is there anyone who can help? thanks!

  • Hi ragarding ALV Reports

    Hi..... how we maintain list headings in case of alv interactive reporting. please provide some logic hints if possible.

  • How do I connect my scanner to Photoshop CC?

    I just recently switched to Photoshop CC. I use my scanner regularly, but now I can't figure out how to connect my scanner to Photoshop CC. How do I go about connecting it? Thanks!

  • Import a DVD to iMovie?

    hi, I have a family event on DVD that I need to import to iMovie at full quality for re-editing. any ideas? I've tried a demo of DVDxDV, but the program isn't working properly. regards.