Hi,
I am wondering how to cover the junit cases for the webpages/ panel as the
constructors are only taking the id's , but in the constructors of the
webpages/panel i have created the some methods for ex:
My Panel extends Panel{
MyPanel(String id){
super(id);
buildPage();
}
private void
Thanks, it is working but some wierd thing is happening.
I have checked the values in the object also it is getting populated but
just one component is visible otherwise none.
PriceVO priceVO
if(priceVO.getOnSalePrice()!=null)
add(new Label(onSalePrice, +
Hi,
I need to get the HttpServletRequest object in My Application class. In the
WebPage we can get from
((HttpServletRequest) ((ServletWebRequest)
getRequest()).getContainerRequest())
but its not working in Application class. Please suggest any ideas.
--
View this message in context:
I am getting java.lang.NullPointerException
((ServletWebRequest)RequestCycle.get().getRequest()).getContainerRequest()
.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-get-HttpServletRequest-in-My-Application-class-tp4651189p4651196.html
Sent from the
Hi,
I am newbie to Wicket,My requirement is to show some components based on the
conditions.
I have written on WebMarkUpContainer and in that I am add the components
based on the conditions, but on html i have added that wicket:id.
It is throwing MarkupException Unable to find component with id
I was reading about setEnable(false), will that will be sufficient for my
requirement ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/enabling-and-disabling-the-components-tp4651107p4651108.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
I tried this .
public class MyContainer extends WebMarkupContainer{
public MyContainer(String id, MyVO myVO) {
super(id);
if(myVO.getName()!=null)
add( new Label(fName, myVO.getName()));
else
add( new Label(fName, )).setVisible(false);
}
public MyContainer(String id){
Can you give a example of include jsp with
g.apache.wicket.markup.html.include.Include
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-include-jsp-into-wicket-htmls-tp4650615p4650617.html
Sent from the Users forum mailing list archive at Nabble.com.
custom filter is extended by the other framework which filter we cannot see
as it is Out of the Box.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Form-Submission-problem-tp4650575p4650614.html
Sent from the Users forum mailing list archive at Nabble.com.
I a newbie to Wicket, please can anyone guide how to include a jsp in the
wicket.
I have existing jsp's I need to include it. i am getting this jsp's
dynamically from services.
What I did is created a class extending WebMarkContainer.
in my class i did like this
Hi ,
I have inserted my custom filter in which i have specified url-pattern as
/*, but now the form submission is not going just getting a blank page,
Please advise how to handle this. I dont see any Exceptions on my logs too.
Thanks,
--
View this message in context:
I dont have Wicket Filter in my web.xml
though i can see this
servlet-nameWicketApplication/servlet-name
servlet-classorg.apache.wicket.protocol.http.WicketServlet/servlet-class
I am assuming this will call WicketFilter intern.
But before this i have make sure my filter is being
Hi,
We are using Jboss app server,
we wrote a filter each wicket html's should pass through this filter(which
is a j2ee servlet filter) and we added this filter/filter mapping in the
web.xml for *.html ---url-pattern .
But still this Request is not going through this filter. Wondering why ? is
Thanks for the quick reply ,
yes i checked FilterChain.doFilter(req,res), and i have verified also the
url pattern in web.xml
filter
filter-nameMyFilter/filter-name
filter-classcom.xyz.util.MyFilter/filter-class
/filter
filter-mapping
filter-nameMyFilter/filter-name
Hi,
I was wondering we can write a custom servlet filter , and in that filter
call the servlet chain.
If so what would be Request and Reponse Objects if I dont write any
Request/Response Wrappers, and how to get that.
Thanks,
--
View this message in context:
so in this case i can get the Request/Response object by
(WebRequest) getRequestCycle().getRequest() and (WebReponse)
getRequestCycle().getResponse() right?
and all the parameters or cookies can get from the WebRequest which will be
passing thorough the Servlet Chain .
--
View this message
Hi,
I was trying to add a cookie
getWebRequestCycle().getWebResponse().addCookie()
but couldnt find getWebRequestCycle() in 1.5.5.
i found getRequestCycle() but did not find addCookie in getResponse().
Please suggest how to add/get cookie in 1.5.5
Thanks
--
View this message in
Thank you guys , i got it what i was looking for.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650175.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
we are using Wicket as a Presentation layer, so we need to sync up with the
Session of the Business Layer framework, we kept this in the same WAR.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134.html
Sent from the Users forum mailing
Yes taking Wicket Session and Spring Session and maintaining one session
across layers (presentation and business layers)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650141.html
Sent from the Users forum mailing list archive at
Awesome thanks alot !!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/handling-user-agent-tp4649565p4649658.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe,
just wondering how to implement it , i tried the following code not sure am i
doing correct,
public class MyMapper implements IRequestMapper {
private final IRequestMapper delegate;
public MyMapper(IRequestMapper delegate) {
this.delegate = delegate;
}
public
Hi all,
I wondering what will be the difference if i use
*((WebRequest)RequestCycle.get().getRequest()).getHeader(User-Agent);*
or
*WebSession.get().getClientInfo().getUserAgent();*
As the client info per session would be same .
and If I need to control this on the WebApplication level ,
Question was how to handle user agent on the application level , i dont wanna
write same code on each page to check the user agent then render the
appropriate page
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/handling-user-agent-tp4649565p4649584.html
Sent from
i have written some classes to access items in Jackrabbit repository and
as Edmund mentioned it was specific to my node types and repository.
Alternatively you can look at Brix http://code.google.com/p/brix-cms/
Cheers
Dipu
On Mon, Oct 13, 2008 at 4:22 PM, Edmund Urbani [EMAIL PROTECTED]
i am using the version 1.5.0_04
thanks
Dipu
On Sun, Aug 31, 2008 at 12:39 PM, Timo Rantalaiho [EMAIL PROTECTED]wrote:
On Tue, 26 Aug 2008, wicket user wrote:
when i try to build the wicket from the wicket-1.4-m3 source its failing
with the following message
What Java version do you use
are using? The latest is
IIRC updated 16 so your JDK/JRE is really outdated. Please update your
JDK first before complaining. And when it still doesn't work let us
know.
-Matej
On Mon, Sep 1, 2008 at 3:34 PM, wicket user [EMAIL PROTECTED]
wrote:
i am using the version 1.5.0_04
thanks
Dipu
Hi,
when i try to build the wicket from the wicket-1.4-m3 source its failing
with the following message
\wicket-1.4-m3\wicket\src\main\java\org\apache\wicket\util\tester\FormTester.java:[600,20]
inconvertible types
found : org.apache.wicket.markup.html.form.FormComponentcapture of ?
required:
improve our documentation, let us know.
wicket user-2 wrote:
i am very impressed with what i see there,
i had created a simple POC in my company for managing the contents in our
wicket apps,
i can see pretty much everything i used here like jackrabbit, code
mirror,
rich editor
help would be greatly appreciated
Thanks
T
--
View this message in context:
http://www.nabble.com/listchoice-filtered-by-textfield-ajax-help-tp18384359p18384359.html
Sent from the Wicket - User mailing list archive at Nabble.com
cool , sounds very good
On Tue, Jul 8, 2008 at 11:06 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
a few of us have been quietly working on a wicket/jcr cms called Brix
for a while now. it is almost at a point where we are ready to release
a beta, just waiting for wicket-m3 build to go official.
i am very impressed with what i see there,
i had created a simple POC in my company for managing the contents in our
wicket apps,
i can see pretty much everything i used here like jackrabbit, code mirror,
rich editor etc
looking forward for the release and some more documentation.
you guys
add the DataTable in a WebmarkupContainer and repaint the container
cheers
dipu
On Thu, Jun 19, 2008 at 4:27 PM, Manuel Corrales [EMAIL PROTECTED]
wrote:
Hi, i have an input and a link. The link is an ajax link, and then i want
to
update a table on the same page according to the input.
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1) Generifying* Wicket
[X ] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
2) How strongly do you
Hi Lars,
Very good site, i like it its, pretty cool
Dipu
On Wed, May 14, 2008 at 9:36 AM, lars vonk [EMAIL PROTECTED] wrote:
Hi all,
A new Wicket site is born! It's a Dutch site on which you can search for
day
trips and such. See: www.eropuit.nl.
Thanks to the user- and dev-group for
Hi,
Can we please update the wicket-contrib-tinymce project to use the latest
version of tinyMCE.
I would like to use the HTML Source Editor Syntax Highlighting Word Wrap
using CodeMirror mentioned in this thread
http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=31049#p31049
I grabbed the
i am more than willing to do it if i have the permission to do it.
regards
-dipu
2008/4/16 Uwe Schäfer [EMAIL PROTECTED]:
wicket user schrieb:
Can we please update the wicket-contrib-tinymce project to use the latest
version of tinyMCE.
+1
I grabbed the wicket-contrib-tinymce
://www.nabble.com/wicket-support-for-page-customisation-at-runtime-tp16447326p16447326.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi everyone,
+1
Regards
Dipu
-of-a-panel-tp15711163p15711163.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
there is a method called findSubmittingButton()
regards
Dipu
On Feb 20, 2008 10:41 AM, Pierre Gilquin [EMAIL PROTECTED] wrote:
hi all,
I try to have to have 2 buttons in a form. This form is used in an ajax
window.
in html, they are 2 standards buttons
input type=submit value=Do Task1
-tp15587166p15587166.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Take a look at the FormInput example in wicket example projects.
Wicket examples have everything to get you started.
Regards
Dipu
On Jan 14, 2008 8:58 AM, j.bokobza [EMAIL PROTECTED] wrote:
Hello
I'm new with wicket and I'm looking for samples of basics forms.
I didn't find how to
-tp14800898p14800898.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in context:
http://www.nabble.com/How-do-I-call-my-javascript-after-each-wicket-partial-update--tp14759508p14759508.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
done, *Key:* *WICKET-1271https://issues.apache.org/jira/browse/WICKET-1271
Regards
Dipu
*
On Jan 8, 2008 5:37 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
yes please, and attach a patch
-igor
On Jan 8, 2008 2:31 AM, wicket user [EMAIL PROTECTED] wrote:
Hi Igor,
Thank you very much
On Jan 4, 2008 8:53 AM, wicket user [EMAIL PROTECTED] wrote:
Hi all,
I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup,
I cant add the behaviour to the Radio as its not a FormComponent.
Adding the behaviour to RadioGroup is not working as well.
Is there any work
Hi all,
I am trying to add AjaxFormComponentUpdateBehavior to Radio/RadioGroup,
I cant add the behaviour to the Radio as its not a FormComponent.
Adding the behaviour to RadioGroup is not working as well.
Is there any work around to get it working.
Regards
Dipu
override getVariation() in your page to get the appropriate html/markup
picked.
regards
-dipu
On Dec 14, 2007 9:43 AM, qinyi lai [EMAIL PROTECTED] wrote:
Hi
I wanne to dynamic load a HTML file to mapping a JAVA class page!
a JAVA class file will have many HTML files(1:n mapping), and in
You don't have to worry about the path.
You should name your file like YourWebPage_variation.html and place the file
where you would place it in normal case.
For example If the variants of the page are
YourWebPage_1.html, YourWebPage_2.html, YourWebPage_n.html
,.,YourWebPage_n.html
String
to an option object.
johan
On Dec 11, 2007 1:47 PM, wicket user [EMAIL PROTECTED] wrote:
Hi,
This is more a question of understanding models and input of a
particular
component, lets say DropDownChoice (DDC) for example.
You give it a model initially on creation, this has nothing
Hi,
This is more a question of understanding models and input of a particular
component, lets say DropDownChoice (DDC) for example.
You give it a model initially on creation, this has nothing to do with, in
the case of a DDC the selected values as that is supplied by the Choices
paramater in the
via ajax.
Sorry for the amount of code, but it's the only way I think to try and
describe what I've currently got.
Thanks
Andrew
--
View this message in context:
http://www.nabble.com/Using-ajax-to-update-a-panel-tf4949239.html#a14170394
Sent from the Wicket - User mailing list archive
to be able to refresh the values from the database.
Should I be creating a Model overriding the setObject to do this?
wicket user wrote:
Hi Andrew,
So what's actually happening? Anything? Exceptions or does the image
just
stay the same?
On 05/12/2007, Andrew Moore [EMAIL PROTECTED
:52)
at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
Any thoughts?
On Dec 5, 2007 1:00 PM, James Perry [EMAIL PROTECTED] wrote:
Bare with me. I am just redeploying it.
On Dec 5, 2007 12:56 PM, wicket user [EMAIL PROTECTED] wrote:
I'm getting a 503,
HTTP
upgrading 1.3 RC1 fixed this by the way
On 20/11/2007, wicket user [EMAIL PROTECTED] wrote:
Hi,
It's been a while since I've had to come and check the mailing list out
(always a good sign of a framework). Anyway 300 unit tests down and the
first version is live, that's the good part
.
I tried to use the new wicket 1.3 wizard but got the same problem
if anyone has any idea please let me know.
Thanks
--
View this message in context:
http://www.nabble.com/annoying-alert-message-while-closing-modal-window-with-wizard-tf4938532.html#a14136120
Sent from the Wicket
Hi all,
I'm now on the second phase of the project I'm working on and starting to
find cases where I'm repeating code which means one thing : refactor.
As an example I've got two dropdowns that select make and model with a bit
of ajax to populate the second dropdown, these are always going to be
Hi,
It's been a while since I've had to come and check the mailing list out
(always a good sign of a framework). Anyway 300 unit tests down and the
first version is live, that's the good part, the bad part is that I'm
finding a few things I've obviously missed and I'm getting a few wierd
Hey,
Are there any South African wicket users, if so where are you base, JHB or
CT?
Cheers
Simon
a look at JDave
(jdave.org), which is a nice project for test lovers. I also know that
we have several folks that attain nearly 100% test coverage of their
user interface (during a visit about 18 months ago to the KNAW they
showed me).
Martijn
On 9/11/07, wicket user [EMAIL PROTECTED] wrote
made my testing a lot more simple now.
Thanks again
Simon
On 12/09/2007, cwilkes [EMAIL PROTECTED] wrote:
wicket user wrote:
1) I've got a page that gets hit by an outside credit card merchant once
they have validated the card, they post me my transaction ID along with
a
whole host
Ok,
Two questions really:
1) I've got a page that gets hit by an outside credit card merchant once
they have validated the card, they post me my transaction ID along with a
whole host of other parameters. Getting them from the request is easy in the
page itself but trying to unit test it is
Hi,
My scenario is the following, I've got a page that allows a user to send an
sms to themselves every 20 seconds to a maximum of two times just incase
something in the network stopped the sms from getting to them in the first
place.
I have an ajax timer that enables the resend button after the
improvements required for the issue description, first JIRA issue
raised.
Thanks
Simon
On 03/09/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* wicket user:
I'm trying to test a form submission with SubmitLink, test code below:
tester.setParameterForNextRequest
...
Thanks again,
Simon
On 05/09/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
* wicket user:
I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932
Thanks!
Jean, please excuse my ignorance but when you request a quickstart
project
do you mean you want the whole
Hi Folks,
I'm trying to test a form submission with SubmitLink, test code below:
tester.setParameterForNextRequest(numberChangeForm:numberToChangeTo,
numberToChangeTo);
reset(smsServiceMock);
smsServiceMock.sendActivationSms(isA(Subscriber.class));
change the state of any page it is no longer bookmarkable and thus cannot
have a ncie url.
-igor
On 8/16/07, wicket user [EMAIL PROTECTED] wrote:
Hi,
I've just started using Wicket and I've managed to mount pages so that
the
urls are cleaned up but for the life of me I can't seem to get
I managed to solve it by setting the values directly using:
tester.setParameterForNextRequest(wizard:form:view:phoneMaker, 1);
and completely bypassing the ajax.
sorry for the trouble.
Simon
On 17/08/07, wicket user [EMAIL PROTECTED] wrote:
I'm not entirely sure that this isn't bad mailing
Hi,
I've just started using Wicket and I've managed to mount pages so that the
urls are cleaned up but for the life of me I can't seem to get it to work
with Wizard pages. Is there a trick to this?
At the moment it looks like this:
http://localhost:8080/myapp/app/?wicket:interface=:12
I've
72 matches
Mail list logo