MVC Culture Info

Hi!
Sorry my very poor english ...
I'm using asp.net control toolkit to do a calendar on asp.net mvc, and it works fine! But it is in english format date. How can i change to pt-BR culture? I read lot of sites, but i couldn't implement on my project.
Anyone could put a link to show me a valid implementation about culture info?
And why putting: <globalization culture="pt-BR" uiCulture="pt"/> in webconfig file between system.web tags doesn't work?
Thanks

Hello,
Specifically, this should be asked in the
ASP.Net MVC forum on forums.asp.net.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • Culture settings in crystal Report

    Post Author: jayasimhak
    CA Forum: General
    How to set the culture info of the Crystal Report document according to theaspx page's culture info

    Moved to .NET forum.
    Also need more info, Version, WEB/Windows etc.
    And how are you setting the Local?
    It's really not part of CR, search MSDN for all of those Local Values and then you can set it accordingly in your app.
    Don

  • SQL query to store float values in french culture.

    Here is how my requirement goes..
    I have an application where users can store float values into the SQL server. Here float values are period(.) based. I have now started supporting the users who use the french culture where the float values are Comma(,) based. Example: 13.75 is represented
    as 13,75. Instead of making changes to my code i.e the way i am inserting/retrieving the date now, is there a way i can handle this requirement based on culture. Like, if I specify the culture, will I be able to insert float inputs as comma(,) based values
    without disturbing my existing code?
    Any help is appreciated
    Thanks,
    Chandrahas.
    -Chandrahas

    is there a way i can handle this requirement based on culture.
    Hello Chandrahas,
    SQL Server don't store any culture info for numeric values; they are plain numeric.
    It's part of the frontend to represent / accept values depending on the culture setting of the client.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to get the numeric value of DocTotal from UI API

    When I hit the ADD button I need to get the DocTotal from the UI API !
    All I have is the EditText which gives it in string and the problem is to double.Parse it
    it's a pain to do it while there is CultureInfo related issue with it.
    So It would be wise to get the numeric value directly from the UI API instead of getting the DocTotal by string and trying to convert it.  So is there any way to get the numrci value of DocTotal from UI API ?

    Hello Marc,
    Here is a function which considering the Culture Info and always working. You can speed it up by using extending admininfo to global vairables, and loading the values at startup of the addon.
    Use the oEditText.value.ToString() to convert into into the doulbe number:
    Public Function _string2double(ByVal s As String) As Double
            Dim d As Double
    ' This part is fast, when regional settings equal to sap B1 settings:
            Try
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
            End Try
    ' Speed up performance: extend CompaneService variables to global variables and query them at addon startup.
            Try
                Dim nfi As System.Globalization.NumberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat
                Dim oCompanyService As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()
                Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompanyService.GetAdminInfo()
                Dim sbodsep As String = oAdminInfo.DecimalSeparator
                Dim sbotsep As String = oAdminInfo.ThousandsSeparator
                If s.IndexOf(Space(1)) > 0 Then
                    If oAdminInfo.DisplayCurrencyontheRight = BoYesNoEnum.tYES Then
                        s = s.Substring(0, s.IndexOf(Space(1)))
                    Else
                        s = s.Substring(s.IndexOf(Space(1)), s.Length - s.IndexOf(Space(1)))
                    End If
                End If
                Dim s1 As String = s.Replace(sbotsep, nfi.NumberGroupSeparator)
                s1 = s1.Replace(sbodsep, nfi.NumberDecimalSeparator)
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
                Return 0
            End Try
        End Function
    Regards,
    J.
    Edited by: János Nagy on Oct 7, 2009 8:55 AM

  • Remoting and localized output from executables

    Hello all, I am in need of a bit of assistance.
    We have client computers which have non-English Windows 7, and thus any executable that produce output produce non-English output. This is not a problem when using PowerShell locally, all localized output is displayed properly.
    Problems arise when using PowerShell remoting, where output does not display non-English characters correctly. Examples of native executables which produce incorrect output: ipconfig, ping, wingmmt.
    Host's output encoding:
    IsSingleByte      : True
    BodyName          : ibm850
    EncodingName      : Western European (DOS)
    HeaderName        : ibm850
    WebName           : ibm850
    WindowsCodePage   : 1252
    IsBrowserDisplay  : False
    IsBrowserSave     : False
    IsMailNewsDisplay : False
    IsMailNewsSave    : False
    EncoderFallback   : System.Text.InternalEncoderBestFitFallback
    DecoderFallback   : System.Text.InternalDecoderBestFitFallback
    IsReadOnly        : True
    CodePage          : 850
    Remoting output encoding:
    IsSingleByte      : True
    BodyName          : iso-8859-1
    EncodingName      : Western European (Windows)
    HeaderName        : Windows-1252
    WebName           : Windows-1252
    WindowsCodePage   : 1252
    IsBrowserDisplay  : True
    IsBrowserSave     : True
    IsMailNewsDisplay : True
    IsMailNewsSave    : True
    EncoderFallback   : System.Text.InternalEncoderBestFitFallback
    DecoderFallback   : System.Text.InternalDecoderBestFitFallback
    IsReadOnly        : True
    CodePage          : 1252
    Following command can be run to change console output encoding to UTF8:
    [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
    However, running this on remote session will result in "Exception setting "OutputEncoding": "The handle is invalid." Running this on host works, but has no effect on remote session.
    Apparently $OutputEncoding only works for input, not output. But I tried to set it to UTF8 anyway, with no effect.
    This problem does not affect PowerShell cmdlets, as Write-Host and Write-Output produce correct output even in remote session.
    Previously host had PowerShell 3 and client had PowerShell 2, now both have PowerShell 4 and problem still persists.
    Anyone know how I can receive correct output from localized native executables? Thanks in advance.

    Actually I am using PS remoting from server to client workstations.
    I have provided several examples of commands that produce incorrect characters in place of non-English characters in the first post. Likewise I have provided encoding info in the first post.
    As for culture info, info below.
    Get-Culture on host:
    LCID             Name             DisplayName
    1035             fi-FI            Finnish (Finland)
    Get-Culture in remote session:
    LCID             Name             DisplayName
    1035             fi-FI            Finnish (Finland)
    Get-Culture locally on client:
    LCID             Name             DisplayName
    1035             fi-FI            Finnish (Finland)

  • Codepage in SQL query?

    Trying to create a form in InfoPath and
    publish it to SharePoint. In the form one field
    receives the code, the rest on the basis of
    code filled by information from the SQL
    database. When filling out forms
    via InfoPath Filler on the client everything works, but if
    the form is filled through a web-interface at SharePoint site - Russian
    letters in the field of the SQL
    query are substituted in the form "?????????".

    Hi Bareika,
    let me summarize a bit,
    if you put the content using infopath form that is not using web interface the issue will appear, but if using infopath filler the issue not reproducible, correct?
    i am not quite sure, if you should add the infopath form language will help to force the language of the form so it will recognize your local language.
    http://www.projectpoint.at/?p=985
    http://social.technet.microsoft.com/Forums/en-US/5485e9c4-a73c-4dec-9949-08070a89a377/saving-a-query-with-unicode-characters-that-cant-be-saved-in-the-current-codepage-how-to-respont?forum=sqlgetstarted
    to debug this, perhaps you can try to grab the culture info from the sharepoint first, so that we can make sure that sharepoint recognize your local language and correctly passed on, for example, 'web.locale'
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Common Language runtime debugging services - Application exception

    I have a add-on application working on 2005A patch 08. One of our client's site I have a strange problem. The addon works on the test server bur on the production server, after install, it gives me the following error:
    Common Language runtime debugging services.
    Application has generated an exception that could not be handled.Process Id 0x98(2328), Thread id 0x3a4(932)
    Can somebody help me?
    I can use test server as client and point the company to the production server and it works fine. What could be missing on production server client? I am using the same ard and exe files for the addon on test server as well as production server.

    Hi Ibai Peña,
    My application goes this way:
    1. Connect to UI api.
    2. Set culture info.
    3. connect to DI api.
    I have placed messageboxes everywhere to b4 and after to see at what point it is failing. but I don't reach there at all.  I get error b4 my first messagebox.
    On test server, the system was on 2004 and now upgraded to 2005. On production server, it is 2005.
    But my application runs on other 2005 clean install machines. We tried uninstalling SAP B1 completely and loading it again but everytime I get the same error.
    Regards.
    Prakash

  • Terminal Server User license file not found or User ID not matched.

    Hi,
    I recently went for the Process Runner, downloaded trial version and wanted to work with Ides system, but at the very first step the system throws the following error:
    "Terminal Server User license file not found or User ID not matched.
    and the details are as follows:
    Process Runner 2008
    Version : 4.20.10
    Supported file version: 7.3
    Current Framework: 2.0.50727.42
    User Name: Demo User
    Licensed  To: Demo Company
    Product Id : PR-ALL-DR-MTH-CU
    Full Version : 4.20.10.9579
    Current UserID : Administrator
    License Type : Evaluation/Demo License
    Evaluation Days : 1 of 30
    Licensed Uses : 5 of 15
    Expiration Date : 12/31/2011
    COMPANY : Demo Company
    MAX_ROWS : 30
    MAX_THREADS : 3
    USER : Demo User
    Current Node Id : DAAB-AA43-58DB-00DB-4862
    Max Instances Allowed : N/A
    OS-Office culture info : en-US | en-US | en-US | en-US
    C-Info : en-US
    Computer : SAPSERVER
    Current Domain : WORKGROUP
    OS : Microsoft Windows NT 5.2.3790 Service Pack 1
    AppPath : D:\Vijj downloaded\Process Runner
    MyDocPath : C:\Documents and Settings\Administrator\My Documents\Innowera
    Terminal Server User license file not found or User ID not matched.
    Can anybody guide me please.
    Thanks.

    Hi,
    According to the error message, please use performance monitor to diagnose if it is a memory-related bottleneck and you can use the counters of the memory part in the article below:
    https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
    In addition, it may be due to thousands of open connections to the server are in a TIME_WAIT state. You can run "netstat -an" command on the affected server and client. If you see mutiple connections in the TIME_WAIT state, you can follow the article
    to increase the number of TCP/IP connections:
    https://msdn.microsoft.com/en-us/library/ee377084(v=bts.70).aspx
    Furthermore, if you are running windows server 2003, please make sure that you have installed the KB 948496 and stop all services that you don't need.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • MVC: info on update method

    Hi,
    I'm using MVC pattern.
    I've understood it, and I be able to use it, but I've some doubts.
    Practically, in the view I have the update method;
    Now, my view interact with many models, which advice it by executing his update method.
    But in this update method, I've various pieces of code;
    one for the update of the first model;
    one for the update of the second model;
    etc.....
    I don't like this, because I want that,
    when a model is updated, it advice view by executing only the corresponding piece of code.
    Is there any other solution?
    Excuse me if it's not clear.
    Thank you in advance
    MargNat

    I take it from your message that you're implementing a Swing-based MVC GUI (things would be hardly different for a Web MVC application).
    In this Swing GUI, the View is an Observer of the Model, hence your update() method, correct?
    Indeed you don't have to apply this blindly : you may very well have each model have its own Observer interface; indeed in the Java world, an Observer is usually implemented as a "Listener" idiom, which provides more strongly typed notification methods.
    So you can have your ModelA notify a (set of) ModelAListener object where ModelAListener is an interface providing a modelAUpdated(ModelA model), same for ModelB and ModelC.
    Then your view ony has to implement ModelAListener, ModelBListener, ModelCListener, and provide model-specific code in each model-specific method modelAUpdated(ModelA), modelBupdated(ModelB), modelCUpdated(ModelC).
    SO when the ModelC instance is updated, it invopkes it's listener's modelCUpdated(ModelC) method, which only takes care of ModelC's changes.
    All 3 methods could even have the same name modelUpdated(...) or update(...), with a different type of parameter each, the overloading specifying which Model has changed (but IMHO this would go against clarity of the code).

  • Can some one explain me oracle MVC configuration or point me to a guide

    I use oracle MVC in my application. cle20.jar is used for it. The application was working fine and now all of sudden I get a null pointer exception in my code where i use this line of code: "ProcessInfo info = (ProcessInfo)getInfo(aKey);" where getInfo is from the oracle.cle.process.GenericProcess and aKey is not null.
    Any help or direction will help. I debugged the application and see that getInfo is always returning null value for all values of aKey.
    Error Message is as follow:
    ERROR [STDERR] java.lang.NullPointerException
    15:23:32,752 ERROR [STDERR]      at myapp.application.process.GetData.persist(GetData.java:302)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.PersistingProcess.start(PersistingProcess.java:83)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.CLEStateMachine.start(CLEStateMachine.java:61)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.Process.start(Process.java:108)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.GenericProcess.start(GenericProcess.java:84)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.ParentProcess.start(ParentProcess.java:226)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.DisplayGroup.start(DisplayGroup.java:75)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.CLEStateMachine.start(CLEStateMachine.java:61)
    15:23:32,752 ERROR [STDERR]      at oracle.cle.process.Service.start(Service.java:389)
    15:23:32,752 ERROR [STDERR]      at oracle.clex.process.controller.HttpServletController.doPost(HttpServletController.java:422)
    15:23:32,752 ERROR [STDERR]      at oracle.clex.process.controller.HttpServletController.doGet(HttpServletController.java:836)
    15:23:32,752 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    15:23:32,752 ERROR [STDERR]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:23:32,752 ERROR [STDERR]      at myapp.application.servlets.SessionFilter.doFilter(SessionFilter.java:42)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:23:32,752 ERROR [STDERR]      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    15:23:32,752 ERROR [STDERR]      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
    15:23:32,752 ERROR [STDERR]      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    15:23:32,752 ERROR [STDERR]      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    15:23:32,752 ERROR [STDERR]      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    15:23:32,752 ERROR [STDERR]      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    15:23:32,752 ERROR [STDERR]      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    15:23:32,752 ERROR [STDERR]      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    15:23:32,752 ERROR [STDERR]      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    15:23:32,752 ERROR [STDERR]      at java.lang.Thread.run(Thread.java:595)
    Thanks in advance....
    Edited by: user1694903 on Feb 10, 2009 12:46 PM
    Edited by: user1694903 on Feb 10, 2009 12:48 PM

    KB 60446, How to clean an LCD Panel

  • Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

    I am trying to use SQL Server 2008 Developer on Windows Server 2008.  Whenever I try to connect to the server, I get this error: "Could not load file or assembly 'Microsoft.SqlServer.Diagnostics.STrace, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
    or one of its dependencies. The system cannot find the file specified."
    I found some info at
    http://blogs.msdn.com/b/ashishme/archive/2009/08/15/could-not-load-file-or-assembly-microsoft-sqlserver-diagnostics-strace-version-10-0-0-0-culture-neutral-publickeytoken-89845dcd8080cc91-or-one-of-its-dependencies-the-system-cannot-find-the-file-specified.aspx,
    but this didn't help me because it is not on my system, even after reinstalling both SQL Server and .NET Framework 4.  I also saw a this page: http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/1115cd55-721d-4974-99b1-d142d1e6a927,
    but this also didn't fix my problem.
    What can I do, or where can I get the missing assembley?
    Thanks in advance.

    You can get the missing assembly (Microsoft.SqlServer.Diagnostics.STrace.dll)
    by installing the "Shared Features" of SQL Server 2008.
    You could only install SQL Server 2008
    R2 (any edition) on Windows 7.
    Do not install more than 1 SQL Server 2008 R2 edition
    into the same computer; Some of the components are not compatible.
    E.g:  BIDS from R2 Express Advance edition cannot
    recognize Integration Service from R2 Enterprise Trial edition - it would throw above missing dll error.

  • Navigation not working in SAP.m split app MVC

    Hello Experts,
    This is my index.html file:
    <script src="resources/sap-ui-core.js" id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m,sap.ui.commons"
      data-sap-ui-theme="sap_bluecrystal">
      </script>
    <!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->
    <script>
      sap.ui.localResources("bachelorproefbartgeudens");
      var startpage = sap.ui.view({id:"promostart", viewName:"bachelorproefbartgeudens.Promo_App_Start", type:sap.ui.core.mvc.ViewType.JS});
      var infopage = sap.ui.view({id:"promoinfo", viewName:"bachelorproefbartgeudens.Promo_App_Info", type:sap.ui.core.mvc.ViewType.JS});
      var infopage2 = sap.ui.view({id:"promoinfo2", viewName:"bachelorproefbartgeudens.Promo_App_Info2", type:sap.ui.core.mvc.ViewType.JS});
      /*** THIS IS THE "APPLICATION" CODE ***/
      //SPLIT APP
      var oSplitApp = new sap.m.SplitApp("mySplitApp", {});
      //add the master pages to the splitapp control
      oSplitApp.addMasterPage(startpage);
      //add the detail pages to the splitapp control
      oSplitApp.addDetailPage(infopage).addDetailPage(infopage2);
      //oSplitApp.addDetailPage(oDetailPage1).addDetailPage(oDetailPage2);
      //place
      oSplitApp.placeAt("content");
      </script>
    So i use the views as pages. But the thing is when i try to navigate after pushing a button in a view:
    press : function (evt){
      // navigate to detail2 page
      var bus = sap.ui.getCore().getEventBus();
      console.log(bus);
      bus.publish("nav", "to", {
       id : "detail2"
    It is not doing anything...
    Any suggestions?
    Kind Regards,
    Bart

    Hi Andreas,
    U were right, I had nothing in my controller that listened to the EventBus.
    I looked it up a little and i found i should add these functions.
    onInit: function() {
      var view = this.getView();
      // to avoid scrollbars on desktop the root view must be set to block display
      view.setDisplayBlock(true);
      // remember the App Control
      this.app = view.byId("mySplitApp");
      // subscribe to event bus
      var bus = sap.ui.getCore().getEventBus();
      bus.subscribe("nav", "to", this.navToHandler, this);
      bus.subscribe("nav", "back", this.navBackHandler, this);
      navToHandler : function(channelId, eventId, data) {
      if (data && data.id) {
      // lazy load view
      if (this.app.getPage(data.id) === null) {
      jQuery.sap.log.info("now loading page '" + data.id + "'");
      this.app.addPage(sap.ui.jsview(data.id, "sap.m.mvc." + data.id));
      // Navigate to given page (include bindingContext)
      this.app.to(data.id, data.data.context);
      } else {
      jQuery.sap.log.error("nav-to event cannot be processed. Invalid data: " + data);
      navBackHandler : function() {
      this.app.back();
    Sorry i'm new to this.
    Regards,
    Bart

  • JTable and MVC

    Hi,
    I am new to swing and have been going through JTable.
    1. TableModel that should house the data, But it also stores UI related Info like column and isCellEditable.
    2. The Table needs to be supplied with a Renderer to display items in the table, A renderer is a display element why is it tagged to Table.
    3. Similarly a model is a data element , why should it manage the editing portion.
    4. The Cell Editor is again tied to the Columns
    I am not seeing the MVC pattern here, Since one is tied to the other.
    Can someone explain how this confirms to MVC.
    or
    Jtable offers many flavours and is there another one better than using tablemodel and cell renderer.
    Regards,
    Shailesh

    shailesh_a wrote:
    1. TableModel that should house the data, But it also stores UI related Info like column and isCellEditable.
    ShaileshisCellEditable is not UI-related. It says if a part of you model is writable or not.

  • RFC: Queries about Arch culture and community

    Good day everyone,
    This is a request for opinions from the Arch community, especially the Arch developers, Trusted Users, and long time users. I am writing a review about Arch Linux which I hope to publish within the next month or so. Unlike most distro reviews, which are actually distro installation reviews, I have devoted a lot of space to The Arch Way, unique technical qualities of Arch, day to day use and maintenance of Arch, and the Arch community. In my view, the community of a distro is much more important than its installation process.
    If I may, I would like to pose some questions about the Arch community. FWIW, I have been quietly participating in the Arch community myself for some months now, contributing material to the wiki. Anyway, please take a look at the queries below, and comment on any as you see fit.
    Thank you,
    Luke Seubert
    1. Despite its modest size, Arch has a very enthusiastic community, as evidenced by its internationalization projects, derivative distros, 3rd party repositories, Arch schwag, active forums and wiki, etc. Is this statement true or false, and if Arch does have an especially enthusiastic community, why?
    2. Arch is deeply conservative, refusing to deviate from core principles. Still, within these bounds, Arch permits a wide array of innovation. Are these statements true or false, and why? If true, what are the pros and cons of such conservatism? If false, in what way has Arch deviated from its core principles or resisted innovation?
    3. The Arch community is fairly harmonious, with little bickering, flamewars, forks or threats to fork, etc. Is this statement true or false, and why? (I have my own theory on the why of this one, and the answer in brief is... dogfood.)
    4. How good or bad a job is Arch doing in cultivating new Trusted Users and Arch developers? Does it have a formal mentoring process? It seems the most direct path to TU status is to put together packages in AUR, and eventually have them voted into Community based upon quality and popularity. However, at some point, virtually all of the popular packages will already be in Community or Extra. How does an AUR uploader become a Trusted User then?
    5. Hypothetical Scenario:
    The Chakra Project successfully completes in alpha, beta, and release candidate Live CD testing, and releases its Live CD - version 1.0 - with the GUI easy Tribe installer, to wide acclaim - DistroWatch even raves about it. Suddenly, there are lots of new Arch users, who never went through the traditional Arch install process, who never "paid their Arch dues", and who are not nearly as clueful because they never RTFW. They are flooding IRC and webforums with really, uh, "basic" questions, and suggesting/demanding new features. How does the Arch community handle this abrupt change in its culture? Has it dealt with such culture shocks before?
    6. If only you too could lift cars over your head, would you be more cool, less cool, or as cool as Phrakture, and why? What if you could only lift cars over your head after eating a can of spinach and slamming a six pack of Red Bull? Then how cool/not cool would you be by comparison?
    Last edited by lseubert (2009-08-08 13:45:07)

    Allan wrote:
    Here are my opinions on these questions and do not necessarily reflect other Arch devs...
    1. True.  I believe part of the enthusiastic community comes from the fact that Arch requires you to set up your system for yourself.  So people become very proud of their achievement of getting their system setup exactly as they like it.
    This is an excellent point. There is a nice sense of pride that comes from tweaking your Arch install to just the way you like it. And it is an involved process requiring some modicum of skill.
    Also, people have always been encouraged to contribute fixes or start projects to fulfill areas they see lacking.  Seeing your work become used by many others is always a good feeling.
    Yeah, I have noted this in my rough draft. Arch has amazingly low barriers to entry. Sign up for an AUR account, which is quick and automatic, and get to work. Your status and authority is derived from a roughly consensual meritocracy, as opposed to a hierarchical, bureaucratic process full of gatekeepers, aka potential gateclosers, like most distros.
    This simplicity extends to our package manager, which I believe is a major factor in making the AUR as popular as it is.  (Note that while pacman is developed primarily by Arch users, it aims not to be tied to any distro).
    Allan, could you clarify this comment? How does pacman make AUR popular? While I use pacman to access binaries from core, extra, and community; I use yaourt to handle PKGBUILDs from AUR. I don't quite follow you on this one.
    But as always, the principles guiding Arch do get bent when it is sensible to do so.  It was always said we don't split packages like many other distros, but we do some splitting these days (e.g. gcc-libs, KDE).  We now include info pages and other docs.
    Both of which are good moves. A system should have documentation built in, for those occasions when internet access is down. And I might actually take a look at KDE 4 once again, now that I wouldn't have to download a pile of unwanted packages.
    3. There are flame-wars every so often...  The last one that was probably quite obvious to many was changing rules governing the community repo (requiring votes or 1% usage as defined by pkgstats) and the move to using the official db-scripts (which may be seen as making the TUs less independent).
    That is a flamewar that I missed. How does Arch resolve difficult issues? There is no Constitution that I could find, nor any formal governing structure. Is it as simple as lengthy debate, and then Dred Overlord Phrakture decrees?
    I have never heard of a treat to fork the distro or components of it.  I guess that is because of the attitude of show us a working implementation of a good idea and it will possibly become official.
    Well, there aren't forks, but there are a lot of derivative distros, some of them with very different goals. And there are a lot of 3rd party repositories out there, outside of AUR. I wouldn't call that forking, but it is, I guess, extending. I think such experimentation is a good thing - really good ideas might be developed outside of even AUR, and eventually brought back into the Arch ecosystem. I believe some of Xyne's packages got started that way, yes?
    Here is an interesting factoid I came up with in my research:
    Packages Per Maintainer Ratio - how many packages on average does a maintainer support?
    For Debian, the P/M Ratio is 28
    When you add up all the Arch Devs and TUs, and divide out the packages in core, extra, and community, the Arch P/M Ratio is 67.
    Arch devs seem quite impressive, until you recall that they mostly maintain one version of each package and for only two architectures, whereas Debian devs support 11 architectures for 5 versions - experimental, unstable, testing, current stable, and old stable. (Ugh - is that brutal or what?)
    Seen in that light, one has to admire the very hardworking Debian devs, and wonder a bit about those Arch dev slackers. Yet another T-shirt idea! Change the first idea so it now reads, "I'm a slacker Arch developer, and I eat my own dogfood!"

  • How to set a report culture for number and date

    Hi,
    Is there a way to change the report locale for the number and date?
    I've tried using both CrystalDecisions.Share.SharedUtils.RequestLCID and CrystalReportViewer.SetProductLocale and neither work
    The only one that work is to use the Thread.Culture. But that also change the application culture, not just the report.
    Anyone have a solution?
    Thank

    Hi Michel,
    I don't believe you can do this within just the report itself but I haven't played with this very much. Because the App hosts the Viewer it's based on it's culture.
    You should be able to mix if you create a separate thread for each report job that way they are in their own space.
    Search the Object browser on celocale and you'll find more info. Also the SDK help file should have examples.
    No API's to use the Engine, had to use RAS.
    Need to know what version you are using also and WEB or Windows app?
    Here are some samples using RAS:
    rpt1.ReportClientDocument.LocaleID = CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleGerman;
    CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameFormula, CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleUserDefault);
    And using this way you may have to alter every object in the report.
    Thanks
    Don

Maybe you are looking for