Hi all,
how to iterate over latest version of all pages in pagemap?
All my Pages have the ability to reload the navigation, but to
accomplish this, I need to tell the page to reload the navigation.
So my first idea was to iterate over latest version of all pages in
pagemap and call the neede
I have a link on a panel that is included in many pages. When the user
clicks on the link, I change something in the user settings that will
affect what gets displayed on the page. However, for that to work, I
need to reload the page after the user clicked on the link as by
default the other compon
Have a look at http://www.statcounter.com/ , a free and easy to use
analytics provider.
On Tue, Nov 10, 2009 at 7:59 AM, pieter claassen
wrote:
> You can also use your logger implementation and then log in a format
> that a log analysis tool can read. This however, is a very old style
> approach
You can also use your logger implementation and then log in a format
that a log analysis tool can read. This however, is a very old style
approach compared to analytics in my opinion. The quality of the
analysis and ease of implementation with analytics is just so much
better.
http://en.wikipedia.
Hi all,
It seems that Wicket 1.4.3 is stripping the XML header when using page
inheritance for layout. My super page defines the layout and has a ?xml
header at the top. If a sub page has content, when wicket renders it, the
?xml header will be excluded. Strangely, for subclasses with no content (
It is.
Problem was actually solved by Martijn's response. Thanks alot!
On Mon, 2009-11-09 at 21:25 +0100, Michael Mosmann wrote:
> Am Montag, den 09.11.2009, 13:07 -0500 schrieb Sam Barrow:
> > protected void populateItem(final ListItem item) {
> > final Money price =
> > getPricingService().c
It wouldn't matter because they're not "injecting" it into the
components in any way. Notice they only call price.toString().
On Mon, Nov 9, 2009 at 3:25 PM, Michael Mosmann wrote:
> Am Montag, den 09.11.2009, 13:07 -0500 schrieb Sam Barrow:
>> protected void populateItem(final ListItem item) {
Am Montag, den 09.11.2009, 13:07 -0500 schrieb Sam Barrow:
> protected void populateItem(final ListItem item) {
> final Money price =
> getPricingService().calculatePrice(item.getModelObject());
> add(new Label("price", price.toString()));
> }
is Money serializable?
mm:)
---
Can you share your pom files? Just to know how other people deals with
GAE. Also settings and profiles files would be helpful.
2009/11/7 Pieter Degraeuwe :
> unfortunately, there are no public maven repositories that contain the
> needed artifacts. I did install them all manually in my local repo.
I am a newb here, so I may be way off, but this works for me:
public final static ChoiceRenderer listRenderer = new
ChoiceRenderer("description", "id");
Expose description and id on your model's object.
And just add the listRenderer to the DDChoice (last param).
Seems a lot simpler than what you
Hi,
I think you can use WicketTester for it:
http://cwiki.apache.org/WICKET/testing-pages.html
Use this method to dump the page:
http://wicket.apache.org/docs/1.4/org/apache/wicket/util/tester/BaseWicketTester.html#dumpPage%28%29
Frido
Casper Bang wrote:
>
> Hi Ashley,
>
> I actually wrote
populateItem(*FINAL* ListItem item1) {
add(new ListView("child", getOthers()) {
populateItem(ListItem item2) {
ValueObject valueObject1 = item1.getModelObject();
.
}
Martijn
On Mon, Nov 9, 2009 at 7:12 PM, Sam Barrow wrote:
> sorry sorry i ma
sorry sorry i made a mistake in the populateItem
these is a nested listview
populateItem(ListItem item) {
final ValueObject valueObject = item.getModelObject();
add(new ListView("child", getOthers()) {
populateItem(ListItem item) {
Money pric
hrm, nothing interesting there.
can you post the code for the entire page/panel...
also the serialization checker should tell you the exact field that is
holding the reference to the object further in its message...
-igor
On Mon, Nov 9, 2009 at 10:07 AM, Sam Barrow wrote:
> protected void popu
protected void populateItem(final ListItem item) {
final Money price =
getPricingService().calculatePrice(item.getModelObject());
add(new Label("price", price.toString()));
}
On Mon, 2009-11-09 at 09:56 -0800, Igor Vaynberg wrote:
> what does your listview's populateitem look like?
what does your listview's populateitem look like?
-igor
On Mon, Nov 9, 2009 at 9:50 AM, Sam Barrow wrote:
> Hi. Wondering if someone can help me with a serialization problem I'm
> having.
> To start off, the domain model in this application does not use
> serializable domain objects (the project
Hi. Wondering if someone can help me with a serialization problem I'm
having.
To start off, the domain model in this application does not use
serializable domain objects (the project is using db4o, which does not
play well with serialized objects).
I have a page with this code:
IModel valueObject
Hi Ashley,
I actually wrote the list regarding a similar idea about a year ago. It
seems like a handy thing for RAD and for newbies struggling with keeping
simple CRUD pages in sync. However I can offer nothing but an
encurraging "great idea, go for it". :)
/Casper
Igor Vaynberg wrote:
> i dont
On Mon, Nov 9, 2009 at 6:21 AM, wrote:
> Hi all,
>
> I browsed a lot of wicket example and searched through many articles,
> but never found this classical web application example : I would have on
> the same page a form with some criteria, a search button and a result
> list : I enter some data,
jira issue please
-igor
On Mon, Nov 9, 2009 at 5:53 AM, Michael Sparer wrote:
> Hey,
>
> I could have sworn that if a IDataProvider used in a DataView returns 0 as
> size, the iterator(int,int) method won't be called. But that assumption
> proved me wrong some minutes ago. Is there any specific
look for wicket-javaee project in wicket-stuff
-igor
On Mon, Nov 9, 2009 at 4:35 AM, zabian wrote:
> I just have noticed it could be a problem.
> Do you know any example how to create that serializable proxy using spring?
>
> Thanks.
> Regards,
> Wojtek.
>
> Pieter Degraeuwe pisze:
>>
>> Your Pa
i dont see why it wouldnt be possible. if you can instantiate a page
you can use a visitor to visit all the components and generate
approximately appropriate markup.
perhaps if you had something working you would get more interest.
-igor
On Mon, Nov 9, 2009 at 1:57 AM, Ashley Aitken wrote:
>
>
Got it!
Here is the code i got into. Improvements and critics are welcome !
class MappedModel extends Model {
protected Map map;
public String getDescription(Object id){
return (String) map.get(id);
}
}
// Localized choices
final MappedModel countryModel = new MappedModel(){
Hi Ernesto, Sven,
Regarding the usage of localizeDisplayValues, I see that if I put simply "M"
or "F" it also works. Wonderful! Now I can define a general description for
"M" and "F", and provide specialized ones in case of need (thinking about
yes/no literals). But, could I someway define 'groups
Hi all,
I browsed a lot of wicket example and searched through many articles,
but never found this classical web application example : I would have on
the same page a form with some criteria, a search button and a result
list : I enter some data, hit search and get the results under my
criteria, j
Hey,
I could have sworn that if a IDataProvider used in a DataView returns 0
as size, the iterator(int,int) method won't be called. But that
assumption proved me wrong some minutes ago. Is there any specific
reason why iterator gets called when the only possible result is an
empty Iterator? W
Why not use IChoiceRenderer?
Ernesto
On Mon, Nov 9, 2009 at 2:27 PM, Xavier López wrote:
> Hi Sven,
>
> Absolutely awesome. So sweet how problems vanish away when you know the
> right way to address them on Wicket: ).
>
> But, what if I had a list of countries in the database (better example th
> Yep, we need something to take those obj out from there.
Maybe a collection of weak references?
- Tor Iver
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache
Hi Sven,
Absolutely awesome. So sweet how problems vanish away when you know the
right way to address them on Wicket: ).
But, what if I had a list of countries in the database (better example than
gender in this case), with its descriptions in it? Should I store a Country
entity in my bean, inste
External analytics is much more simpler to manage.
**
Martin
2009/11/9 vela :
>
> Hello again,
>
> can't we count it using the wicket application, some thing like this in jsp
>
>
> <%! int i= 0;%>
> <% out.println("People visited "+(++i)); %>
>
>
>
> --
--
restart your server and your hitcount drops to zero (I think you don't want
that :-) )
On Mon, Nov 9, 2009 at 1:37 PM, vela wrote:
>
> Hello again,
>
> can't we count it using the wicket application, some thing like this in jsp
>
>
> <%! int i= 0;%>
> <% out.println("People visited "+(++i)); %>
> I have 2 drop-downs and a search button my page. When the page is
> loaded
> for the first time, the first option in both the drop-downs is "Choose
> Option". Now if I select some value and click Search, the page is
> rendered again and the Choose Option is gone forever. But I want it
> back. How
I didn't do it myself yet, but have a look at
org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory
(wicket-spring-1.4.1).
On Mon, Nov 9, 2009 at 1:35 PM, zabian wrote:
> I just have noticed it could be a problem.
> Do you know any example how to create that serializable proxy usi
You want to select one value from a list of values, so obviously everything
has to have the same type.
These 'IdDescrBeans' smell like Struts, such constructs are not needed.
What's wrong with the following:
List genders = new ArrayList();
list.add("M");
list.add("F");
form.add(new DropD
Hello again,
can't we count it using the wicket application, some thing like this in jsp
<%! int i= 0;%>
<% out.println("People visited "+(++i)); %>
--
View this message in context:
http://old.nabble.com/User-count-tp26253854p26265729.html
Sent from the Wicket - User mailing list archive a
I just have noticed it could be a problem.
Do you know any example how to create that serializable proxy using spring?
Thanks.
Regards,
Wojtek.
Pieter Degraeuwe pisze:
Your Page (HomePage) contains a reference to your SpeedService EJB. Since
that one is not serializable, your page cannot be ser
Your Page (HomePage) contains a reference to your SpeedService EJB. Since
that one is not serializable, your page cannot be serialized.
A possible solution is to inject your ejb (by using for example
@SpringBean). This makes serializable proxies, so your page can be
serialized...
2009/11/9 zabian
Hi there,
I am working on the project using Wicket and EJB3.0 on Glassfish AS.
I've got such case:
There is a page with some test, using Sateful bean. When you press a
start button, the model using the bean is created, bean is beeing looked
up on each start button pressed. When I change the page
Dear All,
I have seen a feature in Wicket Bench (I think it is) that can
automatically generate the Web component object construction hierarchy
for a given Web form with Wicket ids. It's a neat feature. However,
I am wondering if it would be possible to do the reverse.
Could Wicket cla
Excuse me, it looks like a problem in my local firefox settings.
Kind regards
Sjoerd Schunselaar
On Mon, Nov 9, 2009 at 10:05 AM, Sjoerd Schunselaar
wrote:
> Hello all,
>
> Is it possible to automatically encode PageParameters?
> When I put a String like "bien-être" in a parameter, and redire
Hello all,
Is it possible to automatically encode PageParameters?
When I put a String like "bien-être" in a parameter, and redirect to a
page using that parameter,
I get an illegal url request. (only 0-9, a-z, A-Z and some characters
are legal).
Is it possible to encode it automatically, to: "bien
Hi Ann,
I've also encountered this problem, but with RadioChoice instead of
DropDownChoice.
This is the thread I started about it:
http://mail-archives.apache.org/mod_mbox/wicket-users/200911.mbox/browser
After all this thread, I still don't know what should I do to model, for
instance, a gende
created jira item
https://issues.apache.org/jira/browse/WICKET-2566
Regards,
Peter
igor.vaynberg wrote:
>
> peter, please open a jira issue. looks like a bug to me.
>
> -igor
>
> On Sat, Nov 7, 2009 at 1:52 PM, Peter Dotchev wrote:
>> Hi Wicketeers,
>>
>> I noticed that WicketFilter.getLast
43 matches
Mail list logo