Dynamic thtmlb:inputField .../ in a loop will not be bound

Hi together,
I want to generate a count of input fields with this code
<%
DATA:
lv_num_prods TYPE string,
lv_count    TYPE string.
DO 5 TIMES.
lv_count = lv_count + 1.
CONCATENATE '//PRODUCTS/PROD_NO_' lv_count INTO lv_field_value.
CONDENSE lv_field_value NO-GAPS.
%>
<thtmlb:inputField id            = "products.prod_no_<%= lv_count %>"
                       value         = "<%= lv_field_value %>"
                       tooltip       = "Eingabe der Produktnummer Position <%= lv_count %>."
                       disabled      = "FALSE"
                       width         = "90%"
                       encode        = "X"
                       submitOnEnter = "X" />
<%
ENDDO.
%>
The "lv_field_value" contains e.g. '//PRODUCTS/PROD_NO_1' in the first iteration. The context node "products" and attribute "prod_no_1" exists.
-> PROBLEM: The input field will not be bound to the attribute
If I use the following code instead, it will be bound! So where is the difference???
<thtmlb:inputField id            = "products.prod_no_<%= lv_count %>"
                       value         = "//PRODUCTS/PROD_NO_1"
                       [...] />
Thanks for your help!!!

Hi Taiga,
You cannot do the binding using the "Value" attribute. There's a blog by Thomas Jung that talks about this bit, but I can't seem to find it now. Generate the input field using the factory class "cl_thtmlb_inputfield=>factory" and specify the binding string via the "_Value" instead of "Value". Include other attributes as is necessary. Use the returned bee to render the field.
ip ?= cl_thtmlb_inputfield=>factory( id = lv_string
  _value = lv_bind_string ).
<bsp:bee bee="<%= ip %>" />
Regards,
Arun Prakash

