Can you paste the code for better insight into your problem?
2008/6/11 Peter Eriksson <[EMAIL PROTECTED]>:
> Hello,
>
> I have just begun to use wicket and so far I am very impressed with the
> framework.
> I have a question about best practice to solve a problem. I have a component
> (wicket pane
Hello,
I have just begun to use wicket and so far I am very impressed with the
framework.
I have a question about best practice to solve a problem. I have a component
(wicket panel) that contain contact information (like name, address, email,
phone, etc) and on a specific web page I want to have t
The component is any wicket component in the same page or next page if
you know that component.
What you are doing, an anchor in a different page, I've solved by
writing my own subclass of link where I append the '#rsvp' myself.
Michael Mehrle schreef:
I don't get it - what is the 'component
Hello,
Thanks...if i have time i will surely play around with it and give you some
feedback..
Thanks a lot..cheers
Timo Rantalaiho wrote:
>
> On Tue, 10 Jun 2008, freak182 wrote:
>> Thats a great patch...it is already been updated in wicket-extensions? so
>> i
>> can download it?
>
> No, but
Jeremy - Yes it is :) thanks
Gwyn - thank you too :)
On Tue, Jun 10, 2008 at 10:49 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> The two pages that point to that one are
> http://cwiki.apache.org/WICKET/page-maps.html and
> http://cwiki.apache.org/WICKET/page-maps.html.
>
> Nathan's latest Wicket
On Tue, 10 Jun 2008, nate roe wrote:
> Don't forget that I'm using 1.2... this has maybe changed and that's why
> Eclipse isn't showing the call hierarchy?
Before 1.3.0-beta3 there was trouble visiting repeater
children before they are rendered, could your problem be
caused by that?
http://is
No, 1.3.3. The issue is that I had two submit buttons, so that the "search"
form submit button was triggering the wizard form, since the nested form
isn't an actual form. I modified to to use an IndicatingAjaxButton tagged
to an anchor, and my problem went away.
Martijn Dashorst wrote:
>
> If
That's called from Page.setFormComponentValuesFromCookies(...) which is in
turn called from .renderPage(...)
Don't forget that I'm using 1.2... this has maybe changed and that's why
Eclipse isn't showing the call hierarchy?
On Tue, Jun 10, 2008 at 5:19 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
Form.loadPersisitentFormComponentValues()
-igor
On Tue, Jun 10, 2008 at 4:23 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I'm sorry, which method do you mean?
>
> On Tue, Jun 10, 2008 at 4:02 PM, Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
>
>> what calls that method? call hieararchy for it is empty
I don't get it - what is the 'component' in the setAnchor() method? If I
set an anchor in a completely different page like this:
What do I set as the 'component' in the link's setAnchor?
Thanks,
Michael
-Original Message-
From: Thijs Vonk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June
I'm sorry, which method do you mean?
On Tue, Jun 10, 2008 at 4:02 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:
> what calls that method? call hieararchy for it is empty in
> eclipse...which is pretty strange...
>
> -igor
>
> On Tue, Jun 10, 2008 at 2:40 PM, nate roe <[EMAIL PROTECTED]> wrote:
> >
what calls that method? call hieararchy for it is empty in
eclipse...which is pretty strange...
-igor
On Tue, Jun 10, 2008 at 2:40 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I can't figure out why Wicket is not calling
> Form.loadPersisitentFormComponentValues() for FormComponents that belong to
>
If you are working on wicket 1.2, nested forms are not supported by
Wicket. This is only 1.3 or newer.
Martijn
On Tue, Jun 10, 2008 at 11:50 PM, Michael Laccetti <[EMAIL PROTECTED]> wrote:
>
> The issue seems to be related to having a wizard (with the inherent form) and
> the nesting another form
The issue seems to be related to having a wizard (with the inherent form) and
the nesting another form within it. In Firefox, the nested form is ignored;
in IE the nested form is the form that is submitted when the "next" button
is clicked, instead of the wizard form itself.
Eelco Hillenius wro
I can't figure out why Wicket is not calling
Form.loadPersisitentFormComponentValues() for FormComponents that belong to
a ListView.
Page.setFormComponentValuesFromCookies() calls visitChildren() inherited
from MarkupContainer. I can see that visitChildren() is called for my
ListView, but it look
That worked perfectly. Thanks!
Mark
On [Jun 10], at 2:59 AM, Maurice Marrink wrote:
It should be fairly simple to show a message on the login page stating
the user will be redirected to whichever page they were trying to
visit.
It would be a lot more difficult i think to show a warning prior
if someone can confirm that the patch works in a production env i will
be happy to commit it. i just havent had the time to test it myself
yet.
-igor
On Tue, Jun 10, 2008 at 7:09 AM, Juha Alatalo
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I run our profiling tests (version 1.3.3) using Application.
form components inside listview are visited.
-igor
On Tue, Jun 10, 2008 at 1:40 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I believe it's because a ListView is not a FormComponent, and the Form only
> visits its direct children. Does this sound plausible? How can I work
> around this to cause a
listview rebuilds its components in the beginning of each request.
setreuseitems inhibits that if the same page is redrawn, but if you
change the page the items are not preserved.
-igor
On Tue, Jun 10, 2008 at 1:37 PM, nate roe <[EMAIL PROTECTED]> wrote:
> I'm already using cookie names differen
I believe it's because a ListView is not a FormComponent, and the Form only
visits its direct children. Does this sound plausible? How can I work
around this to cause a Form's ListView's children to also be visited?
On Tue, Jun 10, 2008 at 1:37 PM, nate roe <[EMAIL PROTECTED]> wrote:
>
> I'm al
I'm already using cookie names different from the component IDs. It's just
that the components that belong to a ListView are never even checked for
loading.
Where does Wicket discard the ListView components when visiting its child
FormComponents?
On Tue, Jun 10, 2008 at 1:14 PM, Igor Vaynberg <[
i dont think cookie persistence is going to work for listviews out of
the box. the problem is that components inside repeaters do not have
stable component paths - and that is the key the cookie uses to store
values. so you will need to roll your own solution for this usecase.
-igor
On Tue, Jun 1
The two pages that point to that one are
http://cwiki.apache.org/WICKET/page-maps.html and
http://cwiki.apache.org/WICKET/page-maps.html.
Nathan's latest Wicket article[*] on JavaWorld also has a discussion on
stateless vs. stateful which might be useful.
/Gwyn
[*] http://www.javaworld.com/javaw
This isn't what you're looking for, is it?
http://www.nabble.com/Stateless-vs-Stateful-to17645575.html#a17645575
--
Jeremy Thomerson
http://www.wickettraining.com
Tue, Jun 10, 2008 at 6:48 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> A while ago there was a thread that had a link to an explanat
Michael Mehrle wrote:
How do create a link that jumps to some anchor in a page? Is there a way
to define this in Wicket or do I have to do this manually somehow?
Michael
yes. use link.setAnchor(Component)
-
To unsubsc
Sure you can, its just that most people use DataTable in some kind of
search page, where you only show labels.
But all you have to do is implement IColumn (or extend AbstractColumn)
then you use anything you want. In our project we have a column
showing an image.
Maurice
On Tue, Jun 10, 2008 at
Yes, I have.
On Tue, Jun 10, 2008 at 11:48 AM, Timo Rantalaiho <[EMAIL PROTECTED]>
wrote:
> On Tue, 10 Jun 2008, nate roe wrote:
> > I have a form with several components. Some components are within a
> > ListView. Cookie value persistence does not appear to be loading values
> for
> > componen
On Tue, 10 Jun 2008, nate roe wrote:
> I have a form with several components. Some components are within a
> ListView. Cookie value persistence does not appear to be loading values for
> components in the ListView. I have a breakpoint in
> Form.loadPersistentFormComponentValues(...) at line 261:
How do create a link that jumps to some anchor in a page? Is there a way
to define this in Wicket or do I have to do this manually somehow?
Michael
right, your problem is : (ID, new Model((Serializable) models) that,
you should use a detachable model. if i were you i would read the
models page on the wiki.
-igor
On Tue, Jun 10, 2008 at 10:31 AM, Ricky <[EMAIL PROTECTED]> wrote:
> I just do a simple DB search to get the list of models. (calli
I accomplished this by writing a servlet to serve the , then using a
Behavior to add the JavaScript includes for Wicket's scripts to the header,
and to add a call to new Wicket.AutoComplete(...) from onRendered(...).
On Sun, Jun 8, 2008 at 9:09 PM, Eelco Hillenius <[EMAIL PROTECTED]>
wrote:
> O
I'm using Wicket 1.2.
I have a form with several components. Some components are within a
ListView. Cookie value persistence does not appear to be loading values for
components in the ListView. I have a breakpoint in
Form.loadPersistentFormComponentValues(...) at line 261:
if (
1.3-SNAPSHOT seems to be pretty stable and easy to add to your maven project. I
actually downloaded and compiled yesterday but after having compile problems
wound up using 1.3-SNAPSHOT. Just my 2 cents...
Michael
-Original Message-
From: Ricky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, J
In Internet Explorer I am experiencing a strange z-depth problem.
Meaning that the drop down menu appears *behind* neighboring form fields
- please take a look at this screenshot:
http://screencast.com/t/DsqIA4pxtut
Any thoughts? We have not done any custom styling of the
AutoCompleteText
I just do a simple DB search to get the list of models. (calling business
tier --> to hibernate).
and then : * new RefreshingView(ID, MODELs){ };*
I tried, changing above to : *new RefreshingView(ID, new Model(
(Serializable) models) { };
*But to no effect. =(
*
Rick.
*
On Tue, Jun 10, 2008 at 11
Thanks for the quick reply. I finally fixed the problem. What I found was
that when I was creating my cookie I was calling setPath("/") and when I
deleted it I was not calling setPath("/"). So I guess the equals method saw
them as two different cookies and it wasn't deleting it. There is actually
>> If there's any framework that let's you develop mini-applications
>> seamlessly, it's Wicket.
>
> If one can easily build a group of components that will appear on different
> pages and work together collaboratively as a whole functional unit that's
> great.
You certainly can, it's all a matter
Hmmph, a weird fact to consider though is that when you are
"Non-generifying" the Component class, it doesn't make sense as to why one
would have XXComponent be generically typed to something, like a 'T' which
is also generic type for IModel, I mean the whole idea is to de-couple the
component cla
which is exactly what we are trying to avoid - having generics in Component.
-Matej
On Tue, Jun 10, 2008 at 6:19 PM, Ricky <[EMAIL PROTECTED]> wrote:
> I don't know if i was clear enough, sorry about that.
>
> I meant if you have something like :
>
> public Component, ID extends Serializable>{
>
I don't know if i was clear enough, sorry about that.
I meant if you have something like :
public Component, ID extends Serializable>{
// getter here
public MODEL getModel() { }
// setter here
public void setModel(final MODEL model){ }
}
then, you don't have to do anything, basically all yo
Hi again Eeclo (et al.),
Thanks for taking the time to discuss this.
On 10/06/2008, at 4:50 PM, Eelco Hillenius wrote:
Sorry, I used the wrong term there. I didn't mean specifically
components
as in "parts of a dynamic Web page" but rather what Django calls
"applications" (which really are
Ive had the same problem. to delete a cookie do this:
Cookie newCookie = new Cookie("my cookie name here!", null);
newCookie.setMaxAge(0);
newCookie.setPath("/");
getWebRequestCycle().getWebResponse().addCookie(newCookie);
i dont know why (i didnt really look into it) but u seem to have to
OK, thanks for your response guys. appreciate it; I understand that it is a
time consuming process and also takes time to check if release has any
impacts etc. I guess we'll have to go with 1.3-SNAPSHOT for now.
Thanks,
Rick
On Tue, Jun 10, 2008 at 11:39 AM, Martijn Dashorst <
[EMAIL PROTECTED]>
On Tue, Jun 10, 2008 at 5:03 PM, Martijn Dashorst
<[EMAIL PROTECTED]> wrote:
> When someone actually finds the time to build
> the release.
Our team has 2 guys that know the release procedure in and out, and
we'd rather let one of them build the release as to not goof up
anything. Both guys (me an
Yes, just checkout the 1.3.x branch, change the POM to
1.3-whatever-you-want-to-tag-it and run mvn install. Copy it to your shared
mvn repo so all developers can access it. Change your POM to use wicket
version 1.3-whatever-you-called-it, and now you're on a stable build. Test
your ap. Depl
I am having the same problem. On my login page there is a "remember me"
checkbox and if the user clicks and then submits the login page then the
cookie is successfully stored. However if they arive to the page and they
already have that cookie(it just pre-fills the username field) then they are
al
you dont actually show how you feed data to these dataviews. my guess
is that you cache the data you feed them and that is why it doesnt
refresh.
-igor
On Tue, Jun 10, 2008 at 6:41 AM, Ricky <[EMAIL PROTECTED]> wrote:
> Ok, I have tried to keep it as simple as possible, hopefully this should
> gi
The release will be made available when we have confidence that it
won't break stuff, and when someone actually finds the time to build
the release. Remember: you don't pay for support, Wicket is a
volunteer effort -> it is our spare time to build and check the
release.
Working on 1.3-snapshot sho
Hi,
if the consequences are a cleaner api then I think to decouple the model is
right.
The migration for older code may be hard. But I think it will be worth it
when the new code base is more robust.
--
View this message in context:
http://www.nabble.com/wicket-generics-tp17706107p17757524.h
Hi All,
I run our profiling tests (version 1.3.3) using Application.java and
Localizer.java patched by Stefan. Patch seems to be solving our memory
problems.
Is this patch coming to 1.3.4 and do you have any idea when 1.3.4 will
be released?
Best Regards
- Juha
Stefan Fußenegger wrote:
If the subclass wants type safety (returning T rather than Object),
then they would override getModelObject(). This is allowed because of
Java's covariant return types feature. However, there's no such thing
as covariant parameter types, so overriding the setter won't work.
On Tue, Jun 10, 2008
I have read documents found on wiki and javadoc, but I don't find the
solution to add other component than Label to DataTable.
It means that we only can use DataTable with label?
--
View this message in context:
http://www.nabble.com/Help-to-choice-a-wicket-component-tp17751207p17756210.html
S
I may be the dumb kid on the block, but why do we need to "override"
setModel and getModel( ) once it has already been done in Component class? (
meaning just have it in component class and then let all subclasses use the
same methods?)
Am i missing something?
Rick
On Sat, Jun 7, 2008 at 2:49 PM
Hi,
I know I have asked this question couple of times now, but is there a
"fixed" release date on this yet? sorry if it sounds like a duplicate
question; but we are being pushed to raise the concern over and over; Using
a 1.3-SNAPSHOT is not really a great idea, because if something changes at
wic
Ok, I have tried to keep it as simple as possible, hopefully this should
give enough details to know as to what is happening:
// Page Code here ///
public ReviewPlanPage(final PageParameters pageParameters) {
// get MODEL from session, code removed for clar
In all my years i have never used the ComponentPropertyModel. I always
use the CompoundPropertyModel.
public class MyPanel extends Panel {
public MyPanel(String id, IModel model) {
super(id, new CompoundPropertyModel(model));
add(new Label("name"));
}
}
Maurice
On Tue, Jun 10, 2008 at 2:4
Hi,
I'm trying to use ComponentPropertyModel as a replacement of
PropertyModel in some cases. The javadoc leads me to beleave I can do:
public class MyPanel extends Panel {
public MyPanel(String id, IModel model) {
super(id, model);
//add(new Label("label", new PropertyModel(model, "na
if we reach a point where there are several contributed scriptaculous
components, i think it would make sense to create a
wicketstuff-scriptaculous-sandbox project that can house them all.
the sync and queue methods should be moved off of the core Effect interface
and into the AbstractEffect class
A while ago there was a thread that had a link to an explanation of
stateless vs. stateful pages in Wicket.
I can't find the location in Wicket Wiki.
There's a page that describes stateless pages in the site
http://cwiki.apache.org/WICKET/stateless-pages.html
This is one of the pages that the page
On Tue, 10 Jun 2008, freak182 wrote:
> Thats a great patch...it is already been updated in wicket-extensions? so i
> can download it?
No, but if you want to play around with it, a "standalone
version" is here:
http://issues.apache.org/jira/secure/attachment/12375765/Generic_EventBroadcaster.pa
Hi Daniel,
I didn't put the patch into production yet, but I am quite confident, that
it will help. As you can see in the example I attached to the JIRA issue
(just attached a new version), the unpatched Localizer had 200 entries in
his cache, the patched Localizer only four - which is a Good Thi
okay, thank you :) I will try to use it
--
View this message in context:
http://www.nabble.com/Help-to-choice-a-wicket-component-tp17751207p17753162.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To uns
I did exactly this, and used a ajaxdefault table, with some custom
abstract columns.. Very easy and very flexible.
Fabien D. wrote:
Hi everybody,
I need your help the choice the best component for managing the users of my
wicket application.
I need a Table, with 4 columns : 3 inputtexts to ed
Have you checked out inMethod?
http://inmethod.com/
It's a great table for Wicket.
As for me, I usually prefer DataTable over ListView.
But it's just me :)
On Tue, Jun 10, 2008 at 12:24 PM, Fabien D. <[EMAIL PROTECTED]>
wrote:
>
> Hi everybody,
>
> I need your help the choice the best component
So the patch did help?
I too have observed this problem but it was at the moment less of a
problem than other heap eaters, now this is next in line. We have
added a script which automatically restarts the server when repeated
OOME occurs and are down to a couple of times per week without th
Why not a DataTable?
On Tue, Jun 10, 2008 at 11:24 AM, Fabien D. <[EMAIL PROTECTED]>
wrote:
>
> Hi everybody,
>
> I need your help the choice the best component for managing the users of my
> wicket application.
>
> I need a Table, with 4 columns : 3 inputtexts to edit first and familly
> name, a
Hi Igor,
Thanks for your quick reply and the patch, sorry for not searching the
mailinglist only but not JIRA.
Your patch was for 1.4, I applied it to 1.3.3, created a quickstart
including JUnit test and attached it to the JIRA issue. Hope this fix gets
into the next maintenance release. I am to
Hi everybody,
I need your help the choice the best component for managing the users of my
wicket application.
I need a Table, with 4 columns : 3 inputtexts to edit first and familly
name, and email, and 1 DropDownChoice to edit right acces.
So what is the best wicket component to do this?
Than
Matej Knopp-2 wrote:
>
> Looks like you are using the old tree...
>
Yes. We use Wicket 1.2.6 not 2.x and above.
Is there any workarounds about this problem? (expanding all tree)
--
View this message in context:
http://www.nabble.com/AbstractTree-expandAll-is-missing-tp17735081p17750908.htm
> Sorry, I used the wrong term there. I didn't mean specifically components
> as in "parts of a dynamic Web page" but rather what Django calls
> "applications" (which really are components in the more general sense of the
> word - how's that for confusing ;-).
>
> Django Web applications can be co
I'm trying to handle an exception by showing a Modal window instead of
redirecting to an error page. Does anyone know how to do this? We've looked
at RequestCycle.onErrorPage, but that also requires a page to redirect to.
Thanks,
Andre
Looks like you are using the old tree...
-Matej
On Tue, Jun 10, 2008 at 8:40 AM, Dimedrol <[EMAIL PROTECTED]> wrote:
>
>
> jwcarman wrote:
>>
>> getTreeState().expandAll()?
>>
>
> Hmmm, seems like I dont' have this procedure.
> See screenshot - http://i27.tinypic.com/30sg3t4.gif
> http://i27.tin
It should be fairly simple to show a message on the login page stating
the user will be redirected to whichever page they were trying to
visit.
It would be a lot more difficult i think to show a warning prior to
redirecting to the login paging. But as i understand it that is
fortunately not what yo
Hello,
Thats a great patch...it is already been updated in wicket-extensions? so i
can download it?
Thanks a lot...Cheers.
Timo Rantalaiho wrote:
>
> On Mon, 09 Jun 2008, freak182 wrote:
>> Im having problem of updating parents components.Hereis my problem, there
>> is
>> page and in that page
Hi Eelco (and others),
Thanks for your post.
On 09/06/2008, at 11:37 AM, Eelco Hillenius wrote:
I don't know about Django, but I think Wicket comes with quite a
number of reusable components. And as I believe that you typically
want to customize components for your own use anyway, I think it
Ok. But I think that we should be a little carefull splitting up in too
many projects... But it's fine with me, so we should just move all the
stuff from the fx package away from your project right? Since the other
stuff(only the queue part though) I do need to be present or i'll have
to build
On Mon, 09 Jun 2008, freak182 wrote:
> Im having problem of updating parents components.Hereis my problem, there is
> page and in that page there is a panel. The panel contain a
> FormUpdatingComponent that attached to a dropdownchoice. Now when the
> dropdown is triggered, i want to update the par
77 matches
Mail list logo