[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-07 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13625177#comment-13625177
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


Hi Andun,

Thanks for your patch.
I will plan to submit it on this week.

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: Changing_the_contentSaveWindow.patch, New Content Save 
 Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-05 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13623939#comment-13623939
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi All,

I have successfully update the Content Saving Window using appropriate text. 
Also I have updated all the language xml files using 
org.apache.openmeetings.test.labels.FillLabels add new entries. I have attached 
a screenshot and the patch here.

Thanks
AndunSLG

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: Changing_the_contentSaveWindow.patch, New Content Save 
 Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621903#comment-13621903
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


Hello AndunSLG,

I think that you should and new messages to all languages xml files and 
use labelid to get localization message.

Thanks,
Vasiliy.




 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621904#comment-13621904
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi Vasiliy,

If this new info message concept is OK. I will do it. This was just POC. I am 
waiting for the approval or other instruction about the concept.

Thanks
Andun

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621911#comment-13621911
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


Hello Andun,

The message is ok.

You should and this message to english.xml an use
org.apache.openmeetings.test.labels.FillLabels to add for other languages.

Thanks,
Vasiliy




 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621912#comment-13621912
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi Vasiliy,

Will do it like that. Also is it OK to keep this message in rpcErrorDialog.lzx 
while this not been a error ?

Thanks
Andun

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621922#comment-13621922
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


Is not error to store message in rpcErrorDialog.lzx, but for localized version 
is better to use localized message from xml files.

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Maxim Solodovnik (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621948#comment-13621948
 ] 

Maxim Solodovnik commented on OPENMEETINGS-507:
---

I see no need in creating new class.
Please just change labelid of contentSaveWindow and add labeled infotext.

Also it is unsafe to write:

Debug.write(processNext: ,this.saveObj.length,this.processNextIndex);
you always should write:
if ($debug) Debug.write(processNext: 
,this.saveObj.length,this.processNextIndex);

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-04 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13622583#comment-13622583
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi All,

As Maxim requested I have changed the title of the error dialog to info using 
following code,

class name=contentSaveWindow extends=baseErrorDialog labelid=936

Also there is a text view in the baseErrorDialog dialog like this,

view  y=24 width=$once{ parent.width - 40 } height=130 x=30 
clip=true
text fontsize=10 fontstyle=bold text=${ parent.parent.errortext } 
multiline=true width=$once{ parent.width - 16 } selectable=true /
/view

So to add the text Content is Saving. Please Wait. I have changed the oninit 
handler of the contentSaveWindow as follows,

handler name=oninit
this.parent.setAttribute('errortext',canvas.getLabelName(1541));
lz.ModeManager.makeModal(this);
if ($debug) Debug.write(contentsavewindow: ,errorid);
if ($debug) Debug.write(this.parent.errortext:,this.parent.errortext);
this.startSave();
/handler

But when I run with this changes only error dialog title is updated. Text view 
is empty even I have assigned the value  errortext attribute of the 
baseErrorDialog. What is wrong here ? 

Thanks
AndunSLG


 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621086#comment-13621086
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi Maxim,

What I observed is this particular message shows and hides very quickly. I have 
edited the rpcerrorDialog.lzx by removing this.close(); call in the particular 
dialog. So the message was there until we click the OK button. 

Thanks
AndunSLG

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Maxim Solodovnik (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621091#comment-13621091
 ] 

Maxim Solodovnik commented on OPENMEETINGS-507:
---

shows and hides very quickly is by design :)
It is necessary to block the whole form until changes are saved.

There is nothing to change from my point of view.

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621098#comment-13621098
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi Maxim,

I can understand you have do it by design. I think the problem here was that 
particular message has the title Error. That was the reason for this Jira 
issue I think. Also this particular message's implementation lies with in error 
dialog implementations. Is it OK? Because this message shows not for an Error.

Thnaks
AndunSLG

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621697#comment-13621697
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


Hello All,

I think that it should not be error message.  It should be more concrete 
message, for example Saving,  wait please.

Thanks,
Vasiliy.




 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Maxim Solodovnik (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621702#comment-13621702
 ] 

Maxim Solodovnik commented on OPENMEETINGS-507:
---

@Andun

To change the title of the window you can change
class name=contentSaveWindow extends=baseErrorDialog
to be
class name=contentSaveWindow extends=baseErrorDialog labelid=203

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Vasiliy Degtyarev (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621704#comment-13621704
 ] 

Vasiliy Degtyarev commented on OPENMEETINGS-507:


I think that it should not be error message.  It should be more concrete 
message, for example Saving,  wait please.

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621755#comment-13621755
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi All,

Is it enough to change the title only or are we going to implement a new 
message which is not an error ? Then I will do it.

Thanks
AndunSLG

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-03 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13621824#comment-13621824
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi All,

I thought creating a new message type for show Information will be good. So we 
can extend it and create the content save window from that. I have implemented 
it in my local setup and tested it. The code is shown below  a screen-shot is 
attached. If this way is good we can move this code to the trunk. Also another 
problem would be keeping information showing dialog's in a place where error 
messages should be.(rpcErrorDialog.lzx)

Thanks
AndunSLG


