But when I run build.bat, I get the following 2 errors..
***************************************************************************************
build:
[javac] Compiling 2 source files to D:\Jameleon\jameleon-test-suite-3.3-M4\jameleon-test-suite\Build
[javac] D:\Jameleon\jameleon-test-suite-3.3-M4\jameleon-test suite\src\java\EN_Tags\GetAllComboboxTag.java:26: cannot find symbol
[javac] symbol : class IHTMLSelectElement
[javac] location: class EN_Tags.GetAllComboboxTag
[javac] IHTMLSelectElement s_element;
[javac] ^
[javac] C:\Documents and Settings\Bipin\Desktop\Jameleon\jameleon-test-suite
-3.3-M4\jameleon-test-suite\src\java\EN_Tags\GetAllComboboxTag.java:30: cannot f
ind symbol
[javac] symbol : class IHTMLSelectElement
[javac] location: class EN_Tags.GetAllComboboxTag
[javac] s_element = (IHTMLSelectElement)li.next();
[javac] ^
[javac] 2 errors
hello,
I want to create a custom tag.
This is the class that i have created.
***************************************************************************************
package EN_Tags;
import net.sf.jameleon.plugin.jiffie.IEFunctionTag;
import java.util.*;
public class GetAllComboboxTag extends IEFunctionTag{
protected String formIdentifier;
public void testBlock()
{
List comboBoxes = getIHTMLElements("select","name","documentSymbols");
ListIterator li = comboBoxes.listIterator();
IHTMLSelectElement s_element;
while(li.hasNext())
{
s_element = (IHTMLSelectElement)li.next();
}
}
}
***************************************************************************************
But when I run build.bat, I get the following 2 errors..
***************************************************************************************
build:
[javac] Compiling 2 source files to D:\Jameleon\jameleon-test-suite-3.3-M4\jameleon-test-suite\Build
[javac] D:\Jameleon\jameleon-test-suite-3.3-M4\jameleon-test suite\src\java\EN_Tags\GetAllComboboxTag.java:26: cannot find symbol
[javac] symbol : class IHTMLSelectElement
[javac] location: class EN_Tags.GetAllComboboxTag
[javac] IHTMLSelectElement s_element;
[javac] ^
[javac] C:\Documents and Settings\Bipin\Desktop\Jameleon\jameleon-test-suite
-3.3-M4\jameleon-test-suite\src\java\EN_Tags\GetAllComboboxTag.java:30: cannot f
ind symbol
[javac] symbol : class IHTMLSelectElement
[javac] location: class EN_Tags.GetAllComboboxTag
[javac] s_element = (IHTMLSelectElement)li.next();
[javac] ^
[javac] 2 errors
BUILD FAILED
***************************************************************************************
Do I have to import any more files.
Please help me solve this problem.
Thanks.
You need to import the Jiffie packages. Depending on which version you are using, you could do:
import com.tapsterrock.jiffie.*;
Or for the latest RC1 (which will change back in RC2):
import net.sf.jiffie.*;
thanks..
I imported "import com.tapsterrock.jiffie.*; "
its workin now
thanks a lot