Wednesday, February 15, 2012

message box in server side javascript

Actually at the starting of our Xpage, Every faced this problem...

How can we get the message box in server side?

Yes there is a lot of solutions for that...

1. We can create a panel as message box and use Hide when formula (css - z-index)...

2. Use Dojo dialog.

3. I tried to make a unique and nice way, Finally I have one great idea.

That is we can create a Jpane for message box single line code,


JOptionPane.showMessageDialog(null,"Message");

We can use documentcontext for calling this agent and we can use this code for validation too...

I think this is one of the nice idea for validating our current document.,

No comments:

Post a Comment