Similar Messages

  • Loops will not show up in browser

    Im new to Garageband..still, I keep getting a message that no apple loops are installed even though I know they are. I have even installed a Jampack and another set of ProSessions loops. When I try dragging the folders into the broswer, they still do not show..what am I doing wrong?

    I followed the instructions here to reindex the loops:
    http://docs.info.apple.com/article.html?artnum=107977
    However after that, all the loops were not showing (mainly from the Voices Jam Pack). In the Finder, I see ones called "Nathan Improv" 01-14. However in the Garageband loop browser, I only see 01, 02, 04, 05, 10, 11, and 12. Out of the 1500 loops, it's only showing 429 under all effects.
    Finally found another link: http://www.bulletsandbones.com/GB/GBFAQ.html#noloops
    which had a blurb about missing loops:
    +Also note that loops in a different time signature than your song, will not be displayed. Additionally, by default, the loop browser only displays loops within two semitones of the key of your project. Turning off "Keyword Browsing" in GB's prefs will allow all loops to be displayed regardless of key (the time signature requirement still applies).+
    I turned off Keyword Browsing and was able to see all the loops in Voices that I wasn't able to see before.

  • HT201368 Apple Loops will not Index

    I have been using logic flawlessly for years. I opened a new track and when I tried to look for my loops. They were gone. It says they "Can't find loops" Then asks me to index my loop library. I did so, but they are still not showing up. I am running 10.9.1 and Logic 9

    I wrote a thread about this a while ago, but I'm not sure it will help you, as it's similar to what you're doing. Thought I'd give you the link anyway, in case there's something there that helps. There are several responses, and perhaps one of them will give you the info that you need. Good Luck!
    http://discussions.apple.com/thread.jspa?threadID=1395469

  • For Loop Will Not Execute

    I have been a software engineer for a number of years now, and thus far I have never come across any coding issues that truly merit a post such as this. Someone has almost always run across the issue before, so there is no need to reinvent the wheel, or solution as it were.
    However, a number of times I have run across instances where the JRE simply... does not execute parts of my code, and throws no exceptions.
    The sample code is a simple logging application, watered down to the bare minimum for the purposes of this forum:
    public class Log {
    public static void main(String[] args)    {Log log = new Log();}
    public Log() {Logger.log("Hello World");}
    import java.util.*;*
    import java.io.*;
    import java.text.SimpleDateFormat;
    public abstract class Logger {
    private static final int SIZE = 2;
    private static final SimpleDateFormat DAY = new SimpleDateFormat("EEEE");
    private static final String
      DIR = "logs/",
      EXT = ".log",
      FILTER = ".*log\\z",
      DNE = "DNE";
    private static int i,oldest;
    private static long previous = 0;
    private static FileFilter filter = new LogFilter();
    private static FileWriter out;
    private static File file,directory;
    private static File[] list;
    public synchronized static void log(String param) {
      try {
       directory = new File(DIR);
       file = new File(DIR + getDay() + EXT);
       list = directory.listFiles(filter);
       if (file.createNewFile()) {
        readOnly();
        reconcile();
       write(param);
      catch (Exception exception) {}
    private static void write(String param) throws Exception {
      out = new FileWriter(file, true);
      out.write(param);
      out.close();
    private static void readOnly() throws Exception {
      for (i=0;i<list.length;i++) {list.setReadOnly();}
    private static void reconcile() {
    try {
    previous = list[SIZE].lastModified();
    oldest = SIZE;
    for (i=SIZE;i<=0;i--) {
    if (list[i].lastModified() <= previous) {
    previous = list[i].lastModified();
    oldest = i;
    list[oldest].delete();
    catch (Exception exception) {System.out.println("Skipping reconciliation...");}
    private static String getDay() throws Exception {
    return DAY.format(Calendar.getInstance().getTime());
    private static class LogFilter implements FileFilter {
    public LogFilter() {}
    public boolean accept(File param) {
    try {
    if ((param.getName()).matches(FILTER)) {return true;}
    else {return false;}
    catch (Exception exception) {return false;}
    *The problem*:
    Ok, easy visual, this is the "log/" directory as I run the Log.java application repeatedly and iterate the date on my computer as I do so.
    Thursday
    *log/*
    +Thursday.log+
    Friday
    *log/*
    +Thursday.log+
    +Friday.log+
    Saturday
    *log/*
    +Thursday.log+
    +Friday.log+
    +Saturday.log+
    Sunday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Sunday.log+
    Monday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Monday.log+
    This is the point at which I go ???
    Turns out, the JRE skips the execution of my for loop in the *reconcile()* method when the date rolls over to Monday, and from then on it simply deletes the previous day's log instead of the oldest log.
    Why?  Who knows.
    Things I have tried:
    - Using another variable integer for the *readOnly()* method
    - Removing the synchronized keyword from the *log(String param)* method
    - Second call to *directory.listFiles(filter)* and setting *SIZE* to *3* after the old files have been set to read-only
    - Removing the call to *readOnly()*
    - Verified that the call to *readOnly()* does not alter the +modified+ date on the log files
    - Changed Logger.java from a +static+ class to a +local+ class
    Things I cannot do:
    This log application stores privy information about end-users at locations across the country in the event that there are support issues that need to be resolved, and the agreement is that we store this information no more than three days.  Just wanted to make sure, that the hopefully informed respondants to this issue, know that the obvious solution (storing seven day records), is unfortunately not available to me.
    Edited by: Threadstorm on Jan 8, 2009 8:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HA! Most excellent. The last place I would ever look.
    Yes, seems like Java sorts the files in such a way that everything works fine without the loop until Monday rolls over.
    Now I can have a better appreciation for that second set of eyes.
    I use for loops so frequently that I never look at them (though I did stare at this one myself prior to this post, much to my chagrin now) but the subtracting iteration (which I use once in a blue moon) was necessary for the nature of the code.
    But ok, up and running! (whew) was going to be a long day until now.
    To answer your question though, the Logger is static so I don't have to pass it around to dozens and dozens of other modules but rather just include the package on the fly as I develop new modules that need to log information, and I like to write most mundane things myself if I can, that way I have the freedom to modify them at will.
    Thanks again! I'm now a happy camper once more.
    I'm also thankful that I don't have to chalk up another notch on the wall of cases where the JRE behaves magically and truly ignores code which I have definitely run into before. Something about listCellRenderers and the order of calls made to them, or some such and JRE doesn't read one of the lines. It's been a year or two.
    Edited by: Threadstorm on Jan 8, 2009 8:47 AM

  • IPod touch 4th gen stuck in connect/disconnect loop, will not charge on desktop PC, but is recognized fine by older laptop?

    I have an iPod 4th gen that up until the week before was connecting and charging fine on my desktop computer (running Windows 7(64-bit)).  Now, when connected to the USB ports on my desktop, it goes into this rapid and unending connect/disconnect loop, never staying connected long enough to even be recognized by the computer.  There is an error message that also says that charging is not supported by the computer, when before, things were fine.  Despite all the problems on the desktop, the iPod is recognized fine by my 5 year old laptop, which is running a simplified version Windows XP.  Halp.  I've tried everything on the iPod support pages regarding this issue, and would really like to avoid calling Apple about this.  Any suggestions?

    Try putting it is DFU mode:
    http://www.ijailbreak.com/apple_news/using-dfu-mode-to-fix-ipod-touch-and-iphone -errors/

  • CS5 - License Agreement Loops - Will not allow me to Run Software

    Originally I posted the following:
    Dec 11th
    I've been trying to install CS5 Master Edition.  Disk I installed and I was asked to install disk II,  it reached 51 percent and THEN it asked me to "please insert Disk CS5 Master Collection II to continue - then would not read the disk.  I am running Windows Vista Premium Edition, I have 4 GB of Ram and 108 GB disk space available.  I checked disk II and it is clean so it should work.
    John T. Smith suggested the following:  "Create a folder on your hard drive and see if you can use WinExplorer to copy all of the disc to that folder, and run from the folder."  Which I did and the installation completed successfully.
    Dec 12th
    Now, when I go to open any of the programs, i.e. photoshop I am asked to accept the license agreement, which I do.  I am then asked for my serial number which I provide and I get the little green check mark.  When I click on continue it loops me back to the license agreement. It keeps looping and I cannot access any of the programs.
    I then installed Adobe Acrobat 9.3.  When I attempt access the program I received the following error message "you cannot use this produce at this time, you must repair the problem by uninstalling and reinstalling this product."
    Honestly I have never had so many problems installing any product.  To top it off Adobe does not offer any technical support on the weekends.  I've been fighting all weekend with this product when I need to get assignments done.  I'm truly at my wits end.  If anyone out there has experienced similar issues I would so appreciate hearing from you and anything you did to resolve them. 

    It sounds like you had a bad disk which is rare but hey it happens.  Here's what I would do.
    Deactivate the software (assuming you can launch an application)
    Uninstall everything
    Run the Adobe CS5 Clean Tool - http://www.adobe.com/support/contact/cs5clean.html
    Optional Paranoid steps - restart the PC, run the CS5 clean tool again to verify there is nothing (Adobe MC5 anyway) on your system
    Restart the PC
    Make sure any and all anti-virus and anything you can turn off is off.
    Install Master Collection as before.
    I hope this helps and I'm sorry that you're experiencing some problems.  If the above doesn't work, I'd consider requesting new media to install your software on.
    Best,
    Dennis

  • Subvi will not terminate

    I am having issues with terminating a subvi. From searching the forum, I have found that several people want a similar setup, but I was unable to find one that met my needs. I am trying to have a "main" vi that have "links" to other "vi's" so that when you click the button on the main front panel, the front panel of the subvi opens. This part I was able to accomplish fine, however, I have been having difficulty terminating and closing just the vi without causing an error across the entire setup or terminating the entire setup. The main issue in the sample code below, is that the front panel will close, but will still be running in the background, as can be seen when looking at the main vi. Any help would
    be greatly appreciated. The main vi is labeled "trial.vi" and the subvi is "furnace 1."
    Thank you for your time
    Attachments:
    Labview.zip ‏579 KB

    In Furnace.vi you have two loops with event structures.  That is generally not a good idea.  Please read the caveats about event structures in the help.  Second, both event structures have subVIs which are quite complex, containing their own event structures.  Event structures should not contain any code which takes more than perhaps a few tens of milliseconds to execute.  Anything longer than that should be in a parallel loop. Those loops will not respond to the stop buttons until after an event occurs.
    Similarly, Trial.vi will not stop unitl the stop button is read and the event structure executes.  Since the Stop button will probably be read before an event occurs, another iteration of the loop will likely occur after the stop button is pressed, meaing that it will wait for another event to occur and complete before stopping.
    I would be amazed if you could actually get this thing to stop!
    Look at Producer/Consumer (Events) Design Pattern.  I suspect that you can do everything you need to do with two loops and one event structure.
    Lynn

  • RV180 router will not connect to ISP using PPPoE

    I had the same problem.  The RV180W would not connect to an AT&T DSL connection using PPPoE (modem in bridge mode), or behind the DSL Modem/router with the DSL modem/router providing a dynamic IP to the RV180W or a cable modem (TimeWarner Roadrunner dynamic IP).  I upgraded the firmware yesterday and now the RV180W will connect to a dynamic WAN IP, but it still will not connect using PPPoE.
    I have also noticed the admin interface is only accessible about 75% of the time.  When going to 192.168.1.1 the login prompts either don't come up or if they do, after logging in, the screen never fully loads after that.  I have to reboot the router to get it to work.
    Also, the router has not yet pulled DNS from either the DSL or the cable modem.  I had to manually enter those addresses.
    Any suggestions on the PPPoE issue?  Any thoughts as to why the admin interface is not always accessible or the DNS?
    Thank you,
    Ron

    Hi Ron, thanks for using our forum, my name is Johnnatan and I am part of the Small business Support community. About your login issue I recommend you to use different browsers such as Mozilla, i.e 9.0 or superior, Safari, Opera etc. About the PPPoE question, basically you just need the username and the password provided by your ISP. Can you please reach out to our Small Business Support Center and open a Service Request to address this issue? One of our Engineers may be able to work with you and diagnose the root cause. You can find the appropriate contact information for SBSC in the below link. http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
    I hope you find this answer useful,
    *Please mark the question as Answered or rate it so other users can benefit from it*
    Greetings,
    Johnnatan Rodriguez Miranda.
    Cisco Network Support Engineer.

  • FF 15.0 on Windows 7 (64 bit) PC opens in Safe Mode but will NOT open after letting FF do reset procedure; now "stuck" in loop.

    1) FF 15.0.0.4619 on Windows PC 64 bit machine. No themes; about a dozen fairly standard plug-ins; a few extensions - fairly vanilla setup. Been having occassional problem this past week in viewing web PDFs.
    Crash occurred after some program (adobe ??) wanted to do routine update.
    2) Upon clicking FF icon pop up indicates "problem and unexpected crash" but clicking details button does NOT provide any info. Clicking on Restart FF button offers me option to Start in Safe Mode or Quit FF.
    3) Starts in Safe Mode and first time I did that FF reported Java as being disabled and NOT upto date. Did Java update/install (Java Platform SE 7 U7 10.7.2). FF still will not start except in Safe Mode.
    4) Re-booted computer ... Clicking FF icon brings up pop up with problem and crash sentence but no details. Following screen offers Reset to Default option, and upon clicking Reset it takes me back to the same pop up - so I am stuck in a loop that seems to accomplish nothing. Using Reset upon entering Sage Mode results in same loop.
    I really hate using IE so appreciate any assistance in getting back to beloved FF.

    http://kb.mozillazine.org/Standard_diagnostic_%28Firefox%29

  • Logic will not let me edit Apple Loops in the Audio Window.  Any ideas?

    When I select a blue apple loop and put it in an audio track it works perfectly but when I go to the audio window it will not let me edit the Apple Loop. A window pops up and says "The requested action can not be performed because the edited file is an Apple Loop." In the manual it says that both green and blue Apple loops can be edited but every time I try to edit an Apple Loop that window pops up. It only does this for apple loops. What can I do.

    Hi there, this is because you cannot edit apple loops, other than cutting blue loops witht he scissors. If you want to edit/alter loops bounce them down to audio files, then you can do pretty much anything..
    cheers tommy
    DUAL 2.5GHZ G5 20" CINEMA DISPLAY 2.5GB RAM   Mac OS X (10.4.3)   LOGIC 7.1.1 MOTU 828 MK2 ISIGHT BT KEYBOARD AND MOUSE

  • After Effects CS5.5 will not open a Dynamically Linked Premiere Pro sequence in the comp. window

    Hi all,
    I'm trying to export a Premiere Pro sequence which is in 2K and the footage has been shot as RED 5K. Adobe Media Encoder will simply not work as I am having the quite widely discussed issue where it will just 'hang' at certain points and not complete the export.
    The most popular solution to this problem is to export via the Render Queue in After Effects instead. However, therein lies the problem.
    I go onto After Effects. Choose File -> Dynamic Link -> Import Premiere Pro Sequence.
    The box pops up, I choose the Premiere Pro Project File then select the sequence I want to export. It then appears in the After Effects project panel window like so:
    However - when I try and drag this to a new composition window, one of two things have happened. Either A) nothing happens (literally, NOTHING changes) or B) as the following example shows, it seems to add it to a new composition, but the video is entirely black. I have tried rendering it and it just produces a black video.
    The other thing people seem to suggest is to just import the entire Premiere Pro sequence into After Effects. I've tried this, but any titles I have added in PP force the video to fade out then back in, in the place where the title should be?? So I can't export the video this way either.
    My system is as follows:
    Thanks massively in advance for any help that is provided!

    This is months old but I'm now having the same problem with AE and Premiere CS6 after updating last night: Dynamic linked sequence shows up in the project window in AE and even plays video if previewed, but will not drag or alt-drag into any comps, including a new comp (makes a new comp with matching settings, but empty).
    Furthermore, I do actually have an earlier version of the same sequence placed in one of my AE comps, which I think was done using the same steps just prior to updating the apps last night. Did this break?
    I'm a little concerned since the biggest reason I'm trying to use premiere is to eliminate the exports when adding graphics in AE.

  • Pop up states i'm being directed to a phishing site and to call "this" number, after I click on OK it just keeps popping up again and will not let me out of an endless loop

    I am in an endless loop on my other iMac computer.  I happened upon a page where it said "phishing site ahead" and then a pop up comes on screen telling me to call a certain number and then I click okay and of course do not call and it will not let me out of this endless loop.  Shut down computer, quit Safari, but when I reopen Safari it still takes me to that same page and will not let me out or use any menu items or toolbar items. Just the same little popup box telling me to call a certain number with an OK button and I can't go anywhere or do anything on Safari. What can I do?

    Also I copied this from my other computer web page:
    Reported Phishing website ahead.  Your network ha been monitored.  Your network has been compromised due to Browser hijacking.The browser hijacking software may redirect you towards phishing websites that try to access your Login Password details.  To fix this browser redirection issue we recommend you ask for instant help.  Help Line 1 877 899 1824.
    Then another smaller popup window pops up
    http://www.pcassists.info
    Security Error
    Call Helpline 1877 899 1824
    So this is what I was talking  about, and the small popup window plus the larger  Window stating "Reported Phishing website ahead" will not go away and I cannot use Safari anymore even after I shut down my computer, disconnected it, and then signed on again and reopened Safari, it still takes me to that page and I cannot get out of it.
    PLEASE HELP!!!!!!!!

  • On my Macbook, with google homepage, it often begins looping onto google search page and will not allow me to access any websites either by clicking on one, or typing address in. in page

    I use google as my homepage. Very often( every day at some point) when I search a subject and click on the address, a google search page come up with list of choices. When I click on address it simply returns to this page and will not let me access any websites either by clicking on them, opening in new window or tab, nor allowing me to access anything from the address line. When this occurs, it just keeps looping into this page. I clear cache, shut down, and try everything possible. Occurs very randomly and never when I first turn on the computer. ???????

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • TS1538 iphone 4 isnt recognized by windows 7 or itunes, even in recovery. but iphone will go into recovery. iphone will not turn on, stuck at apple logo-in a loop-

    i am new to iphones and was chosen to "fix" friends iphone, have managed to get iphone into recovery mode but itunes and windows 7 wont recognize it at all. ive tried everything, googled all i can google...with no luck. iphone will not boot up just goes to apple logo and loops nonstop even when charging. please someone tell me what to do as i am an android geek and know nothing of iphone.

    Hello,
    this Solution fixed my Problem.
    http://www.reddit.com/r/jailbreak/comments/1v6zkz/how_to_fix_boot_loop_without_l osing_data_stuck_on/
    I restored my iphone to ne newest iOS7.1.1 without losing my preferences, passcode, photos, music, pdf, ibooks, apps and app data and so on. After Restoring i saved the app data and photos with the tool itools.
    I think its a good solution for people, which not backup there data with itunes and icloud.

  • My Macbook Pro will not boot up. I can hear the sound that it has started and then goes into an infinite loop.

    My Macbook Pro will not boot up. I can hear the sound that it has started and then it goes into an infinite loop.

    What model MBP and which version of OS X? Sounds as if the hard drive may have failed. If you have an installation disc, try booting with it. If your machine came with Lion or Mountain Lion, try booting to the Recovery partition - Command and R keys held down while booting.
    Clinton

Maybe you are looking for