Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String firstDocumentFilePath = (String)selectedRow.getAttribute("FirstDocumentFilePath");
- String firstDocumentContentType = (String)selectedRow.getAttribute("FirstDocumentContentType");
- System.out.println("FILE PATH : " + firstDocumentFilePath + " FILE CONTENT TYPE : " +
- firstDocumentContentType);
- RichRegion attachDocRegion = (RichRegion)JSFUtils.findComponentInRoot("r2");
- if (null == firstDocumentFilePath || firstDocumentContentType.equals("1") ||
- firstDocumentContentType.equals("2") || firstDocumentContentType.equals("13")) {
- if (null != attachDocRegion) {
- attachDocRegion.setVisible(false);
- }
- } else {
- if (null != attachDocRegion) {
- attachDocRegion.setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement