Created as WICKET-1963.
- Valentine
Bruno Cesar Borges wrote:
>
> https://issues.apache.org/jira/browse/WICKET
>
> -Mensagem original-
> De: Valentine2008 [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 28 de novembro de 2008 18:12
> Para: users@wicket.apache.org
> Assunto: Re: H
https://issues.apache.org/jira/browse/WICKET
-Mensagem original-
De: Valentine2008 [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de novembro de 2008 18:12
Para: users@wicket.apache.org
Assunto: Re: How to get all the children of a MarkupContainer?
Where to open a jira issue?
i
IMO it is not required. This kind of error appears mostly with
beginners, or during early phase of development: it doesn't happens
anymore after.
For me, the behavior of wicket with that error is quite good. No need
for some magical generation of markup.
This may lead to wrong use of the fra
Where to open a jira issue?
igor.vaynberg wrote:
>
> open a jira issue and that way we can confirm.
>
> -igor
>
> On Fri, Nov 28, 2008 at 10:32 AM, Valentine2008
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi Igor,
>>
>> I find it out!
>>
>> The reason I couldn't get a child using a string component p
While I understand the Wicket authors do not want a magic framework, I
wonder if anyone else than me ever wished for a "development mode" or
option on the error page when protyping and receiving the very typical
"org.apache.wicket.WicketRuntimeException: The component(s) below failed
to render.
great work jeremy!
this cleanup was much needed, and the side effects are neat too!
francisco
On Fri, Nov 28, 2008 at 8:52 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> I have created a guide to migrating your project under the new
> wicketstuff-core parent project. If you own a WS project
I have created a guide to migrating your project under the new
wicketstuff-core parent project. If you own a WS project, you should
consider doing this as soon as possible so that your project will be
included in the 1.4 release (and even earlier in the RC2 release) when
Wicket releases the same -
Please note this bug in WicketTester cookie handling
https://issues.apache.org/jira/browse/WICKET-1886
-Marcus
On Fri, Nov 28, 2008 at 2:30 PM, Vit Rozkovec <[EMAIL PROTECTED]> wrote:
>
> Hallo,
> I think it should work with one of those methods:
>
> public final Page startPage(final ITestPageS
open a jira issue and that way we can confirm.
-igor
On Fri, Nov 28, 2008 at 10:32 AM, Valentine2008
<[EMAIL PROTECTED]> wrote:
>
> Hi Igor,
>
> I find it out!
>
> The reason I couldn't get a child using a string component path is because
> of the outdated JavaDoc sentences in MarkupContainer (Wi
Both branches have now the latest code, i guess both have to be released first
On 28/11/2008, francisco treacy <[EMAIL PROTECTED]> wrote:
> yup, i suppose this happens when sessions expire. we've been having an
> increasing number of visitors and logs are really hard to read when
> you try to find
Sorry, not the compilation error but the run-time exception.
Thanks,
Valentine
jWeekend wrote:
>
> Not quite.
> String[] bO = (String[])(new Object[]{"yes","we","can"});
> compiles but fails at run time.
>
> Regards - Cemal
> http://www.jWeekend.co.uk http://jWeekend.co.uk
>
>
>
> Val
this
sorted = Arrays.asList((Component[])children);
doesn't look right. I think it should have been (Object[])children
although a type check would be appropriate.
-Matej
On Fri, Nov 28, 2008 at 7:30 PM, jWeekend <[EMAIL PROTECTED]> wrote:
>
> Not quite.
> String[] bO = (String[])(new Object[]{"
Hi Igor,
I find it out!
The reason I couldn't get a child using a string component path is because
of the outdated JavaDoc sentences in MarkupContainer (Wicket 1.3.4):
"Children can be added by calling the add() method, and they can be
looked
up using a dotted path. For example, if a contai
Not quite.
String[] bO = (String[])(new Object[]{"yes","we","can"});
compiles but fails at run time.
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
Valentine2008 wrote:
>
> It will bring the compilation error when trying to cast arrays in Java.
>
> So you mean it is a bug
It will bring the compilation error when trying to cast arrays in Java.
So you mean it is a bug in Wicket?
Timo Rantalaiho wrote:
>
> On Thu, 27 Nov 2008, Valentine2008 wrote:
>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
>> [Lorg.apache
>> .wicket.Component;
>>
yup, i suppose this happens when sessions expire. we've been having an
increasing number of visitors and logs are really hard to read when
you try to find an (important) exception.
so i guess i'm still up for the fix :)
francisco
On Fri, Nov 28, 2008 at 6:35 PM, Marcus Mattila
<[EMAIL PROTECTED]
We are also getting this when sessions expire. No big deal but would
still like a fix. Will it be fixed in the 1.3.x branch also? Pls make
it :)
br,
Marcus
On Mon, Nov 24, 2008 at 7:30 PM, francisco treacy
<[EMAIL PROTECTED]> wrote:
> johan, i'm not sure i understand correctly.
>
> you mean that
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples
http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4-rc1
Regards
Dipu
On Fri, Nov 28, 2008 at 3:21 PM, HansDePrez <[EMAIL PROTECTED]>wrote:
>
> I am just starting with Wickets. Is there anybody who is
> willing to share some exam
I am just starting with Wickets. Is there anybody who is
willing to share some example code on how to use the tree
component in combination with frames.
I have browsed the examples but can't find the WicketExampleApplication
code.
Kind regards,
Hans.
--
View this message in context:
http://ww
Timo.
You're right:
http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#20232
no we can't !
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
jWeekend wrote:
>
> String[] bO = (String[])(new Object[]{"yes","we","can"});
>
> Regards - Cemal
> http://w
String[] bO = (String[])(new Object[]{"yes","we","can"});
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
Timo Rantalaiho wrote:
>
> On Thu, 27 Nov 2008, Valentine2008 wrote:
>> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
>> [Lorg.apache
>> .wicket.Co
On Thu, 27 Nov 2008, Eduardo Simioni wrote:
> If you want Wicket to be competitive, you should think about better and
> centralized documentation.
Or better yet write it :) The wiki is centralised and open,
everybody is more than welcome to update and improve it.
> documentation, and definitely s
On Thu, 27 Nov 2008, Valentine2008 wrote:
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> [Lorg.apache
> .wicket.Component;
> at
> org.apache.wicket.MarkupContainer.iterator(MarkupContainer.java:478)
> .
>
> The code on line 478 of MarkupContainer.java is:
>
Yeah I suppose that's the only viable alternative then, but it plays a
little less nice with a JPA backed role table and also appears to be a
step back to rely on inheritance rather than composition. Oh well, can't
have it all - hopefully an extendable and more lenient Enum makes it
into Java a
Hallo,
I think it should work with one of those methods:
public final Page startPage(final ITestPageSource testPageSource)
public final Page startPage(final Page page)
instead of wicketTester.startPage(FooPage.class);
and also you should use wicket tester's request for adding cookies:
wicketTes
Hi all,
does anyone know of some easy way of adding cookies to WicketTester prior to
having it visit page?
That is something along the line of
WicketTester wicketTester = new WicketTester(new
MyApplication());
Cookie cookie = new Cookie("name", "value");
Thanks Nino,
The model is just a quick hack to show where the imageresource is coming
from, i.e. it's dynamic.
The ClientSideImageMap and the older ImageMap don't give an x and y of
the click and I don't fancy creating a for every pixel in the image.
The ImageButton does return where the u
+1, and common parent/groupId
groupid: org.wicketstuff
Martijn
On Thu, Nov 27, 2008 at 10:54 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> I am beginning the WS reorg as noted in previous emails. You can monitor
> progress here:
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuf
>
> [x] - YES - I would like consistent naming
A solution has been found by mbosteels.dns.
When I did my tests, I discovered that lot of Wicket classes weren't
implementing the equals() method, but ResourceReference do implement it. If
I set my Image using a ResourceReference, I can create an assertEquals
statement in my JUnit test and compar
voting is the apache way. It focusses discussions, and quickly allows
us to find decisions. These *must* happen on the list. +1000 for
Jeremy's energy and vote threads.
Martijn
On Fri, Nov 28, 2008 at 6:52 AM, Ned Collyer <[EMAIL PROTECTED]> wrote:
>
> [X] YES - I would like consistent naming!
>
31 matches
Mail list logo