Discussion

Issue with Page-set-Messages

Hi,
I have a requirement where i need to display the error messages after validation (using page-set-messages) for multiple fields on top of the page, each one starting at a new line.
PRPC by default it seems goes on appending subsequent messages to the same line, which is not acceptable in our business.
Any workaround in this regard is highly appreciated.

Regards,
Abir

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 26, 2012 - 9:39am

Try using "**" before starting a new page-set-message.It acts as a line breaker.

March 26, 2012 - 10:33am

thanks Tanmaya, it works.

January 29, 2013 - 7:56pm

Tmendhekar, what do you mean by add "**" before starting a new page set message? How do you do this in an activity  with more than 1 page set message? I'm using PRPC 6.1 by the way. Using a message rule, "**"+rule or **rule or rule+"**" or rule+ ** doesn't seem to work. Does anyone know how to line break a new page set message using the tools.getPrimaryPage().getMessageAll() in a section layout? Thanks.

May 18, 2015 - 6:52am

Hi Abir mondal,

I am facing same issue.

nut i am not able to slove it like you have solved.Please help me with solution 

Thanks

May 18, 2015 - 6:52am

Hi Abir mondal,

I am facing same issue.

nut i am not able to slove it like you have solved.Please help me with solution 

Thanks

May 22, 2015 - 1:44am

I have not tried-out; but adding 'line break statement' to the end of the content of message rule could work (it goes to pyMessageText of Rule-Message). Then use that Message(s) rule(s) in your Page-Set-Message.

Example content

"My Message <Line Break Statement>" 

June 29, 2015 - 2:28am

You can use the below mentioned message for Message parameter to see the page set in new line character \n.

" Testing \n. ** test\n"

August 30, 2015 - 1:42pm

You can use the below mentioned message for Message parameter to see the page set in new line character \n.

" Testing \n. ** test\n"