Questions tagged [message]

For questions regarding Facebook messages, JavaScript messages, mobile messages (Android, iOS, windows-phone), etc. Not for use for error messages. Include additional tags to indicate messaging platform, programming language, etc.

Questions about sending and receiving messages of any kind. As this tag is vague, use a more specific tag instead if possible. For example, most questions about Facebook messages should have the tag for the programming language, , and possibly a tag for the API or framework you're using. If your question is about a , an , a window, a , an , … then use the appropriate tag instead. Do not use this tag (or any tag) to indicate that you tried something and got an error message.

4541 questions
23
votes
3 answers

How to customize JSF validation error message

How can I customize the validation message that appears when validation fails? Here is the code I have:

Eleeist
  • 6,891
  • 10
  • 50
  • 77
23
votes
3 answers

How can I add FacesMessage during page load? Using @PostConstruct does not seem to work

In a backing bean's @PostConstruct method, I make a call to an EJB which might return some messages that I want to display on the page via p:messages. However, even if I add the FacesMessages e.g. FacesContext.getCurrentInstance().addMessage(...),…
BestPractices
  • 12,738
  • 29
  • 96
  • 140
22
votes
6 answers

WCF charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8)

I'm hosting a WCF service in IIS 7.5 using .NET 4.0. I also have a WPF application that I am using as my client that was built with Visual Studio 2010 and .NET 4.0. I added my service reference and when I attempt to call a function, I get the…
tier1
  • 6,303
  • 6
  • 44
  • 75
21
votes
5 answers

Pyspark: Serialized task exceeds max allowed. Consider increasing spark.rpc.message.maxSize or using broadcast variables for large values

I'm doing calculations on a cluster and at the end when I ask summary statistics on my Spark dataframe with df.describe().show() I get an error: Serialized task 15:0 was 137500581 bytes, which exceeds max allowed: spark.rpc.message.maxSize…
Wendy De Wit
  • 293
  • 2
  • 3
  • 6
21
votes
7 answers

Spring framework: No message found under code for locale

This is my messageResource declaration
user962206
  • 15,637
  • 61
  • 177
  • 270
20
votes
2 answers

git filter-branch --msg-filter to reword a pushed commit message

How can I reword the message of an old commit that is already pushed to a private remote? I want to keep the time stamps and tags. I found this command here: git filter-branch -f --msg-filter \ 'sed "s///g"' -- --all In…
Tenjix
  • 539
  • 3
  • 12
19
votes
2 answers

Customize Authentication - Login Symfony2 Messages

So I'm reading the security chapter of Symfony2 Book. I understand everything, but I'd like to customize the error message if a there is a login error. In which file can I change this? This is the template: {% if error %}
{{ error.message…
Francisco Ochoa
  • 1,538
  • 4
  • 19
  • 43
19
votes
4 answers

How do I add HTML code to JSF FacesMessage

By default, every JSF FacesMessage is presented in a single row. I would like to add a HTML line break
to the message itself, so that the message is shown neatly. I tried it like below message = new FacesMessage("test
test"); However, it…
gekrish
  • 2,201
  • 11
  • 29
  • 46
19
votes
2 answers

Django. Error message for login form

I make login/password form: model: class LoginForm(forms.Form): username = forms.CharField(max_length=100) password = forms.CharField(widget=forms.PasswordInput(render_value=False),max_length=100) view: def login_view(request): if…
Wolter
  • 1,053
  • 3
  • 11
  • 17
19
votes
4 answers

C# - Sending messages to Google Chrome from C# application

I've been searching around, and I haven't found how I would do this from C#. I was wanting to make it so I could tell Google Chrome to go Forward, Back, Open New Tab, Close Tab, Open New Window, and Close Window from my C# application. I did…
Joel
  • 16,474
  • 17
  • 72
  • 93
18
votes
2 answers

Customize message field on Facebook Share

How do I manage to customize that message which the placeholder is "Write Something" when I click a Facebook Share button?
gabriel_vincent
  • 1,230
  • 3
  • 16
  • 35
18
votes
2 answers

SVN commit with a newline in message

I am trying to to an svn commit with a new line in message how can i do this newline? I have tried svn commit -m "Issue \n solution" file.js but it didnt work obviously.
nhenrique
  • 874
  • 1
  • 16
  • 35
18
votes
7 answers

Read from .msg files

I need to read from Outlook .MSG file in .NET without using COM API for Outlook (cos it will not be installed on the machines that my app will run). Are there any free 3rd party libraries to do that? I want to extract From, To, CC and BCC fields.…
huseyint
  • 14,953
  • 15
  • 56
  • 78
18
votes
4 answers

How would I create an asynchronous notification system using RESTful web services?

I have a Java application which I make available via RESTful web services. I want to create a mechanism so clients can register for notifications of events. The rub is that there is no guarantee that the client programs will be Java programs and…
James Adams
  • 8,448
  • 21
  • 89
  • 148
17
votes
4 answers

How can my app find the sender of a windows message?

I have an app which uses a keyboard hook procedure in a library. The wParam in the hook for one message is 255 which we think is "(reserved / OEMClear)". I'd like to work out the source of this message as it causes my application to crash in the…
mj2008
  • 6,647
  • 2
  • 38
  • 56