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 bu
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 Use
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:
http
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", " " +
p
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 i
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 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
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.
--
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
ServletContext.getRequestDispa
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.
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:
http://apache-wicket.18429
I dont have Wicket Filter in my web.xml
though i can see this
WicketApplication
org.apache.wicket.protocol.http.WicketServlet
I am assuming this will call WicketFilter intern.
But before this i have make sure my filter is being called.
--
View this message in context:
http://apache-wi
Thanks for the quick reply ,
yes i checked FilterChain.doFilter(req,res), and i have verified also the
url pattern in web.xml
MyFilter
com.xyz.util.MyFilter
MyFilter
*.html
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/jboss-i
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
s
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 i
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:
http://apache-wicket.1842946.n4.n
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 context
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.
---
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 Nabble.co
how can we sync up the session with the existing session of the business
layer framework .
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sync-up-sessions-tp4650134p4650137.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 l
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, e-mai
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 IR
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 the
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 ,
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]> wro
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 versi
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
>
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.FormComponent
required: org.apache.wi
force the user to select an
> option from the list of choices.
>
> Any help would be greatly appreciated
>
> Thanks
>
> T
> --
> View this message in context:
> http://www.nabble.com/listchoice-filtered-by-textfield-ajax-help-tp183843
ify any specific areas where
> we could 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 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 rock
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 offic
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.
this message in context:
> http://www.nabble.com/Javascript-Ajax-in-wicket%2C-how-to--tp17733416p17733416.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]
>
>
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 feel
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-grou
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.
> >
&g
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
>>
> >> As I understand that unlike jsps , in wicket there is hardly any logic
> >> for
> >> presenting (for example displaying two divs different based on the
> >> current
> >> user preferences etc.,).
> >>
> >>
Hi everyone,
+1
Regards
Dipu
Please take a look at the FormInputExample
regards
Dipu
On Mon, Mar 3, 2008 at 3:43 PM, Daniel Weiss <[EMAIL PROTECTED]>
wrote:
> hey all,
>
> If i build a normal form (e.g. user register) - how could i save the input
> http parameters in my page object / model object?
> I found some examples
ti Luca
> --
> View this message in context:
> http://www.nabble.com/Basic-Knowledge-on-Wicket---reload-content-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]
>
>
ome page navigation link (effectively
> reloading the home page)
>
> 3. how to make the dropdown state survive a page refresh (much the same
> same as 2).
>
>
> Of course, if I am wasting my time because this is stupid, then I'd value
> any other suggestions on how to deal
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
>
>
>
> In the panel of the
do you really need a Logout page
can't you do some thing like
Link logoutLink = new Link("logoutLink")
{
private static final long serialVersionUID = 1L;
public void onClick()
{
session.invalidateNow();
//wmc.add(behavior) but not when
> userList.add(behavior).
>add(udp);
> add(wmc);
>
>}
> }
>
> Please suggest.
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/Update-panel-from-lists-tp14800898p14800898.html
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 r
> Thanks :)
> --
> View this message 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.
>
>
> ---
done, *Key:* *WICKET-1271<https://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]&g
>
> -igor
>
> 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.
>
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
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
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
Create a YourResponsePage that extends Page instead of WebPage and set the
appropriate mimeType. That will do the trick
regards
dipu
On Dec 13, 2007 10:50 AM, Joshua Jackson <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> Is there any guide anyone can redirect me to send a non-html response
> ? Whe
hoiceRenderer
> That first tries to convert the 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
't know how to do this in wicket.
>
> Thanks in advance,
>
> On 12/12/07, wicket user <[EMAIL PROTECTED]> wrote:
> > can't use ServletContext.getRealPath("") to get the actual file path and
> > read the file as you read normally.
> >
> > ge
can't use ServletContext.getRealPath("") to get the actual file path and
read the file as you read normally.
getServletContext() method will return the ServletContext.
Or are you looking for something different ?
regards
dipu
On Dec 12, 2007 4:47 AM, Joshua Jackson <[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 to do with, in
the case of a DDC the selected values as that is supplied by the Choices
paramater in the
else created a similar drag and drop list that I could take
> a
> look at?
>
> Thanks
> Andrew
> --
> View this message in context:
> http://www.nabble.com/SortableListView-or-wicketstuff-jquery-tp14252086p14252086.html
> Sent from the Wicket - User mailing list archive a
are you looking to redirect to a different page on catching an exception ?
if thats is the case can you please try this in your catch
try{
// do things
}
catch (Exception e)
{
throw new RestartResponseAtInterceptPageException(new
YourInterceptPage());
}
regards
dipu
On Dec 10, 2007 10:3
ID
> > > > = 1L;
> > > >
> > > >@Override
> > > >public void
> onUpdate(AjaxRequestTarget
> > > > target){
> > > >
of understanding of what actually fires with
> the
> ajax call, as I need 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 wha
; (ObjectStreamClas
> s.java:1327)
> at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java
> :52)
> at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437)
>
>
> Any thoughts?
>
> On Dec 5, 2007 1:00 PM, James Perry <[EMAIL PROTECTED
I'm getting a 503,
HTTP Status 503 - This application is not currently available
On 05/12/2007, James Perry <[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I am deploying my first wicket based web app selling British
> traditional sweets at http://www.thebritishsweetshop.co.uk/
>
> There seems to be a
gt;
>
>
>
>
> ---------
> The only thing is, don't feel like I've got my head completely around the
> wicket models and I'm having trouble working out what I need to do to the
&
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
> firs
omponentPanel("subscriber.phone", new
Model(selectedPhone));
add(phonePanel);
As always any assistance/ridicule in the right direction would be great.
Cheers
Simon
On 04/12/2007, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> put them in a formcomponentpanel
>
> -ig
AX error, so clicking finish
> button
> doesn't do the business operation , that it should do. It just closes the
> modal window with wizard.
>
>
> narup wrote:
> >
> > yes it worked for me..
> > thanks Matej.
> >
> >
> >
> > wicket
t;
> > --
> > 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 - User mailing list archive at Nabble.com.
> &
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
Hey,
Are there any South African wicket users, if so where are you base, JHB or
CT?
Cheers
Simon
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
exception
hat's 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
ant to take a look at that too.
>
> And you're not alone in your TDD. You may want to take 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 vis
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 drivi
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
ester...
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 qui
file.
Any 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:
> >
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));
replay(smsSer
quot;Resend label has not updated", "in 19 seconds",
resendLabel.getModel().toString());
Hope that helps some noob like me.
Thanks
Simon
On 29/08/2007, wicket user <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Another noob question here but I'm trying to setup a test case that te
Hi,
Another noob question here but I'm trying to setup a test case that tests
the abstract timer on my page, like the WorldClock example.
I see there is the executeBehavior method in the WicketTester but I'm not
entirely sure how to set this up. Basically I want to fire the timer event
that I've
(See Validator examples),
>> >> > The validator can access the Textfield arrays and then check for
>> >> validity
>> >> >
>> >> > its shouldn't be too difficult anyway
>> >> >
>> >> >
&
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 entire
I'm not entirely sure that this isn't bad mailing list form but this article
in the old mailing list was so close to my existing problem that I thought
that I would continue it:
Ok, so I've got the first part of updating a DropDownChoice Ajax unit test
working as described in the forum (
http://ww
t url - a wicket page id. so once you
> 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 Wi
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 t
88 matches
Mail list logo