Clarity

Expand all | Collapse all

Is possible to provide the wrap text format after locked the attributes

  • 1.  Is possible to provide the wrap text format after locked the attributes

    Posted Aug 11, 2009 12:39 AM
      |   view attached
    Hi Team,                     We are facing some issue after locked the attributes. Before Locked, the attribute is wrap format (Text Area). after locked, the attribute is not wrap format. Is possible to provide the wrap text format after locked the attributes. appriciate, any one help me.

    Attachment(s)

    doc
    Screen Shot.doc   209 KB 1 version


  • 2.  Re: Is possible to provide the wrap text format after locked the attributes

     
    Posted Aug 12, 2009 07:35 AM
    Hi,  I am checking with someone on this and will let you know if hear back.   Otherwise unless another user chimes in hear you may want to log an issue with Support.  Regards,Chris


  • 3.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 12, 2009 07:45 AM
    For what its worth - this looks like a BUG to me!  Dave.


  • 4.  Re: Is possible to provide the wrap text format after locked the attributes

     
    Posted Aug 12, 2009 07:48 AM
    Good to know.   Thanks Dave.  Senthil - You should log an issue with Support since it looks like a bug.  Regards,Chris


  • 5.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 12, 2009 10:32 AM
    Thanks for your reply.


  • 6.  Re: Is possible to provide the wrap text format after locked the attributes
    Best Answer

     
    Posted Aug 13, 2009 07:07 AM
    Further from a Services person who looked at this:  
    This is NOT a bug:

     

    http://caforums.ca.com/ca/board/message?board.id=CAClarityGeneralDiscussion&thread.id=2730

     

     

    issue is that the trial text has no
    spaces in it

    1111111111111111111111122222222222222222222222222233333333333333333333444444444444444444444455555555555555555555

    does not wrap very well (in anything)

       


  • 7.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 13, 2009 07:31 AM
    I disagree.  Even if that test text was;  "1111111111 2222222222 3333333333 4444444444 55555555555 66666666666 777777777777 8888888888888 99999999999" etc  (i.e. with spaces), then you would get the same result.  The issue is that the "READ ONLY" view of the attribute does not respect the "Text Area" setting at all.  Senthil - change the contents of you field and bounce this is support com eback to you with that arguament.  But hey, this is not my support call!   ;-)  Dave.


  • 8.  Re: Is possible to provide the wrap text format after locked the attributes

     
    Posted Aug 13, 2009 08:01 AM
    Services can always be wrong.   I would log it with Support and let them decide:)


  • 9.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 13, 2009 12:05 PM
    I agree with Dave as I have come across the same problem in my Process as well.  Thanks,Vasanth


  • 10.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 13, 2009 12:52 PM
    The short answer to the original question is: No.  When a text attribute is unlocked it is  part of a   within a textarea  ; and when the page is saved the content of the textarea posted back to the database.  When a text attribute is locked it is pat of a table cell only, i.e. shown on screen only and not part of the    ; and when  page is saved not posted back to server.  Now. The "presentation layer" is performed by the browser (not Clarity). When unlocked the browser contains the text within the textarea and applies rendering rules of a textarea (this form control allows for width and height and scrolling). When locked the browser contains the text in a table cell (subject to .css frmatting) and renders the text according to these standards (without width, height, scrolling).  This is "as designed" - no question.  In addition the example screenshot uses many 1's + many 2's etc without spaces. This won't wrap because the browser rendering cannot find spaces to wrap at.  You may go ahead with a case, but it isn't a bug.                      


  • 11.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 13, 2009 01:54 PM
    I should add here that I agree it IS frustrating that some critical  formatting of text is lost when an attribute is locked. For example a textarea control will produce new lines if a carriage retrun or line feed exists in the text (this is a browser feature) but when that same text is displayed within tags the line breaks are ignored (this is a 'feature' of html).  If you do open a case perhaps you might consider using it to launch an enhancement request?      save the follwing to 'example.html' and open in your browser      Loss of formatting example 







    textarea cols=40
    td width=160



    long string |
    with carriage retun immediately after |
    in each row

    long string |
    with carriage retun immediately after |
    in each row   


  • 12.  Re: Is possible to provide the wrap text format after locked the attributes

    Posted Aug 13, 2009 09:09 PM
    Hi,               Thanks for your reply. As per chirs advised, i have tested the attributes, with space between one sentence to another. now its working with wrap format after locked the attributes. Thanks for all.