Problem with formatting text in textobjects with right aligned tabulators

Post Author: Jens Kluesener
CA Forum: General
HiI want to print out some values in a line. So I put a Textobject in the Report with some right aligned tabulators (left aligned tabulators working fine). Then I insert a formula. In this formula i do this:"1"chr(9)"2"chr(9)"3"chr(9)"4"chr(9)"5"chr(9)"6"chr(9)"7"Look:            Many ThanksJens

I think i found why.
There was no problem with TextField.
There was a problem with Array. "CityArea"
So each time I executed script it added new string in Array. And that is because i got like:
TextField
City 1
City 2
City 1
City 2
Running this script is Ok:
for (var i1:int = 0; i1 < CityArea.length; i1++)
  _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
  _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
But outside of this for loop there is another for loop for adding Cities in CityArray.
I fixed it by adding empty array at the start of function
function myFunc():void
CityArea = [ ]; // Empty array fixed this issue
// LOOP FOR ADDING SHOPS IN CITY AREA
for (var j:int = 0; j < _Shops; j++)
CityArea.push(_Shop);
// FOR LOOP TO ADDING SHOPS IN STRING
for (var i1:int = 0; i1 < CityArea.length; i1++)
  _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
  _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
Thank you for your help kglad

Similar Messages

  • Is it possible to add new columns with format "Text" once a table is linked to a form

    Is it possible to add new columns with format "Text" once a table is linked to a form in Numbers for iPhone or is it impossible and thus a serious bug?(Rating stars and numeric vales seem to work.)
    Those bugs happen both for new speadsheets as well as existing onces, like the demo. When you are in the form only the numeric keyboard shows up.
    Pat from the Apple Store Rosenstrasse/Germany approved that it looks like a Bug during the Numbers Workshop I was in: It is not possible to add new columns with format "Text". I reported the error for Version 1.4 but there is no update nor do I get statement of understanding the issue.

    Hi Knochenhort,
    I see what you are talking about now. Without knowing how the program actually works, I think this is what's going on:
    When you add a new column to an already existing table (with already existing formats), the new cells come already formatted like the previous column. So when you add a column to the end of the demo table, the cells are already formatted like stars, and when you add a column to the beginning, they're already formatted like number.
    I think this is why it's different when if you add columns to a table with blank (unformatted) columns. In that case, the new cells aren't already "tainted" with a set format, so you can change to text format without issue.
    It seems like the problem is that you can't format cells that are already formatted as "number" as "text" format (even if it doesn't look like they are, because they are blank). IMO, this is a bug! This is why you don't see this issue when adding columns to a new table, because the new cells don't already come with a format.
    To workaround, you can highlight the body cells after adding the new column, and delete the cells. This will "clear" the formatting, so you can then go in the inspector, format them as text, and the correct keyboard will pop up.
    Hope that helps!

  • Problem printing horizontal text in smartform with zebra Z6M label printer

    hello,
    The situation is this:
    There is a Z smartform wich prints a label to a zebra Z6M label printer with the text and barcodes vertically.
    The form have a command in the main windows with the parameter: S_LZPL_SETUP     '^FWR'
    This label works fine, but the client want to change the form, they have told me to create a new smartform and print the info horizontally, using the same printer.
    The tests i have done are the following:
    create a smartform from ground and write a template text and a barcode with a new font of system barcodes. the bardoce is shown ok(it is shown horizontally), the problem is that the template text is shown vertically, as in the original smartform.
    then i tried on another zebra ZM600 label printer, similar model, but not the same, and the smartform printed was ok (text and barcodes shown horizontally). So i think is a configuration setting problem, but i dont know where to search.
    i have checked the label printer parameters in SPAD, but didnt find anything souspicios.
    have you any idea?
    thanks in advance.

    See these if they be of any help.....
    BARCODE:
    goto smartform styles-> create a style-->
    create a character format.
    under standard settings give the bar code name
    use this style in ur smartform. select the data field which u want to barcode print and assign the character format
    Similarly
    SAPSCRIPT
    open the form and click the character format button and
    repeat the step as above....
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/frameset.htm
    Go to Character formate in your form.
    create a new char formate with enable BAR code AND
    you can give its type too.
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    a barcode printer
    a barcode reader
    a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Creating Bar code:
    ) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Check this thread for detail information.
    How to print Barcode in te SAP SCRIPTS?

  • TextArea with formatted Text, Hyperlinks, and clickable Text with SWING?

    Hi again,
    Ok if I decide to use Swing, is there any TextArea which supports Formatted Text Hyperlinks AND clickable Text wich calls a callback routine??? I think formatted Text and Hyperlinks are possible with JTextArea and the RTF editorKit, but clickable text, in order to controll the program in some way???
    Could anyone help me?
    Greets

    Try the JEditorPane class.See the intro exapmle at the top of
    [url=http://java.sun.com/j2se/1.4.2/docs/api/javax/swin
    /JEditorPane.html] this page.That seems to be the solution! Can I use the JTextPane, too? Does a DefaultStyledEditorKit support Hyperlinks and Hyperlinklisteners, too?
    In order to realize callback functions I have to insert a HTML-Anchor with the Attribute as the Parameter for my method. Then my HyperlinkListener catches the HyperlinkEvent and the hyperlinkUpdate method reminds the parameter!
    Is that right?
    Thank you very much!
    Greets

  • Formatting DATEs with FORMAT clause and not with "to_date()" ?

    Well I know I could format a DATE inline with the to_date() function.
    But is there a way to format it in a separate FORMAT clause similar to
    numbers?
    If yes how would a format of
    dd.mm.yyyy
    or
    yyyy.mm.dd hh:mm:ss
    look like?

    user559463 wrote:
    Ok, again I am searching something like
    COLUMN "expiry" FORMAT "YYYY.MM.DD HH:MM:SS"No, it can only be done via TO_CHAR or NLS_DATE_FORMAT. I think you should read SQL*Plus COLUMN command.
    SY.

  • Still problems with formatting text

    The solution that Andrei1 gave me a few hours ago worked fine in the test file that I used at the time. But now that I have integrated the code into the file I am working on I get a run-time error message telling me that the parameter format must be non-null at the TextField/set default TextFormat().
    It's the same code with the same set of values.
    Any ideas?

    Oh, there is one difference: The text now comes from a XML List instead of a .txt file. But it shows OK in the text field. Minus the formatting.

  • Problems replying to texts & opening contacts with...

    I woke up for work as normal today, turned my alarm off on my phone. Got my lift to work and went to reply to a text i recieved the previous night. I click reply but instead it sends me back to the recieved text!
    How do I solve that problem?
    I try to open my contact page and it sends me back to the previous screen i.e the main screen.
    Any ideas how to fix it?
    I can recieve calls/texts and ring numbers that are in my calls list. If I got to type a number my N95 crashes and restarts.
    What is going on!?
    I would much appreciate any help

    might be matty... internal memory somehow is being used by other apps.. ü
    CeS
    "The best index to a person's character is how he treats people who can't do him any good, and how he treats people who can't fight back"

  • Bug with formatting text

    Hello,
    i found a bug.
    If you want to use this formatting option in the new pages …
    … then you get this …

    I can't do it immediately as I have a job running at the moment but will do it soon as I can.
    There are an enormous number or bugs and deleted features in Pages 5.
    You may have the previous version still in your Applications/iWork folder. Use that if you want to get your work done.
    Peter

  • How Do You Make an Image Flow with the Text?

    Hello all,
    I am using CS4 InDesign on Windows Vista. I am fairly new to Indesign but try to do my research and homework well before asking what I hope is not a really dumb question.
    I am writing a book of approx. 350 pages that is an illustrated encyclopedia of 156 plants and their oils.
    Each 2 page spread is a single entry for a plant. The graphics frames on each spread are identical in size, position and styles for a consistent look throughout the document.As you can see (hopefully) each page is a single column. See screenshot below
    In order to overcome my first problem of positioning and sizing the graphics frames uniformly, I created the master pages with the graphics placeholders sized, positioned and formatted to my liking. This worked wonderfully and I placed all of my 300+ graphics by simply over riding each frame.
    Then in my editing I decided to add another 2 page spread somewhere in the middle of this fairly large document.
    What a NIGHTMARE. The text predictably shifted but now ALL of my graphics were no longer associated with the corresponding text! Arrrgghhh.I had not anticipated this behavior (used MS Word for 15 years) or I would have done something different.
    3 hours later I finished re -"placing" the images associated with the correct text.
    I researched the help file and found out about the neccessity of anchoring graphics to text. I have read through the threads in this forum, followed links to "indesignsecrets.com/make-an-image-flow-with-the-text" and " Working with anchored objects by Anne Marie Concepcion"
    My concerns are this.
    An inline graphic places the graphic back onto your text layer for some reason ( Previously my graphics each had their own layer)
    Not wanting to start (again) from scratch with my graphics I converted them to inline/custom anchored objects.
    But to select then cut then paste every pre existing graphic to anchor it inline seems to be cumbersome and counter intuitive although the top smaller graphic did position well and the text seemed to wrap ok.
    When I placed the larger bottom graphic on the left facing page using custom positioning I was not able to get the text to wrap at all.( The in line anchoring did not seem to allow for positioning on anything but the 'Y' axis).
    It seems that there would be a simpler way to place text and graphics where you want them and have them associate and flow together (or not) when you want them to and have text wrap easily around an anchored object without keyboard gymnastics. It would seem that the concept of a certain graphic being associated or linked with certain text would not be an unusual concept in desktop publishing.
    Am I missing something?
    Can you place an anchored graphics frame on the master page with your desired options?
    How would this be done if possible?
    Is there any other way (i.e grouping) to keep graphics associated with the desired text so that it flows together if extra pages are added?
    Is the fact that my graphics frames are on my master pages responsible for my text wrap difficulty? (I have text wrap enabled on my master pages)
    Are there any settings, redundant or otherwise, I need to be aware of?
    Thank you in advance for any suggestions or directions
    L.N.

    Hello Again,
    Thank You Bob but I am still a little fuzzy on this. I have already created object styles for the graphics frames. For instance the small graphic underneath the heading (Its a drop of oil) has an object style applied. Now I checked and it has the anchored object options checked in the style dialog box. When I reapply the style to the next similar graphics nothing happens. It is still not anchored. Do I need to create a new style based on "nothing" add my effects plus the anchoring options? Basically start over. If thats what I need to do thats OK. As to your instruction that object styles could accomodate this anchoring thing...thats what I thought too but somehow I can't get it to work. See object style dialog box screenshot below:
    For the larger graphic on the bottom of the left facing page. I still cannot get any text to wrap. In the screenshot example the text describing this particular plant doesn't go to the bottom of the page so the wrapping issue on this page is moot. However I have some entries where the body of the description is more involved and does go to the bottom of the page and the text WOULD need to wrap around the plant (larger ) graphic.
    Hi there Harb, Yes I found out early on that object styles can't apply size (that would be on my wish list for sure) That is why I found that creating my graphics frames on the master page with the correct size, effects and positioning tickled me so much. Can you believe I originally went through and MANUALLY resized and repositioned each and every 300+ graphics in this book but it still wasn't right. I'm nothing if not persistent. (Now if I could just get my grown sons to pick up their socks!)
    Anyway the master page graphics frames idea would be perfect if I could get the images to anchor in their respective spots on the master page as well.
    For your second suggestion. I am not clear about why I would need to break the threads of each spread so that each spread is a seperate article. Is the threading issue the thing that is causing my text to move on leaving their associated graphics behind? If so how do I go about doing this?
    So to recap:
    1. I need to know if I can modify my object style or recreate from scratch with the anchoring option (as I said it didn't work)
    2. Can't get text to wrap around the Custom anchored graphic at bottom of page at all
    3. Im not clear on the breaking the threading on the spreads
    I am willing to go back through and start from scratch (new master pages, styles etc ) if neccesary. This book is the culmination of 7 years of research and artwork.Basically the project is DONE. Now if I can just format it correctly.
    I can't thank you both enough for your time, suggestions, expertise and patience.
    Thanks again
    LN

  • Datataype CLOB in WebDB with IOntermedia Text

    I explain my environment of work:
    I want to work in WebDB 2.2. of Oracle8i, for the graphic environment the presentation the search. This software is running in Linux Mandrake 7.0
    The database is running in Linux Red Hat 6.2
    I want to work with Intermedia Text for the search.
    My questions are following:
    How to work de package dbms_lob for insert the information in the column with datatype clob, because i want to use this datatype for save full text.?
    When i use the datatype CLOB for display results of search with WebDB, i have one error in webdb (ORA 00932) when i want display the datatype CLOB(with full text inside).
    With the datatype LONG i can display the information in the web, but not with CLOB.
    Please help me... i want to use webdb for to make search over Database with Intermedia Text. What i have to do for that this column work it(CLOB).

    Anoo wrote:
    Hi All,
    I had created a Rich text item and trying to insert the below process into a table
    1. Created a rich text item as :P1_Eng_Rich_Text.
    2. Created a button with Submit to insert the data.
    3.These are inputs pasted in Rich Text item
    •     Marc Meeus, General Sales Manager, Polymers Europe
    •     Filip Vandenborre, Sales Manager, Polymers Europe
    •     Olivier Mathe, Sales Manager, Polymers Europe
    4.When we click on submit process called is
    Please don't post stuff that isn't code in <tt>\...\</tt> tags. The code formatting feature makes it much easier to read code, but much harder to read anything that isn't code that's formatted as if it is.
    You also shouldn't be posting real data like this here. Do these people know you're posting their details on a public forum?
    DECLARE  
    lv_eng_notes  clob;
    begin
    lv_eng_notes :=:P1_ENG_RICH_TEXT;
    INSERT INTO TEMP_ENG_NOTES(ENG_NOTES)
    VALUES (lv_eng_notes);              
    EXCEPTION  WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR (-20020,'STEP 1:Exception raised during Insertion into TEMP_ENG_NOTES_NN'||sqlerrm);
    rollback;         
    end;
    5. When we see the out put it has in back end as #
    <p> &middot;         Marc Meeus, General Sales Manager, Polymers Europe</p> <p> &middot;         Filip Vandenborre, Sales Manager, Polymers Europe</p> <p> &middot;         Olivier Mathe, Sales Manager, Polymers Europe</p>
    How to overcome this problem.What problem?

  • Invoice number on invoice overlapping with other texts

    Dear Friends,
    Invoice number on invoice overlapping with other texts
    On the top right corner of the second page of the invoice, Invoice number is overlapping with the text 'Invoice/Invoice Number'. The text 'Tax Invoice/Invoice Number' should be above the invoice number.
    Where I need to chagne this and how.
    Thanks
    Venkat

    Hi,
    This can be done in the SMARTFORM/SAPSCRIPT
    Check the OUTPUT for the SMARTFORM or SAPSCRIPT in NACE transaction code
    goto the Tranaction code SMARTFORMS and Identify the WINDOW of INVOICE NUMBER and if you have access you can increase the window size or check with your developer to increase the size.
    regards,
    santosh

  • How to get formatted text into arrays

    Dear experts and helpers,
    For my project I import an RTF file and then read the data from it into 3 arrays. This works fine when just using the string contents of the paragraphs. However, the final script should be able to read and replace formatted text...
    Why use the intermediate arrays? Because otherwise I need to switch back and forth between two fm-documents (and one may be a book component).
    The imported file starts with a number of lines separated into two items by a TAB (» denotes a TAB, in FM \x08)
    [[Garneau, 1990 #12]]    »   [9]
    The right item may also be locally formatted text, e.g. [9]
    Then follow the same (or smaller) number of paragraphs with formatted text like this:
    [9] » D. Garneau, Ed., National Language Support Reference Manual (National language Information Design Guide. Toronto, CDN: IBM National Language Technical Centre, 1990.
    Is it possible to replace in the body of the function below the following piece
      while(pgf.ObjectValid()) {
        pgfText = GetText (pgf, newDoc);
        gaBibliography.push(pgfText);
        pgf = pgf.NextPgfInFlow;
    with this
      while(pgf.ObjectValid()) {
        gaBibliography.push(pgf);
        pgf = pgf.NextPgfInFlow;
    Do I need a special declaration of the array gaBibliography ?
    And how to get the right part of the intro lines as formatted thingy into array gaFmtCitsFmt ?
    Currently I read into arrays only the 'strings' (function GetText not shown):
    var gaFmtCitsRaw  = [];                           // left column in processed RTF
    var gaFmtCitsFmt  = [];                           // right column in processed RTF
    var gaBibliography= [];                           // bibliography lines from processed RTF
    // filename is something like E:\_DDDprojects\FM+EN-escript\FM-testfiles\BibFM-collected-IEEE.rtf
    function ReadFileRTF (fileName) {
      var nCits=0, nBib = 0, openParams, openReturnParams, newDoc, pgf, pgfText ;
      var TAB = String.fromCharCode(8);               // FM has wrong ASCI for TAB
      var parts = [];
      openParams = GetOpenDefaultParams();
      openReturnParams =  new PropVals(); 
      newDoc = Open (fileName, openParams, openReturnParams); 
      pgf = newDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;  // get first pgf in flow
    // --- read the temp/formatted citations 
      while(pgf.ObjectValid()) {
        pgfText = GetText (pgf, newDoc);
        if (pgfText.substring (0,2) == "[[") {        // citation lines start with [[
          parts = pgfText.split(TAB);                 // get the two parts of the line
          gaFmtCitsRaw.push (parts[0]);               // Push the result onto the global array
          gaFmtCitsFmt.push (parts[1]);
          pgf = pgf.NextPgfInFlow;
        } else { break }
    // --- read the bibliography
      while(pgf.ObjectValid()) {                      // until end of doc
        pgfText = GetText (pgf, newDoc);
        gaBibliography.push(pgfText);
        pgf = pgf.NextPgfInFlow;
      newDoc.Close (Constants.FF_CLOSE_MODIFIED);
    } // --- end ReadFileRTF
    The next questions then will be how to modify Ian Proudfoot's FindAndReplace script to handle formatted text as replacement. IMHO i will need to use copy/paste ...

    Klaus,
    Working with text is about the most complicated thing to do within FrameMaker. It seems counter-intuitive, since it is about the easiest thing to do with the GUI. But alas, once you remove the ability to select with a mouse and type with a keyboard, text becomes a wild jungle of complexity.
    Text ranges are not too bad, once you get the general idea. It is just that... a range of text, like something you would select with a mouse. Like a mouse selection, it starts before some character in some paragraph and ends after some character in some paragraph. It may be the same paragraph, which is a selection within a paragraph. The character can even be the same, which is then just an insertion point (cursor) somewhere.
    So, a text range is a data structure that defines two paragraphs and two characters. In the jargon of scripting, the character is called an "offset." An offset is simply the number of characters past the beginning of said paragraph, where 0 is the beginning.
    For example, if you want to capture the first five characters of a paragraph as a text range, you can do this, where 'pgf' is some paragraph object:
    var textRange = new TextRange();
    textRange.beg.obj = pgf;
    textRange.beg.offset = 0;
    textRange.end.obj = pgf;
    textRange.end.offset = 5;
    If you want to capture a whole paragraph, change that last line to the number of characters in the pgf, or you can do this:
    textRange.end.offset = Constants.FV_OBJ_END_OFFSET;
    ...where that constant is just some built-in thing that means "get me to the end of whatever." It's a convenience of the interface.
    I'll also note that a text range is actually just an array of two text location structures, one named 'beg' and one named 'end.' If you think of a text location as defined by paragraph and an offset from the first character, maybe that will make more sense.
    Text item structures are a whole new mess of complexity. I can't possibly go into an explanation of them here.
    I think that many ES developers (definitely myself included) still use the FDK documentation because it is considerably more comprehensive. The two interfaces are largely parallel, but of course somewhat different in the language syntax. Consider that as a potential resource.
    Russ

  • Spaces on right aligned text

    Our users are trying to use spaces as padding for right aligned text but it isn't working.
    I did a test with the same text in two different right aligned text holders, the second container contains the text that was in the first container as well as several non-breaking spaces at the end.  When I debug the results of StringTextLineFactory.createTextLines the widths of both text lines were the same.
    This seems like it is a FTE issue since FTE has no concept of right aligned text I could see it just dropping off extra spaces at the end of the text but that is just a guess.
    It also looks like RichEditableText does the same thing.  In this video i enter "asdf" then a bunch of spaces and it isn't until I enter another character that the space characters are recognized. http://screencast.com/t/NGMzZmNk

    We do have a control for using paddingEndIndent but users will be users and they wanted to use spaces.  I didn't realize that this functions the same way as the major text engines.
    Thanks for the clarification.

  • Right alignment of Number Field in OAF Page

    Hi,
    I need to right align the column of the table which is of number type in OAF page. I have extended the VO of that page to add new columns. After VO extension i added the column to the page via personalization and gave the reference of view attribute name as per Extened VO. I have set the following properties for that column
    Item Sytle- Message Style Text
    Data Type- Number
    Nowrap=false
    Vertical Alignment=Middle
    View Attribute = Prior (same as Extended VO's column)
    View Instance = XXPayEmpAccrualActionInfoVO
    I need to set the value of this newly added column right align which is currently set as left align by default.
    I have tried the following links from OTN
    Re: Q: How to format number using personalization?
    Right align number field
    but while controller extension i m getting the following error-
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XXPayEmpAccrualActionInfoVO; APPLICATION_MODULE = oracle.apps.pay.selfservice.payslip.US.server.PayPayslipAM;
    The extended controller code is -
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean tableBean = (OATableBean)webBean.findIndexedChildRecursive("PayPayslip4Ss");
    tableBean.queryData(pageContext, true);
    tableBean.prepareForRendering(pageContext);
    DataObjectList aColFormat01 = tableBean.getColumnFormats() ;
    oracle.cabo.ui.data.DictionaryData ColFormat01 =(oracle.cabo.ui.data.DictionaryData)aColFormat01.getItem(pageContext.findChildIndex(tableBean, "Prior"));
    ColFormat01.put(COLUMN_DATA_FORMAT_KEY,NUMBER_FORMAT);
    Please can anyone provide me some pointer here..this is really urgent.
    Thanks in advance
    Renu
    Edited by: Renu Gupta on Jun 14, 2010 5:15 AM

    Hi Renu,
    Use the following code:
    OAMessageStyledTextBean origContSumBean = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("<FieldName>");
    if(origContSumBean!=null) {
    origContSumBean.setAttributeValue(CURRENCY_CODE,new OADataBoundValueViewObject(origContSumBean,"CurrencyCode"));
    Here CurrencyCode should be a view attribute in the VO associated to the items in the region.
    Regards
    Sumit

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

Maybe you are looking for

  • How to use the same email address for outgoing email on two iPads?

    How to use the same email address for outgoing email on two iPads?.   My wife and I both use the same email address.  We receive the same incoming email on both iPads but are unable to send email from my wife's iPad.  She is using an iPad 2 and is us

  • Estk autocmpletion gone

    Dear all, I realized that my autocompletion in estk is gone. I still get code completion suggestions related to javascript and script ui, but not for the indesign dom. Looking at my HD I realize that I have the following files: ls -R /Library/Applica

  • Keep getting Kernel Panics

    For the last month, I've been getting Kernel Panics, specially when turning my 13'' MBP on. I restarted it on safe mode and it worked fine, so I guess it's a software issue. Here's my report, I hope I can get help to lnow what's wrong and if I need t

  • MSI Z87-G45 problems

    I'm having issues (again) with the MSI Z87-G45 motherboard. This is a replacement board from having to RMA my initial purchase. Brand new build and I cannot get any display. I have reseated the cpu, ram, and graphics card multiple times. I disconnect

  • Will 8gb ram newly installed  for LP 8, crash a session  opened in LP 7

    Hi, my LP 8 upgrade is en route, and I want to up my Ram capacity from 4.5 to 8gb to fully take advantage of LP 8's features. I've also read the posts and warnings against having more ram than LP 7 can deal with safely. My question is will I be able