You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by hu...@apache.org on 2006/11/06 16:02:22 UTC
svn commit: r471756 [18/31] - in /struts/struts2/trunk: apps/blank/
apps/blank/src/main/java/example/ apps/blank/src/test/java/example/
apps/mailreader/src/main/java/mailreader2/
apps/portlet/src/main/java/org/apache/struts2/portlet/example/ apps/portl...
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractListTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractListTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractListTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractListTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractRequiredListTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractRequiredListTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractRequiredListTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractRequiredListTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -24,11 +27,11 @@
*/
public abstract class AbstractRequiredListTag extends AbstractListTag {
- protected void populateParams() {
- super.populateParams();
-
- ListUIBean listUIBean = (ListUIBean) component;
- listUIBean.setThrowExceptionOnNullValueAttribute(true);
- }
+ protected void populateParams() {
+ super.populateParams();
+
+ ListUIBean listUIBean = (ListUIBean) component;
+ listUIBean.setThrowExceptionOnNullValueAttribute(true);
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -55,7 +58,7 @@
protected String onselect;
protected String onchange;
protected String accesskey;
-
+
// tooltip attributes
protected String tooltip;
protected String tooltipConfig;
@@ -144,9 +147,9 @@
}
public void setTemplateDir(String templateDir) {
- this.templateDir = templateDir;
+ this.templateDir = templateDir;
}
-
+
public void setTemplate(String template) {
this.template = template;
}
@@ -210,16 +213,16 @@
public void setOnchange(String onchange) {
this.onchange = onchange;
}
-
+
public void setTooltip(String tooltip) {
- this.tooltip = tooltip;
+ this.tooltip = tooltip;
}
-
+
public void setTooltipConfig(String tooltipConfig) {
- this.tooltipConfig = tooltipConfig;
+ this.tooltipConfig = tooltipConfig;
}
-
+
public void setAccesskey(String accesskey) {
- this.accesskey = accesskey;
+ this.accesskey = accesskey;
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionErrorTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionErrorTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionErrorTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionErrorTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -27,14 +30,14 @@
/**
* ActionError Tag.
- *
+ *
*/
public class ActionErrorTag extends AbstractUITag {
- private static final long serialVersionUID = -3710234378022378639L;
+ private static final long serialVersionUID = -3710234378022378639L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
- return new ActionError(stack, req, res);
- }
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ return new ActionError(stack, req, res);
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionMessageTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionMessageTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionMessageTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ActionMessageTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -27,13 +30,13 @@
/**
* ActionMessage Tag.
- *
+ *
*/
public class ActionMessageTag extends AbstractUITag {
- private static final long serialVersionUID = 243396927554182506L;
+ private static final long serialVersionUID = 243396927554182506L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
- return new ActionMessage(stack, req, res);
- }
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ return new ActionMessage(stack, req, res);
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AnchorTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AnchorTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AnchorTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/AnchorTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see Anchor
*/
public class AnchorTag extends AbstractClosingTag {
-
- private static final long serialVersionUID = -1034616578492431113L;
-
- protected String href;
+
+ private static final long serialVersionUID = -1034616578492431113L;
+
+ protected String href;
protected String errorText;
protected String showErrorTransportText;
protected String notifyTopics;
@@ -47,7 +50,7 @@
super.populateParams();
Anchor link = (Anchor) component;
-
+
link.setHref(href);
link.setErrorText(errorText);
link.setShowErrorTransportText(showErrorTransportText);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxListTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxListTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxListTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxListTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see CheckboxList
*/
public class CheckboxListTag extends AbstractRequiredListTag {
-
- private static final long serialVersionUID = 4023034029558150010L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = 4023034029558150010L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new CheckboxList(stack, req, res);
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/CheckboxTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Checkbox
*/
public class CheckboxTag extends AbstractUITag {
-
- private static final long serialVersionUID = -350752809266337636L;
-
- protected String fieldValue;
+
+ private static final long serialVersionUID = -350752809266337636L;
+
+ protected String fieldValue;
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Checkbox(stack, req, res);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComboBoxTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComboBoxTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComboBoxTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComboBoxTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,37 +32,37 @@
* @see ComboBox
*/
public class ComboBoxTag extends TextFieldTag {
-
- private static final long serialVersionUID = 3509392460170385605L;
-
- protected String list;
- protected String listKey;
- protected String listValue;
- protected String headerKey;
- protected String headerValue;
- protected String emptyOption;
+
+ private static final long serialVersionUID = 3509392460170385605L;
+
+ protected String list;
+ protected String listKey;
+ protected String listValue;
+ protected String headerKey;
+ protected String headerValue;
+ protected String emptyOption;
public void setEmptyOption(String emptyOption) {
- this.emptyOption = emptyOption;
- }
+ this.emptyOption = emptyOption;
+ }
- public void setHeaderKey(String headerKey) {
- this.headerKey = headerKey;
- }
-
- public void setHeaderValue(String headerValue) {
- this.headerValue = headerValue;
- }
-
- public void setListKey(String listKey) {
- this.listKey = listKey;
- }
-
- public void setListValue(String listValue) {
- this.listValue = listValue;
- }
+ public void setHeaderKey(String headerKey) {
+ this.headerKey = headerKey;
+ }
+
+ public void setHeaderValue(String headerValue) {
+ this.headerValue = headerValue;
+ }
+
+ public void setListKey(String listKey) {
+ this.listKey = listKey;
+ }
+
+ public void setListValue(String listValue) {
+ this.listValue = listValue;
+ }
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new ComboBox(stack, req, res);
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComponentTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComponentTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComponentTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ComponentTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see GenericUIBean
*/
public class ComponentTag extends AbstractUITag {
-
- private static final long serialVersionUID = 5448365363044104731L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = 5448365363044104731L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new GenericUIBean(stack, req, res);
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DatePickerTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DatePickerTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DatePickerTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DatePickerTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,13 +33,13 @@
*/
public class DatePickerTag extends TextFieldTag {
- private static final long serialVersionUID = 4054114507143447232L;
-
+ private static final long serialVersionUID = 4054114507143447232L;
+
protected String format;
protected String dateIconPath;
protected String templatePath;
protected String templateCssPath;
-
+
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new DatePicker(stack, req, res);
@@ -55,17 +58,17 @@
public void setFormat(String format) {
this.format = format;
}
-
+
public void setDateIconPath(String dateIconPath) {
- this.dateIconPath = dateIconPath;
+ this.dateIconPath = dateIconPath;
}
-
+
public void setTemplatePath(String templatePath) {
- this.templatePath = templatePath;
+ this.templatePath = templatePath;
}
-
+
public void setTemplateCssPath(String templateCsspath) {
- this.templateCssPath = templateCsspath;
+ this.templateCssPath = templateCsspath;
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DivTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DivTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DivTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DivTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -26,10 +29,10 @@
import com.opensymphony.xwork2.util.ValueStack;
public class DivTag extends AbstractClosingTag {
-
- private static final long serialVersionUID = 5309231035916461758L;
-
- protected String href;
+
+ private static final long serialVersionUID = 5309231035916461758L;
+
+ protected String href;
protected String updateFreq;
protected String delay="1";
protected String loadingText;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DoubleSelectTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DoubleSelectTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DoubleSelectTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/DoubleSelectTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see DoubleSelect
*/
public class DoubleSelectTag extends AbstractDoubleListTag {
-
- private static final long serialVersionUID = 7426011596359509386L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = 7426011596359509386L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new DoubleSelect(stack, req, res);
}
@@ -45,6 +48,6 @@
doubleSelect.setHeaderValue(headerValue);
doubleSelect.setMultiple(multiple);
doubleSelect.setSize(size);
-
+
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FieldErrorTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FieldErrorTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FieldErrorTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FieldErrorTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
*/
public class FieldErrorTag extends AbstractUITag {
- private static final long serialVersionUID = -182532967507726323L;
+ private static final long serialVersionUID = -182532967507726323L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
- return new FieldError(stack, req, res);
- }
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ return new FieldError(stack, req, res);
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FileTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FileTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FileTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FileTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see File
*/
public class FileTag extends AbstractUITag {
-
- private static final long serialVersionUID = -2154950640215144864L;
-
- protected String accept;
+
+ private static final long serialVersionUID = -2154950640215144864L;
+
+ protected String accept;
protected String size;
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Form
*/
public class FormTag extends AbstractClosingTag {
-
- private static final long serialVersionUID = 2792301046860819658L;
-
- protected String action;
+
+ private static final long serialVersionUID = 2792301046860819658L;
+
+ protected String action;
protected String target;
protected String enctype;
protected String method;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HeadTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HeadTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HeadTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HeadTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,9 +33,9 @@
*/
public class HeadTag extends AbstractUITag {
- private static final long serialVersionUID = 6876765769175246030L;
-
- private String calendarcss;
+ private static final long serialVersionUID = 6876765769175246030L;
+
+ private String calendarcss;
private String debug;
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
@@ -42,10 +45,10 @@
protected void populateParams() {
super.populateParams();
if (calendarcss != null) {
- ((Head) component).setCalendarcss(calendarcss);
+ ((Head) component).setCalendarcss(calendarcss);
}
if (debug != null) {
- ((Head) component).setDebug(Boolean.valueOf(debug).booleanValue());
+ ((Head) component).setDebug(Boolean.valueOf(debug).booleanValue());
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HiddenTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HiddenTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HiddenTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/HiddenTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Hidden
*/
public class HiddenTag extends AbstractUITag {
-
- private static final long serialVersionUID = -1124367972048371675L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = -1124367972048371675L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Hidden(stack, req, res);
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/LabelTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/LabelTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/LabelTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/LabelTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Label
*/
public class LabelTag extends AbstractUITag {
-
- private static final long serialVersionUID = 4008321310097730458L;
-
- protected String forAttr;
+
+ private static final long serialVersionUID = 4008321310097730458L;
+
+ protected String forAttr;
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Label(stack, req, res);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OgnlTool.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OgnlTool.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OgnlTool.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OgnlTool.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptGroupTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptGroupTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptGroupTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptGroupTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -27,50 +30,50 @@
import com.opensymphony.xwork2.util.ValueStack;
/**
- *
+ *
*/
public class OptGroupTag extends ComponentTagSupport {
- private static final long serialVersionUID = 7367401003498678762L;
+ private static final long serialVersionUID = 7367401003498678762L;
- protected String list;
- protected String label;
- protected String disabled;
- protected String listKey;
- protected String listValue;
-
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
- return new OptGroup(stack, req, res);
- }
-
- protected void populateParams() {
- super.populateParams();
-
- OptGroup optGroup = (OptGroup) component;
- optGroup.setList(list);
- optGroup.setLabel(label);
- optGroup.setDisabled(disabled);
- optGroup.setListKey(listKey);
- optGroup.setListValue(listValue);
- }
-
- public void setList(String list) {
- this.list = list;
- }
-
- public void setLabel(String label) {
- this.label = label;
- }
-
- public void setDisabled(String disabled) {
- this.disabled = disabled;
- }
-
- public void setListKey(String listKey) {
- this.listKey = listKey;
- }
-
- public void setListValue(String listValue) {
- this.listValue = listValue;
- }
+ protected String list;
+ protected String label;
+ protected String disabled;
+ protected String listKey;
+ protected String listValue;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ return new OptGroup(stack, req, res);
+ }
+
+ protected void populateParams() {
+ super.populateParams();
+
+ OptGroup optGroup = (OptGroup) component;
+ optGroup.setList(list);
+ optGroup.setLabel(label);
+ optGroup.setDisabled(disabled);
+ optGroup.setListKey(listKey);
+ optGroup.setListValue(listValue);
+ }
+
+ public void setList(String list) {
+ this.list = list;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public void setDisabled(String disabled) {
+ this.disabled = disabled;
+ }
+
+ public void setListKey(String listKey) {
+ this.listKey = listKey;
+ }
+
+ public void setListValue(String listValue) {
+ this.listValue = listValue;
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptionTransferSelectTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptionTransferSelectTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptionTransferSelectTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/OptionTransferSelectTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,196 +33,196 @@
*/
public class OptionTransferSelectTag extends AbstractDoubleListTag {
- private static final long serialVersionUID = 250474334495763536L;
-
- protected String allowAddToLeft;
- protected String allowAddToRight;
- protected String allowAddAllToLeft;
- protected String allowAddAllToRight;
- protected String allowSelectAll;
- protected String allowUpDownOnLeft;
- protected String allowUpDownOnRight;
-
- protected String leftTitle;
- protected String rightTitle;
-
- protected String buttonCssClass;
- protected String buttonCssStyle;
-
- protected String addToLeftLabel;
- protected String addToRightLabel;
- protected String addAllToLeftLabel;
- protected String addAllToRightLabel;
- protected String selectAllLabel;
- protected String leftUpLabel;
- protected String leftDownLabel;
- protected String rightUpLabel;
- protected String rightDownLabel;
-
-
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
- return new OptionTransferSelect(stack, req, res);
- }
-
- protected void populateParams() {
- super.populateParams();
-
- OptionTransferSelect optionTransferSelect = (OptionTransferSelect) component;
- optionTransferSelect.setAllowAddToLeft(allowAddToLeft);
- optionTransferSelect.setAllowAddToRight(allowAddToRight);
- optionTransferSelect.setAllowAddAllToLeft(allowAddAllToLeft);
- optionTransferSelect.setAllowAddAllToRight(allowAddAllToRight);
- optionTransferSelect.setAllowSelectAll(allowSelectAll);
- optionTransferSelect.setAllowUpDownOnLeft(allowUpDownOnLeft);
- optionTransferSelect.setAllowUpDownOnRight(allowUpDownOnRight);
-
- optionTransferSelect.setAddToLeftLabel(addToLeftLabel);
- optionTransferSelect.setAddToRightLabel(addToRightLabel);
- optionTransferSelect.setAddAllToLeftLabel(addAllToLeftLabel);
- optionTransferSelect.setAddAllToRightLabel(addAllToRightLabel);
- optionTransferSelect.setSelectAllLabel(selectAllLabel);
- optionTransferSelect.setLeftUpLabel(leftUpLabel);
- optionTransferSelect.setLeftDownLabel(leftDownLabel);
- optionTransferSelect.setRightUpLabel(rightUpLabel);
- optionTransferSelect.setRightDownLabel(rightDownLabel);
-
- optionTransferSelect.setButtonCssClass(buttonCssClass);
- optionTransferSelect.setButtonCssStyle(buttonCssStyle);
-
- optionTransferSelect.setLeftTitle(leftTitle);
- optionTransferSelect.setRightTitle(rightTitle);
- }
-
-
- public String getAddAllToLeftLabel() {
- return addAllToLeftLabel;
- }
-
-
- public void setAddAllToLeftLabel(String addAllToLeftLabel) {
- this.addAllToLeftLabel = addAllToLeftLabel;
- }
-
-
- public String getAddAllToRightLabel() {
- return addAllToRightLabel;
- }
-
-
- public void setAddAllToRightLabel(String addAllToRightLabel) {
- this.addAllToRightLabel = addAllToRightLabel;
- }
-
-
- public String getAddToLeftLabel() {
- return addToLeftLabel;
- }
-
-
- public void setAddToLeftLabel(String addToLeftLabel) {
- this.addToLeftLabel = addToLeftLabel;
- }
-
-
- public String getAddToRightLabel() {
- return addToRightLabel;
- }
-
-
- public void setAddToRightLabel(String addToRightLabel) {
- this.addToRightLabel = addToRightLabel;
- }
-
-
- public String getAllowAddAllToLeft() {
- return allowAddAllToLeft;
- }
-
-
- public void setAllowAddAllToLeft(String allowAddAllToLeft) {
- this.allowAddAllToLeft = allowAddAllToLeft;
- }
-
-
- public String getAllowAddAllToRight() {
- return allowAddAllToRight;
- }
-
-
- public void setAllowAddAllToRight(String allowAddAllToRight) {
- this.allowAddAllToRight = allowAddAllToRight;
- }
-
-
- public String getAllowAddToLeft() {
- return allowAddToLeft;
- }
-
-
- public void setAllowAddToLeft(String allowAddToLeft) {
- this.allowAddToLeft = allowAddToLeft;
- }
-
-
- public String getAllowAddToRight() {
- return allowAddToRight;
- }
-
-
- public void setAllowAddToRight(String allowAddToRight) {
- this.allowAddToRight = allowAddToRight;
- }
-
-
- public String getLeftTitle() {
- return leftTitle;
- }
-
-
- public void setLeftTitle(String leftTitle) {
- this.leftTitle = leftTitle;
- }
-
-
- public String getRightTitle() {
- return rightTitle;
- }
-
-
- public void setRightTitle(String rightTitle) {
- this.rightTitle = rightTitle;
- }
-
-
- public void setAllowSelectAll(String allowSelectAll) {
- this.allowSelectAll = allowSelectAll;
- }
-
- public String getAllowSelectAll() {
- return this.allowSelectAll;
- }
-
- public void setSelectAllLabel(String selectAllLabel) {
- this.selectAllLabel = selectAllLabel;
- }
-
- public String getSelectAllLabel() {
- return this.selectAllLabel;
- }
-
- public void setButtonCssClass(String buttonCssId) {
- this.buttonCssClass = buttonCssId;
- }
-
- public String getButtonCssClass() {
- return buttonCssClass;
- }
-
- public void setButtonCssStyle(String buttonCssStyle) {
- this.buttonCssStyle = buttonCssStyle;
- }
-
- public String getButtonCssStyle() {
- return this.buttonCssStyle;
- }
+ private static final long serialVersionUID = 250474334495763536L;
+
+ protected String allowAddToLeft;
+ protected String allowAddToRight;
+ protected String allowAddAllToLeft;
+ protected String allowAddAllToRight;
+ protected String allowSelectAll;
+ protected String allowUpDownOnLeft;
+ protected String allowUpDownOnRight;
+
+ protected String leftTitle;
+ protected String rightTitle;
+
+ protected String buttonCssClass;
+ protected String buttonCssStyle;
+
+ protected String addToLeftLabel;
+ protected String addToRightLabel;
+ protected String addAllToLeftLabel;
+ protected String addAllToRightLabel;
+ protected String selectAllLabel;
+ protected String leftUpLabel;
+ protected String leftDownLabel;
+ protected String rightUpLabel;
+ protected String rightDownLabel;
+
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ return new OptionTransferSelect(stack, req, res);
+ }
+
+ protected void populateParams() {
+ super.populateParams();
+
+ OptionTransferSelect optionTransferSelect = (OptionTransferSelect) component;
+ optionTransferSelect.setAllowAddToLeft(allowAddToLeft);
+ optionTransferSelect.setAllowAddToRight(allowAddToRight);
+ optionTransferSelect.setAllowAddAllToLeft(allowAddAllToLeft);
+ optionTransferSelect.setAllowAddAllToRight(allowAddAllToRight);
+ optionTransferSelect.setAllowSelectAll(allowSelectAll);
+ optionTransferSelect.setAllowUpDownOnLeft(allowUpDownOnLeft);
+ optionTransferSelect.setAllowUpDownOnRight(allowUpDownOnRight);
+
+ optionTransferSelect.setAddToLeftLabel(addToLeftLabel);
+ optionTransferSelect.setAddToRightLabel(addToRightLabel);
+ optionTransferSelect.setAddAllToLeftLabel(addAllToLeftLabel);
+ optionTransferSelect.setAddAllToRightLabel(addAllToRightLabel);
+ optionTransferSelect.setSelectAllLabel(selectAllLabel);
+ optionTransferSelect.setLeftUpLabel(leftUpLabel);
+ optionTransferSelect.setLeftDownLabel(leftDownLabel);
+ optionTransferSelect.setRightUpLabel(rightUpLabel);
+ optionTransferSelect.setRightDownLabel(rightDownLabel);
+
+ optionTransferSelect.setButtonCssClass(buttonCssClass);
+ optionTransferSelect.setButtonCssStyle(buttonCssStyle);
+
+ optionTransferSelect.setLeftTitle(leftTitle);
+ optionTransferSelect.setRightTitle(rightTitle);
+ }
+
+
+ public String getAddAllToLeftLabel() {
+ return addAllToLeftLabel;
+ }
+
+
+ public void setAddAllToLeftLabel(String addAllToLeftLabel) {
+ this.addAllToLeftLabel = addAllToLeftLabel;
+ }
+
+
+ public String getAddAllToRightLabel() {
+ return addAllToRightLabel;
+ }
+
+
+ public void setAddAllToRightLabel(String addAllToRightLabel) {
+ this.addAllToRightLabel = addAllToRightLabel;
+ }
+
+
+ public String getAddToLeftLabel() {
+ return addToLeftLabel;
+ }
+
+
+ public void setAddToLeftLabel(String addToLeftLabel) {
+ this.addToLeftLabel = addToLeftLabel;
+ }
+
+
+ public String getAddToRightLabel() {
+ return addToRightLabel;
+ }
+
+
+ public void setAddToRightLabel(String addToRightLabel) {
+ this.addToRightLabel = addToRightLabel;
+ }
+
+
+ public String getAllowAddAllToLeft() {
+ return allowAddAllToLeft;
+ }
+
+
+ public void setAllowAddAllToLeft(String allowAddAllToLeft) {
+ this.allowAddAllToLeft = allowAddAllToLeft;
+ }
+
+
+ public String getAllowAddAllToRight() {
+ return allowAddAllToRight;
+ }
+
+
+ public void setAllowAddAllToRight(String allowAddAllToRight) {
+ this.allowAddAllToRight = allowAddAllToRight;
+ }
+
+
+ public String getAllowAddToLeft() {
+ return allowAddToLeft;
+ }
+
+
+ public void setAllowAddToLeft(String allowAddToLeft) {
+ this.allowAddToLeft = allowAddToLeft;
+ }
+
+
+ public String getAllowAddToRight() {
+ return allowAddToRight;
+ }
+
+
+ public void setAllowAddToRight(String allowAddToRight) {
+ this.allowAddToRight = allowAddToRight;
+ }
+
+
+ public String getLeftTitle() {
+ return leftTitle;
+ }
+
+
+ public void setLeftTitle(String leftTitle) {
+ this.leftTitle = leftTitle;
+ }
+
+
+ public String getRightTitle() {
+ return rightTitle;
+ }
+
+
+ public void setRightTitle(String rightTitle) {
+ this.rightTitle = rightTitle;
+ }
+
+
+ public void setAllowSelectAll(String allowSelectAll) {
+ this.allowSelectAll = allowSelectAll;
+ }
+
+ public String getAllowSelectAll() {
+ return this.allowSelectAll;
+ }
+
+ public void setSelectAllLabel(String selectAllLabel) {
+ this.selectAllLabel = selectAllLabel;
+ }
+
+ public String getSelectAllLabel() {
+ return this.selectAllLabel;
+ }
+
+ public void setButtonCssClass(String buttonCssId) {
+ this.buttonCssClass = buttonCssId;
+ }
+
+ public String getButtonCssClass() {
+ return buttonCssClass;
+ }
+
+ public void setButtonCssStyle(String buttonCssStyle) {
+ this.buttonCssStyle = buttonCssStyle;
+ }
+
+ public String getButtonCssStyle() {
+ return this.buttonCssStyle;
+ }
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PanelTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PanelTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PanelTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PanelTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see Panel
*/
public class PanelTag extends DivTag {
-
- private static final long serialVersionUID = -1698805503599998611L;
-
- protected String tabName;
+
+ private static final long serialVersionUID = -1698805503599998611L;
+
+ protected String tabName;
protected String subscribeTopicName;
protected String remote;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PasswordTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PasswordTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PasswordTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/PasswordTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Password
*/
public class PasswordTag extends TextFieldTag {
-
- private static final long serialVersionUID = 6802043323617377573L;
-
- protected String showPassword;
+
+ private static final long serialVersionUID = 6802043323617377573L;
+
+ protected String showPassword;
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Password(stack, req, res);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/RadioTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/RadioTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/RadioTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/RadioTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Radio
*/
public class RadioTag extends AbstractRequiredListTag {
-
- private static final long serialVersionUID = -6497403399521333624L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = -6497403399521333624L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new Radio(stack, req, res);
}
}
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ResetTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ResetTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ResetTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/ResetTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see org.apache.struts2.components.Reset
*/
public class ResetTag extends AbstractUITag {
-
- private static final long serialVersionUID = 4742704832277392108L;
-
- protected String action;
+
+ private static final long serialVersionUID = 4742704832277392108L;
+
+ protected String action;
protected String method;
protected String align;
protected String type;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SelectTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SelectTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SelectTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SelectTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -30,10 +33,10 @@
* @see Select
*/
public class SelectTag extends AbstractRequiredListTag {
-
- private static final long serialVersionUID = 6121715260335609618L;
-
- protected String emptyOption;
+
+ private static final long serialVersionUID = 6121715260335609618L;
+
+ protected String emptyOption;
protected String headerKey;
protected String headerValue;
protected String multiple;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SubmitTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SubmitTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SubmitTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/SubmitTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -29,10 +32,10 @@
* @see Submit
*/
public class SubmitTag extends AbstractUITag {
-
- private static final long serialVersionUID = 2179281109958301343L;
-
- protected String action;
+
+ private static final long serialVersionUID = 2179281109958301343L;
+
+ protected String action;
protected String method;
protected String align;
protected String resultDivId;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/TabbedPanelTag.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/TabbedPanelTag.java?view=diff&rev=471756&r1=471755&r2=471756
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/TabbedPanelTag.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/TabbedPanelTag.java Mon Nov 6 07:01:43 2006
@@ -1,19 +1,22 @@
/*
* $Id$
*
- * Copyright 2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
package org.apache.struts2.views.jsp.ui;
@@ -32,10 +35,10 @@
* @see TabbedPanel
*/
public class TabbedPanelTag extends AbstractClosingTag {
-
- private static final long serialVersionUID = -4719930205515386252L;
- public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
+ private static final long serialVersionUID = -4719930205515386252L;
+
+ public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
return new TabbedPanel(stack, req, res);
}