one feature i wanted but havent had time to add in yet was when you create a panel (w/out usign the wizard) you should be able to click on the html tab and have it create an empty html file for you, same for properties.
-Igor
On 9/19/06, Joni Freeman <[EMAIL PROTECTED]> wrote:
In addition to a few bug fixes this version contains following
improvements and new features.
- Improved preview
Preview pane is now wicket:preview attribute aware. There's no limit how
deep the previewed hierarchies can be. Preview pane can also inline
non-packaged CSS and relocate images. A common way for instance is to
keep some files in src/webapp/css/ and src/webapp/images/. The context
root and css files can be configured for the plugin from Properties ->
Wicket. If configured, the preview pane will include them. WicketEditor
adds toggle buttons to toolbar to enable/disable these features.
- Improved Selenium support
Selenium integration contains 5 new methods to make it easier to do more
robust assertions:
Component getComponent();
Component getComponent(String path);
ListItem getComponent(ListView list, int index);
Component getComponent(ListView list, int index, String pathInItem);
String id(String path);
Examples:
public void testSearchResults() {
openSelenium(createFactory());
getSelenium().type("query", "wicket");
getSelenium().click("submit");
getSelenium().waitForPageToLoad("5000");
ListView listView = (ListView) getComponent("result:listing");
// Assert that model contains correct values.
List<?> results = listView.getList();
assertEquals(Arrays.asList("wicket", "rocks"), results);
// Assert that HTML contains correct elements
for (Iterator<Component> i = listView.iterator (); i.hasNext(); )
{
assertTrue(getSelenium().isElementPresent(id(i.next().getPageRelativePath())));
}
}
- Simple Form generator
A form Java code can be generated from provided Html markup file. Select
a form markup from Html file, right click and select 'Generate Wicket
form code'. This will open a popup containing a sample implementation of
the form. This can be copy-pasted to a destination Java file and
finished there.
Links:
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench
http://www.laughingpanda.org/jira/browse/WB
http://www.laughingpanda.org/~inhuman/wicket-bench/docs/features-0.4.html
Joni
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop