Using the onClick method to change a default text into a CFTEXTAREA

Hi,
I am trying to use the simple following method to change the
value of a Textarea field when the internet user click into the
field:
<cftextarea name="fYourMessage" label="Your Message: "
onclick="if(this.value=='You can use this text field to push a
personal message for your friend.')this.value='';">You can use
this text field to push a personal message for your
friend.</cftextarea>
But I have no effect at all using that method! I think I am
missing a knowledge about using CFFORM in a Flash method
(format="flash") were it might be not possible to use JavaScript in
the way I want it.
In any case, if somebody understand what I am trying to do
and have some information for me, please let me know! I am sure it
is simple to resolve this!

Hi,
Sorry misunderstood the question previously, you should probably use the Embed or Object tag of Html to send FlashVars to the flex application. I just googled and got some links.
http://kb2.adobe.com/cps/164/tn_16417.htmlhttp://www.mediacollege.com/adobe/flash/actionscript/flashvars.html
http://www.mediacollege.com/adobe/flash/actionscript/flashvars.html
Hope this helps.

Similar Messages

  • Splitting a Flattened Image into Layers so I can use the Paint Bucket to change colors

    I have what I think is a flattened image that is part of a Website template. (I'm assuming the image is flattened, because when I use the paint bucket to change the color, it colors the whole thing; and when I use the magic wand, the whole image is selected). I need to be able to use the paint bucket to change the colors. What do I have to do to make the image work that way? The image is made to look like you're looking left to right at four file folders. The folder labels are a different color. Is there some way to separate the folders (now in green), the folder labels (now in yellow), and the white background from each other, so I can apply the paint bucket to different layers later? I've worked on this for hours now, and can't seem to find the answer. I'll have to change the colors in the image at least 10 different times, so I was hoping I wouldn't have to resort to using the brush or pencil tools.

    Darlene,
    Another way is to use the Replace Color Tool. The Hue/Saturation method is probably easier, but I thought I'd mention Replace Color for your information.
    http://www.pixentral.com/show.php?picture=18IBCKnJchzoxfLEaw7Bu93j9W5jS
    In my example I changed the 3rd label in your picture to red.
    1. Roughly select the label using the Lasso tools.
    2. Enchance>Adjust Color>Replace Color.
    3. Click on the label in the picture; it will appear in the box as white on black background. In general you would move the fuzziness slider until just the portion you wish to change appears white. In this case since the yellow is uniform with sharp border the fuzziness slider had minimal additional effect, but I did move it all the way right to capture the fringe pixels.
    4. Play with the 3 Transform sliders to get the desired result.
    In this next example I changed the top of the lighthouse from red to green (why I would want to do that, I don't know!).
    http://www.pixentral.com/show.php?picture=1XhqCAvgc0zVWReJDkUB2OLDQChSy
    Note that in this case I didn't have to move the fuzziness all the way right.

  • Using the ContactInsertOrUpdate method from the ContactWS but error msg rcv

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    Corsa
    Contributor
    I am getting the following error I do not know why or how to work around
    it.
    Method 'SetFieldValue' of business component 'Contact' (integration
    component 'Contact') for record with search specification '[External <br/>
          System Id] = "123456"' returned the following error:"Access <br/>
    denied.(SBL-DAT-00542)"(SBL-EAI-04375)
    Does any out there have any ideas?
    Previously when I tried to do the same action I got the following message:
    Multiple matches found for instance of integration component 'Contact'
    using search specification '[External System Id] = "123456"' in the
    business component 'Contact', based on user key 'Contact User
    Key:3'.(SBL-EAI-04390)
    Both messages are baffling me. Please, please help
    Product: CRM OnDemand
    06-16-2006 04:35 AM
    Re: Using the ContactInsertOrUpdate method from the ContactWS but error
    msg rcvd
    BigSlick
    Valued Contributor
    Hi Corsa,
    Can you access the record in the online application. Perhaps someone has
    changed the access rights for this Contact on the Contact Team ?
    -BigSlick
    06-20-2006 12:33 PM
    Re: Using the ContactInsertOrUpdate method from the ContactWS but error
    msg rcvd
    Corsa
    Contributor
    I realise now that the field AccountID is readonly and cannot be assigned.
    I was attempting to assign contactsList[count].AccountId to a value . I
    believe, this is the reason I was getting the access denied error.
    06-23-2006 11:10 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Ok, so I hit a bump in the road. Just when I think I understand something It doesn't work correctly.
    I implemented it I thought correctly. I looked up something on the sun website (core java) I used advice from here, and my professor finaly responded to me with almost identical instructions. So I did it
    my RationalNumber.java no looks like this.
    public class RationalNumber implements Comparable
    //.....Break to new section
      public  float compute ()
           float value = getNumerator() / getDenominator();
         return value;
       public int compareTo(RationalNumber op2)
           if (Math.abs(compute() - op2.compute()) < .0001)
              return 0; //Equal
          if (compute() > op2.compute())
            return + 1; //Rational Number bigger
          if (compute() < op2.compute())
               return - 1; //Rational Number Smaller
         }I thought that would work fine, but it gives me an error when I compile it:
    RationalNumber.java:8: RationalNumber is not abstract and does not override abstract method compareTo(java.lang.Object) in java.lang.Comparable
    public class RationalNumber implements Comparable
           ^So now what, making it abstract only creates more errors....
    Also, thanks ChuckBing, I'm glad you like the screen name, I've been using it for years.

  • How do I use the find method to find multiple items in a single paragraph?

    I am desigining a script to find any instances where ctrl+b and ctrl+i are applied to body text and then replace those character format overrides with Italic or Bold chartag.  Here's what the script is supposed to do:
    put the find method in a while loop that searches for character format overrides.
    If a character format override is found, pass the text range returned by the find method and the CharPropsChange flag to the GetTextForRange method.
    Use a boolean compare between the idata of the text item to the character angle and character weight constants.
    Whichever boolean evaluates to true, then use the SetTextProp method to set properties of the text range to the properties of the italic or bold character tag.
    This script does work on the first character format override found however it ignores any other overrides in the same paragraph. The cause of this is that the while loop updates the text loc that the find method uses to the next paragraph in flow. I suspect that i need to add an inner loop that goes through all the text in a single paragraph, where at teach iteration the text loc used by the find method is based on the same paragraph but the offset is modified. I am just not sure how to do that.
    function removeOverrides (pDoc)
        var vDocStart = pDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
        var vBoldFmt=getCharFmt (pDoc, 'Bold')
        var vItalicFmt=getCharFmt (pDoc, 'Italic')
        initFA_errno ();
        while (FA_errno==Constants.FE_Success)
            var vTextLoc = new TextLoc(vDocStart,0);
            var vFindParams=findOverrideParams (pDoc);
            var vTextRange=pDoc.Find(vTextLoc,vFindParams);
            if (vTextRange.beg.obj.ObjectValid())
                var vTextItems=pDoc.GetTextForRange (vTextRange, Constants.FTI_CharPropsChange)
                if (vTextItems.length==!0 )
                    if (vTextItems[0].idata==Constants.FTF_WEIGHT)
                       pDoc.SetTextProps (vTextRange, vBoldFmt.GetProps())
                    if (vTextItems[0].idata==Constants.FTF_ANGLE)
                       pDoc.SetTextProps (vTextRange, vItalicFmt.GetProps())
                    } else (Log (vLogFileName, '\nERROR: No items were found in the text format array but format override was found: '+pDoc.Name))
            vDocStart=vDocStart.NextPgfInFlow;
    function findOverrideParams (pDoc)
        var vFindParams = AllocatePropVals(1);
        vFindParams[0].propIdent.num = Constants.FS_FindObject;
        vFindParams[0].propVal.valType = Constants.FT_Integer;
        vFindParams[0].propVal.ival = Constants.FV_FindCharacterFormatOverride;
       return vFindParams;

    Hi Rick,
    Well, following up on the previous posting, I actually did figure out how to make it work but it seems rather inefficient. I can insert a new paragraph right after the paragraph that has the table anchor but when i cut the table, i also cut the paragraph i just created. So to get around that, I create two paragraphs, so that there will be one paragraph left after i do the cut and that is the paragraph that I paste the table into. Once the table is pasted into the new paragraph, I delete the other paragraph that I created.
    Here's the updated code from the for loop:
    var vTbl = vDoc.GetUniqueObject(Constants.FO_Tbl, vTextItems[i].obj.Unique);                 
    var vAnchorPgf=vDoc.NewSeriesPgf (vTbl.TextLoc.obj)      
    var vAnchorPgf2=vDoc.NewSeriesPgf (vAnchorPgf);        
    var vAnchorTextLoc=new TextLoc (vAnchorPgf2, 0);             
    var vTblTextRange=new TextRange ();        
    vTblTextRange.beg.obj=vTbl.TextLoc.obj;       
    vTblTextRange.beg.offset = vTbl.TextLoc.offset;        
    vTblTextRange.end.obj=vTbl.TextLoc.obj;        
    vTblTextRange.end.offset = Constants.FV_OBJ_END_OFFSET                 
    vDoc.TextSelection=vTblTextRange;        
    vDoc.Cut (0);                
    vTblTextRange.beg.obj=vAnchorTextLoc.obj;        
    vTblTextRange.beg.offset = 0;              
    vTblTextRange.end.obj=vAnchorTextLoc.obj;       
    vTblTextRange.end.offset =0;                 
    vDoc.TextSelection=vTblTextRange;       
    vDoc.Paste (0);                   
    vAnchorPgf2.Delete();        

  • There is no printer output when using the PrintOut method

    I have a VB6 app with CR XI, and a customer found a situation that when printing a report directly to the printer using the PrintOut method, there is no printer output or error message.
    Some reports using the same code print normally, but a report that is preceded by another print call, presents this behavior.
    And when the output is directed to the screen, we can see the report.
    Could someone give me an idea of what is the problem?
    Thanks,
    Isis
    SP - Brazil
    The code used is below:
                       Set rpt = applic.OpenReport(App.Path & "SEFoto" + TipoRPT + ".rpt")
                       rpt.FormulaSyntax = crCrystalSyntaxFormula
                       rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
                       rpt.FormulaFields.GetItemByName("Idioma").Text = "'" + Idioma + "'"
                       rpt.FormulaFields.GetItemByName("Versao").Text = "'" + Versao + "'"
                       ' ... Some lines to compose the selection formula
                       rpt.RecordSelectionFormula = Cond
                       ' To evaluate the image length:
                       Arq = rsTMP3!FT_Arquivo
                       ImageScaling = FatorDeReducao(Arq, "F")
                       ' To reduce the image length:
                       AchouOLE = False
                       For Each oSection In rpt.Sections
                           For Each oObject In oSection.ReportObjects
                               If oObject.Name = "PictureFoto" Then
                                  Set oOleObject = oObject
                                  AchouOLE = True
                                  Exit For
                               End If
                           Next oObject
                           If AchouOLE Then Exit For
                       Next oSection
                       With oOleObject
                            .Suppress = True
                            .XScaling = ImageScaling    ' 0.5 = 50%, 1 = 100%
                            .YScaling = ImageScaling
                            .Suppress = False
                       End With
                       Aguarde.Show 1
                       If DestinoRel = 9 Or DestinoRel = 1 Then ' Padrão ou impressora
                          rpt.PrintOut True              ' <<<---- Here using true or false nothing happens
                       Else
                          PrintRPTtela rpt, "Fotos"   ' <<<--- Here it works fine
                       End If

    Hi Isis,
    Not sure if you have applied any service Packs to CR? If please do so and test again. Then you can upgrade to CR XI R2 for free, use your XI Keycode and download Service Pack 4 from this link:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    You'll find the distribution files for your app also from that same download area.
    If you don't want to upgrade to XI R2 then download all patches from XI and test again. This issues rings a bell that it may have been fixed.
    Thank you
    Don

  • How to use the index method for pathpoints object in illustrator through javascripts

    hii...
    am using Illustrator CS2 using javascripts...
    how to use the index method for pathpoints object in illustrator through javascripts..

    Hi, what are you trying to do with path points?
    CarlosCanto

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

  • Adding a pre-existing podcast to iTunes U using the feed method.

    While trying to add another pre-existing CSULB podcast to our CSULB on iTunes U (using the "feed" method), I encountered an error message that I don't know how to interpret.
    Can you help me with this or is there somebody else at Apple I should work with?
    The pre-existing podcast is at: http://www.ccpe.csulb.edu/citt/podcast/feed.aspx
    The error message reads:
    "While attempting to download. . . iTunes U encountered an authorization error and could not update the content. Verity your authorization access to the feed specified in the feed URL field, including the user name and password permissions, and then try again."
    I have no idea what this means. Can someone please help?
    Walter

    bgerth wrote:
    Is anyone using Podcast Producer 2 to publish content on iTunes U, and if so, does it work reasonably well (do you recommend using it)?
    Its spiffy. I like it, but I'm a softie when it comes to Apple stuff.
    Am I correct in thinking Podcast Producer 2 can only be used to create an RSS feed to point to podcasts stored in its Podcast Library or can you use Podcast Producer to upload files into our institutional iTunes U storage space (yes we are fortunate to have access to Apple's 500 GB storage space)?
    You can choose to do either. Although I haven't seen anything official, I suspect that Apple prefers the use of Podcast Library…but that's just a preference, not any sort of recommendation or future direction. In the end, I suggest (and I think Apple would agree) that you do what makes the most sense for you. For example, we choose to do it both ways.
    Can you provide a link to instructions (or explain how to either identify in iTunes U that the podcast is in Podcast Producer's Podcast Library as an RSS Feed or how to upload the podcast from Podcast Producer to a specific tab in a specific iTunes tab.
    I believe someone (a friend from Apple…??) released a PcP workflow action that deals with iTunes U the same way as PcPv1 did. Overall, though, probably the best kept PcP secret is that Podcast Producer is a generalized workflow solution. Sure, it's cast as a podcasting solution…but if you can get OS X Server to do something, you can get Podcast Producer to turn it into a workflow…anything. Since OS X Server can be scripted to upload content to iTunes U, Podcast Producer can handle that too.
    I appreciate any information given as I have tried with little success to find this information in either the iTunes U or Podcast Producer Admin guides.
    Thanks!!
    BGerth

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Trying to use the Instance Method

    I'm trying to get the second class to use the instance method in the first class to make some Turtles move around in Triangle shape.
    Class one code:
    public class TryInstanceMethod
    private Turtle t;
    public TryInstanceMethod(Turtle turtle)
    t = turtle;
    public void drawTriangle(int length)
    t.forward(length);
    t.turn(-120);
    t.forward(length);
    t.turn(-120);
    t.forward(length);
    Class two code:
    import java.awt.*;
    public class UseInstanceMethod
    public void main(String[] args)
    World w1 = new World();
    Turtle t1 = new Turtle(w1);
    TryInstanceMethod TM1 = new TryInstanceMethod(t1);
    TM1.drawTriangle(100);
    World w2 = new World();
    Turtle t2 = new Turtle(w2);
    TryInstanceMethod TM2 = new TryInstanceMethod(t2);
    TM2.drawTriangle(200);
    it compiles fine but it will not use the instance method drawTriangle to draw two triangles in two different worlds

    When posting code highlight it and click the CODE button to retain formatting
    fox_1 wrote:
    it compiles fine but it will not use the instance method drawTriangle to draw two triangles in two different worldsSo what does it do instead? We do not read minds and cannot see you computer screen. So you need to provide as much information as possible. Such as the Turtle and World classes.

  • How to know the size of the string with out using the length() method

    i want to find the lenght of the
    String s="Sudha";
    with out using the lenght() method.

    Not true (I mean the part about "The only String
    call"). But if it had been true, I might haveagreed
    with this:
    Assuming one uses the 'exception' approach thenwhat
    method other than charAt() is needed?I probably misunderstood your post, I thought you
    meant that the only alternative to length() would be
    charAt() and catching the exception.There are many ways and if the teacher had said find 5 ways of finding the length of a String then I would have fealt happier because it would have meant the student would have to read and study the whole of the String API.
    I like
    int length = (s+"sabre").lastIndexOf("sabre");

  • Can I Use The Iphone 5 To Change The Iphone 5s?

    I want to change the iphone 5s can i use the iphone 5 to change the new iphone 5s?

    If you live in the US, go to the nearest Apple Store and inquire about the recycling/trade-in program.

  • Mouse Coordinates and using the getPoint method

    Hello,
    I have a mouseClicked event that uses the getPoint method to get the coordinates of the mouse. Because the mouse is a shape (the cursor), it contains more than 1 pair of coordinates, so getPoint is supposed to return the coordinates of what is called the "hit point" of the mouse. Now because I use the standard mouse cursor (an arrow), the "hit point" is supposed to be its point edge, but I get the coordinates of the other edge!
    Now if I have a big JPanel in the window (without controls) that the user can press and the program needs to respond to the clicks, there are situations that the user presses somewhere and expects to get a specific response, but instead gets another one. That's because he/she is accustomed from other applications to use the point edge, but if the 2 edges of the cursor are in different regions in the panel (and thus generate different responses), they get the response of the other edge's region.
    Is there a way to solve this?
    Thanks.

    I still don't understand your problem and apparently nobody else does either since there are no responses. Why don't you write a simple program (like I did for you on your last post) that demonstrates the problem.
    "A picture is worth a thousand words".

  • I can't turn on my MacBook Air despite trying to hold down the power button and using the SMC method. BTW my battery charger lights up to a green when plugged into the laptop.

    I can't turn on my MacBook Air despite trying to hold down the power button and using the SMC method. BTW my battery charger lights up to a green when plugged into the laptop.

    Hello cass528,
    I would be concerned too if my MacBook Air would not power on.  I recommend following the steps in this article when experiencing an issue like this:
    Troubleshooting: My computer won't turn on
    http://support.apple.com/kb/TS1367
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • HT4623 I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working f

    I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working fine.

    Have you tried the following troubleshooting document?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    If you end up using the If the iTunes Store opens successfully section of the document, and the "Automatically detect settings" checkbox is already checked, try unchecking and rechecking it and clicking OK.

Maybe you are looking for

  • Why can't I save as my photoshop cs4 file to .png file? I don't see any option now?

    Hi, why can't I save as my photoshop cs4 file to .png file? I don't see any option for saving .png in Save As diolog box now? It was working fine until yesterday. Neither I can open a .png file nor save my psd file to png file? Please help. I am usin

  • Excise base amount not updated

    Hi experts ,           During the depot sales scenario when i run the report J1IDEPOTSTOCK1 report i am not getting the Excise base amount updated.I am getting the value for first line but the same is not coming in second line i.e. for depot excise i

  • Nokia 5230 - Issues in adding Contacts to message

    Hii, I bought a new Nokia 5230 and transferred all the data(contacts, messages etc) from my previous phone. I am facing some issues to send message.  When I add a contact from my phone book to the 'To' field, the contact is not getting added. That is

  • Deleting/reconstructing indexes for InfoCube 0PUR_C04 is not permitted

    Hello, I have got the above error today while  monitoring process chains. i.e error in create index and showing as 'Deleting/reconstructing indexes for InfoCube 0PUR_C04 is not permitted ' i will get this error every week and i'll repeat this ,but it

  • Clearing a waveform chart

    Hello! Can someone explain how to re-set a waveform chart to initialize to 0 at the start of the run of the VI. I notice one example where a zero array is input... but this looks like overkill. Is there an easier way. Thanks, Adrian