[svn:fx-3.x] 13374: Expose a public read-only property httpService on HTTPOperation.

Revision: 13374
Revision: 13374
Author:   [email protected]
Date:     2010-01-08 07:43:33 -0800 (Fri, 08 Jan 2010)
Log Message:
Expose a public read-only property httpService on HTTPOperation. HTTPOperation.service will still return null as a consequence of an old design decision (HTTPService does not extend AbstractService), but a warning is now logged to inform the user that they should use HTTPOperation.httpService to access the containing service.
Doc notes: Please explain that if a standard HTTPService is used, the event.target on the ResultEvent from this service is an instance of HTTPOperation, and users can access the originating HTTPService with event.target.httpService. (see bug for use-case)
Bugs: SDK-24775
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-24775
Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as

For a TwoWay binding to work the source property must have public setter and an anonymous object (like the one your select new LINQ query creates) has not.
But since you are binding to the Text property of TextBlocks you could just remove Mode=TwoWay from the bindings in the ItemTemplate of the ListBox:
<TextBox Name="txtOrderID" Text="{Binding Path=OrderID,Mode=OneWay}" Margin="5,0,10,0" Width="30"/>
<TextBlock Text="Order Date:" TextAlignment="Right" Width="80"/>
<TextBlock Name="txtOrderDate" Text="{Binding Path=OrderDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
<TextBlock Text="Required Date:" TextAlignment="Right" Width="80"/>
<TextBlock Name="txtRequiredDate" Text="{Binding Path=RequiredDate,StringFormat={}{0:MM/dd/yyyy}}" Margin="5,0,10,0" Width="75"/>
There is no reason to bind TwoWay to a TextBlock.
Hope that helps.
Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

