<% /** * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ %> <% String workflowId = portletDisplay.getNamespace() + "workflow"; String workflowTitle = LanguageUtil.get(pageContext, "workflow"); String formPresentationId = portletDisplay.getNamespace() + "formPresentation"; String formPresentationTitle = LanguageUtil.get(pageContext, "form-and-presentation"); String categorizationId = portletDisplay.getNamespace() + "categorization"; String categorizationTitle = LanguageUtil.get(pageContext, "categorization"); String scheduleId = portletDisplay.getNamespace() + "schedule"; String scheduleTitle = LanguageUtil.get(pageContext, "schedule"); %> ">" id="structureName"> <%= structureName %> " onClick=" if (confirm('<%= UnicodeLanguageUtil.get(pageContext, "selecting-a-new-structure-will-change-the-available-input-fields-and-available-templates") %>')) { var structureWindow = window.open('', 'structure', 'directories=no,height=640,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=680'); void(''); structureWindow.focus(); }" /> id="removeStructureButton" type="button" value="" onClick="removeStructure();" />

" onClick=" if (confirm('<%= UnicodeLanguageUtil.get(pageContext, "selecting-a-template-will-change-the-structure,-available-input-fields,-and-available-templates") %>')) { var templateWindow = window.open('', 'template', 'directories=no,height=640,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=680'); void(''); templateWindow.focus(); }" /> <% boolean templateChecked = false; if (templateId.equals(tableIteratorObj.getTemplateId())) { templateChecked = true; } if ((tableIteratorPos.intValue() == 0) && Validator.isNull(templateId)) { templateChecked = true; } %> name="templateId" type="radio" value="<%= tableIteratorObj.getTemplateId() %>" /> ">"> <%= tableIteratorObj.getName() %>


<% String status = null; if (article == null) { status = "new"; } else if (article.isExpired()) { status = "expired"; } else if (article.isApproved()) { status = "approved"; } else { status = "not-approved"; } %>



" onClick="approveArticle();" /> " onClick="expireArticle();" /> " onClick="deleteArticle();" />



<% long classPK = 0; if (article != null) { classPK = article.getResourcePrimKey(); } %>










<% String taglibNeverExpireOnClick = renderResponse.getNamespace() + "disableInputDate('expirationDate', this.checked);"; %>



<% String taglibNeverReviewOnClick = renderResponse.getNamespace() + "disableInputDate('reviewDate', this.checked);"; %>