[
https://issues.apache.org/jira/browse/OPENMEETINGS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622583#comment-13622583
]
Andun Sameera Liyanagunawardana edited comment on OPENMEETINGS-507 at 4/4/13
6:02 PM:
--------------------------------------------------------------------------------------
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. I have checked with the debug it shows the errortext variable
has the value,
this.parent.errortext: Content is Saving, Please wait. [1541]
What is wrong here ? Why the text view doesn't show the text?
Thanks
AndunSLG
was (Author: andunslg):
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