Hi, does anybody know what might cause this?

java.lang.ClassFormatError: Repetitive field name/signature in class file com/sac/cp/tapestry/freead/ViewNavigation$Enhance_17

I have a ViewNavigation class extended from BaseComponent:

/*
*   ViewNavigation.jwc
*/
...
<component-specification class="mypackage.ViewNavigation"
   allow-body="no"
   allow-informal-parameters="yes">
<description>add a description</description> <parameter name="onEditClick" direction="in" type="org.apache.tapestry.IActionListener" property-name="editListener"/> <parameter name="onRemoveClick" direction="in" type="org.apache.tapestry.IActionListener" property-name="removeListener"/> <parameter name="onBackClick" direction="in" type="org.apache.tapestry.IActionListener" property-name="backListener"/> <property-specification name="editListener" type="org.apache.tapestry.IActionListener"/> <property-specification name="removeListener" type="org.apache.tapestry.IActionListener"/> <property-specification name="backListener" type="org.apache.tapestry.IActionListener"/> </component-specification>

/*
*   ViewNavigation.java
*/
package mypackage;
import org.apache.tapestry.BaseComponent;
import org.apache.tapestry.IActionListener;
import org.apache.tapestry.IRequestCycle;

public abstract class ViewNavigation extends BaseComponent {
public abstract void setEditListener(IActionListener value);
   public abstract IActionListener getEditListener();
public abstract void setRemoveListener(IActionListener value);
   public abstract IActionListener getRemoveListener();
public abstract void setBackListener(IActionListener value);
   public abstract IActionListener getBackListener();
public void performBackAction(IRequestCycle cycle) {
       getBackListener().actionTriggered(this.getContainer(), cycle);
   }
}

/*
*   Form.html
*/
...
<form jwcid="@Form">
   ...
<span jwcid="@ViewNavigation" onBackClick="ognl:listeners.backListener"/>
</form>

thanks for any help,
--
Oleksandr Yuzikov




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to