Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp
URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,62 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="org.eclipse.birt.report.context.ScalarParameterBean, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.utility.ParameterAccessor" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Checkbox parameter control +-----------------------------------------------------------------------------%> +<% + ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( ); + String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) ); +%> +<TR> + <TD NOWRAP> + <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/> + </TD> + <TD NOWRAP> + <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName %>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT> + <%-- is required --%> + <% + if ( parameterBean.isRequired( ) ) + { + %> + <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName %>">*</LABEL></FONT> + <% + } + %> + </TD> +</TR> +<TR> + <TD NOWRAP></TD> + <TD NOWRAP WIDTH="100%"> + <%-- Parameter control --%> + <INPUT TYPE="HIDDEN" ID="control_type" VALUE="checkbox"> + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_hidden" %>" + NAME="<%= encodedParameterName %>" + VALUE="<%= parameterBean.getValue( ) %>"> + <INPUT TYPE="CHECKBOX" + ID="<%= encodedParameterName %>" + TITLE="<%= parameterBean.getToolTip( ) %>" + VALUE="<%= encodedParameterName %>" + <%= "true".equalsIgnoreCase( parameterBean.getValue( ) ) ? "CHECKED" : "" %> + > + </TD> +</TR> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/CheckboxParameterFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,229 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="org.eclipse.birt.report.context.ScalarParameterBean, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.IBirtConstants, + org.eclipse.birt.report.service.api.ParameterSelectionChoice, + org.eclipse.birt.report.utility.ParameterAccessor, + org.eclipse.birt.report.utility.DataUtil, + java.util.List" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Combo box parameter control +-----------------------------------------------------------------------------%> +<% + ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( ); + String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) ); + String paramValue = parameterBean.getValue( ); + String displayText = parameterBean.getDisplayText( ); + String defaultValue = parameterBean.getDefaultValue( ); + String defaultDisplayText = parameterBean.getDefaultDisplayText( ); + boolean isDisplayTextInList = parameterBean.isDisplayTextInList( ); + boolean allowMultiValue = !parameterBean.allowNewValues( ) && parameterBean.getParameter( ).isMultiValue( ); + List values = parameterBean.getValueList( ); +%> +<TR> + <TD NOWRAP> + <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/> + </TD> + <TD NOWRAP> + <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName + "_selection"%>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT> + <%-- is required --%> + <% + if ( parameterBean.isRequired( ) ) + { + %> + <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName + "_selection"%>">*</LABEL></FONT> + <% + } + %> + </TD> +</TR> +<TR> + <TD NOWRAP></TD> + <TD NOWRAP WIDTH="100%"> + <INPUT TYPE="HIDDEN" ID="control_type" VALUE="select"> + <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>"> + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_value" %>" + NAME="<%= encodedParameterName %>" + <%= paramValue != null ? " VALUE=\"" + ParameterAccessor.htmlEncode( paramValue ) + "\"": "" %> + > + +<% + boolean CHECKED = true; + + if ( parameterBean.allowNewValues( ) ) // TODO: Editable + { + CHECKED = parameterBean.isValueInList( ) + || paramValue == null + || ( !parameterBean.isValueInList( ) && defaultValue != null && defaultValue.equals( paramValue ) ); +%> + <LABEL FOR="<%= encodedParameterName + "_radio_selection" %>" CLASS="birtviewer_hidden_label">Select</LABEL> + <INPUT TYPE="RADIO" + birtParameterType="combobox" + NAME="<%= encodedParameterName + "_radios" %>" + ID="<%= encodedParameterName + "_radio_selection" %>" + VALUE="<%= encodedParameterName %>" + <%= CHECKED ? "CHECKED" : "" %> > +<% + } +%> + <SELECT ID="<%= encodedParameterName + "_selection"%>" + TITLE="<%= parameterBean.getToolTip( ) %>" + CLASS="birtviewer_parameter_dialog_Select" + birtParameterType="combobox" + <%= !CHECKED ? "DISABLED='true'" : "" %> + <%= allowMultiValue? "multiple='true'" : "" %> > +<% + if ( parameterBean.getSelectionList( ) != null ) + { + if( !parameterBean.isRequired( ) || ( parameterBean.isCascade( ) && DataUtil.trimString( defaultValue ).length( )<=0 ) ) + { + if( allowMultiValue && DataUtil.contain( values, "", true ) ) + { +%> + <OPTION SELECTED></OPTION> +<% + } + else + { +%> + <OPTION></OPTION> +<% + } + } + + if ( DataUtil.trimString( defaultValue ).length( ) > 0 && !parameterBean.isDefaultValueInList( ) ) // Add default value in Combo Box + { + boolean flag = false; + if( allowMultiValue ) + { + flag = DataUtil.contain( values, defaultValue, true ); + } + else + { + flag = CHECKED && !parameterBean.isValueInList( ); + // if displayText is in request, use it + if( flag && parameterBean.isDisplayTextInReq( ) ) + { + defaultDisplayText = displayText; + } + } +%> + <OPTION VALUE="<%= ParameterAccessor.htmlEncode( defaultValue ) %>" + TITLE="<%= ParameterAccessor.htmlEncode( defaultDisplayText ) %>" + <%= flag ? "SELECTED" : "" %> > <%= ParameterAccessor.htmlEncode( defaultDisplayText ) %></OPTION> +<% + } + + boolean isSelected = false; + for ( int i = 0; i < parameterBean.getSelectionList( ).size( ); i++ ) + { + ParameterSelectionChoice selectionItem = ( ParameterSelectionChoice )parameterBean.getSelectionList( ).get( i ); + String label = selectionItem.getLabel( ); + String value = ( String ) selectionItem.getValue( ); + String outputValue = ParameterAccessor.htmlEncode(( value == null)?IBirtConstants.NULL_VALUE:value); + String outputLabel = ParameterAccessor.htmlEncode(( label == null)?IBirtConstants.NULL_VALUE_DISPLAY:label); + + if( allowMultiValue ) + { + if( DataUtil.contain( values, value, true ) ) + { +%> + <OPTION VALUE="<%= outputValue %>" + TITLE="<%= outputLabel %>" + SELECTED><%= outputLabel %></OPTION> +<% + + } + else + { +%> + <OPTION VALUE="<%= outputValue %>" + TITLE="<%= outputLabel %>"><%= outputLabel %></OPTION> +<% + } + } + else + { + if ( !isSelected && DataUtil.equals( paramValue, value ) + && ( !isDisplayTextInList || ( isDisplayTextInList && DataUtil.equals(label, displayText ) ))) + { + isSelected = true; +%> + <OPTION VALUE="<%= outputValue %>" + TITLE="<%= outputLabel %>" + SELECTED><%= outputLabel %></OPTION> +<% + } + else + { +%> + <OPTION VALUE="<%= outputValue %>" + TITLE="<%= outputLabel %>"><%= outputLabel %></OPTION> +<% + } + } + } + } +%> + </SELECT> +<% + if ( parameterBean.allowNewValues( ) ) // TODO: editable. + { +%> + <BR> + <LABEL FOR="<%= encodedParameterName + "_radio_input" %>" CLASS="birtviewer_hidden_label">Input</LABEL> + <INPUT TYPE="RADIO" + birtParameterType="combobox" + NAME="<%= encodedParameterName + "_radios" %>" + ID="<%= encodedParameterName + "_radio_input"%>" + VALUE="<%= encodedParameterName %>" + <%= !CHECKED ? "CHECKED" : "" %> > + + <LABEL FOR="<%= encodedParameterName + "_input" %>" CLASS="birtviewer_hidden_label">Input text</LABEL> + <INPUT CLASS="BirtViewer_parameter_dialog_Input" + birtParameterType="combobox" + TYPE="<%= parameterBean.isValueConcealed( )? "PASSWORD" : "TEXT" %>" + TITLE="<%= parameterBean.getToolTip( ) %>" + <%= !CHECKED ? "NAME=\"" + encodedParameterName + "_default\"": "" %> + ID="<%= encodedParameterName + "_input"%>" + <%= !CHECKED && displayText != null ? "VALUE=\"" + ParameterAccessor.htmlEncode( displayText ) + "\"": "" %> + <%= CHECKED ? "DISABLED='true'" : "" %> > + + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_displayText" %>" + <%= !CHECKED && displayText != null ? "VALUE=\"" + ParameterAccessor.htmlEncode( displayText ) + "\"": "" %> + > + <% + } + %> + <INPUT TYPE="HIDDEN" ID="isRequired" + VALUE = "<%= parameterBean.isRequired( )? "true": "false" %>"> + + <% + if ( parameterBean.isCascade( ) ) + { + %> + <INPUT TYPE="HIDDEN" ID="<%=IBirtConstants.IS_CASCADE%>" VALUE="true"/> + <% + } + %> + </TD> +</TR> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ComboBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,48 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="org.eclipse.birt.report.utility.ParameterAccessor, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.context.ScalarParameterBean" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Hidden parameter control +-----------------------------------------------------------------------------%> +<% + ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( ); + String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) ); + String value = parameterBean.getValue( ); + if( value != null ) + { +%> + +<TR> + <TD NOWRAP></TD> + <TD NOWRAP WIDTH="100%"> + <INPUT TYPE="HIDDEN" ID="control_type" VALUE="hidden"> + <INPUT TYPE="HIDDEN" + NAME="<%= encodedParameterName %>" + VALUE="<%= value %>"/> + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_displayText" %>" + VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>" /> + </TD> +</TR> + +<% + } +%> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/HiddenParameterFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,81 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="java.util.Iterator, + java.util.Collection, + org.eclipse.birt.report.utility.ParameterAccessor, + org.eclipse.birt.report.context.ParameterGroupBean, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.presentation.aggregation.IFragment" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="fragments" type="java.util.Collection" scope="request" /> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Content fragment +-----------------------------------------------------------------------------%> +<% + ParameterGroupBean parameterGroupBean = ( ParameterGroupBean ) attributeBean.getParameterBean( ); +%> +<TR><TD HEIGHT="16px" COLSPAN="2"></TD></TR> +<% + if ( parameterGroupBean.getDisplayName( ) != null ) + { +%> +<TR> + <TD NOWRAP> + <IMG SRC="birt/images/parameter_group.gif" ALT="<%= parameterGroupBean.getDisplayName( ) %>" TITLE="<%= parameterGroupBean.getToolTip( ) %>"/> + </TD> + <TD NOWRAP> + <FONT TITLE="<%= parameterGroupBean.getToolTip( ) %>"><B><%= parameterGroupBean.getDisplayName( ) %></B></FONT> + </TD> +</TR> +<% + } +%> +<TR> +<% + if ( parameterGroupBean.getDisplayName( ) != null ) + { +%> + <TD NOWRAP></TD> + <TD NOWRAP> +<% + } + else + { +%> + <TD COLSPAN="2" NOWRAP> +<% + } +%> + <TABLE CLASS="birtviewer_parameter_dialog_Label"> + <% + if ( fragments != null ) + { + Iterator childIterator = fragments.iterator( ); + while ( childIterator.hasNext( ) ) + { + IFragment subfragment = ( IFragment ) childIterator.next( ); + if ( subfragment != null ) + { + subfragment.service( request, response ); + } + } + } + %> + </TABLE> + </TD> +</TR> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/ParameterGroupFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,90 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="org.eclipse.birt.report.context.ScalarParameterBean, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.service.api.ParameterSelectionChoice, + org.eclipse.birt.report.utility.ParameterAccessor, + org.eclipse.birt.report.utility.DataUtil, + org.eclipse.birt.report.IBirtConstants" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Radio button parameter control +-----------------------------------------------------------------------------%> +<% + ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( ); + String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) ); + boolean isDisplayTextInList = parameterBean.isDisplayTextInList( ); +%> +<TR> + <TD NOWRAP> + <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/> + </TD> + <TD NOWRAP> + <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><%= parameterBean.getDisplayName( ) %>:</FONT> + <%-- is required --%> + <% + if ( parameterBean.isRequired( ) ) + { + %> + <FONT COLOR="red">*</FONT> + <% + } + %> + </TD> +</TR> +<TR> + <TD NOWRAP></TD> + <TD NOWRAP WIDTH="100%"> + <INPUT TYPE="HIDDEN" ID="control_type" VALUE="radio"> + <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>"> + <%-- Parameter control --%> +<% + if (parameterBean.getSelectionList( ) != null) + { + boolean CHECKED = false; + boolean isSelected = false; + for ( int i = 0; i < parameterBean.getSelectionList( ).size( ); i++ ) + { + ParameterSelectionChoice selectionItem = ( ParameterSelectionChoice )parameterBean.getSelectionList( ).get( i ); + String label = selectionItem.getLabel( ); + String value = ( String ) selectionItem.getValue( ); + String encodedValue = ParameterAccessor.htmlEncode(( value == null )?IBirtConstants.NULL_VALUE:value); + + CHECKED = ( DataUtil.equals( parameterBean.getValue( ), value ) + && ( !isDisplayTextInList || ( isDisplayTextInList && label.equals( parameterBean.getDisplayText( ) ) ) ) ); +%> + <INPUT TYPE="RADIO" + NAME="<%= encodedParameterName %>" + ID="<%= encodedParameterName + i %>" + TITLE="<%= parameterBean.getToolTip( ) %>" + VALUE="<%= encodedValue %>" + <%= !isSelected && CHECKED ? "CHECKED" : "" %>> + <LABEL ID="<%= (encodedParameterName + i) + "_label" %>" + TITLE="<%= ParameterAccessor.htmlEncode( label ) %>" + FOR="<%= encodedParameterName + i %>"><%= ParameterAccessor.htmlEncode( label ) %></LABEL> + </INPUT> + <BR> +<% + if( CHECKED ) + isSelected = true; + } + } + +%> + </TD> +</TR> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/RadioButtonParameterFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp Thu Oct 15 04:48:28 2009 @@ -0,0 +1,98 @@ +<%----------------------------------------------------------------------------- + Copyright (c) 2004 Actuate Corporation and others. + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html + + Contributors: + Actuate Corporation - Initial implementation. +-----------------------------------------------------------------------------%> +<%@ page contentType="text/html; charset=utf-8" %> +<%@ page session="false" buffer="none" %> +<%@ page import="org.eclipse.birt.report.utility.ParameterAccessor, + org.eclipse.birt.report.context.BaseAttributeBean, + org.eclipse.birt.report.context.ScalarParameterBean" %> + +<%----------------------------------------------------------------------------- + Expected java beans +-----------------------------------------------------------------------------%> +<jsp:useBean id="attributeBean" type="org.eclipse.birt.report.context.BaseAttributeBean" scope="request" /> + +<%----------------------------------------------------------------------------- + Text box parameter control +-----------------------------------------------------------------------------%> +<% + ScalarParameterBean parameterBean = ( ScalarParameterBean ) attributeBean.getParameterBean( ); + String encodedParameterName = ParameterAccessor.htmlEncode( parameterBean.getName( ) ); +%> +<TR> + <TD NOWRAP> + <IMG SRC="birt/images/parameter.gif" ALT="<%= parameterBean.getDisplayName( ) %>" TITLE="<%= parameterBean.getToolTip( ) %>"/> + </TD> + <TD NOWRAP> + <FONT TITLE="<%= parameterBean.getToolTip( ) %>"><LABEL FOR="<%= encodedParameterName %>"><%= parameterBean.getDisplayName( ) %>:</LABEL></FONT> + <%-- is required --%> + <% + if ( parameterBean.isRequired( ) ) + { + %> + <FONT COLOR="red"><LABEL FOR="<%= encodedParameterName %>">*</LABEL></FONT> + <% + } + %> + </TD> +</TR> +<TR> + <TD NOWRAP></TD> + <TD NOWRAP WIDTH="100%"> + <INPUT TYPE="HIDDEN" ID="control_type" VALUE="text"> + <INPUT TYPE="HIDDEN" ID="data_type" VALUE="<%="" + parameterBean.getParameter( ).getDataType( ) %>"> +<% + if ( !parameterBean.isRequired( ) ) + { +%> + <LABEL FOR="<%= encodedParameterName + "_radio_notnull" %>" CLASS="birtviewer_hidden_label">Input text</LABEL> + <INPUT TYPE="RADIO" + ID="<%= encodedParameterName + "_radio_notnull" %>" + VALUE="<%= encodedParameterName %>" + <%= (parameterBean.getValue( ) != null)? "CHECKED" : "" %>> +<% + } +%> + <INPUT CLASS="BirtViewer_parameter_dialog_Input" + TYPE="<%= parameterBean.isValueConcealed( )? "PASSWORD" : "TEXT" %>" + NAME="<%= encodedParameterName %>" + ID="<%= encodedParameterName %>" + TITLE="<%= parameterBean.getToolTip( ) %>" + VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>" + <%= ( !parameterBean.isRequired( ) && parameterBean.getValue( ) == null )? "DISABLED='true'" : "" %> + > + + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_value" %>" + VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getValue( ) == null )? "" : parameterBean.getValue( ) ) %>" + > + + <INPUT TYPE="HIDDEN" + ID="<%= encodedParameterName + "_displayText" %>" + VALUE="<%= ParameterAccessor.htmlEncode( ( parameterBean.getDisplayText( ) == null )? "" : parameterBean.getDisplayText( ) ) %>" + > +<% + if ( !parameterBean.isRequired( ) ) + { +%> + <BR> + <LABEL FOR="<%= encodedParameterName + "_radio_null" %>" CLASS="birtviewer_hidden_label">Null Value</LABEL> + <INPUT TYPE="RADIO" + ID="<%= encodedParameterName + "_radio_null"%>" + VALUE="<%= encodedParameterName %>" + <%= ( parameterBean.getValue( ) == null )? "CHECKED" : "" %>> Null Value +<% + } +%> + + <INPUT TYPE="HIDDEN" ID="isRequired" + VALUE = "<%= parameterBean.isRequired( )? "true": "false" %>"> + </TD> +</TR> \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/pages/parameter/TextBoxParameterFragment.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css Thu Oct 15 04:48:28 2009 @@ -0,0 +1,237 @@ +/* Copyright 1994-2006, Actuate Software Corp., All rights reserved. */ + +@CHARSET "ISO-8859-1"; + +/* Border around dialog */ +.dialogBorder +{ + border-style: outset; + border-width: 1px; + border-color: #CCCCCC; + background-color: gray; +} + +/* Title bar background area */ +.dialogTitleBar +{ + height: 20px; + background-color: #4E6DA4; + cursor: move; +} + +.dTitleBar +{ + padding-left: 7px; + padding-right: 7px; + padding-top: 2px; + padding-bottom: 2px; + position: relative; +} + +/* Title text */ +.dialogTitleText +{ + font-size: 11px; + font-weight: bold; + font-family: tahoma, verdana, arial, sans-serif; + color: white; +} + +.dTitleText +{ + vertical-align: middle; + white-space: nowrap; + cursor: move; +} + +.dTitleTextContainer +{ + float: left; + position: relative; + height: 100%; + width: 1px; +} + +/* Close button - width should match those of .dialogCloseBtnContainer */ +.dialogCloseBtn +{ + background-image: url("../images/Close.gif"); + width: 14px; + height: 14px; + background-color: gray; + cursor: pointer; +} + +.dCloseBtn +{ + vertical-align: middle; + background-repeat: no-repeat; + background-position: center right; +} + +/* Close button container - width should match those of .dialogCloseBtn */ +.dialogCloseBtnContainer +{ + width: 14px; +} + +.dCloseBtnContainer +{ + height: 100%; + float: right; + position: relative; +} + +/* Background of dialog below title bar */ +.dialogBackground +{ + background-color: #ECE9D8; + margin-bottom: 1px; +} + +.dBackground +{ + margin-left: 10px; + margin-right: 10px; + padding-top: 4px; +} + +/* Border style of content area for individual dialog content */ +.dialogContentContainer +{ +} + +/* Area from bottom of dialog content container to bottom border */ +.dialogBtnBarContainer +{ + position: relative; + text-align: center; + padding-top: 4px; /* distance from bottom of content area to top of divider bar*/ +} + +/* Top divider line between dialog content area and button area */ +.dBtnBarDividerTop +{ + height: 1px; + background-color: gray; + overflow: hidden; +} + +/* Bottom divider line between dialog content area and button area */ +.dBtnBarDividerBottom +{ + height: 1px; + background-color: #fefefe; + overflow: hidden; +} + + +/* Area that contains OK and CANCEL buttons - from bottom of divider bar to top of outer border */ +.dialogBtnBar +{ + height: 36px; + text-align: right; +} + +/* Area holding both OK and CANCEL buttons */ +.dialogBtnBarButtonContainer +{ + margin-left: auto; + margin-right: 0px; + margin-top: 6px; + margin-bottom: 7px; + width: 166px; + height:24px; +} + +/* Space between OK and CANCEL */ +.dialogBtnBarDivider +{ + width: 6px; + height: 1px; + float: left; +} + +.dialogBtnBarButtonEnabled +{ + float: left; + cursor: pointer; + height: 24px; + width: 80px; + overflow: hidden; + color: black; /* Font color */ + /*background-color: #9C9C9C; + background-repeat: repeat-x; + background-position: top left;*/ +} + +.dialogBtnBarButtonDisabled +{ + float: left; + cursor: default; + height: 24px; + width: 80px; + overflow: hidden; + color: #999999; /* Font color */ + /*background-color: #9C9C9C; + background-repeat: repeat-x; + background-position: top left;*/ +} + +/* Left background image for OK and CANCEL buttons */ +.dialogBtnBarButtonLeftBackgroundEnabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top left; + position: relative; + width: 0px; + height: 24px; + float: left; +} + +/* Left background image for OK and CANCEL buttons */ +.dialogBtnBarButtonLeftBackgroundDisabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top left; + position: relative; + width: 0px; + height: 24px; + float: left; +} + +/* Right background image for OK and CANCEL buttons */ +.dialogBtnBarButtonRightBackgroundEnabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top right; + position: relative; + width: 0px; + height: 24px; + float: right; +} + +/* Right background image for OK and CANCEL buttons */ +.dialogBtnBarButtonRightBackgroundDisabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top right; + position: relative; + width: 0px; + height: 24px; + float: right; +} + +/* Text for OK and CANCEL buttons */ +.dialogBtnBarButtonText +{ + font-family: tahoma, verdana, arial, sans-serif; + font-size: 11px; + font-weight: 400; + text-align: center; + vertical-align: middle; +} Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css Thu Oct 15 04:48:28 2009 @@ -0,0 +1,245 @@ +/* Copyright 1994-2006, Actuate Software Corp., All rights reserved. */ + +@CHARSET "ISO-8859-1"; + +/* Border around dialog */ +.dialogBorder +{ + border-style: outset; + border-width: 1px; + border-color: #CCCCCC; + background-color: gray; + direction: ltr; +} + +/* Title bar background area */ +.dialogTitleBar +{ + height: 20px; + background-color: #4E6DA4; + cursor: move; + direction: rtl; +} + +.dTitleBar +{ + padding-left: 7px; + padding-right: 7px; + padding-top: 2px; + padding-bottom: 2px; + position: relative; +} + +/* Title text */ +.dialogTitleText +{ + font-size: 11px; + font-weight: bold; + font-family: tahoma, verdana, arial, sans-serif; + color: white; +} + +.dTitleText +{ + vertical-align: middle; + white-space: nowrap; + cursor: move; +} + +.dTitleTextContainer +{ + float: right; + position: relative; + height: 100%; + width: 250px; +} + +/* Close button - width should match those of .dialogCloseBtnContainer */ +.dialogCloseBtn +{ + background-image: url("../images/Close.gif"); + width: 14px; + height: 14px; + background-color: gray; + cursor: pointer; +} + +.dCloseBtn +{ + vertical-align: middle; + background-repeat: no-repeat; + background-position: center right; +} + +/* Close button container - width should match those of .dialogCloseBtn */ +.dialogCloseBtnContainer +{ + width: 14px; +} + +.dCloseBtnContainer +{ + height: 100%; + float: left; + position: relative; +} + +/* Background of dialog below title bar */ +.dialogBackground +{ + background-color: #ECE9D8; + margin-bottom: 1px; +} + +.dBackground +{ + margin-left: 10px; + margin-right: 10px; + padding-top: 4px; +} + +/* Border style of content area for individual dialog content */ +.dialogContentContainer +{ + direction: rtl; +} + +/* Area from bottom of dialog content container to bottom border */ +.dialogBtnBarContainer +{ + position: relative; + text-align: center; + padding-top: 4px; /* distance from bottom of content area to top of divider bar*/ +} + +/* Top divider line between dialog content area and button area */ +.dBtnBarDividerTop +{ + height: 1px; + background-color: gray; + overflow: hidden; +} + +/* Bottom divider line between dialog content area and button area */ +.dBtnBarDividerBottom +{ + height: 1px; + background-color: #fefefe; + overflow: hidden; +} + + +/* Area that contains OK and CANCEL buttons - from bottom of divider bar to top of outer border */ +.dialogBtnBar +{ + height: 36px; + text-align: right; +} + +/* Area holding both OK and CANCEL buttons */ +.dialogBtnBarButtonContainer +{ + margin-left: 0px; + margin-right: auto; + margin-top: 6px; + margin-bottom: 7px; + width: 166px; + height:24px; +} + +/* Space between OK and CANCEL */ +.dialogBtnBarDivider +{ + width: 6px; + height: 1px; + float: left; +} + +.dialogBtnBarButtonEnabled +{ + float: right; + cursor: pointer; + height: 24px; + width: 80px; + overflow: hidden; + color: black; /* Font color */ + /*background-color: #9C9C9C; + background-repeat: repeat-x; + background-position: top left;*/ +} + +.dialogBtnBarButtonDisabled +{ + float: right; + cursor: default; + height: 24px; + width: 80px; + overflow: hidden; + color: #999999; /* Font color */ + /*background-color: #9C9C9C; + background-repeat: repeat-x; + background-position: top left;*/ +} + +/* Left background image for OK and CANCEL buttons */ +.dialogBtnBarButtonLeftBackgroundEnabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top right; + position: relative; + width: 0px; + height: 24px; + float: right; +} + +/* Left background image for OK and CANCEL buttons */ +.dialogBtnBarButtonLeftBackgroundDisabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top right; + position: relative; + width: 0px; + height: 24px; + float: right; +} + +/* Right background image for OK and CANCEL buttons */ +.dialogBtnBarButtonRightBackgroundEnabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top left; + position: relative; + width: 0px; + height: 24px; + float: left; +} + +/* Right background image for OK and CANCEL buttons */ +.dialogBtnBarButtonRightBackgroundDisabled +{ + background-color: #9C9C9C; + background-repeat: no-repeat; + background-position: top left; + position: relative; + width: 0px; + height: 24px; + float: left; +} + +/* Text for OK and CANCEL buttons */ +.dialogBtnBarButtonText +{ + font-family: tahoma, verdana, arial, sans-serif; + font-size: 11px; + font-weight: 400; + text-align: center; + vertical-align: middle; +} + +input[type=radio], input[type=checkbox] +{ + width: 22px; +} \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/dialogbase_rtl.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css Thu Oct 15 04:48:28 2009 @@ -0,0 +1,153 @@ +A.nav:link { + COLOR: black; TEXT-DECORATION: none +} +A.nav:visited { + COLOR: black; TEXT-DECORATION: none +} +A.nav:hover { + COLOR: black; TEXT-DECORATION: underline +} +A.birt:link { + COLOR: white; TEXT-DECORATION: none +} +A.birt:visited { + COLOR: white; TEXT-DECORATION: none +} +A.birt:hover { + COLOR: white; TEXT-DECORATION: underline +} +BODY { + PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 10pt; PADDING-BOTTOM: 0px; MARGIN: 0px; COLOR: black; PADDING-TOP: 0px; FONT-FAMILY: arial, helvetica, geneva; BACKGROUND-COLOR: white +} +TABLE { + FONT-SIZE: 10pt +} +.bullet { + FONT-SIZE: 9pt +} +UL { + PADDING-LEFT: 20pt +} +LI { + PADDING-BOTTOM: 3pt +} +.caution { + PADDING-RIGHT: 2pt; PADDING-LEFT: 4pt; PADDING-BOTTOM: 4pt; MARGIN-LEFT: 4pt; COLOR: #000040; MARGIN-RIGHT: 4pt; PADDING-TOP: 4pt; BACKGROUND-COLOR: #e0e0e0 +} +.caution-head { + FONT-WEIGHT: bold +} +UNKNOWN { + MARGIN-LEFT: 4pt; MARGIN-RIGHT: 4pt +} +.navhead { + FONT-WEIGHT: bold; FONT-SIZE: xx-small; COLOR: white; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif +} +A.navhead:link { + COLOR: white; TEXT-DECORATION: none +} +A.navhead:visited { + COLOR: white; TEXT-DECORATION: none +} +A.navhead:hover { + COLOR: white; TEXT-DECORATION: underline +} +.menu-table { + FONT-SIZE: 10pt; BACKGROUND-COLOR: #90c8ff +} +.menu-table TD { + PADDING-LEFT: 7px; PADDING-BOTTOM: 2px; PADDING-TOP: 3px; BORDER-BOTTOM: #cfffff 1px solid +} +.top-menu-cell { + PADDING-BOTTOM: 4px; PADDING-TOP: 3px; BORDER-BOTTOM: #cfffff 1px solid; BACKGROUND-COLOR: #0080c0 +} +.menu-area { + COLOR: black; BACKGROUND-COLOR: #6699cc +} +.banner-area { + BACKGROUND-COLOR: #006699 +} +PRE { + FONT-SIZE: 10pt; FONT-FAMILY: "Courier New", Courier, mono +} +CODE { + FONT-SIZE: 10pt; FONT-FAMILY: "Courier New", Courier, mono +} +.code-block { + PADDING-RIGHT: 2pt; PADDING-LEFT: 2pt; FONT-SIZE: 10pt; PADDING-BOTTOM: 4pt; MARGIN-RIGHT: 0.5in; PADDING-TOP: 4pt; FONT-FAMILY: "Courier New", Courier, mono; BACKGROUND-COLOR: #e0e0e0 +} +H1 { + MARGIN-TOP: 12pt; PADDING-LEFT: 2px; FONT-WEIGHT: bold; FONT-SIZE: 10pt; PADDING-BOTTOM: 2px; COLOR: white; PADDING-TOP: 3px; BACKGROUND-COLOR: #0080c0 +} +H2 { + FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #0080c0 +} +H3 { + FONT-SIZE: 9pt; COLOR: #0080c0 +} +DT { + PADDING-BOTTOM: 6pt +} +DD { + PADDING-BOTTOM: 10pt +} +.indextop { + FONT-WEIGHT: bold; FONT-SIZE: x-large; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif +} +.indexsub { + FONT-SIZE: large; COLOR: #8080ff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif +} +A.bar { + COLOR: white +} +A.bar:link { + COLOR: white; TEXT-DECORATION: none +} +A.bar:visited { + COLOR: white; TEXT-DECORATION: none +} +A.bar:hover { + COLOR: white; TEXT-DECORATION: underline +} +.jump { + FONT-SIZE: smaller; COLOR: #8080ff; TEXT-DECORATION: none +} +A.jump:visited { + COLOR: #8080ff; TEXT-DECORATION: none +} +A.jump:link { + COLOR: #8080ff; TEXT-DECORATION: none +} +A.jump:hover { + COLOR: blue; TEXT-DECORATION: underline +} +.toc { + FONT-SIZE: small; COLOR: #8080ff; TEXT-DECORATION: none +} +A.toc:visited { + COLOR: #8080ff; TEXT-DECORATION: none +} +A.toc:link { + COLOR: #8080ff; TEXT-DECORATION: none +} +A.toc:hover { + COLOR: blue; TEXT-DECORATION: underline +} +.q { + FONT-WEIGHT: bold; PADDING-BOTTOM: 6pt; MARGIN-LEFT: 4pt; MARGIN-RIGHT: 4pt +} +.ans { + PADDING-LEFT: 24pt; PADDING-BOTTOM: 12pt; MARGIN-RIGHT: 4pt +} +.simple-table { + BORDER-RIGHT: silver 1pt ridge; BORDER-TOP: silver 1pt ridge; MARGIN: 10pt; BORDER-LEFT: silver 1pt ridge; BORDER-BOTTOM: silver 1pt ridge; BORDER-COLLAPSE: collapse +} +.simple-table TD { + BORDER-RIGHT: silver 1pt ridge; PADDING-RIGHT: 5pt; BORDER-TOP: silver 1pt ridge; PADDING-LEFT: 5pt; PADDING-BOTTOM: 5pt; BORDER-LEFT: silver 1pt ridge; PADDING-TOP: 5pt; BORDER-BOTTOM: silver 1pt ridge +} +.simple-table TH { + BORDER-RIGHT: silver 1pt ridge; PADDING-RIGHT: 5pt; BORDER-TOP: silver 1pt ridge; PADDING-LEFT: 5pt; PADDING-BOTTOM: 5pt; BORDER-LEFT: silver 1pt ridge; PADDING-TOP: 5pt; BORDER-BOTTOM: silver 1pt ridge +} +.simple-table THEAD { + FONT-WEIGHT: bold +} Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/index.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css URL: http://svn.apache.org/viewvc/ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css?rev=825391&view=auto ============================================================================== --- ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css (added) +++ ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css Thu Oct 15 04:48:28 2009 @@ -0,0 +1,423 @@ +/****************************************************************************** + * Copyright (c) 2004 Actuate Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Actuate Corporation - Initial implementation. + *****************************************************************************/ + +.BirtViewer_Body +{ + margin:0px; +} + +/****************************************************************************** + * Birt error page. + *****************************************************************************/ +.BirtViewer_Highlight_Label +{ + font:Verdana; + color:red; +} + +/****************************************************************************** + * Birt parameter dialog. + *****************************************************************************/ +.birtviewer_parameter_dialog +{ + height:100%; + overflow:auto; + height:350px; +} + +.BirtViewer_parameter_dialog_Input +{ + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:2px; + width:250px; +} + +.birtviewer_parameter_dialog_Select +{ + font:Verdana; + font-size:8pt; + width:250px; +} + +.birtviewer_parameter_dialog_Label +{ + font:Verdana; + font-size:8pt; +} + +/****************************************************************************** + * Birt Exception dialog. + *****************************************************************************/ +.birtviewer_exception_dialog +{ + border-style:solid; + border-color:#cccccc; + background-color:#ffffef; + border-width:1px; +} + +.birtviewer_exception_dialog_container +{ + border-left-style:solid; + border-left-width:1px; + border-left-color:#cccccc; +} + +.birtviewer_exception_dialog_label +{ + cursor: pointer; + font-size: 8pt; + color: gray; + font-weight: bold; + text-decoration: underline; +} + +.birtviewer_exception_dialog_message +{ + padding: 2px; + font-size: 9pt; +} + +.birtviewer_exception_dialog_detail +{ + padding:2px; + overflow:auto; + height:150px; + border-top-color:#cccccc; + border-top-style:solid; + border-top-width:1px; + font-size:8pt; +} + +/****************************************************************************** + * Birt export data dialog. + *****************************************************************************/ +.birtviewer_exportdata_dialog_single_select +{ + width:250px; + font-size:8pt; +} + +.birtviewer_exportdata_dialog_select +{ + width:180px; + font-size:8pt; +} + +.birtviewer_exportdata_dialog_button +{ + width:16px; + height:16px; + cursor:pointer; +} + +.birtviewer_exportdata_dialog_input +{ + width:80px; + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:1px; +} + +/****************************************************************************** + * Birt export report dialog. + *****************************************************************************/ +.birtviewer_exportreport_dialog_select +{ + width:120px; + font:Verdana; + font-size:8pt; +} + +.birtviewer_exportreport_dialog_input +{ + width:120px; + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:1px; +} + +/****************************************************************************** + * Birt print report dialog. + *****************************************************************************/ +.birtviewer_printreport_dialog_select +{ + width:150px; + font:Verdana; + font-size:8pt; +} + +.birtviewer_printreport_dialog_input +{ + width:120px; + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:1px; +} + +/****************************************************************************** + * Birt print report on the server dialog. + *****************************************************************************/ +.birtviewer_printreportserver_dialog_select +{ + width:200px; + font:Verdana; + font-size:8pt; +} + +.birtviewer_printreportserver_dialog_input +{ + width:120px; + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:1px; +} + +.birtviewer_printreportserver_dialog_input_short +{ + width:60px; + font:Verdana; + font-size:8pt; + border-style:inset; + border-width:1px; +} + +/****************************************************************************** + * Birt confirmation dialog. + *****************************************************************************/ +.birtviewer_confirmation_dialog_iframe +{ + width:450px; + height:100px +} + +.birtviewer_progresspage +{ + font-family:Verdana; + font-size:8pt; + cursor:default; +} + +/****************************************************************************** + * Dialog related. + *****************************************************************************/ +.birtviewer_dialog +{ + font-family:Verdana; + background-color:#dbe4ee; + border-width:2px; + border-style:outset; + font-size:8pt; + cursor:default; +} + +.birtviewer_dialog_caption +{ + width:100%; + font-size:12px; + color:white; + background-color:#4682b4; +} + +.birtviewer_dialog_body +{ + /*background-color:#dbe4ee;*/ + border-width:1px; + border-style:inset; + width:100%; + height:100%; + font-family:arial; + font-size:8pt; +} + +.birtviewer_dialog_button +{ + width:100px; + font-family:verdana; + font-size:8pt; + background-color:white; + border-style:outset; + border-width:1px; + cursor:hand; + cursor:pointer; +} + +.birtviewer_dialog_tab_selected +{ + border-color:#ffffff; + border-width:1px; + border-style:solid; + font-size:7pt; + font-weight:bold; +} + +.birtviewer_dialog_tab_normal +{ + border-color:white; + border-width:1px; + border-style:solid; + cursor:hand; + cursor:pointer; + font-size:7pt; + font-weight:bold; +} + +/****************************************************************************** + * Body + *****************************************************************************/ +.body_caption_top +{ + height:4px; + background-color:#DDAA03; +} + +.body_caption +{ + height:30px; + font-family:Verdana; + font-size:10pt; +} + +/****************************************************************************** + * Toolbar + ******************************************************************************/ +.birtviewer_toolbar +{ + height:26px; + background-color:#CBCB97; + font-family:Verdana; + font-size:8pt; + border-top-width:1px; + border-top-style:solid; + border-top-color:#808080; + border-bottom-width:1px; + border-bottom-style:solid; + border-bottom-color:#808080; +} + +/****************************************************************************** + * Navigation bar + ******************************************************************************/ +.birtviewer_navbar +{ + height:26px; + background-color:#E6E6C6; + font-family:Verdana; + font-size:8pt; + border-left-color:#808080; + border-left-style:solid; + border-left-width:1px; +} + +.birtviewer_navbar_input +{ + font:icon; + border-style:inset; + border-width:2px; +} + +/****************************************************************************** + * Progress bar + ******************************************************************************/ +.birtviewer_progressbar +{ + font-family:Verdana; + font-size:8pt; + background:#FFFFFF; + border-width:2px; + border-style:solid; + border-color:#FF912F; + cursor:default; +} + +.birtviewer_progressbar_button +{ + cursor: pointer; + height: 24px; + width: 100px; + overflow: hidden; + color: black; /* Font color */ +} +/****************************************************************************** + * Toc + ******************************************************************************/ +.birtviewer_toc +{ + width:100%; + height:100%; + background-color:#FFFFFF; + font-family:Verdana; + font-size:8pt; + border-width:1px; + border-style:none; + border-color:gray; +} + +/****************************************************************************** + * Context menu + ******************************************************************************/ +.birtviewer_contextmenu +{ + width:150px; + background-color:#d0d0d0; + border-style:outset; + border-color:#cccccc; + cursor:default; + border-width:2px; +} + +/****************************************************************************** + * Birt document. + *****************************************************************************/ +.birtviewer_document_fragment +{ + overflow:auto; + position:relative; + border-style: solid; + border-width: 2px; + border-top-color: #404040; + border-left-color: #404040; + border-right-color: #D0D0D0; + border-bottom-color: #D0D0D0; +} + +/****************************************************************************** + * General controls + ******************************************************************************/ +.birtviewer_clickable +{ + border-style:none; + cursor:hand; + cursor:pointer; +} + +.birtviewer_hidden_label +{ + position:absolute; + left:0px + top:-100px; + width:1px; + height:1px; + overflow:hidden; +} + +.birtviewer_exception_dialog_detail #faultdetail +{ + font-family: monospace; + direction: ltr; + text-align: left; +} \ No newline at end of file Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/branches/addBirt/framework/webtools/webapp/birt/webcontent/birt/styles/style.css ------------------------------------------------------------------------------ svn:mime-type = text/css |
Free forum by Nabble | Edit this page |