Code : -

class name=informationDialog extends=labelExplorerBox
docking=true resizeable=false closable=true width=300
x=$once{ canvas.width/2-this.width/2 } height=130 labelid=936

handler name=oninit
this.bringToFront();
lz.Focus.setFocus(this);
/handler

attribute name=infotext value= type=string /

view x=4 resource=warning_icon_rsc y=24 /

/class

class name=contentSaveWindow_new extends=informationDialog 

attribute name=saveObj value=null /
attribute name=refObj value=null /
attribute name=processNextIndex value=0 type=number /
attribute name=infotext value=Content saving.. type=string /

handler name=oninit
lz.ModeManager.makeModal(this);
if ($debug) Debug.write(contentsavewindow_new: ,infotext);
this.startSave();
/handler

handler name=onclose
lz.ModeManager.release(this);
/handler

view y=24 width=$once{ parent.width - 40 } height=130 x=30 
clip=true
text fontsize=10 fontstyle=bold text=${ 
parent.parent.infotext }
multiline=true width=$once{ parent.width - 16 } 
selectable=true /
/view

method name=startSave
![CDATA[
for (var i=0;ithis.saveObj.length;i++){
this.saveObj[i].prepareCall();
}
this.processNext();
]]
/method

method name=processNext
![CDATA[
Debug.write(processNext: ,this.saveObj.length,this.processNextIndex);
if (this.saveObj.lengththis.processNextIndex){
this.saveObj[this.processNextIndex].returnObj=this;
this.saveObj[this.processNextIndex].doCall();
this.processNextIndex++;
} else {
Debug.write(update process complete);
this.refObj.onsavecompleted.sendEvent();
this.close();
}
]]
/method

method name=doCallBack
this.close();
/method

simpleLabelButton name=_btn labelid=333 width=100 x=$once{ 
parent.width-104 }
y=$once{ parent.height-24 } onclick=parent.doCallBack(); /

/class


 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Assignee: Vasiliy Degtyarev
Priority: Minor
 Attachments: New Content Save Message.png


 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-02 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13619621#comment-13619621
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

I have deeply looked in to this issue. When the Save  button is clicked, 
following code in the 
/singlewebapp/WebContent/src/modules/conference/popups/rpcerrorDialog.lzx is 
executed. That is responsible to show the pop up message.

class name=contentSaveWindow extends=baseErrorDialog

attribute name=saveObj value=null /
attribute name=refObj value=null /
attribute name=processNextIndex value=0 type=number /
attribute name=errorid value=0 type=number /

handler name=oninit
lz.ModeManager.makeModal(this);
if ($debug) Debug.write(contentsavewindow: ,errorid);
this.startSave();
/handler

handler name=onclose
lz.ModeManager.release(this);
/handler

method name=startSave
![CDATA[
for (var i=0;ithis.saveObj.length;i++){
this.saveObj[i].prepareCall();
}
this.processNext();
]]
/method

method name=errorByCode args=eCode
this.errorid = eCode;
this.getErrorByCode.doCall();
/method

method name=processNext
![CDATA[
//Debug.write(processNext: 
,this.saveObj.length,this.processNextIndex);
if (this.saveObj.lengththis.processNextIndex){
this.saveObj[this.processNextIndex].returnObj=this;
this.saveObj[this.processNextIndex].doCall();
this.processNextIndex++;
} else {
//Debug.write(update process complete);
this.refObj.onsavecompleted.sendEvent();
this.close();
}
]]
/method

method name=doCallBack
this.close();
/method

simpleLabelButton name=_btn labelid=333 width=100 x=$once{ 
parent.width-104 } 
y=$once{ parent.height-24 } onclick=parent.doCallBack(); / 

/class

I think the pop up of this dialog is not caused by a error. But the false 
content shown in the dialog is causing the problem. Basically this pop up 
message is showed to indicated the the Save process is completed. So the 
problem I found is,

-Message goes invisible just after it shows
-The title and content of the message is a error message while in this 
particular context it is showed to indicated the completion of the save process.

The first problem can be easily corrected by removing the this.close(); call in 
the processNext method. But what should be the way to correct the second 
problem ? Can we create a save completion dialog by extending baseErrorDialog ?

Thanks
AndunSLG


 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (OPENMEETINGS-507) Error message is shown when user save the Profile settings

2013-04-02 Thread Andun Sameera Liyanagunawardana (JIRA)

[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13619748#comment-13619748
 ] 

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-507:
--

Hi,

Also I have noticed that the Save Completion dialog which is given by the above 
coed is shown when 
/singlewebapp/WebContent/src/base/contentviews/baseContentSaveView.lzx's Save 
button is clicked. So each and every where baseContentSaveView is used, this 
false message will come. 

So what is the best way to correct this? I think creating a new dialog will be 
good.

Thnaks
AndunSLG

 Error message is shown when user save the Profile settings 
 ---

 Key: OPENMEETINGS-507
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-507
 Project: Openmeetings
  Issue Type: Bug
Reporter: Vasiliy Degtyarev
Priority: Minor

 Go to the openmeetings Profile tab and select Edit settings. Click on 
 Save button and observe. Error message is shown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira