Warning in TextView UI Element.

In the NWDS, I set the "text" property of a TextView UI Element by clicking on the "Edit" button. A pop-up window opens, and I enter a multi-line text, using the Enter key to break the lines.
What I get is working perfectly, but I get a couple of annoying warnings saying:
"The source text contains "\n"
"The source text contains "\r"
Of course, if I bind the "text" property to an attribute and then, programmatically, I assign it a string containing "\n", I get no warning.
Any suggestion on how to avoid such warnings?
Best regards,
Livio

Try this:
/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
regards,
Angelo

Similar Messages

  • Warning: [path] bad path element

    Hello Everybody,
    I am building a project in Eclipse , using an ant build.
    I used the Xlint Option , to determine the usage of deprecated API's.
    I am building the project against JRE 1.5. I get the following compiler warnings
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\xerces.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jdbc-se2.0.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jndi.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jta1.0.1.jar": no such file or directory
    [javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tpp\JavaMail1.4\lib\jcommon-1.0.0.jar": no such file or directory.
    any idea as to why this is happening? what is that I need to chnage , in order to fix it ?
    Thank you so much.

    Thank you so much,
    I used the Xlint:path , option , the compiler output is still the same,
    I still get the path related warnings.
    According to the documentation online,
    Xlint:path , will basically remove all the path related warnings, but I have to figure out , as to how the compiler is even referring to these missing jars, even though the ant build.xml does not make a reference to them

  • Prompted 'Warning' when launching Photoshop Elements 8

    Please help! I had downloaded Adobe Elements Inspiration browser (Trial). But when i tired to launch it, there would be a pop-up that said, 'Warning, The Elements Inspiration Browser works best when launched directly from your Adobe Elements Software. Please open Photoshop or Premiere Elements 7 and open the inspiration browser from there.
    Does that means that i have to download Premiere Elements 7? Kindly advise.
    Thanks!!

    You access the inspiration browser from the Help Menu in either Photoshop Elements or Premiere Elements.

  • Error warning CA Headless. Elements 9

    1) I have Elements 9 Photoshop and Premiere.
    Installed and worked fine for a year. Now have an intermittent message coming up CA Headless Debug Event. CA Headless has encountered an error ... then file path shown as [:\:\src\Datamanager.cpp-410]
    Does this meaningless drivel have anything to do with ADOBE? If so how to cure please? (I've deinstalled and then reinstalled programme). If not an ADOBE warning, any suggestions as to what program it belongs to? It doesn't seem to affect performance and you can click on 'continue' to remove for a minute or two. Just very annoying as it returns when Elements open.
    2) I have 4 pictures showing in the Photoshop catalogue as normal, however I cannot find the original hard drive pictures in any folder. (Searched image number and if you go to delete the option of 'Hard drive copy deletion' isn't given). I cannot think that I deleted the originals - certainly not on purpose and they are not in recycle bin. Is there any way of 'connecting' to a hard drive image by recreating the hard drive image from the catalogue. Or will I have a choice of deleting from Catalogue or having them show with either a ? in the top right hand corner or sometimes an ADOBE icon.
    Appreciate any help you experts could give me.
    Many thanks
    Noblavitch

    Thanks Hatstead for info. If I carry out this task, what's to stop it happening again? Finally found some other people who have had this problem way back a year ago. The search function on ADOBE 'problem solving' needs sorting!
    Does anyone know whether it is the auto analyzer which causes the problem? Why on earth don't ADOBE fix it, I thought they were supposed to be market leaders. Would Elements 10 fix it? Does anyone know? Is anyone at ADOBE listening or remotely interested?
    All questions I know, but appreciate it if anyone has found a more simple cure which eliminates the problem completely. Perhaps best to look for better software producer?
    Thanks
    Noblavitch

  • How to insert a Carriage Return + Line Feed inside a TextView UI element ?

    Hello All,
      Does anyone know how can I achieve the above scenario ? I have a string variable that collects and appeneds text messages from various BAPI calls. At the end of the process, the contents of this variable will be mapped to a textview. Problem is, the length of the string collected is way too long and hence not very readable.  I am not able to find a way to introduce a CRLF after each message is read and appended. Can anyone advise ? Thank you.
    from
    Kwok Wei

    Hi Renjith,
      So far I manage to get find a walk-around to the problem by using the TextEdit as what you have suggested. This works fine... till when you try to print it out. As you see, during printing, I need to remove the vertical scrollbar and ensure that all the text are properly displayed and I do not see any visibleFooter = false option (similar to that of a table) available to the TextEdit.
      If anyone has any suggestions or a more feasible walk around that allows me to print the entire contents in the TextEdit, that will be greatly appreciated
    from
    Kwok Wei

  • Warning - LR2.7 and Elements 7 are no longer compatible

    Tom Hogarty has confirmed that Adobe are not providing ACR5.7 for Elements 7
    http://forums.adobe.com/message/2757553#2757553
    hence losing compatibility between the 2 products
    Ian

    It doesn't mean they are no longer compatible, just that Lightroom will have to render the file rather than Elements. Much the same with those who use older versions of PS.

  • Remove warning: Set Listener ? element Listener T usage

    Hello,
    I have a class using listeners for diffent classes. I don't know how to remove the unchecked warning.
    The class stores Listener for differen classes. When called with an object of a registered class the method doIt from the registered XListener should be called with the object.
    Here comes the code:
    public class XSupport {
        private Set<Listener<?>> listeners = new HashSet<Listener<?>>();
        public <T> void addXListener(Class<T> clazz, XListener<T> xListener) {
            listeners.add(new Listener<T>(clazz, xListener));
        @SuppressWarnings("unchecked")
        public <T> void doIt(T data) {
            Class<?> dataClass  = data.getClass();
            for (Listener listener : listeners)
                if (dataClass.equals(listener.getClazz()))
                    listener.getXListener().doIt(data);
        private class Listener<T> {
            private Class<T> clazz;
            private XListener<T> xListener;
            public Listener(Class<T> clazz, XListener<T> xListener) {
                this.clazz = clazz;
                this.xListener = xListener;
            public Class<T> getClazz() {
                return clazz;
            public XListener<T> getXListener() {
                return xListener;
    }Rem.: Listener also has equals and hashCode which I did not copy here
    The XListener interface is definied like this:
    public interface XListener<T> {
        public void doIt(T data);
    }I suppose the for loop with raw Listener is the problem, but I can't use Listener<?> neither Listener<T> there.

    Kurt76 wrote:
    I have a class using listeners for diffent classes. I don't know how to remove the unchecked warning.Your code "anonymizes" the generic type of incoming listeners by adding them to a wildcarded Set. What you would need here is to "re-set" the type information by time of usage, which you cannot do reflectively.
    I'd suggest a small redesign as follows:
    public class XSupport {
        private Set<Listener<?>> listeners = new HashSet<Listener<?>>();
        public <T> void addXListener(Class<T> clazz, XListener<T> xListener) {
            listeners.add(new Listener<T>(clazz, xListener));
        public void doIt(Object data) {
            for (Listener<?> listener : listeners) {
                listener.visit(data);
        private class Listener<T> {
            private Class<T> clazz;
            private XListener<T> xListener;
            public Listener(Class<T> clazz, XListener<T> xListener) {
                this.clazz = clazz;
                this.xListener = xListener;
            public void visit(Object data) {
                if (clazz.isInstance(data)) {
                 xListener.doIt(clazz.cast(data));
    }Edit: Just as I missed that one: was the use of "equals" deliberate? If so, you have to change the visit() method implementation to check on "clazz.equals(data.getClass())". An equal on classes will only match if both are the same class (uses object identity). That is, you only can use concrete classes for adding listeners, no interfaces or abstract classes, nor make use of class hierarchies.
    Edited by: stefan.schulz on Oct 13, 2007 11:15 AM

  • Premiere Elements 10 Installation warned me at 5./6./7. movie minute, then crushed

    Hi!
    My problem is that, Adobe Premiere Elements works fine until the fifth, sixth oder seventh movie minute. Then a Messagebox appears with the warning, that Adobe Premiere Elements have not enough memory and I had to work carefully. 11. or 12. movie minutes further Adobe Premiere crushed.
    I believe, that the warning is very funny. I had a new and clean Windows 7 32-Bit installation with all patches till today. There no other program that works on this computer. I didn't installed a virus-scanner!
    On the other hand, this is a HP PC i5 with 10 GB Memory and a 400 GB near empty Harddisk.
    I installed Adobe Premiere Elements 10 from DVD and have made all updates.
    So that's your turn. I didn't have an idea!!
    Regards
    Jan

    Hi, John!
    Hi, all others!
    I updated my System, installed the horrible QuickTime Software and codecs :-( and found out, that the problem still exists.
    Finally I use GSpot and this is the result for the first 20 videos:
    20120114(01).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(01).AVI 50,315,752 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              11160 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:34.835  1044 29.970              1.000 29.970 0.180 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(02).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(02).AVI 30,467,652 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              10820 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:21.722  651 29.970              1.000 29.970 0.174 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(03).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(03).AVI 33,983,180 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              9849 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:26.527  795 29.970              1.000 29.970 0.158 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(04).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(04).AVI 29,722,284 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              10647 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:21.522  645 29.970              1.000 29.970 0.171 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(05).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(05).AVI 75,434,624 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              10489 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:55.456  1662 29.970              1.000 29.970 0.169 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(07).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(07).AVI 147,943,644 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              10220 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 1:51.513  3342 29.970              1.000 29.970 0.164 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(08).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(08).AVI 79,952,240 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              11182 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:55.256  1656 29.970              1.000 29.970 0.180 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(09).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(09).AVI 30,511,240 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              9593 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:24.425  732 29.970              1.000 29.970 0.154 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(10).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(10).AVI 53,207,284 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              9471 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:43.144  1293 29.970              1.000 29.970 0.152 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(11).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(11).AVI 42,733,864 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              9859 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:33.334  999 29.970              1.000 29.970 0.159 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(12).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(12).AVI 13,569,536 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              10218 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:10.210  306 29.970              1.000 29.970 0.164 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(13).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(13).AVI 40,875,876 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              9779 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:32.132  963 29.970              1.000 29.970 0.157 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(16).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(16).AVI 76,893,576 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              11679 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:50.951  1527 29.970              1.000 29.970 0.188 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(17).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(17).AVI 43,292,136 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              11330 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:29.530  885 29.970              1.000 29.970 0.182 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(18).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(18).AVI 26,408,012 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              13665 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:15.015  450 29.970              1.000 29.970 0.220 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    20120114(20).AVI C:\Users\jankaikoeppen\Videos\2012-Fiss\20120114(20).AVI 40,033,320 1 AVI(.AVI) 0    OpenDML (AVI v2.0),  0              12555 H.264/MPEG-4 AVC Codec(s) are Installed H264 1.778 0:24.725  741 29.970              1.000 29.970 0.202 1.778 1920 1080 385  2 0x0011 (DVI ADPCM) Codec(s) are Installed   48000 .
    I'll hope it's useful.
    Regards
    Jan Kai

  • How to bind UI Element with Context Node Attribute Element

    Hi,
    I'm building my view dynamically in the wdDoModifyView method.
    Is it possible to bind a "TextView" element to a specific element of an attribute node?
    Scenario:
    Node_Employees
    |
    +- Attribute_Code
    |
    +- Attribute_Name
    Node Contents:
    Employees
    |
    +- Code: 1, Name: Employee 1
    |
    +- Code: 2, Name: Employee 2
    |
    +- Code: 3, Name: Employee 3
    I need to do something like binding a TextView UI element to the "Name" attribute of the element #2, what would result to show "Employee 2" on my view.
    How can I do this?
    Thanks in advance,
    Geraldo.

    Hi Saravanan,
    First I populate the context node and it won't change during view's lifecycle.  After that, I build my view and bind the TextView UI elements to the node context attributes elements.
    If the node has 10 elements, I will build 10 TextView UI elements and bind them to each attribute element.
    Regards,
    Geraldo Brígido.

  • All listing element must have index,name and value?

    when i trying to convert a fmb file to xml, it shows a warning.
    All listing element must have index,name and value...
    how to resolve this..
    Edited by: skud on Mar 9, 2011 6:03 AM

    when i trying to convert a fmb file to xml, it shows a warning.
    All listing element must have index,name and value...
    how to resolve this..
    Edited by: skud on Mar 9, 2011 6:03 AM

  • Display of Context elements

    Hi
    In Table Binding with the Context, The values are passed as columns of the table. Is there any way they can be displayed as rows.
    I mean passing them through some context or any means and displayin them as row elements to a table
    Thanks in advance
    Srikant

    Hi Venkata
    There is no way where you can make the column as rows in the table.
    The work around is creating a layout with column name as Rows and populating values in the textview UI element.
    In this case you need to populate each record and take care of pagination on click of previous and next buttons.
    Ex : Column1 -- Value
    Column2 -- Value
        Previous           Next
         button            button
    Regards
    NagaKishore V

  • How to reslove this warning?

    warning: [path] bad path element "C:\jdk1.5.0\lib\htmlparser.jar": no such file
    or directory
    KaoqinRecord.java:105: warning: [unchecked] unchecked conversion
    found : java.util.Set
    required: java.util.Set<java.lang.String>
    Set<String> set = h.keySet();
    ^
    2 warnings

    warning: [path] bad path element
    "C:\jdk1.5.0\lib\htmlparser.jar": no such file
    or directoryThe above tells you the jar can't be found.
    KaoqinRecord.java:105: warning: [unchecked] unchecked
    conversion
    found : java.util.Set
    required: java.util.Set<java.lang.String>
    Set<String> set = h.keySet();
    ^The above is a warning from the new generics feature that's telling you the assignment isn't typesafe. Try
    Set<String> set = h.keySet<String>();
    2 warnings

  • Transfer of warning message to black berry

    Hi,
    I am working on Offline approval of Shopping cart and Purchase Order to blackberry. I wanted know how to transfer the error/warning message to black berry.
    Thnks

    For Account Assignment WBS element, budget check warning message. Expectation is that even if the shopping cart/PO is exceeding the budget, shopping cart/PO should be allowed for approval with the warning message. This warning message should be displayed in the blackberry.
    The Budget check warning message for WBS element from ECC should be displayed in offline approval email.
    I wanted to know how can we manage this situation
    Edited by: a.sreenivas77 on Jan 26, 2012 7:21 PM

  • Translation of new Textview added thru personlization into dffrnt languages

    Hi,
    we have added a new TextView UI element using the "Decorate" option in an iview.
    Now the requirement is to change text which we have written in English to the language which user has logged in the Portal.
    Thru Portal Content Translation, we were able to change only the name or description of portal objects, but not the new fields/element we added in it.
    How to maitain this fields in different languages depending the user logged-in in geographically.
    Kindly share your inputs on this.
    Thanks,

    Hi Aman,
    I believe this can be achieved by the following way.
    login to the portal with the language which you want to change to. For eg if you want to change for Norwegian language, login to the portal as Norwegian language user.
    Open Content admin>go to your iview> Right Click & preview
    Go to your new coloumn and do a Ctrl+Right Click on it or simply enter the name in that specific language.
    your changes will reflect only for that particular language.
    Regards
    Sahil Kohli

  • ADOBE PREMIER ELEMENTS 7 Starts OK but Crashes during Editing

    This program lets me open and import up to 30 small Video clips ,while editing  it's about this stage that it displays the following warning box :-  ADOBE PREMIER ELEMENTS IS RUNNING LOW ON SYSTEM MEMORY. PLEASE SAVE YOUR PROJECT & PROCEED WITH CAUTIION........OK (button).
    My computer is a HP ELITE PAVILION with 4 gb. of system memory , I have taken it for granted that this should be adequate for this type of program.... is this correct or there something else wrong ??
    The program case has a note that it is for Win.XP or Vista & I am using Win.7 is it posible that it might nead a patch to make it better ??
    I would appreciate if someone could ASAP be of a help to me....All the best....Bill Ellis

    Hi Bill
    Open the program and click Edit >>Preferences >>Scratch Disks
    This should show the amount of spare memory for performing tasks.
    If low you could add more disk space e.g. an external hard drive rather than main memory.
    In general the software pre-dates Windows 7 but if it will run on Vista it should perform satisfactorily on W7.
    If you need any more advice I would recommend going directly to the video forum.
    http://forums.adobe.com/community/premiere_elements

Maybe you are looking for

  • How do I delete my old icloud account without a password?

    I am trying to trade in my iphone 5 but I need to access my icloud in order to so.  I can't remember the password but can't reset it because the email associated with the account is old and I can't access it.  Also I tried to do the security question

  • Mac OS 10.4 printing to Windows XP Printer

    I have tried everything. The windows computer has printer sharing enabled, and everything. It is connected wirelessly. I used to be able to, with 10.3, but after upgrading to 10.4, I can't. The Windows printer won't show up in the printer list...It i

  • Last played & play count

    I noticed a couple of my playlists are showing high play counts. ie an album with all tunes played 172-175 times .. this strikes me as odd .. not only is it something that is not often listened to and outstripping all other playcounts but it would be

  • Why am I losing photo descriptions?

    I transferred to a brand new MacBook Pro (OS X v. 10.6.8) from my old MacBook last week.  I had begun adding descriptions to a new album on the old computer.  After I transferred, the descriptions I had written were gone.  However, if I edited them w

  • DAQmxSetAIADCTimingMode function not defined

    I have a typical task creation, setup, read and stop process in VB6 code. The acquisition part is shown below. This code fails to compile when I include the Timing Mode call (bold). Sub or Function not found. If I remove the bolded line the code runs