Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sangeeth k
After custom registration success message
September 12, 2012 2:28 AM
Answer

sangeeth k

Rank: Regular Member

Posts: 114

Join Date: April 22, 2012

Recent Posts

HI team,

I am registering users using custom register portlet,

user is created successfully.

I want to show after clicking submit button success message like

1thank-you-for-creating-an-account.-your-password-is-this...


any suggestion....

thanks
Rewati Raman
RE: After custom registration success message
September 12, 2012 2:45 AM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

Hi Sangeeth k,

as i understood you want to add the success message on the jsp after successfully user registration

in java class you need to add the success key as below
1SessionMessages.add(request, "key");


and then add the success message in jsp as below
1<liferay-ui:success key="key" message="thank-you-for-creating-an-account.-your-password-is-this..." />


Regards,
Rewati Raman
sangeeth k
RE: After custom registration success message
September 12, 2012 3:09 AM
Answer

sangeeth k

Rank: Regular Member

Posts: 114

Join Date: April 22, 2012

Recent Posts

Hi raman,

Thanks for reply,

I followed your suggestion, but still i am getting your request process successfully...

my scenario is in view.jsp Form there 5 fields with submit button here user is creating with 5 filed values.....

after clicking submit button it redirecting another jsp file(docu.jsp)...



any thing i am missing....
sangeeth k
RE: After custom registration success message
September 12, 2012 3:18 AM
Answer

sangeeth k

Rank: Regular Member

Posts: 114

Join Date: April 22, 2012

Recent Posts

Hi raman,


Its done.

what i did I added jsp code in view.jsp
but i have to add docu.jsp page.


Thank you very much.
Rewati Raman
RE: After custom registration success message
September 12, 2012 3:24 AM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

welcome......