Hi,
give the syntax of wicket component .
Regards,
kumar
--
View this message in context:
http://www.nabble.com/wicket--compenent-tf3956739.html#a11227203
Sent from the Wicket - User mailing list archive at Nabble.com.
swaroop wrote:
I can see a few things gond wrong here...
1 First in the onclick method , this does not refer to the original
parent
to which label was added initially as label is the component u want to
replace
2 When u want to add a new component to replace the original component
Hello Igor,
Thank you so much for your answer.
It didn't work. When I try I got the component added in code but not
referenced on markup.
This is my code:
page.java:
userInformationForm.add(new FormComponent(oskar){}); // I have a
CompoundPropertyModel
html:
select wicketd:id=oskar
give the syntax of wicket component .
Regards,
Could you please be a tiny little bit more specific please? :)
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express
It seems that Lable use s p a n tag while TextField use i n p u t tag
and that they conflict. I have changed the code like this and it still does
not work properly. Does anyone have any workaround ? Thank you!
public class Login extends WebPage {
private int count = 0;
if you want to switch between a label and a textfield, or any two things
that require unique markup but not big enough to factor out into panels then
you should use fragments
!-- placeholder --
div wicket:id=placeholder/div
wicket:fragment wicket:id=txtinput type=text
look at the error, it says you added the component to code but not to
markup, that means wicket cannot find the component in markup - in this case
because you misspelled wicket:id attribute
-igor
On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
Hello Igor,
Thank you so much for your answer.
That's partially true, but after the session expired and the user has logged
in again, you can redirect him immediately to the place where he was when
the session expired (if that's a stateless page). It's true that this is
more an issue with sites that don't require the user to log in and that's
There is another approach, see
http://www.nabble.com/-Question--wicket.markup.html.form.Radio-tf3926549.html#a11135460
here
JulianS wrote:
I've created a solution that works for me. See
http://blogstoyevskys-javajourney.blogspot.com/2007/06/ajax-enabled-radio-group-for-wicket-12x.html
Just for the record, I think the whole team agrees we should keep
looking for possible improvements. All things considered - programming
model, security implications, bandwidth use, etc - it's hard to
imagine there wil ever be a framework that satisfies on all aspects.
The issue here is
you can only do it if you are writing a purely stateless application - zero
session use. and if this is a hard requirement then wicket is probably not
for you. of course it is pretty difficult and annoying to write any soft of
a complex web ui without using session at all, thus wicket. so just
Oh, I'm very sorry, I was so worried about the FormComponent that I didn't
realized
Sorry for bothering you with this!
And Thanks!,
Oskar
igor.vaynberg wrote:
look at the error, it says you added the component to code but not to
markup, that means wicket cannot find the component in
happens to everyone once in a while :)
-igor
On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
Oh, I'm very sorry, I was so worried about the FormComponent that I didn't
realized
Sorry for bothering you with this!
And Thanks!,
Oskar
igor.vaynberg wrote:
look at the error, it says you
Hi,
Thanks for the quick reply. That would mean that the second level cache
isn't used any more right? Does this lead to a great increase in session
size or are there other disadvantages?
Regards,
Ivo
On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 6/20/07, Igor Vaynberg [EMAIL
yes then SLC isn't used, you use the same thing as you did with 1.2
session size is increased then because more page/pageversions are in memory.
johan
On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
Hi,
Thanks for the quick reply. That would mean that the second level cache
isn't used
It's nice to hear you are working on improvements.
Thanks,
Pieter
ps
just wanted to mention a scenario I ran in to:
You log in and open a second window or tab of the same application. A page
can expire in one window, while you are stilled logged because you are
working in the other window.
Hi,
Sorry, but I don't get exactly what to do here. As I understand it you're
advising me to store a separate map of Pages in the Session and then lookup
the previous Page there? Otherwise I wouldn't see how to implement the
YourSession.get().getPage() method as I still can't get to the
It's a tradeoff (you saw that coming). HttpSessionStore uses more
memory and has limited (configurable) backbutton support, but is more
efficient in calculating state changes and does not require second
level cache to start with. SLCSS theoretically has unlimited back
button support and is much
If you store the id/version of a page when it is renderd in your session (in
a list/stack object)
then you are doing exactly the same as the AccessStackPageMap would do.
You should only store the id/version not the page itself, because you don't
have to hold on to a reference of it you can
we already have hybrid urls
if you make a statelessform or link then that will generate hybrid urls (the
did that from day 1 we have the stateless support i think)
On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
But even if I would accept the usability penalty of the expiring pages,
I'm
as far as i know wicket never redirected to ful urls (including protocol)
always relative (context path included or not)
so it seems to me that when we send a redirect url the container doesn't
prepends it with http instead of https.
johan
On 6/20/07, Hiller, Steve [EMAIL PROTECTED] wrote:
if you could come up with a nice navigation component that does this
behavior
we could maybe add this into wicket extentions if more people would like to
have such a thing
johan
On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
Hi,
Thanks again for the help. As soon as I hit the reply
On 6/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
if you dont want to see the div and using wicket 1.3 you can use
wicket:container instead of div, eg, wicket:container
wicket:id=placeholder/wicket:container
Or setRenderBodyOnly(true);
Martijn
--
Join the wicket community at
Hi,
Thanks again for the help. As soon as I hit the reply button it dawned on
me, guess it's to early :)
Ivo
On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:
If you store the id/version of a page when it is renderd in your session
(in a list/stack object)
then you are doing exactly the
Do I need to report the problem with writing javascript to inlineframe on
jira?
Or is this already a known issue...
Thanks !
Marieke Vandamme [EMAIL PROTECTED]
Verzonden door: [EMAIL PROTECTED]
20/06/2007 14:00
Antwoord a.u.b. aan
wicket-user@lists.sourceforge.net
Aan
Sorry again...
I have it working, but I have another problem...
For example, if we have two values in the select, how can I specify from
java code to select the second value? I tried to setup the property of the
Compound Model but the value is not selected...
Java code:
Well, I wouldn't mind doing that. One problem I see though is that the
component depends on a base page to update the Session which also needs to
be adapted. This doesn't make it self contained,
On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:
if you could come up with a nice navigation
That is some serious archive browsing at work! :)
The issues on sf.net have been closed for the public, because we
couldn't make them read only (when we moved to Apache).
I am afraid it got lost in the transfer to apache.
Martijn
On 6/20/07, JulianS [EMAIL PROTECTED] wrote:
Martijn,
Was
I meant (http://wicket.sourceforge.net/wicket-quickstart/eclipse.html]). In
this url they mentioned about label component discussed in wicket
framework. So I asked How many components available in wicket..? Give the
syntax of each component. or give some url related to that wicket.
Thanks
On Thu, 21 Jun 2007, Toscano wrote:
Any ideas?
Use DropDownChoice. With that you provide one model for
all the choices (a list) and another model for the default
selection (a single item of the same type as the list
contents).
- Timo
--
Timo Rantalaiho
Reaktor Innovations Oy
Fantastisch!
Congratulations to everyone on the team! It is very nice to see Wicket's
success evolving more and more.
greetings,
RĂ¼diger
2007/6/20, Martijn Dashorst [EMAIL PROTECTED]:
We have Graduation! Apache Wicket is established as a top level
project within the Apache Software
Buy Pro Wicket please, read the wiki, and most importantly read
http://www.catb.org/~esr/faqs/smart-questions.html
As for the catalogue, how difficult is it to click on the link with
the name components on our website?
http://wicketstuff.org/wicket13/compref/
Martijn
On 6/21/07, tnjtn1 [EMAIL
How to work wicket with database.
any url please. with sample application
Regards,
kumar
--
View this message in context:
http://www.nabble.com/How-i-work-wicket-with-database-tf3957803.html#a11230335
Sent from the Wicket - User mailing list archive at Nabble.com.
hi,
could someone verify that the given code doesn't work for him, too?
i'm lost a bit in this matter.
thanks!
best regards, --- jan.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE
Hi Kumar,
use the spring dao integration with wicket:
http://www.wicket-wiki.org.uk/wiki/index.php/Spring
Regards,
Andres
2007/6/21, tnjtn1 [EMAIL PROTECTED]:
How to work wicket with database.
any url please. with sample application
Regards,
kumar
--
View this message in context:
afaik, the wiki at www.wicket-wiki.org.uk is kind of deprecated, as it's
readonly and changes are only applied to the apache wiki at
http://cwiki.apache.org/WICKET/
wicket-spring dokumentation: http://cwiki.apache.org/WICKET/spring.html
hth,
gerolf
On 6/21/07, Andreas Walter [EMAIL PROTECTED]
Hi all,
We have experience random page expiration after using wicket
1.2.7(latest Snapshot)
I search mailing list archive found
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
discuss similar issue. But it seems that no further discuss on solution...
i dont think so because you do get Caused by?
We don't print caused by, that is the thing we change about the input.
what do you exactly see? so whats in that [...] space you have in the email?
johan
On 6/20/07, Jonathan Locke [EMAIL PROTECTED] wrote:
could this be caused by this thread
yeah, this issue was caused by multithreaded output being intervleaved.
i'm still not happy with processing exception strings though. i'd prefer
we did some kind of folding of exceptions using javascript on the wicket
exception page and not alter the exception at all. but that can wait until
all,
I found another way to reproduce this problem, which may happened in slow
network:
(1) make a link that require 5 seconds to process.
(2) click that link three times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.
It seems that this is caused by race condition ?
I
We were working with version 2.0 and we had the setBorderBodyContainer option
in border, but now we are working with 1.3.
The case is that I'm trying to add the border body inside of another wicket
component of the border. But I don't know how can I specify what is the
container of the body.
For
Hi:
I have one question about Markup inheritance. It seems that we can put
only one wicket:extend in the base html file, such as:
html
head/head
body
div id=header
span wicket:id=header/span
/div
div id=body
wicket:child /
/div
div id=footer
span
On 6/21/07, ccc rrr [EMAIL PROTECTED] wrote:
If not , what we can do to achieve the purpose ?
Search the archives:
http://www.nabble.com/forum/Search.jtp?query=wicket+childlocal=yforum=13974daterange=0startdate=enddate=
Martijn
--
BREAKING NEWS: Wicket joins the Apache Software Foundation as
Sorry if I'm mistaken, but I think this is related to an issue that I posted
about here:
http://www.nabble.com/Borders-Containing-Embedded-Components-tf3776704.html#a10679274
previous post .
I'm afraid that post didn't get any response, and I never solved it on my
own...
Severian.
--
View
what version of wicket are you using?
we have auto-multi-tab/window support that takes care of that. maybe its
been disabled by default, see settings.
-igor
On 6/21/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
It's nice to hear you are working on improvements.
Thanks,
Pieter
ps
just
you sure you dont have an exception somewhere...check the console/logs for a
stacktrace
-igor
On 6/21/07, Marieke Vandamme [EMAIL PROTECTED] wrote:
Do I need to report the problem with writing javascript to inlineframe on
jira?
Or is this already a known issue...
Thanks !
*Marieke
you cant :)
you said you wanted static html to optimize it, but its static - so you
cannot add the selected attribute to the proper option tag.
do what timo said and use a proper component, to go around the database just
keep a static list of countries.
-igor
On 6/21/07, Toscano [EMAIL
open a jira issue please
-igor
On 6/21/07, Alberto Bueno [EMAIL PROTECTED] wrote:
This problem was solved in the 2.0 version, but I don't how we can
implement a solution in version 1.3...
Because it's a very tipical situation if you are using borders...
Waiting responses... :)
Sorry if I'm
we already have hybrid urls
if you make a statelessform or link then that will generate hybrid urls (the
did that from day 1 we have the stateless support i think)
Yeah, but then there is this discussion about always using some kind
of hybrids so that most if not all requests are recoverable
Upayavira wrote:
cowwoc wrote:
Now that Wicket is an official Apache project are there any plans for
moving the mailing lists over? SourceForge's digest mode leaves a lot to
be desired.
It will likely happen soon. Though, there's some sense in timing it to
immediately follow the 1.3
Could you please open a JIRA issue for this and attach the project? Thanks!
Eelco
On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:
all,
I found another way to reproduce this problem, which may happened in slow
network:
(1) make a link that require 5 seconds to process.
(2) click that link
Jonathan,
I Couldn't agree more, but it is a common critic in the web about wicket.
And if you see the spreadsheet you'll know I needed to say something not so
good about it. Impartiality 0. _
f(t)
On 6/20/07, Jonathan Locke [EMAIL PROTECTED] wrote:
very interesting. but i don't agree
done: *WICKET-683 https://issues.apache.org/jira/browse/WICKET-683*
On 6/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Could you please open a JIRA issue for this and attach the project?
Thanks!
Eelco
On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:
all,
I found another way to
Is wicket security based only on role based authorization or could it somehow
be used with a more traditional ACL type of file / logic.
-Craig
--
View this message in context:
http://www.nabble.com/wicket-security-and-acl-files-tf3960558.html#a11239024
Sent from the Wicket - User mailing list
Any strategy you like. Check out IAuthorizationStrategy.
Eelco
On 6/21/07, craigdd [EMAIL PROTECTED] wrote:
Is wicket security based only on role based authorization or could it somehow
be used with a more traditional ACL type of file / logic.
-Craig
--
View this message in context:
If you mean java Jaas like acl than swarm is what you are looking for.
Optionally if you really want to use jaas and not some look alike i
made up you could practically copy swarm and replace most objects with
there jaas counterparts.
However i chose not to use jaas because we are using that in
Thanks, seems to work fine.
Julian
Alex Objelean wrote:
There is another approach, see
http://www.nabble.com/-Question--wicket.markup.html.form.Radio-tf3926549.html#a11135460
here
--
View this message in context:
Hi Igor,
I'm using version 1.2.6.
The 'home' page uses a mount to create a URL like:
https://mydomain/myvirtualfolder/test/pages/HomePage
I think the problematic URL is this one:
https://mydomain/myvirtualfolder/test/?wicket:interface=:2
but that url is https, why would it trigger the warning, look in source, see
if there are any explicit http:// calls
-igor
On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote:
Hi Igor,
I'm using version 1.2.6.
The 'home' page uses a mount to create a URL like:
Hey guys,
i have been checking out a few sites using wicket at the moment on the
Wicket Wiki...
And they all seem extremely slow... I was wondering if anyone knew of any
other fancy websites that are pretty advanced into wicket development that I
could check out, cause so far the real world
i have been checking out a few sites using wicket at the moment on the
Wicket Wiki...
And they all seem extremely slow... I was wondering if anyone knew of any
other fancy websites that are pretty advanced into wicket development that I
could check out, cause so far the real world
and somehow you magically know that it is wicket that is slow and not the
database of those webapplications? damn, i wish i had your tools :)
-igor
On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:
Hey guys,
i have been checking out a few sites using wicket at the moment on the
Wicket Wiki...
AS far as I can see, the only http:// calls are in the HTML pages, which
I copied from the samples:
?xml version=1.0 encoding=UTF-8?
html xmlns=http://www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml
body
...
/body
/html
From: [EMAIL PROTECTED]
I came here looking for advice from the veterans... and I definately got
it... in a crude form.. but never the less ... i got it...
That's ok. The advice is: check out the threadstest project (which
runs a load test out of the box) or build a test yourself. It's best
to see with your own eyes,
Duh...
Looks like BookmarkablePageLink is what I need...
Sorry that I missed that. Guess it was just too obvious! :-(
On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
Hello!
Apologies if this is a basic question. I'm just beginning to investigate
page-related issues...
I
Panels and fragments are useful. As of page layout, however, wicket:extend
/ wicket:child is more natual than Panels and fragments.
Some possible solutions is:
1) use different tag values to differentiate:
...
wicket:child childid=1/
...
wicket:child childid=2/
...
==
...
And combine that with URL mounting and you're king :)
Eelco
On 6/21/07, David Leangen [EMAIL PROTECTED] wrote:
Duh...
Looks like BookmarkablePageLink is what I need...
Sorry that I missed that. Guess it was just too obvious! :-(
On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
Yes, for sure! :-)
Actually, I have not solved my problem. BookmarkablePageLink is for
rendering a link, which is not useful for me.
I still need to know what to do for my Go button, which is the way the
page gets refreshed with the search term...
Until now, I just used:
setResponsePage(
H
I'm embarrassed.
You guys shouldn't make Wicket so easy to use. It makes old farts like
me look dumb.
;-)
On Fri, 2007-06-22 at 11:29 +0900, David Leangen wrote:
Yes, for sure! :-)
Actually, I have not solved my problem. BookmarkablePageLink is for
rendering a link, which
I'm *still* trying to find a way to modify a component *when the model is
bound*. The new IComponentOnBeforeRenderListener seems close, but I can't
*modify* the component since it's already started the rendering cycle. I'm
trying to call Component.setRequired(true) on the component, and that
so remove that :)
-igor
On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote:
AS far as I can see, the only http:// calls are in the HTML pages, which
I copied from the samples:
?xml version=1.0 encoding=UTF-8?
html xmlns=*http://*www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml
body
maybe if you wouldve bothered searching this list for performance info you
wouldve seen this topic is a beaten horse. it is very tiring answering the
same questions from every new user who do not bother searching for previous
knowledge. especailly when they are not backed by something concrete.
I hope this isn't an obvious question again... I did try searching. ;-)
Could somebody kindly point me to some doc that explains how to bind a
key to a form component?
In this case, I want to bind the Enter key with my Go button.
Thanks!
Hi
One solution but not the ideal one would be (assuming go is a submit
button),
to override the onSubmit of the form and to perform the action which
you would do in your Go.So when u hit enter form would be submitted
and action for go would be invoked.
But may not what u r actally looking for
cool your jets mate... your never going to get rid of stupidity...
igor.vaynberg wrote:
maybe if you wouldve bothered searching this list for performance info you
wouldve seen this topic is a beaten horse. it is very tiring answering the
same questions from every new user who do not bother
Hello,
I could reproduce in a very simple example..
Could you check it for me? I don't see any exception..
MainPage.java
-
add(new InlineFrame(myIframe, PageMap.forName(innerframe),
InnerPage.class));
add(new Form(form));
MainPage.html
-
form wicket:id=form/form
On 6/22/07, Ballist1c [EMAIL PROTECTED] wrote:
cool your jets mate... your never going to get rid of stupidity...
lol :)
Martijn
--
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very
77 matches
Mail list logo