you can pass the master page instance into the detail page, then in
detail page simply go back
class masterpage extends webpage {
add(new link("detail") { onclick() { setresponsepage(new
detailpage(masterpage.this));}});
}
clas detailpage extends webpage {
public detailpage(final page back)
Hi
I dont know whether this question is too easy or hard???
Since I'm a newbie of wicket, I dont know whether there are built-in
functions for the "Back" link like the browsers do.
Could anyone give me, at least, some ideas?? I'm still trapped by this
possibly fish quesion.Thanks a lot for
Argh just saw that I did a typo..
I of course meant start.java :) Everything's setup for you if you use
wicket archetype, iolite or wickettopia..
Nino Saturnino Martinez Vazquez Wael wrote:
Check you dependencies..
I just use jetty when running from eclipse, much simpler.. Just run
start ja
Hello,
I have a problem in IE7 when i redirect wicket pages in javascript using
location.href = ?wicket:interface=:3 ..i generate that url using
RequestCycle.get().urlFor(new TestPage()). But it is working fine in
firefox...Is this a browser problem? How can i solve this problem?
Thanks a lo
Respected sir,
"When I am writing in the search boxes I only see half of the text.
This happens with FireFox 3.x.x"
What can i do in this case?This is happening in some pcs.
--
View this message in context:
http://www.nabble.com/FireFox-3.x.x-issue-with-wicket-tp20104033p20104033.html
Sent fr
Thank you very much, I didn't realize that the
AjaxFormComponentUpdatingBehavior submitted individual components, I guess i
got it confused with AjaxFormValidatingBehavior.
I think the only issue is when a form level validator needs to be used, for
instance to compare that two fields are equal.
On Tue, 21 Oct 2008, Srikanth.NT wrote:
> My IE version is 6.0.2900.2180.xpxp_sp2_gdr.050301-1519
>
> In wicket-ajax.js, I replaced
> t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId ||
> "");
> with
> if (Wicket.Focus && Wicket.Focus.lastFocusId) {
> t.setRequestHeader(
On Tue, 21 Oct 2008, Guðmundur Bjarni wrote:
> If you decide to go for Jetty, you should try the run-jetty-run[1] plugin
> that Eelco wrote. Basically if your project is set up right, i.e. web.xml in
> the right place and so on. You can run it like any other Java Application
> from Eclipse's run co
Hi all,
We have a component that needs to create a dynamic resource (currently using
a DynamicWebResource). The resource is tightly coupled with the component's
model. Our component implements the IResourceListener interface so that we
can generate a URL for the generated markup. The markup gener
Perhaps one of the following:
1. Don't use wicket "Form" - use web markup containers of some sort and
attribute modifiers to output a form that actually posts directly to the
paypal site. (In other words - generate a real form with action=
https://www.sandbox.paypal.com.)
2. OR
i am not sure where exactly the documentation lacks...there is a wiki that
shows how to configure everything. anyways, salve stuff is better taken to
the salve discussion group so we dont pollute this list.
-igor
On Tue, Oct 21, 2008 at 4:02 PM, Edgar Merino <[EMAIL PROTECTED]> wrote:
> Also, In
Also, InjectorHolder.getInjector().inject(this) does not work with
guice, it returns an illegalstateexception saying there's no injector
assigned for the holder. It would be nice to have more documentation on
how to use salve, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree that s
Never mind. The answer is to use Component.setEscapeModelStrings(boolean).
On Tue, Oct 21, 2008 at 4:02 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I have a Form with a FeedbackPanel. When there is a problem in a validator
> (subclass of AbstractFormValidator), the validator calls error(...) with
As far as I know, salve will only modify bytecode, it should do that
only once, after the JIT compiler comes in there should be no more
overhead. Correct me if I'm wrong, regards.
Edgar Merino
Guðmundur Bjarni escribió:
I agree that static injection is fugly, it makes unit tests very sad a
I have a Form with a FeedbackPanel. When there is a problem in a validator
(subclass of AbstractFormValidator), the validator calls error(...) with a
message resource key. This all works as planned. However, I need to style
the text in these feedback messages (parts of some messages need to be
b
Their constructor :)
Nav Che wrote:
>
> Ned,
>
> But then how do u pass parameters across the panels???
>
> //nav
>
--
View this message in context:
http://www.nabble.com/Pages-or-components...-how-do-u-decide--tp20016807p20100652.html
Sent from the Wicket - User mailing list archive at Na
I agree that static injection is fugly, it makes unit tests very sad and
kills puppies, but in some cases its a necessary evil. Lets say for example
that it is only needed in a very few cases, then IMO pulling in Salve is a
bit of an overkill. I've tried out Salve, liked it but it's a bit of a
com
Hi, I'm trying to submit a form to Paypal but I don't know how I can do
this.
I have a wicket form with all the fields that I need to submit but when I
redirect the page to paypal I can't send the form fields. I can't put the
parameters in the querystring, I must send them by post.
This is my c
just some quick pros for wicket which helped us to make a decision
(someone please correct me if i'm wrong on any of these):
* wicket started from a professional background, ie people noticed
there is a reason to develop it because no available framework met
their needs
* the architecture is inde
Ned,
But then how do u pass parameters across the panels???
//nav
On Sun, Oct 19, 2008 at 5:55 PM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> I use markup inheritance for some pages, but I try to avoid making new
> pages
> (after all, what do they give you that a panel does not (other than an
>
Hello All,
How do i pass parameters between panels. Basically i have panels in my
appilcation which use breadcrumb model.
Say on panel A i display list of users and I want the user Id to be a link
upon clickin it should show the edit panel ( panel B ) of user and for
which it shld either pass us
Thanks! That did the trick.
On Tue, Oct 21, 2008 at 10:50 AM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
> erm, override istransparentresolver() { return true; }
>
> -igor
>
> On Tue, Oct 21, 2008 at 10:43 AM, Tauren Mills <[EMAIL PROTECTED]> wrote:
>
> > Igor,
> >
> > Thanks for the help, but I'm
for an example, see
http://www.nabble.com/linking-to-a-text-ResourceReference-td19753402.html
Maarten
On Tue, Oct 21, 2008 at 12:07 PM, Peter Ertl <[EMAIL PROTECTED]> wrote:
> have a look at XStream :-)
>
>
> Am 21.10.2008 um 11:25 schrieb [EMAIL PROTECTED]:
>
>
> Hi,
>>
>> What's the nice / co
erm, override istransparentresolver() { return true; }
-igor
On Tue, Oct 21, 2008 at 10:43 AM, Tauren Mills <[EMAIL PROTECTED]> wrote:
> Igor,
>
> Thanks for the help, but I'm not finding setTransparentResolver in
> WebMarkupContainer. Should I be using a Border?
>
> Thanks,
> Tauren
>
>
> On S
Igor,
Thanks for the help, but I'm not finding setTransparentResolver in
WebMarkupContainer. Should I be using a Border?
Thanks,
Tauren
On Sat, Oct 18, 2008 at 1:55 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
> WebMarkupContainer body = new
> WebMarkupContainer("pageStyle").setTransparentRe
We have just started evaluating frameworks to migrate our Struts 1.x apps.
We are considering Wicket, GWT, and Spring MVC (I know, they are quite a bit
different). Having prototyped in Wicket and GWT, which do you think allows
you to write code that is easier to maintain?
There is a wiki page with
Al, do you have any idea?
-Matej
On Tue, Oct 21, 2008 at 10:18 AM, Gianni Doe <[EMAIL PROTECTED]> wrote:
> I'm a bit confused about ContextImage; according to the javadocs the image
> path "will be prefixed such that the image is relative to the context root".
>
> In my markup I've got:
>
>
> Th
On Mon, Oct 20, 2008 at 11:02 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> whenever there is something nonfinal people will always find a way to misuse
> it.
>
> model methods are not final because it gives you a simple base class
> to subclass instead of starting from scratch with an imodel.
R
log4j.logger.org.apache.wicket.resource=DEBUG
should do it afair.
-igor
On Tue, Oct 21, 2008 at 8:16 AM, Kai Mütz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some problems with validation messages. Normally I set my validation
> messages within the property files like this:
>
> Required='${labe
However setObject() doesn't work as well on AbstractReadOnlyModel as
it does on Model, which is particularly important for immutable
backing objects such as Strings.
On Tue, Oct 21, 2008 at 2:35 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
> we have also AbstractReadOnlyModel for that
> so igor
Hi Wicket users!
At my company, we are currently evaluating technology choices for building
web user interfaces. We narrowed our candidate list down to two remaining
candidates: Wicket and GWT. We already did some prototyping with these
two. Our main conclusions are
- Wicket has the better arch
there are cases where this approach plain old sucks.
as you mentioned, if its not a component you have to use static injection
which is fugly
class mydataprovider implements idataprovider {
public mydataprovider() {
InjectorHolder.getInjector().inject(this);
}
}
another problem is that
Jars: http://wicketstuff.org/maven/repository/com/inmethod/
Demo: http://wicketstuff.org/grid-examples/
Update your bookmarks.
On Tue, 2008-10-21 at 11:53 +0200, Martin Voigt wrote:
> Hi,
>
> this may be the wrong place to ask, but anyways. What happened to the
> inmethod/ grid web site?
>
> h
Hi,
I have some problems with validation messages. Normally I set my validation
messages within the property files like this:
Required='${label}' is required
StringValidator.maximum='${label}' [...] ${maximum} [...]
myform.myfield=My Field
and got (as expected) "'My Field' is required" if I do
Thats the type of problem where you fight against a basic design
descision. Happens a lot with Hibernate, too, and you always lose one
way or the other...
Jörn
On Tue, Oct 21, 2008 at 5:04 PM, Cédric Thiébault
<[EMAIL PROTECTED]> wrote:
>> Jörn
> Yes I could do something like that but I don't rea
> Jörn
Yes I could do something like that but I don't really like the idea of
a unique page that dispatch to panels depending on parameters...
> David
It throws the same exception with @MountIndexedHybrid:
org.apache.wicket.WicketRuntimeException: products is already mounted
for HybridUrlCodingStr
Hi fatefree,
Check this blog post:
http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket
I think this achieves what you want.
Regards,
Daan
On 21 okt 2008, at 15:28, fatefree wrote:
I have been trying to fulfill a requirement of a form, where each
field is
validated
I have been trying to fulfill a requirement of a form, where each field is
validated one at a time after losing focus, and the entire form is validated
when a user clicks submit. I can see that there are pieces of what I want to
do thats possible, but I haven't been able to put them all together.
My IE version is 6.0.2900.2180.xpxp_sp2_gdr.050301-1519
In wicket-ajax.js, I replaced
t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId ||
"");
with
if (Wicket.Focus && Wicket.Focus.lastFocusId) {
t.setRequestHeader("Wicket-FocusedElementId", Wicket.Focus.lastFocusId
||
I passed the application key and it worked. Thanks a lot for the help.
Johan Compagner wrote:
>
> no you cant and Application.get() will never work then because the auto
> destruct of a container
> doesnt do that in a request ofcourse but just somewhere on some thread.
>
> if you need an appli
Hi,
I'm sorry about it, been a bit busy lately. The grid is in Wicket
Stuff SVN. It's likely that it will get to Wicket 1.5 extension. I
wanted to put info on wicketstuff wiki (where it imho belongs) but
Wicket stuff firewall is blocking me. If anyone could do that for me
it would be nice.
-Mate
We should really have a FAQ here.
Anyways: you can find the inmethod stuff in wicket-stuff now. There is
no official release so you'll have to compile the sources yourself or
grab a recent jar from wicket-stuff's bamboo server.
Regards,
Erik.
Martin Voigt wrote:
Hi,
this may be the wro
I second that, please get the site fixed!
Jörn
On Tue, Oct 21, 2008 at 12:27 PM, Martin Voigt <[EMAIL PROTECTED]> wrote:
> Yea, was just that it's Matej who did the grid stuff (at least to my
> knowledge), so I thought it would make sense to ask it here, as I'm
> sure I'm not the only one using g
I haven't used Salve with Wicket, but I've been using the wicket-guice
integration quite extensively. The reason I'm answering this is that I feel
that many of the use cases of Salve can be solved with pure vanilla Guice.
In cases where you can't control the instantiation of objects, you can use
s
Hi Edgar,
did you use either static weaving or the runtime agent as described at
http://code.google.com/p/salve/wiki/ConfiguringInstrumentation ?
Kristof
On Tue, Oct 21, 2008 at 11:42 AM, Edgar Merino <[EMAIL PROTECTED]> wrote:
> I've been searching for information on how to use guice to looku
Yea, was just that it's Matej who did the grid stuff (at least to my
knowledge), so I thought it would make sense to ask it here, as I'm
sure I'm not the only one using grid ;)
Regards,
Martin
2008/10/21 Robby O'Connor <[EMAIL PROTECTED]>:
> They may have screwed up their context descriptor or pe
I've been searching for information on how to use guice to lookup
dependencies with salve, the wiki only mentions how to add the guice
locator but I believe that is not working (at least not by it self).
I've got a class in a wicket application that is not a component, but I
need a service i
I'm using with in my Application subclass to mount the feed as
implemented by MyFeedResource:
getSharedResources().add("my-feed", new MyFeedResource());
mountSharedResource("/games/atom", new
ResourceReference("my-feed").getSharedResourceKey());
And on my base page:
add(FeedResource.autodiscover
Thank you very much for this explanation, Igor. Very much appreciated.
- Kaspar
On 16.10.2008, at 18:14, Igor Vaynberg wrote:
requests from a single session are serialized. but what if your page
is
stateless and you click the two links fast?
each click spins off a request that now needs a
have a look at XStream :-)
Am 21.10.2008 um 11:25 schrieb [EMAIL PROTECTED]:
Hi,
What's the nice / correct way to do this in Wicket:
I have a client side bit of JS that looks something like
getData(URL);
It expects to get back an XML document like
foo
bar
On
They may have screwed up their context descriptor or perhaps just didn't
deploy it?
Best bet would be email their tech contect (see domain name whois for
info.)
--rob
Martin Voigt wrote:
Hi,
this may be the wrong place to ask, but anyways. What happened to the
inmethod/ grid web site?
htt
Hi,
i am trying to show links to bookmarkable pages in a news feed using
FeedResource from wicketstuff-rome.
I can't get it to work because i don't know the urls. I tried to use
BookmarkablePageLink, but this fails
in the FeedResource because the link is not attached to any page.
Thanks for
It kinda is.
--rob
Martin Voigt wrote:
Hi,
this may be the wrong place to ask, but anyways. What happened to the
inmethod/ grid web site?
http://www.inmethod.com/
is showing the tomcat welcome page for some time now. Did it move?
Regards,
Martin
--
Hi,
this may be the wrong place to ask, but anyways. What happened to the
inmethod/ grid web site?
http://www.inmethod.com/
is showing the tomcat welcome page for some time now. Did it move?
Regards,
Martin
-
To unsubscribe, e
we have also AbstractReadOnlyModel for that
so igor are you sure you dont want to have Model final? :)
On Mon, Oct 20, 2008 at 5:02 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
> whenever there is something nonfinal people will always find a way to
> misuse it.
>
> model methods are not final bec
Hi,
What's the nice / correct way to do this in Wicket:
I have a client side bit of JS that looks something like
getData(URL);
It expects to get back an XML document like
foo
bar
On the wicket side, I want the Java object that spits back the XML to be
part o
If you decide to go for Jetty, you should try the run-jetty-run[1] plugin
that Eelco wrote. Basically if your project is set up right, i.e. web.xml in
the right place and so on. You can run it like any other Java Application
from Eclipse's run configurations.
regards,
Guðmundur Bjarni
[1] http:
I'm a bit confused about ContextImage; according to the javadocs the
image path "will be prefixed such that the image is relative to the
context root".
In my markup I've got:
Then I add the Context image to my WebPage:
add(new ContextImage("logo", "images/logos/mylogo.gif"));
... and I end
You could use a wicket HiddenField and let your js function write his result to
this field. At the next (ajax) request you are able to read the value from this
field.
Jaap
-Original Message-
From: Piller Sébastien [mailto:[EMAIL PROTECTED]
Sent: dinsdag 21 oktober 2008 9:49
To: users@w
It works, thanks :)
dateTextField.IConverter.Date = The date is not valid custom message
Serkan Camurcuoglu wrote:
>
> Wicket in Action book says that IConverter.Date should work..
>
> ***
>
>
--
View this message in context:
http://www.nabble.com/DateTextField%2C-format-not-valid%2C-m
js is client side, and wicket is server side.
to pass a value from js to wicket, you may do an ajax query. see
wicketAjaxGet and AbstractDefaultAjaxBehavior
freak182 a écrit :
Hello,
My problem is how can i get the return value of a javascript function: e.g
init.js
funtion userExist(id)
{
Thanks Michael ...i could hardly detect that...hehehe cheers..
Thanks...
Michael Sparer wrote:
>
> looks like something's wrong in your service, check the random stuff at
> com.ccti.digibanker.arcot.service.ArcotUserQAServiceImpl.get3QA(ArcotUserQAServiceImpl.java:72)
> ;-) ... don't think it'
Hello,
My problem is how can i get the return value of a javascript function: e.g
init.js
funtion userExist(id)
{
return true;
}
how can i get the returned value "true" from wicket.
Thanks a lot...Cheers
--
View this message in context:
http://www.nabble.com/How-to-get
63 matches
Mail list logo