Similar Messages

  • Public Read-Only Attributes

    I'm trying to pick up ABAP on my own by reading through various resources I've collected and writing my own programs.  Unfortunately I don't have an experienced ABAP guru to ask questions of.  I'm hoping someone can help me with the following:
    Based on my other programming experience I know that it is very common for object attributes to be defined as private and then accessor/mutator (getter/setter) methods to be defined to provide access to the attribute.
    In my study I noted that ABAP allows attributes to be made public but declared to be read-only.  This would seem to permit a structure where accessor/getter methods are not needed (the attribute can be read externally) and one would only have to define a mutator/setter method.
    My question:  what is typically done in 'real-world' programs?  Is there any reason why using read-only would be more or less preferred?
    Thanks for any help that can be provided.

    Hello Tony
    Below I have listed a few examples from standard ABAP classes. I cannot say whether you find more public read-only attributes than GETTER methods - you will find examples for both of them.
    I could imagine that before it was possible to use the functional method call in ABAP that public read-only attributes were an alternative to the "verbose" method cal (see below)l.
    " RE-FX: Contract
    CL_RECN_CONTRACT-IF_RECN_CONTRACT~MS_DETAIL   " public read-only attribute
    " MM: Material
    CL_IBASE_R3_MATERIAL->GET_MARA  " GETTER method
    "FI/CO: Company Code
    CL_REEXC_COMPANY_CODE=>GET_DETAIL  " GETTER method
    " HR: Employee
    CL_PT_EMPLOYEE->IF_PT_EMPLOYEE~PERNR   " public read-only attribute
    " Assumption: CL_IBASE_R3_MATERIAL would have
    " a public read-only attribute MS_DETAIL (of TYPE mara)
    " Normal method call (verbose):
    CALL METHOD go_material->GET_MARA
      RECEIVING
        R_MARA = ls_mara.
    " Functional method call:
      ls_mara = go_material->get_mara( ).
    " Accessing public attribute
      ls_mara = go_material->ms_detail.
    Regards
       Uwe

  • Mavericks server share public read-only calendar

    I've setup the Calendar service on Mavericks Server.  I have a CalDAV user setup to create calendar entries.  That's all working.  These entries show in Calendar on my computers, and they sync just fine.
    Now, I want to make this a public calendar, that anyone can view, but not edit.
    When I try to publish ("share") this calendar, the option for "Public" is not available, as it is with iCloud.  Is there any way to publish a public calendar from Mavericks Server?

    Activate WebDAV and see the topic "Publish and unpublish calendars" in the built-in help for Calendar.

  • [svn] 4285: Exposed TLF' s new textJustify property on ParagraphElement as a CSS style for Gumbo components .

    Revision: 4285
    Author: [email protected]
    Date: 2008-12-10 16:08:28 -0800 (Wed, 10 Dec 2008)
    Log Message:
    Exposed TLF's new textJustify property on ParagraphElement as a CSS style for Gumbo components. It works with TextBox, TextGraphic, TextView, and components that use these primitives. When text is fully justified, this property determines whether the extra pixels are added between words or between any characters.
    QE Notes: Please add tests for this new functionality.
    Doc Notes: None
    Bugs: None
    Reviewer: Jason
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicParagraphFormatTextS tyles.as

    Hello xhpx,
    In  your media queries your changing the .gridContainer but the #LayoutDiv1 is the same. The reason the color goes away is the media query for mobile sizes doesn't have the background color. Though I would remove #LayoutDiv1 from any media query since it doesn't need to change.
    http://jsfiddle.net/gCka7/
    hope this helps.
    Chad Smith - BCGurus.com
    also, creating a jsfiddle or just a link to the site could make it easier for debuging.

  • Outlook Public Folders- Some Documents Persistently Open Read-Only

    We have been having this issue for a few months.
    Previously, users could navigate to Public Folders and open Excel or Word documents, make changes, save and close without issue.
    When this problem first started, users were getting files open as Read Only. We were unsure why this was happening and could not find a fix, so we put out an instructional document on how to: disable Protected view in Excel or Word, turn off attachment previewing
    in Outlook and disable the preview pane. If users performed these steps, they could then operate without an issue.
    Now it is occurring again, even with the above fixes in place. We tried setting up a Group Policy to make these settings and it didn't help.
    My sysadmin had me block the following updates in WSUS: 2687567, 2965295 and 2956128. We thought this may be the cause but to no avail. On my work desktop and laptop it occurs with these updates not installed.
    We can access the documents OK, without Read Only status using Outlook Web Access. We are using a mix of Windows 7 Professional and Enterprise. We are using Exchange 2008, Office 2010.
    Thanks for any help you can provide.

    Hi,
    Based on my knowledge, since Outlook 2010, it seems to be by design.
    The easiest way to open and modify the attachment in the message, is to "Edit" the message, then open the attachment, make changes in the attachment and save the attachment, then Save the Message.
    You mentioned "Previously", was that a previous version of Outlook?
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here.

  • Outlook 2011 for MAC vs Public Folder & Read Only

    Hi.
    We have MAC OS 10.5.8
    We use Outlook for MAC 2011. Use Public Forders, open the file XLSX, but it mode "read only".
    Users can not edit these files.
    Files are shared, so save them from himself locally and copied at the public Folders - does not fit.
    How to enable editing?
    noticed when opening the file it is placed in the directory:
    /Users/username/Library/Caches/TemporaryItems/Outlook Temp
    I did chmod 766 for directory.
    But files still have rights 644.
    I see two solutions:
    configure Outlook 2011 to allow edit documents. But I can not find where it is configured...
    Or give the right directory that you could edit the files. But I do not know how...
    Thank you.

    by design

  • Change public share access to read only for public and full access to selected users

    Hi, new to the community just purchased a recertified WDMyCloud 2TB after my 2 years old MyBookLive 2TB HD died due to accidental power cable unplugging. I've got everything setup including MiniDLNA by following instructions on this forum and everything is working  exactly as I want it to except public share. I want public share to be set to read only access for public and full access to certain users (just myself at the moment) and having a "upload" folder within this share with full public access to everything in this folder would be a bonus. I tried login in to ftp with root user and removing write permission for public but that blocks me out as well. I'm sure it's possible by doing some majic on SSH but I wouldn't have a clue so hoping someone here would be able to help me out.

    Mr_Khan wrote:
    What i want is public to have read only access to file server. Public as in users who do not have a user account on mycloud. E.g someone who connects to to my home network for the first time and is able to browse and download content from public share. I'm aware of being able to set indivual access to shares for users like full access, read only and no access but public users won't have a user account.Through the My Cloud UI interface what you seek to do is not possible. The public share like all other share folders are an all or nothing affair when using the adminstration UI. When using the administration UI you do not have granular control on shared folders to limit non users to read only access or set permission levels for subfolders. The workaround to do what you seek and have the public folder set for read only is to change the folder settings via SSH. It may take some work to set the folder security so that users can read/write to the public folder while the guests only have read access. However, if you reboot the WD My Cloud or update the WD My Cloud firmware those settings may be reset back to the default settings where the entire public folder is read/write for all. There are way to prevent this but again it will take a bit of coding to do so via SSH. See this link (even though its for the WD My Book Live) for a starting point on how to use SSH to change the permission levels on the public folder. Another option if one doesn't go the SSH route is to turn off public sharing for the public folder then create a "guest" user account and give that "guest" account read only access to the public folder while all other user accounts have full read/write access.

  • What is the difference of  public-read and  public-read protected

    I have noticed that the access of some variables in API document is public-read protected. I tried the following code. They seem all the same.
    class FatherClass{
    public-read var a;
    public-read protected var b;
    init{
        a=1;
        println(a);
        b=1;
        println(b);
    class SubClass extends FatherClass{
        init{
            a=4;
            println(a);
            b=4;
            println(b);
    var subClass=SubClass{};

    As you see in my code, subclass can write the variable with either public-read and public-read protected. What write access do the public-read protected widen? That's because your subclass is in the same script as the variable. Move the subclass to a separate script and it would not be able to write when the access is public-read.
    "public-read" = any code can read, code in the same script can write.
    "public-read protected" = any code can read, code in the same script, in the same package or in a subclass can write.

  • Network - Macintosh hd vs mac name \public + xls read only problem

    hi,
    new to mac world...
    i've 2 mac osx 10.5, whenever i tried to access them by network/Macintosh hd i have troubles opening excel/pdf files("The file may be read-only or you may trying to access a read-only location or the server the document is stored on may be not responding"), i can copy the files to my desktop and open them without problems.
    if i copy the files to the public folder i can open them from the network without problems
    in both accesses i'm using the same user that as administrative access.
    so what is the difference since i'm using a root account on both times
    regards

    any hints?

  • HT5902 Can I set permissions on a public photo stream such as "read only"?

    I like that I can make any photo stream "public", send the link to family members w/o a idevice, but I don't like that anyone with the link can download the photos.  Is there a way to set permissions on the photo stream.  Something like read only would be ideal. 
    Thanks all.

    Not at the present time, but you can give this suggestion to Apple here: http://www.apple.com/feedback/icloud.html.

  • Public holiday only apply to special group person

    Hello expert,
    According to some client requirements,   it need SAP to setup some kind of public holiday only valid to special group person,
    for example, The international working women's day, it only apply to female. 
    So that when using PT60 to evaluate a female person, it's not necessary to check 2011.
    Is there any standard solution to solve this requirement?
    Another requirement is that it need to setup some kind of holiday only half day break(for example, 08:00-12:00 of one date is holiday),
    how to solve this?
    Thanks for your help.
                                       Jay

    Hi Jay,
    In the standard system we can't go like this based on gender key.
    But you can do in the following way that create spl absence type for Women and make a user exit in IT2001 in this specific absence type with clause of that this absence type will be on when employee is female (cross check with IT0002).
    Check and tell me.
    Regards,
    Sankarsan

  • SOAP Sender exposed to public internet

    How can I expose a webservice via the SOAP sender adapter to the public internet without exposing my entire XI server?   
    The default URL for a SOAP sender adapter is http://server:port/XISOAPAdapter/MessageServlet?channel=p:s:c&version...
    I do not want my server name and port known to the public.  I would like to use an alias for the soap adapter.
    I could use a reverse proxy to map an external hostname to our internal server (like http://www.external.host.com to http://server, then I could use http://www.external.host.com/XISOAPAdapter/MessageServlet?channel...), but this would expose the entire XI server as I could access the administration interface via http://www.external.host.com/nwa). 
    How can I expose just the interfaces available through the SOAP adapter without exposing the entire XI server?   I know everything is protected by username and password, but we require an additional layer of security.  Is it possible to create a virtual host or something similar for just the SOAP adapter?

    Hi Matt !
    Using a proxy you don't need to map everything. You could filter which URLs to forward and which not, to only allow /XISOAPADAPTER....URLs. Also remember to state the user in the Sender Agreement to only allow specified users to log in an use the service.
    Regards,
    Matias.

  • [svn:cairngorm3:] 16245: Adding back the moduleRootContext public getter for backward compatibility

    Revision: 16245
    Revision: 16245
    Author:   [email protected]
    Date:     2010-05-20 05:42:50 -0700 (Thu, 20 May 2010)
    Log Message:
    Adding back the moduleRootContext public getter for backward compatibility
    Modified Paths:
        cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ModuleViewLoader.as
        cairngorm3/trunk/libraries/Module/src/com/adobe/cairngorm/module/ViewLoader.as

  • Airport: Self-assigned ip address, can't connect (public routers only)

    this has been talkeda bout before, but is extremely frustrating, because i don't have the problem with a PC.
    1/2 of the public routers i connect to have some kind of login page, most the time they just say "youre getting free internet, click here" ... but sometimes that login page never comes up, and the network card says "airport has a self-assigned ip address and may not be able to connect to the internet"
    this only happens on pulic routers for me, and only ones that have login pages.
    its very odd because for example, starbucks has all the same routers, all are "attwifi" now .. i go to one, i get hte login screen, go to a different one, i don't get it...and can't connect
    with a PC, i get it every time.
    this is undoubtably a leopard problem, that needs to be fixed. please!

    The wifi icon shows no connection with the network -- the "!" mark.
    However the computer sees the network, i.e. when I search in Network Preferences the network is listed.
    So: 1) the computer sees the network but 2) will not connect to the network. The reason given for refusal to connect is "self-assigned IP address".
    Not to be repetitive but two other Mac laptops are connected to the same network and working perfectly. The network preferences, as shown in the "advanced" section, are the same for all machines, i.e. DHCP is selected and IPv6 is Automatic.

  • Using Expose on external monitor only?

    Hello All,
    I have 2011 mbp that i sometimes use with an external monitor, with the monitor being my only display (closed clam-shell mode). I encountered a problem where the hot corners do not work? for some reason only the upper left corner works on the external display. if i use hot corners on my laptop screen, all the corners work? (I am not sure if this is relevant to solving this issue, but I use a wireless mouse when i use my external display.)
    How do i fix this so that all the corners work as hot corners in expose on my external monitor?
    Thank-you,
    krm1897

    We went through a similar discussion with the placement of the Dock with multiple displays, and found by experiment that the dock is placed on the specified edge of the main display (bottom, left, right), unless that edge was extended by an adjacent display along that edge, in which case the Dock was placed on the edge of the Extended Desktop.
    I think Capt Fred is saying something similar for this as well.

Maybe you are looking for

  • How do I reinstall Photoshop CS6 on OS Lion (Mac)

    Being subscribed to Adobe Creative Cloud I finally decided to uninstall my redundant copies of CS Since doing this, When I launch Photoshop CS6 I get the following dialog window: "One or more files in the Adobe Application Support folder, necessary f

  • Wire Payment

    Hello all, I have three questions: 1. Can I use report S_P99_41000101 (Display Check Register) to display my wire payments as well? I ask this because under the Further selections tab, there is the option of choosing different payment methods. 2. If

  • Response code 403 from server when launching jnlp

    Ive searched the forums for this same problem to no avail. We have a reverse proxy server which requires authentication to log in. Once the user logs in, then they can run our webstart app. But when I run it, I get this error in webstart: Please pay

  • Did the user open the document before approving it? How to log this in workflow logs?

    Hi there, My workflow on Document Library needs to keep logs of: - When a user is assigned the document for approval/rejection, did he actually open it or download it before approving? How to get this information please in workflow logs please? (I kn

  • Facebook video chat stopped working and now wont install

    I have used the video chat feature successfully until yesterday.  No new software has been installed or deleted.  I followed all the steps to uninstall the software and reinstall it.  I have tried on both safari and firefox  with the latest versions