Skip to content

Multiple Upload Functionality#15

Open
onuridrisoglu wants to merge 3 commits into
masterfrom
dev-multipleattachments
Open

Multiple Upload Functionality#15
onuridrisoglu wants to merge 3 commits into
masterfrom
dev-multipleattachments

Conversation

@onuridrisoglu

Copy link
Copy Markdown
Owner

No description provided.

@marciopd marciopd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments, all the rest looks good.

downloader.extend(link);
layout.addComponent(link);
commentsUpdated();
public void componentEvent(Event event) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is componentEvent method being used?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, since ReportDetailView implements Component.Listener, it is used whenever a component added or removed from the container


@Override
public void updateProgress(long readBytes, long contentLength) {
uploadProgress.setValue(((float)readBytes)/(float)contentLength);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is formatting missing here?

package org.vaadin.bugrap.ui;

public class UploadTrackerModel {
public static final String FILEUPLOAD_PATH = "/Users/onuridrisoglu/Downloads/temp/";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This directory only exists in your machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants