TextInput style, change at design time.

I am new to Flash, and am working on developing an iOS app.
I have my first basic app running.
My question is, how do I change the style of my TextInput at design time?
I see how to do it in code, but I am hoping that I wont have to have a bunch of extra code, justto set the styles of the inputs.
Thanks in advance,
Clint

One way you can probably do it is to doubleclick the component on the stage and manually edit the various pieces that comprise it by doubleclicking and editing them.
If you are using a TextInput component and you have issues with having code for styling it, you might consider switching to just using an Input Textfield.  Components tend to be weighty little creatures, partly due to the various graphics they carry but moreso because of code that they lug around.  To see how much the TextInput contributes to the weight of a file, start a new file and place a TextInput on the stage.  Then, with the Flash Publish Settngs option set to Generate size report selected, publish the file and see the bytes contributed in the output panel.

Similar Messages

  • Does changing report connection at runtime require the same user/pwd used at design time?

    I've recently integrated Crystal 13 into a web service to provide HTML reports served up within our web application.  Sometimes reports would work and other times they would fail when attempting to connect to the database.  The ConnectionInfo associated with the tables referenced in the reports bore the account info used at design time (in the Crystal IDE), what ever connection was set as the Datasource Location, this would include the server name, database name, and other attributes of the connection.
    I found that any changes I make to table, sub-report connection info have no affect unless the UserID and Password match the UserID and Password saved with the report during design time.  While generally searching online, I came across several references to this being and issue or suggestion when database connection problems dynamically running reports.
    If this is by design?
    How would I support customers who want to use my reports, but also require that they manage the db access accounts?
    Thanks,
    Jeff

    Hi Brian, thanks for the response. 
    It does make sense that subreports would not necessarily be constrained to the same connection as the container report, and the designer would not persist a password for any stored connection.
    I'm on Windows 7 and up, Crystal 13 runtime, C# web service, sql 2008 r2 and up (native client).
    After loading the report source, I call ReportDocument.SetDatabaseLogon to set userId, password, serverName, and databaseName pulled from web.config.  I then pass the connection info and the ReportDocument to a recursive call that applies the connection info to each table in the report and each table in any subreport.
    Based on your description, it sounds like I may be missing, and require, the SetDatabaseLogon call on each subreport (ReportDocument).
    This seems to ring true and I think coincides with your description.  Would you agree?
    Thanks,
    Jeff

  • SDK - Possible to change Layout properties in design time?

    Hi guys,
    there are some layout properties you can change while you are in design time, top margin - left margin....
    I want to change them e.g on button press in additional properties.
    Is that possible?
    What I found is this.owner.oComponentProperties.margintop, but nothing happened after I set it to another value.
    best regards

    Hi Juri,
    If you simply want to provide the ability to change layout of standard or SDK components based on events such as a button click during run-time, this can be done with standard BIAL scripting as shown below:
    In design-time, the layout properties can be changed via the Standard Properties sheet.  Can you clarify why you need to be able to change the standard layout properties in the Additional Properties sheet?
    Regards,
    Mustafa.

  • Syncing design time and run time view in WPC

    Hi,
         We use WPC to develop web content. Especially when we use the table control provided in the Htmleditadvanced(advanced paragraph) component for creating web content the size of the font that is displayed in design time is very big. We do control the font size at run time by altering the font style available in the /etc/wpceditor/runtime/styles folder. But a the same time we are unable to alter the font style at designtime so that we can have the design time in sync with run time when the page is previewed. We did try exploring the css files available in /etc/wpceditor/designtime/styles folder, but was not of any use.
    Any pointers will be appreciated.

    Hi ulahoti,
    Welcome to our forum, I have downloaded your "Basic Project", I think it looks well after change
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="*"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    to:
    <Border
    CornerRadius="20" Background="Black"
    Padding="8">
    <Border
    CornerRadius="20" Background="White"
    Padding="8">
    <GroupBox
    Header="Fading Mode" Background="White">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition
    Height="Auto"/>
            <RowDefinition
    Height="Auto" />
    </Grid.RowDefinitions>
    If your issue persists, or I have misunderstood your concern, please let me know, and share your
    main concern
    with me, then I will do my best to resolve your issue.
    Best regards,
    Sheldon _Xiao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • [svn:fx-trunk] 9407: Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties .

    Revision: 9407
    Author:   [email protected]
    Date:     2009-08-19 15:11:34 -0700 (Wed, 19 Aug 2009)
    Log Message:
    Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties.  This states test exposed this.
    We should rethink if we want to clear hostFormat rather than have a hostFormatChanged flag.  If there is no hostFormat at measure then it has to be fixed because there is no line break format to check for auto-size.
    QE notes:
    Doc notes:
    Bugs: SDK-22779
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22779
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

    Oh my god, it is too long! You definitely check out types, casting and especially ODP.Net (it does everything for you)... etc. They can help you to simplify your code. I do not have enough time to copy paste it to Studio and understand and solve your issue, so I got title of your message as your main question.
    In Oracle, you can create an autonumber field by using sequences object. This is really useful when you need to create a unique number to act as a primary key.
    Basically you can create a sequence simply typing;
    CREATE SEQUENCE MY_SEQUENCE;
    now you have a sequence called "MY_SEQUENCE"... Then, I advice you select a number from sequence;
    select MY_SEQUENCE.nextval from dual;
    I said I advice actually kinda must, although it called sequence, I cannot be sequential. Do not even try to predict the value. You can be sure that it is unique number so you can use it.
    Then insert you record and use that number part of your primary key. I think that's it. Have fun.

  • Report does not print exactly same as it appears at design time

    Hello,
    I am using SAP Crystal report with VS 2010.
    I designed a report. At design time every thing appears fine. Margins are set to 0, printer is selected and page size is custom.(right click on report, design>pagesetup)
    When I use <reportname>.printtoprinter(), it dramatically changes the text size and margins of the report in hard copy. I tried literally everything for this. Especially It adds nearly 2 inches extra margin at top.Also , at run time it changes the font size to 8 or 9 points if i have set it to 12 at design time.
    I get the same problem if I do following:
      crystalReportViewer1.ReportSource = rptRcAbh;
       crystalReportViewer1.PrintReport();
    HOWEVER!!
    When I do this:
      crystalReportViewer1.ReportSource = rptRcAbh;
    AND when I manually click the print button of crystal report viewer, i get EXACTLY SAME result as design time. This is what I am expecting from printoprinter() method. But Its changing result dramatically.
    Why is this happening? Am I forgetting any setting?
    I must use reprot.printtoprinter() method here. Because I am printing the bill receipt. I dont want the user to go to printpreview then click print. AND I must get same result as design on printed page.
    Please help me. I am in urgent need.

    Hi Don,
    Firstly I am very very thankful to you for replying me.
    I know I must have irritated you a bit cuz I was expecting everything ready which I should have :P
    but I was in urgent need and there was no time for me to read everything. I must say a thing that I did not get good search results on printcontroller when I used search box of this website.
    Well Thanks again for helping me in deed.
    I am sure this must be the problem for many people across the globe, hence I am posting the exact code that helped me to print the document Accurately:
       rptReceiptAbhishek rptRcAbh = new rptReceiptAbhishek();
            //        rptRcAbh.Load("rptReceiptAbhishek.rpt", OpenReportMethod.OpenReportByTempCopy); i did't need this line
    //////// Directly Entering data to the fields of the report.
                    CrystalDecisions.CrystalReports.Engine.TextObject txtname;
                    CrystalDecisions.CrystalReports.Engine.TextObject txtaddress;
                    txtname = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptName"];
                    txtname.Text = cboInitials.Text + " " + cboDonarName.Text;
                    txtaddress = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptAdd"];
                    txtaddress.Text = txtAddess.Text;
                    rptRcAbh.PrintOptions.PrinterName = Properties.Settings.Default.PrinterName;
                    System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                    CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
                    pDoc.PrinterSettings.PrinterName = Properties.Settings.Default.PrinterName;
                    pDoc.PrinterSettings.SupportsColor.ToString();
                    //if (pDoc.PrinterSettings.SupportsColor)
                    //    MessageBox.Show("Printer Supports Color", pDoc.PrinterSettings.SupportsColor.ToString());
                    rasPROpts.PrinterName = Properties.Settings.Default.PrinterName;
                    //   rasPROpts.PaperSize = (CrPaperSizeEnum)pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                    //rasPROpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
          //          rptReceiptAbhishek rpt = new rptReceiptAbhishek();
                    var rptClientDoc = rptRcAbh.ReportClientDocument;
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    MessageBox.Show("Printing in progress. Make sure that printer is not turned off.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);

  • How to load a file at design time?

    I have a custom component which has a property that takes a path to an xml file.
    I have a file chooser property editor associated with the property which returns a relative path. The component correctly resolves this path at runtime using the application context etc.. but I'm at loss on how to do this at design time.
    The image component in JSC does this correctly as the image is loaded at design time using the url. I'm not sure how this is done but I'm looking for exactly the same functionality.
    The only way I figured to correctly resolve the physical path of the file at design time was through the DesignBean.
    In order to resolve the path and pass the resolved path to the component property I need to intercept property changed event and change the property value. However doing this in PropertyChanged(..) method of DesignInfo bean for my component doesn't do it as this is called 'after' the property value is set and changing the property value at this point results in a circular loop.
    Is there any way to accomplish this? Any help is appreciated.
    Thanks.

    Is this still unresolved? I'm sure you've read everything at "Building Custom Components"
    http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp#Building_Custom_Components
    by now. I don't have the answer, but if it's still a problem, I'll work with you to figure it out.

  • Is there a way to have autogenerated columns in SSRS Report without declaring the column defination at design time.

    I just have a procedure in which i do have a dynamic query.It has certain parameter on the basis of which different set of columns will be returned in the result set. Now I want a SSRS report which can automatically pick up the columns from the Procedure
    result.without declaring column Names at Design Time(As i don't know which columns will come in the result set)
    PS:- I can't make separate matrix/table with their respective column names and show/hide them as I don't know which columns will come from procedure.
    Thanks
    Kanwar

    Can you please give a reference.I want a matrix or table to display the result set as is returned from the procedure.(Lets just say you keep the columns fixed).How without writing the column Names in table/matrix it automatically generates
    the columns similar to resultset.
    A bit of background for Understanding scenario:
    We want to give users the column names, arithmetic operators,etc.(From UI) and then send the query to SSRS. This query will be sent to SQL procedure(which is being used in RDL).What after that ??? . SSRS is not changing the result set dynamically.So as the
    result set is not definite i want table/matrix to populate the data returned from procedure automatically (without defining columns at design - time).
    Thanks
    Kanwar

  • Ver 4: Still no support for Includes or Design Time Stylesheets?

    Wow...well, without either of these I can't make use of this
    product. I guess I'm confused at what types of users this product
    may be marketed toward, although with the amount of focus put on
    Blogs and Blogging and lack of focus on requests already made in
    this forum for some time I'm getting a better idea. Hey, if they
    want to "dumb this down" and make it a price point product that
    purposely sits lower on the totem pole than Dreamweaver, then I
    think that ought to be made more clear in the marketing materials.
    I guess what's frustrating is that it's touted that it "uses the
    Dreamweaver HTML Engine" but can't implement a feature like Design
    Time Stylesheets? Would this put it too close to Dreamweaver in the
    product line? I certainly don't think so but if it did implement
    such a feature it would increase the demographic that could make
    use of such a great product as many users are not going to rewrite
    Includes OUT of their existing sites just to be able to use it.
    Most intermediate to advanced designers will almost always,
    and have been taught, to use includes to minimize page changes in
    multiple places...it's such a common thing to do. But unless an
    included page can be edited inline I have no way to turn my users
    loose with this app. It seems reasonable to implement Design Time
    Stylesheets like Dreamweaver does in which case, the users could
    edit the included page directly and at least see it like it should
    look with formatting which they can't do now because of the lack of
    an applied stylesheet when opening the include file directly.
    Do they expect that once we've written a site using includes
    we should have our content providers use Dreamweaver? I don't know
    about the rest of you but that's asking for a heck of a lot of
    trouble turning non-designer/developers loose with
    Dreamweaver...even using Templates.
    Sorry for the rant, I'm just a bit frustrated as I really
    need an app that can let me make use of "Content Providers" in our
    company. And don't get me wrong, I'm a long time Macromedia/Adobe
    supporter...just hoped something would happen with v4 that didn't
    and was pretty sure it would based on user input on this and other
    forums.
    If anyone has ideas on workarounds for this problem I'd love
    to hear!
    Thx,
    Mike

    Hi. I'm going to reopen this thread instead of starting a new
    one. Maybe someone here can help me figure out how Contribute can
    solve my client's editing woes.
    His site is built in ColdFusion, with template information
    that's stored in the database for each page. Currently this is what
    happens, simplified.
    1. User requests /foo.cfm
    2. Database looks up header, footer, and template to use for
    /foo.cfm, or the page can use "no template" in which case
    whatever's in the page gets put between the header and footer.
    3. The template or the page will contain one or more
    "editable regions", to use a Dreamweaver term. These blocks of HTML
    are pulled out of the database, and can currently be edited within
    the CMS by a browser-based WYSWYG editor.
    The problem is, the WYSIWYG editor in question isn't up to
    the task. Contribute seems to be, but I can't figure out how to fit
    it into a workflow compatible with this site!
    We don't use Dreamweaver and from what I've seen Dreamweaver
    templates aren't going to work in this application. It seems that
    if you make a change to the template, Dreamweaver has to go and
    update all 800 pages that use the template ... ??!? ... if so,
    lame.
    I don't mind pulling out all the HTML content snippets from
    the database and making a "database" on the filesystem of files
    that can be edited in Contribute. No problem. One of these snippets
    may be a "contact us" box or something that's used on 100 pages
    throughout the site, so I'm not going to put stuff like that
    separately on every page.
    If I do this, though, my snippets when I open them to edit
    them in Contribute are missing their CSS. This is because the CSS
    is set up in the header file, which is not included in the snippet
    HTML, obviously. The snippets also won't have the header and footer
    navigation and stuff, but I can live with that.
    How can I get the CSS to show up for my client when he edits
    the HTML snippets?
    The only solution I can think of is to put a stylesheet
    include into every snippet, and then pull that out with a regular
    expression from EVERY include at runtime whenever I display that
    HTML to the end user. Talk about a gross, ugly, non-extensible
    hack. Please tell me there's a better way...
    Thanks for reading,
    - Andrew.

  • JSF Design Time View Not working correctly for ADF/JSF components

    My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
    If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

    Ok I have isolated this issue. In my phase listener I had this line of code:
    private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
    and I changed it to
    private static final Logger _logger =
    Logger.getLogger(EigRequest.class.getName());
    and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
    Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
    This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

  • ADF 12c Rendering Problems at design time

    Hi all,
    I am experimenting the following unexpected rendering problems at Design time with JDEV 12c:
    -  Sometimes a complete page is showed empty or blank but the components exists on the page (you can see them in the structure panel) and the page has no warnings.
    -  Sometimes I cannot click a component because it is behind the container.
    -  Sometimes the containers are rendered in other place on the page.
    -  Sometimes the containers not stretching
    I remember some posts about this problem in 11.1.2.x but I think it was not fixed in 12c. For this reason, I have some questions:
    What is the "real" memory requirement  of Jdev 12c to avoid render problems?
    What is the best configuration in jdev.conf?
    Is it only a memory issue or Is it also a dependency reference problem? According to a blog post of Frank Nimphius:
    Though with Oracle JDeveloper 11g the problem of the IDE not rendering JSF pages properly in the visual editor has become rare, there always is a way for the creative to break IDE functionality. A possible reason for the visual editor in JDeveloper to break is a failed dependency reference, which often is in a custom JSF PhaseListener configured in the faces-config.xml file. To avoid this from happening, surround the code in your PhaseListener class with the following statement (for example in the afterPhase method)
    public void afterPhase(PhaseEvent phaseEvent) {   if(!ADFContext.getCurrent().isDesigntime()){ ... listener code here ... } }
    The reason why the visual editor in Oracle JDeveloper fails rendering the WYSIWYG view has to do with how the live preview is created. To produce the visual display of a view, JDeveloper actually runs the ADF Faces view in JSF, which then also invokes defined PhaseListeners. With the code above, you check whether the PhaseListener code is executed at runtime or design time.If it is executed in design time, you ignore all calls to external resources that are not available at design time.
    source:
    https://blogs.oracle.com/jdevotnharvest/entry/when_jdeveloper_ide_doesn_t
    if it is a known problem, then Why is not fixed in 12c?
    Jhon
    Jdev 12c

    Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
    However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
    My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
    Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
    Timo

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • My Prompt back ground colour changes during run time in Client / Server Env

    <p>Dear Friends, </p>
    <p> My Prompt of text items are changing its back ground colour according to the Text item's back colour during runtime. This doesn't look good. My look and feel of my application gets spoiled due to this. I tried with Visual Attribute (both prompt & Text item) but of no use. I don't want to use text label as I want to change the prompt during run time. Please help me. </p>
    <p> Form during Design time </p>
    <IMG SRC="C:\Documents and Settings\Administrator\My Documents\My Pictures\myform1.jpg"></IMG>
    <p>Form during Runtime </p>
    <IMG SRC="C:\Documents and Settings\Administrator\My Documents\My Pictures\myform2.jpg"></IMG>
    <p> Thank you.
    Regards,</p>
    <p>Senthil .A. Perumal.</p>
    <p>My version of forms is Forms [32 Bit] Version 6.0.8.8.0 (Production).
    </p>

    Dear Kevin,
    Yes I agree with you, but in my case as this application supports bilingual (English & Arabic), I want to change the prompt of the text at run time. Can I change the text of boilerplate text at runtime?
    Thank you for your reply.
    Regards,
    Senthil .A. Perumal.

  • How to disable process design time attributes WS RM

    Hi,
      I recently configured a NW BPM test scenario which works as expected. When I tried to test/call BPM Process using SOAP UI/Webservice client I am unable to send a message to SAP BPM process due to WS RM & WS A are activated at design time. While developing scenario in NWDS how can I disable the properties WS-RM & WS A for start event trigger as this acts provider WSDL for Webservice client . Thank you in advance.
    Thank you,
    Mallik

    Hi Mailk,
    Any/every asynchronous web service developed in the ESR and then imported from ESR into NWDS will have properties added to the WSDL on import by the design time. The attributes are tagged as shown below.
    <ifw:properties xmlns:ifw="urn:com-sap:ifr:v2:wsdl">
    On deployment, these attributes trigger the SOA infrastructure to generate the service endpoint interface as WS-RM. These properties cannot be changed in the runtime SOA configuration as they are not editable. 
    If you want to develop the services in the ESR and then deploy them without WS-RM there are two options.
    a) copy-paste the wsdl out of the ESR perspective (the raw WSDL text) and create a local document with same name and then import the WSDL from the file system in NWDS
    b) import the WSDL from ESR and then manually remove all the <ifw: properties/attributes, then save the WSDL.
    My preference is to develop the service in the ESR (as all services should be) and then import and remove the tags. But the copy-paste and create a local WSDL is less error-prone. In any event you'll need to document the WSDL so that down the road anyone who might modify the service would know that it has been further adapted outside the standard tooling. The <ifw: attributes also control other runtime properties such as authentication, so please do some homework on services deployed with and without the tags so you can see for yourself and really understand the service endpoint generation.
    regards, Nick

  • Incorrect results with design-time artifacts

    Hi,
    Problem description:
    After creating design-time artifacts, Analytic view with Anlaytic privilege having assign restriction as repository procedure is not returning desired results.
    HANA AWS revision 70.
    Problem Recreation:
    Below I am giving the process for problem recreation.
    1. EDW.hdbschema:
    schema_name="EDW";
    2. EDW_DD.hdbdd:
    namespace excent.P1;
    @Schema : 'EDW'
    context EDW_DD {
    type TT_LV {
    LowValue : String(18);
    entity USER {
    @Catalog.tableType: #COLUMN
    key User              : String(10);
    key InfoObject        : String(10);
    key Option            : String(2);
    key LowValue          : String(18);
    HighValue             : String(18);
    ChangedOn             : LocalDate;
    ChangedBy             : String(8);
    3. Created Analytic view (AN_EDW_SALES.analyticview) based on VBAP table with output as VBELN, MATNR, NETWR. Apply privileges is left empty.
    4. Created repository procedure (LowValue_IN.procedure)
    CREATE PROCEDURE LowValue_IN (OUT RES "EDW"."excent.P1::EDW_DD.TT_LV" )
           LANGUAGE SQLSCRIPT
           SQL SECURITY DEFINER
           DEFAULT SCHEMA _SYS_BIC
           READS SQL DATA AS
    v_cnt INT;
    BEGIN
    RES = SELECT "LowValue" FROM  "EDW"."excent.P1::EDW_DD.USER"
                 WHERE "User"            = SESSION_USER
                   AND "InfoObject"       = 'MATNR'
                   AND "Option"           = 'EQ'
                 GROUP BY "LowValue",  "User"
    SELECT COUNT(*) INTO v_cnt FROM :RES;
    IF :v_cnt = 0
    THEN RES = SELECT 'EMPTY' AS "LowValue" FROM DUMMY;
    END IF ;
    END;
    5. Created Analytic privilege(AP_EDW_SALES.analytic privilege) with assign restriction on Repository procedure (LowValue_IN.procedure) with operator "IN" and Privilege Validity with operator as ">=", From date as yesterday (2014-03-24)
    6. Created Role (EDW_SALES.hdbrole) and assigned the below privileges:
    system privilege: CATALOG READ;
    catalog sql object "SYS"."REPOSITORY_REST": EXECUTE;
    catalog schema "_SYS_BI": SELECT;
    catalog schema "_SYS_BIC": SELECT;
    analytic privilege: excent.P1:AP_EDW_SALES.analyticprivilege;
    package excent.P1: REPO.READ;
    7. Created user from Systems view (EDWUSER) and assigned the role (EDW_SALES.hdbrole).
    8. In SQLConsole, executed the query to insert 1 record, which has in VBAP:
    insert into "EDW"."excent.P1::EDW_DD.USER" values('EDWSALES','MATNR','EQ','M-08','','','');
    Now when I do the data preview, I can see all the records instead of only 1 record with MATNR "M-08".
    Few Observations:
    1. When SELECT statement of procedure when executed in SQLconsole for EDWUSER(with extra privilege SELECT on EDW schema) it returns only 1 row but not the Analytic view.
    2. Also the repository procedure can be used as catalog procedure in Analytic privilege. This also behaving the same.
    3. When I change the "Apply Privileges" option to "Analytic Privileges" in Analytic view, I am getting below error when doing data preview.
    I could not understand where I am doing wrong. Is it a product bug or mistake from my end?
    Regards
    Raj

    Ohh! Yes.. Got it now.
    Well I tried to recreate your scenario: ( Tested on Rev 70)
    1) Am sure you might have used the correct insert statement:
    insert into "EDW"."MarchBatch.tst::EDW_DD.USER" values('EDWUSER','MATNR','EQ','1400-310','','','');
    The user name must be EDWUSER not EDWSALES.
    2) Have created Analytic Privilege with Validity date and others as mentioned by you. Only difference is am using a Repository procedure created under Content folder using Modeller Perspective (PROC_TEST) as shown in the below screenshot.
    3) The data preview for EDWUSER as shown below is showing expected results i.e MTNR = 1400-310 is only showing up.
    4) When I used the .procedure (LowValue_IN) , I also hit the same error same as you mentioned below:
    With only difference being the way the procedure is created, the issue must be in the way .procedure is used. May be a bug I guess
    Regards,
    Krishna Tangudu

Maybe you are looking for

  • Issue with variable value

    Apologies for my mistakes, I am learning pl/sql as I have to fix something at work that's broken. I have this bit of code: DECLARE     l_x_contract VARCHAR2(100); BEGIN SELECT DISTINCT wiav.text_value        INTO l_x_contract    FROM apps.wf_item_att

  • Anyone Used X-Bench on new iMac?

    Hello all, Anyone used X-Bench on the new 2.8 24" iMac? Mine has just been dleivered to my grans and am picking it up in a bit. Got a 24" now and was wondering how it was performing. Ryan

  • Import EAR file to NWDS?

    hi, how to import an EAR file to NWDS? have JAR and WAR files inside this EAR...... which option under the importing should I go for? Thanks in advance.

  • Duplicate rows in Multiselect

    Hi All, Our system have been recently upgraded to OBI 10.1.3.3. We are facing a problem with the multiselect prompts in the application. Now some of the columns used as sources of the multiselect Dashboard prompts have duplicate rows. Any idea how to

  • Request a Line reset?

    I upgraded to Infinity about 6 months ago.  The line speed never increased from what we'd had originally - we went from 5mb ADSL to ... 5mb Infinity. I meant to complain and try and get it sorted but you all know that process and I just didn't have t