Hi,
i'm trying to migrate my application from Wicket 1.4 to 6.13.0 and stuck on
a compilation error related to DataTables.
what my code does is extend the Datatable class. But when i do so it gives
me a compilation error saying,
"getPageCount() in DataTable cannot implement getPageCount() in Ipa
Hi François,
Thanks for the quick reply. I'm fairly new to wicket and didnt understood
what you meant clearly. . But i'm not calling this getPageCount() method
from my backend. and also the error comes in class definition.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.
Hi,
i'm working on a code which was not written by me. It seems my classes
extending the Datatable class doesnt implement the getPageCount() method.
But when i try to override the method netbeans shows me a signature with a
int return type on the suggession list.
Not sure what's causing this.
Hi,
the compile time error netbeans gives me is
getPageCount() in DataTable cannot implement getPageCount() in Ipageable
return type long is not compatible with int
this is my class definition.
class MyTable extends DataTable {
}
im not at the liberty to post the whole code in here since
Hi,
yes wicket-extentions is also 6.13.0
org.apache.wicket
wicket-extensions
6.13.0
thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Error-with-getPageCount-when-extending-the-Datatable-in-Wicket-6-13-tp4663896p4663907
Hi,
it seems that i was able to fix the issue. there was a old version of wicket
included because of another dependency. excluding that dependency did the
trick.
Thanks a lot for your help guys.
Best Regards,
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Error-
Hi,
i'm trying to migrate my application from Wicket 1.4 to 6.13 and getting a
compilation error when trying to add a InputHintFormBehavior to a form
element.
private final Form form = new Form();
form.add(new InputHintFormBehavior(component.getMarkupId()));
how this is achieved in wicket 6.
T
Hi,
got the issue fixed. it was due to a error in my own class. thanks for the
reply.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-add-InputHintFormBehavior-to-a-form-element-tp4663928p4663931.html
Sent from the Users forum mailing list archive at Nabble.co
hi,
i'm trying to migrate my app from wicket 1.4 to 6.13. and it seems
AjaxPagingNavigator.newNavigation method has been deprecated.
what should be used in wicket to get the same functionality.
Thanks in advance.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ho
/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java?source=cc#L124
> It is not deprecated...
>
> Martin Grigorov
> Wicket Training and Consulting
>
>
> On Fri, Jan 24, 2014 at 11:01 AM, chathuraka.waas <[hidden
> email]<http
Hi,
i'm trying to migrate my application from 1.4 to 6 and stuck in a problem.
the current code for setting content type and other parameters for response
is,
requestCycle.getResponse().setContentType("application/json");
requestCycle.getResponse().setCharacterEncoding("UTF-8");
requestCycle.g
Hi,
thanks for the replies.
((WebResponse)
requestCycle.getResponse()).setContentType("application/json"); did resolve
the compiler issues.
but i cant find a setCharacterEncoding("UTF-8"); method in web response. is
there a way to handle this.
Thanks and regards,
--
View this message in con
gt;
> On Fri, Jan 31, 2014 at 9:48 AM, chathuraka.waas
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=4664089&i=0>>wrote:
>
>
> > Hi,
> >
> > thanks for the replies.
> >
> > ((WebResponse)
> > requestCycle.getResponse()
Hi,
i'm trying to migrate my application from 1.4 to 6.13. and i was able to
iterate through the parameter list in 1.4 as given below.
for (Map.Entry entry : parameters.entrySet()) {}
but in wicket 6.13 this is not possible. how can this be achieved.
Thanks in advance.
--
View this message i
ing and Consulting
>
>
> On Fri, Jan 31, 2014 at 11:01 AM, chathuraka.waas <[hidden
> email]<http://user/SendEmail.jtp?type=node&node=4664096&i=0>
> > wrote:
>
> > Hi,
> >
> > i'm trying to migrate my application from 1.4 to 6.13. and i was ab
Hi,
i'm trying to migrate my application wicket 1.4 to 6.13 and my earlier code
has this code snippet to get the button value.
frm.getRootForm().findSubmittingButton().getInputName();
but this is not possible with 6.13. is there a way to get the submit buttons
value for comparison.
Thanks in a
Thanks martin. It fixed the compilation issues for me. should try out
deploying the artifact.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Retrieving-the-submit-button-value-tp4664137p4664139.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
i'm trying to migration my application from wicket 1.4 to 6.13 and it seems
previously worked messages are no longer working.
my code uses somehting like this to add messages,
fatal(message);
can anyone describe what fatal() does since api documentation doesnt
describe it much. and also if
Hi,
thanks for the reply. there are no compilation errors. the functionality
doesnt work as it used to be.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Component-fatal-String-message-doesnt-work-in-wicket-6-tp4664785p4664787.html
Sent from the Users forum mailing
Hi,
i'm trying to migrate from wicket 1.4 to 6.13 and it seems i cannot place
fragments inside the form elements. i get an markupIdNotFound Exception. can
anyone help me out with this issue.
thanks in advance.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-
Hi Martin,
Thanks for your guidance on how to post a question.
My scenario is like this.
i'm having a webpage where i have a panel inside it and then inside the
panel i have a form where i'm placing a fragment conditionally.
This the code for adding the panel to the page.
This is the code
Thank Martin. it works fine now :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-place-a-fragment-inside-a-form-element-tp4664841p4664847.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi,
i'm trying to migrate my application from 1.4 to 6.14. i have a class
extending the DataTable and it seems not working after the migration.
i tried replacing the extended class with the DataTable class and it worked
fine.
this is my code for extending the DataTable class.
public class Te
Hi Thanks for your replies.
what i ment from not working was it doesnt give any compilation errors or
runtime errors but simply it doesnt show the table as in the html.
I tried implementing the basics of DataTable just to try out. here's my
code.
List> columns = new
ArrayList>();
col
hi,
this is my markup for the panel
http://wicket.apache.org/";>
and the generated markup is this,
Name
Name
No Records Found
Regards,
Got the basic datatable to show in the page. Thanks Martin.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Extending-the-DataTable-class-doesnt-work-tp4664952p4664961.html
Sent from the Users forum mailing list archive at Nabble.com.
hi,
i'm still trying to fix my initial issue where i have a customized DataTable
class. I have a panel and inside that i have the table i'm extended from the
Data Table.
the code for my extended table is this.
public class OfferTable extends DataTable {
private static final lo
hi,
thanks for your reply. I tried making the to a
element in the panel markup.
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=blob_plain;f=wicket-core/src/main/resources/META-INF/wicket-1.5.xsd;hb=master";>
it didnt
Hi,
i'm still trying to fix my issue. Even though most of the issues are fixed
there is one small glitch i cant get my way around.
Given my business scenario i need to be able to add a empty row to the table
after its been rendered by wicket.
In wicket 1.4 this was achieved by,
hi,
i'm trying to migrate my applicatioin to 6.14,
i'm having a form which has a AjaxSubmitLink. i have attached a form
validator to the form as well. for debugging purposes i have placed debug
points at validator method,inside onSubmit() of AjaxSubmit link and inside
onError() of AjaxSubmitLin
Hi,
i'm trying to migrate my app to wicket 6.14 and find it difficult to show
the error messages in my feedback panel.
i'm working on a project that has been for a long time so i'm not sure if
there might be code thats disabling the error messages.
what i'm trying to do is add a feedback panel
Hi Martin,
i'm bit new to wicket and actually dont know what you mean by using ajax to
show messages.
given below is my code for submit button if it helps.
FMAjaxSubmitLink publishButton = new FMAjaxSubmitLink("Button") {
private static final long serialVersionUID = 1L;
Hi Martin,
Thanks got it working. And thanks for the materials too.
Regards,
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Need-to-refresh-the-page-to-see-the-errors-on-feedbackpanel-tp4665139p4665145.html
Sent from the Users forum mailing list archive at Nabbl
Hi,
i have a form which as few text field elements. and when i submit the form
it works fine. but after submit if i go and refresh the page it gives me an
expception.
my java and html code is below.
TextFieldfirstName = new TextField("firstName", false, 50);
firstName.setOutputMarkupId(true);
f
Hi,
i got it fixed by using the following code.
fragment.add(new FormComponentFeedbackLabel("firstName.feedback",
firstName));
but now when i refresh the page instead of clearing the text field values
they are retained. and any error message i've appended is also retained.
how can i fix this
Hi,
As a customer request my application domain is changing. and i need to show
a popup message box saying that you are being redirected to the new site
since some users can bookmark the older url.
The application support team has configured both old and new urls to be
pointed to the same applic
Hi,
Thanks for the reply. I read the api documentation on RedirectPage. my
question is how can i intercept the request which was sent from the old url.
as an example
my old url for login is : http://abc.com/login
my new url is: http://def.com/login
if both abc.com and def.com are
hi,
i'm trying to add a navigation bar to my table. but its not getting
displayed. I have a customized data table and i'm trying to add my
customized navigation bar to it. Here's my code. Please note this
NavigationToolbar class is not the one in API.
in Customized tabel.
addBottomToolbar(new
Hi Martin,
my markup in the customizedtable.html is like this,
but in runtime it doesnt create any markup. when i inspected with firebug it
shows as,
regards,
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Customized-Navigati
hi martin,
updated the markup as u mentioned,
but its still not working. its generating the following,
--
View this message in context:
Hi Martin,
Thanks for your advices and help on this matter. as you suggessted i added
the following markup.
Hi,
was able to resolve the issue by adding following markup.
First | Previous | Next
| Last
[navigator-label]
Thanks for all the help guys.
Regards,
--
View
Hi,
i'm trying to migrate my application from wicket 1.4 to 6.14. previously i
was able to place a div inside a table and attach it with a
AjaxFallbackHeadersToolbar.
in 1.4 i was able to place the AjaxFallbackHeadersToolbar inside a tr
element i wanted inside a table. but with 6.14 its changed.
hi,
i'm trying to open a modal window on page load to show some information to
the user. i found this link specifying how to create a modalwindow class
that gives this behavior.
https://cwiki.apache.org/confluence/display/WICKET/Modal+Windows
but in wicket 6 getWindowOpenJavascript() method is n
hi,
my bad the method is there. but now i'm getting a exception when creating
the modal window and from the stack trace its hard to figure out whats the
issue.
here is my code.
on page load.
emailWarningModalWindow = new
EmailWarningModalWindow(("emailwarningModal"));
add(emailWarningModalWi
Hi,
Thanks for the info. it did fix my issue.
Regards,
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Opening-a-Modal-window-on-page-load-in-Wicket-6-tp4666083p4666111.html
Sent from the Users forum mailing list archive at Nabble.com.
46 matches
Mail list logo