[ 
https://issues.apache.org/jira/browse/ISIS-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152142#comment-14152142
 ] 

Martin Grigorov commented on ISIS-911:
--------------------------------------

I see that 
org.apache.isis.viewer.wicket.ui.components.scalars.isisapplib.IsisBlobOrClobPanelAbstract.html
 has the extra "Clear" button (<a wicket:id="scalarIfRegularClear" class="btn 
btn-default btn-xs"><span class="clearTitle">Clear</span></a>). Other edit 
panels don't have it. They show only "upload" and "clear" additional buttons.
I think the "upload" button should be hidden in Edit mode and 
IsisBlobOrClobPanelAbstract should remove the extra "Clear" button.

> "additionalLinks" should be hidden in Edit mode ?
> -------------------------------------------------
>
>                 Key: ISIS-911
>                 URL: https://issues.apache.org/jira/browse/ISIS-911
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: Wicket
>    Affects Versions: viewer-wicket-1.6.0
>            Reporter: Martin Grigorov
>            Assignee: Dan Haywood
>            Priority: Minor
>         Attachments: update-clear-in-edit-mode.png
>
>
> Viewing a Blob shows the additional links "Upload" and "Clear" next to the 
> binary.
> Switching to Edit mode shows the upload field + "Clear" button, but the 
> additional links are still there. The "Upload" button opens a Modal window 
> for edit and the "Clear" button does the same as the second "Clear" button.
> See the attached screenshot.
> I think the "additionalLinks" should be hidden in Edit mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to