Problem in Markup with text tokens 1

Hi
I am using the text for searching the documents of type html in my web site.
The markup is working fine, when called with only single text token ie, "java". But it fails when called with more than one token, say "java vb", as this java and vb are coming in different places in the document. But it marks if both tokens are coming near.
Can any body tell me how to tackle the above scenario.
Hari

Hi Omar
Here is it
This procedure works fine if it can exactly find the words to be marked up.
In other words this procedure expect the words to be adjacent otherwise it fails.
Egs:
begin
ctx_doc.markup('filenames_idx',
'1',
'induvidual profile',
'markuptab',0,false,
     'TEXT_DEFAULT',
'<i><font color=red>',
'</font></i>');
end;
In the above egs. the procedure expects the words "induvidual" "profile" next to next. if it is in different place it is not doing.
Please suggest me a way to do this.
Thanks
hari

Similar Messages

  • Problems logging in with authentication token.

    I have a test application which creates a room from Java. It generates the auth token as follows.
    String roomName = "dynamically_created_room1";
            AccountManager collabAcctMngr = new AccountManager(CollaborationConstants.COLLABORATION_ACCT_URL);
            collabAcctMngr.login(CollaborationConstants.COLLABORATION_ACCT_ID,CollaborationConstants. COLLABORATION_ACCT_PASSWORD);
            collabAcctMngr.createRoom(roomName,true);//: Deletes the room on exit
            Session collabSession = collabAcctMngr.getSession(roomName);
            collabSession.secret = CollaborationConstants.COLLABORATION_ACCT_SHARED_SECRET;
            String token = collabSession.getAuthenticationToken(CollaborationConstants.COLLABORATION_ACCT_SHARED_SEC RET,
                    "jeff-" + "-phelps","uid1",UserRoles.PUBLISHER);
            log.info("token = " + token);
    The room is created fine.
    I then run my flex CollaborationTest application
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:rtc="http://ns.adobe.com/rtc"
                           xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <rtc:AdobeHSAuthenticator id="auth" userName="" password="" protocol="rtmfp" authenticationKey="{AUTH_KEY}"/>
            <rtc:RoomSettings id="roomSettings" autoPromote="true" guestsMustKnock="false"/>
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                public const COLLABORATION_ACCT_URL:String = "https://collaboration.adobelivecycle.com/endlessmind";
                public const AUTH_KEY:String ="exx=eDpqZWZmLS1waGVscHM6OmVuZGxlc3NtaW5kOnVpZDE6ZHluYW1pY2FsbHlfY3JlYXRlZF9yb29tMTo1MDo 0YTI4NmFjN2FkYzk4ZTI3YTZkNWYwMmVhYWE5ZTgwNzUwYjRiZjFl";
                private var testRoomURL:String = "https://collaboration.adobelivecycle.com/endlessmind/dynamically_created_room1";
                protected function button1_clickHandler(event:MouseEvent):void {
                    cSession.roomURL = testRoomURL;
                    cSession.login();
            ]]>
        </fx:Script>
        <mx:Panel title="Test the ability to log into a room with a authentication key">
            <s:Button label="PUSH TO LOGIN" click="button1_clickHandler(event)"/>
            <rtc:ConnectSessionContainer authenticator="{auth}" initialRoomSettings="{roomSettings}" id="cSession" width="100%"
                                         height="100%" autoLogin="false" >
            </rtc:ConnectSessionContainer>
        </mx:Panel>
    </s:WindowedApplication>
    When I push the button to login, I received the following exception
    requestInfo https://collaboration.adobelivecycle.com/endlessmind/dynamically_created_room1?exx=eDpqZWZ mLS1waGVscHM6OmVuZGxlc3NtaW5kOnVpZDE6ZHluYW1pY2FsbHlfY3JlYXRlZF9yb29tMTo1MDo0YTI4NmFjN2FkY zk4ZTI3YTZkNWYwMmVhYWE5ZTgwNzUwYjRiZjFl&mode=xml&x=0.6030149115249515
    11:51:46 GMT-0600    #THROWING ERROR# bad authentication key
    Error: Invalid username or password:Login again
        at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure()[/Users/arun/Work/apo nnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src/com/ado be/rtc/authentication/AbstractAuthenticator.as:200]
        at com.adobe.rtc.authentication::AbstractAuthenticator/onAuthorizationFailure()[/Users/arun/ Work/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src /com/adobe/rtc/authentication/AbstractAuthenticator.as:215]
        at com.adobe.rtc.session.sessionClasses::MeetingInfoService/onComplete()[/Users/arun/Work/ap onnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src/com/ad obe/rtc/session/sessionClasses/MeetingInfoService.as:331]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Any help is greatly appreciated.
    Thanks.
    Jeff

    Barry,
    I am not sure I understand the problem.
    The way external authentication works is the following:
    - you create a room (or you reuse an existing room)
    - you create a session token by calling AccountManager.getSession().
    - that session token will be valid for the next "run" of that room.
    - if you call AccountManager.getSession() again, you will get the same session token back (it's still valid). You can call AccountManager.invalidateSession() to make that session token invalid and give you a new one next time you call getSession()
    - if a user enters the room the rooms becomes "active" and the session "countdown" starts (actually there is no session countdown. Your session token will be valid until current session ends).
    - if a user exits the room, after a few minutes the room will become "inactive". At that point the session is considered terminated and the authentication session token is invalidated (deleted).
    - if at this point a user tries to enter the room again with an old session token it will receive an error (cannot login)
    I don't know how the behaviour you see matches this but here is a couple of suggestion:
    - try to call getSession() every time you need a new authentication token. This is an overkill but if it works it may explain part of your problem (you cache session tokens and don't dispose them correctly when a room ends).
    - if you are using external authentication and get a login error, go back to your server and get another authentication token (this may require calling getSession() to make sure you are getting a token for the current session).
    Again, if everything was correct and you had full control of when rooms starts and end (i.e. you are monitoring the rooms via the server-to-server hooks) you should be able to create a session token once and reuse it until the room ends.

  • 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".

  • Solved: InDesign CC: Problems with text in text box: text flows around invisible object

    I just upgraded from CS4 to CC. I have two problems with text in some text boxes:
    The text seems to flow around invisible object that I cannot find or delete. It's as if there is a photo or other object behind the text box; but when I press COMMAND-a to select all, I don't see any such object.
    When I move this text box, the layout of the text within changes. For example, when the box is high on my spread, the text flows correctly within the box; but when I move it down, it flows around that hidden other object. For another example, when the box is low on the page, the text starts at the top of the box; but when I move the text box up, the text starts somewhere in the middle of the box.
    I have checked margins of the text box and the paragraph options of the text paragraphs (margins, indents, alignments). They all look OK.
    If I modify the text box, checking the box "Ignore text wrap", then the problem goes away; but then the text also will not flow around a real object that I want it to flow around.
    Solution:
    There were objects in a hidden layer on that one spread. It seems that in CS4 when you "select all" you would also select objects in hidden layers; but in CC it doesn't.

    Arthur, Garry
    Would be great if you could send the files as attachment in an email to [email protected]
    Else, you may post here using these steps: http://forums.adobe.com/message/3994281
    Thanks!
    - Neeraj

  • ID CS5: Problem with Text Wrap being Forgetful :(

    I am having a problem with text wrap. Whenever I open this INDD file I am working on now, some of the images shift from having what I call "actual" text wrap to having "false" text wrap. "Actual" text wrap *actually* wraps the text around the image as it is supposed to; "false" text wrap says that "Wrap Around Bounding Box" is applied to the image yet no text is wrapped. After opening the file, making sure to unset and reset the text wrap on each offending image to show an "actual" text wrap WITHOUT changing layer order, saving the file, closing, and reopening, some images have "false" text wrap again! This is a 77 page document with images on every page.
    Another occurrence is if I largely change the flowed text. If I must remove a paragraph on page 7, for example, then the "actual" text wrapped images on page 10, 12, and 18 change to "false" text wrapped images and I have to reset the text wrap on each image. There are often images in between offending ones that DO NOT change, but it doesn't seem to be the same ones each time. So once image A, C, and D will change to "false" text wrap, while B, E, and F are fine; the next time, A, B, and F are wrong and the others are fine. This is driving me crazy as I have never in 8 years of using InDesign encountered a problem using Text Wrap. Please note:
    Ignore Text Wrap IS NOT selected.
    The text box IS below the images.
    The copy is flowed throughout the document.
    Preferences>Composition>"Text Wrap Only Affects Text Beneath Selected"" DOES NOT FIX IT.
    "Wrap around bounding box" IS showing as selected for the image/images.
    There is NO CLIPPING PATH / PHOTOSHOP PATH / ALPHA PATH on these images.
    The images / text box order is not changed between being correct and being incorrect.
    Anyone else with this trouble? And, if so, how did you fix it? Thanks,
    A. Henson
    InDesign 7.0.3
    iMac i7
    8GB RAM
    OS X 10.6.6

    @henson26,
    I emailed you offline to see if you can provide me with an example file that shows the problem.
    Matthew

  • Problem with text formatting

    I am new to RoboHelp and I am trying to write some more text in an existing project in design view. I use Track Changes and have set the text to be Times New Roman 12pt. When I made a line italic it turned into Arial. I tried to change it to Times once again by selecting the text to format and then choose Format/ Font/ Times New Roman but it won´t change, it is still Arial. Earlier in the text I managed to make a line italic and Times New Roman.
    Anyone who knows what to do?
    (I use RoboHelp 10 with Windows 7 Professional.)

    Thanks for input!
    Yes, I think it was an inline style I made.
    I managed to get the text as I wanted to by deleting it, then I choose a style from the ‘Styles and Formatting’ pod that matched and retyped the text. (To me it seems strange to have to do this. I thought that I could change an inline style by highlighting the text and choose the font I want it to bee from the ‘Formatting’ toolbar.)
    Now I have another (but similar) text formatting problem:
    I copy a text that has style set to Normal. When I insert the text (on a line with style Normal) the font changes from Times New Roman to Arial. The inserted text still has the style Normal. I have in the ‘Styles and Formatting’ pod checked that Normal still has Times New Roman by opening the ‘Styles’ window. (I still have ‘Track Changes’ turned on.)

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Problem with text formatting within a table in Adobe Forms

    Hi all,
    I have a table on a non-interactive Adobe form (which is a copy of the standard expense form PTRV_EXPENSE_FORM.  The table in ABAP has a text field with CHAR50.  On the form, the text field has a width which allows approximately 35 characters.  Therefore the text wraps onto a second line.  My problem is that the text is not formatted and words are just split randomly.
    For example:
    The fox ran across the fields and into the woods.
    would be output as:
    The fox ran across the fields and i
    nto the woods.
    How can the text be formatted to only output complete words?
    I have tried defining the textfield as text only and rich text, but nothing changes the output.
    Interestingly, even if I change the font size from say 10 to 8, the text is output the same, even though there is enough space for at least one more word on the first line.
    Has anyone else come across this problem?
    Thanks,
    Patricia

    Hi Syed
    The table is IT_RECEIPTS_ADD_INFO, field VALUE_CHAR.  In the form it is called Receipts_addl_info.
    I have just found out that the data is being re-formatted in the interface.  That caused the problem.  Many, many thanks for your help. 
    Best regards
    Patricia

  • Problem with text fields

    Hi ,I'm new to javascript and have following problem
    I have 4 text fields on my jsp form..
    <input type="text" name="text1">
    <input type="text" name="text2">
    <input type="text" name="text3">
    <input type="text" name="text4">
    and I want to do this:
    If text1 is filled then I need to call any javascript validate function, which alerts me to fill text2 and if text3 is filled, then I need to call this function and it alerts me to fill text4. The function has to be called when the page would be submitted.
    Can anybody help me with writing this function?
    Thanks for your help.
    regards

    <script>
         function validateTextFields()
              if(testForm.txt1.value.length !=0 && testForm.txt2.value.length == 0)
                   alert("Please enter a value in textfield 2");
                   testForm.txt2.focus();
                   return false;
              if(testForm.txt3.value.length !=0 && testForm.txt4.value.length == 0)
                   alert("Please enter a value in textfield 4");
                   testForm.txt4.focus();
                   return false;
              return true;
    </script>
    <form name = "testForm" onSubmit = "return validateTextFields()">
    <input type = "text" name = "txt1" ><br>
    <input type = "text" name = "txt2" ><br>
    <input type = "text" name = "txt3" ><br>
    <input type = "text" name = "txt4" ><br>
    <input type = "submit">
    </form>cheers,
    ram.
    PS: Do read up on some basic javascript if you have to do a lot of work using it.

  • Problem with text printing on ZEBRA printer

    Hi all,
    I created a label in adobe forms to print output in ZEBRA140xi series printer. In the label I am printing Delivery number,storage bin,material number,delivery date and other details along with barcodes.
    I created a header to display company name. In header I kept solid black color as background and company name in white color in foreground with Arial 8 font.
    when I print the label all runtime values are printed but the header with black background only printing. The white text on the black background is not printing.
    Kindly tell me what I should do to print white color text on black background in ZEBRA printer? 
    Note: the print is working fine with laser printer problem comes when printed on ZEBRA printer.
    regards,
    Suresh.

    Hello,
    did you find a solution? I have the same problem: print ADS forms on zebra with black background and withe text.
    Regards.
    Benjamin

  • I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    I'm having problem with text boxes.  Whenever i hit the enter button to start a new line or paragraph, the cursor doesn't drop down to the next line.  Instead i get this little red + sign in the box.

    You are absolutely right.  Thought Enter meant Enter.  I was wrong.  Thank you for the help.
    Rod Rogers, Broker
    Accredited Land Consultant (ALC)
    Metcalf Land Company, Inc.
    Office: 864-585-0444
    Mobile: 864-316-0297
    Fax: 864-583-6000
    <http://www.metcalfland.com> www.metcalfland.com

  • Problem with Texts in infoObject

    Hi guys,
    I have a infoObject with texts in two languages. If I sign into the system in EN language all texts are shown in EN. The same situation is with german language. Everything works fine. Now I have a new requirements where  the users want to see this information in both languages one after the other. Is that possible? Do you know maybe some solution to deal with this problem?
    Regards
    Erwin

    Hello,
    Are you talking about the texts contained in the infoobject for data, then check the foll:
    1) If your text is language dependent in the infoobject
    2) Then in the report level select both the languages and u have both the desc.
    But if you are talking about the description of the infoobject, then i believe its not possible.
    It will display the information with the language u sign in.
    regards,
    Shashank

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • SRM - Problem with a SRM Order with text position

    Hello,
    I produced an order requisition from SRM. (Document Type EC / Field Sel.Key NBB) Unfortunately I cannot change the category of commodities during this order requisition over the transaction ME52N. This must be however possible. The appropriate Field Sel.Key NBB is correctly adjusted.
    The problem apparently lies in SRM. With normal SRM orders in the R/3 an order is put on. The category of commodities may not be changed then no more.
    With SRM orders with text positions a order requisition is to be put on in the R/3. Functions also. The category of commodities is not also here alterable only unfortunately. That must function however.
    My question: How can one change the data of the order requisition with text orders over SRM?
    Regards
    J.V.

    hi J.v
    you can make new request rather than changing the purchase request since material group in important data.
    why you want to edit the PR and again trying to edit the data in sc created from pr.
    I recommend you to create a new PR for your request.
    since
    eprofile offered sap ecc according to your material grp / purchase group combination inthe eban table (eprofile field).
    but why you are trying to edit the same pr in the backend method(it is no.2 activity in sap - not supposed to do right)
    if you dont want that request cancel the sc (complete it).
    hope now you understood.
    br
    muthu

  • InfoObject with texts problem

    System: SAP BW DEV;
    Problem:  I wanted to make some changes with InfoProvider 0PROD_HIER___T, which is an InfoObject with texts. Finally, 0PROD_HIER___T disappeared, I don't see it in the treelist of InfoProviders (I actually don't think, I could delete it...). In the InfoPackage tab "Data Targets" I still can see data target name 0PROD_HIER___T. I want to bring it back to InfoProviders' list without any damage of system . Or maybe it's already deleted? 
    any minds for next steps? thnx

    Info object change mode ,master data/text tab , assign some Application component . then It will show in the info provider list .
    Ravi

Maybe you are looking for

  • Sale Order Status after dellivery of materials from Projects

    Hi, I have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will b

  • Search settings - default to current folder and "file name" ?

    99.9% of the time, when I enter something in the search bar of the Finder window, what I want to do is: 1. search is the folder that I'm in 2. search for the "file name", and 3. then sort the results by "date modified". Currently, problem is: 1. I ca

  • Airport problems with PC after update?  Try this

    My TC worked fine for a year with PCs networked to it. Then I upgraded Airport Utility to 7.4.1 and kaboom networked dropped, PCs locked up... I downgraded back to 7.3.2 and everything works fine. Found this helpful blog posting called "Publc Safety

  • Start multiple services on a list of computers

    I'm trying to write a PowerShell script to start multiple services for a computer list in a txt file.  I know there has to be a way, but I'm running in circles trying to figure it out.  My latest test is Get-ContentD:\Scripts\test.txt|Foreach-Object{

  • How can I have custom data annotation attribute alter the Target of a migration?

    I want to create custom data annotation attributes in order to alter the database accordingly. To have this custom attribute apply, I want to create a custom MigrationOperation/SqlServerMigrationSqlGenerator in order to execute the database related c