Input data can easily be set while testing wicket pages using FormTester.
However, I am having difficulty mocking input data input when testing
Panels. The panels can be started using the TestPanelSource as follows :
wicketTester.startPanel(new TestPanelSource(){
private static
As I had mentioned, the column values are not representative of the values of
any property so that would not work
asfernandes wrote:
nitinkc wrote:
I have a requirement to sort a column of a Datatable which does not have
any
property values. Sorting property columns is easy using
I have a requirement to sort a column of a Datatable which does not have any
property values. Sorting property columns is easy using the
getSortProperty() method. However in this case, I am populating the values
in the column using the
populateItem(org.apache.wicket.markup.repeater.Item
I would like to remove the default choose one option from the
DropDownChoice component.
Does anyone know how to do this. Thanks.
--
View this message in context:
http://www.nabble.com/Dropdownchoice-without-default-option-%22choose-one%22-tp17782776p17782776.html
Sent from the Wicket - User
)). Any ideas?
Michael O'Cleirigh wrote:
Hi nitinkc,
Calling setNullValid (false) on the drop down choice should get rid of
the default choose one text.
If the ddc model should always have a value defined then you could set
the model object to be for example the first choice.
e.g
Igor,
Any updates on this??
thanks!
nitinkc wrote:
Here is the stack trace:
Root cause:java.lang.IllegalStateException: This behavior is already bound
to component. An instance of this behavior cannot be reused between
components. Bound component: [MarkupContainer [Component id = test
On Wed, Jun 11, 2008 at 6:14 PM, nitinkc [EMAIL PROTECTED] wrote:
I would like to remove the default choose one option from the
DropDownChoice component.
Does anyone know how to do this. Thanks.
--
View this message in context:
http://www.nabble.com/Dropdownchoice-without-default-option
)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
I am using: wicketstuff-minis-1.3.0-SNAPSHOT.jar
igor.vaynberg wrote:
can you paste the stack trace please? are you using latest trunk?
-igor
On Tue, Jun 3, 2008 at 6:38 AM, nitinkc [EMAIL
I need an example of wicketstuff-minis' veil behavior. I added this to one of
my components but keep getting the error that the behavior is already bound
to another component and cannot be reused.
All I am doing is:
Button button = new Button(test);
button.add(new Veil());
form.add(button);
I need to add a behavior(onclick event) to a row of a datatable
implementation. So this will be invoked whenever the user clicks on any row
of the datatable. Also, any ideas on how to change the mouse pointer icon
while on the row. Thanks!
--
View this message in context:
I have added a AjaxFormComponentUpdatingBehavior to a DropDownChoice
component to process the onchange request. I would like to show an ajax
busy indicator while the request is processed. Any ideas?
AjaxFormComponentUpdatingBehavior updateBehavior = new
I am looking to unit test the following:
form.add(new AjaxSubmitLink(submitLink){
private static final long serialVersionUID =
3239568065916265026L;
@Override
protected void onSubmit(AjaxRequestTarget
:51 AM, nitinkc [EMAIL PROTECTED] wrote:
I am looking to unit test the following:
form.add(new AjaxSubmitLink(submitLink){
private static final long serialVersionUID =
3239568065916265026L;
@Override
that
onSubmit(AjaxRequestTarget target, Form form)
is infact getting called. Any ideas?
jwcarman wrote:
Can those arguments be put into PageParameters?
On Thu, May 22, 2008 at 11:24 AM, nitinkc [EMAIL PROTECTED] wrote:
That won't work for me b'cos I am also passing constructor arguments
Timo,
I am trying to achieve something similar. How did you manage to assign the
TestingWebApplication to your WicketTester?? Thanks!
mclev wrote:
mclev wrote:
4. Can I test that the response page is what I expect when when I first
render and when i submit my form
So, call me
Seems like bookmarkable setResponsePage will not work either. Check:
http://www.nabble.com/How-to-test-setResponsePage-td16802302.html
nitinkc wrote:
I am not sure, but would rather not. I believe this is a standard way to
create pages in Wicket(passing required arguments in constructors
Currently the DataGrid outputs a datatable with column headers and a message
'No Records Found' if the datalist is empty. Does anyone know if it is
possible to render the datatable only if the list is not empty? Setting the
visibility to 'false' is not an option as the markup is not rendered in
That works. Thanks Matej!
Matej Knopp-2 wrote:
setVisible is possible, but you have to call
setOutputMarkupPlaceholderTag(true) on it.
-Matej
On Fri, May 16, 2008 at 6:44 PM, nitinkc [EMAIL PROTECTED] wrote:
Currently the DataGrid outputs a datatable with column headers
Does anyone know if it is possible to disable just the date part in the
DateTimeField component. I have a requirement to allow to user to only edit
the hours and minutes.
Is there another component/way to achieve this??
--
View this message in context:
19 matches
Mail list logo