RE: Unexpected RuntimeException in Google Chrome and some Firefox versions

2009-10-08 Thread Magnus Haraldsen Amundsen
Found the error. "Someone" had forgot to add a default language properties file 
;)


-Original Message-----
From: Magnus Haraldsen Amundsen [mailto:magnus.haraldsen.amund...@computas.com] 
Sent: 8. oktober 2009 10:07
To: users@wicket.apache.org
Subject: Unexpected RuntimeException in Google Chrome and some Firefox versions

Hi,

 

 <http://kurs.sublima.computas.com:8180/wicketdemo/> 
http://kurs.sublima.computas.com:8180/wicketdemo/ works fine in Firefox 3.5.3 
and Internet Explorer 8, but not in Chrome 3, and some other Firefox versions. 
There I get the following exception, see http://pastebin.com/m356db366

 

What could be the reason for this?

 

Med vennlig hilsen 

Magnus Haraldsen Amundsen
Senior Kunnskapsingeniør
Mobil: 920 95 243
Epost:  <mailto:m...@computas.com> m...@computas.com   
Web:  <http://www.computas.com/> www.computas.com

|  COMPUTAS SETTER KUNNSKAP I SYSTEM  |

Computas AS  Lysaker Torg 45, Postboks 482, 1327 Lysaker | Telefon: 67 83 10 00 
| Faks: 67 83 10 01

 

 

__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4488 (20091007) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4488 (20091007) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Unexpected RuntimeException in Google Chrome and some Firefox versions

2009-10-08 Thread Magnus Haraldsen Amundsen
Hi,

 

 <http://kurs.sublima.computas.com:8180/wicketdemo/> 
http://kurs.sublima.computas.com:8180/wicketdemo/ works fine in Firefox 3.5.3 
and Internet Explorer 8, but not in Chrome 3, and some other Firefox versions. 
There I get the following exception, see http://pastebin.com/m356db366

 

What could be the reason for this?

 

Med vennlig hilsen 

Magnus Haraldsen Amundsen
Senior Kunnskapsingeniør
Mobil: 920 95 243
Epost:  <mailto:m...@computas.com> m...@computas.com   
Web:  <http://www.computas.com/> www.computas.com

|  COMPUTAS SETTER KUNNSKAP I SYSTEM  |

Computas AS  Lysaker Torg 45, Postboks 482, 1327 Lysaker | Telefon: 67 83 10 00 
| Faks: 67 83 10 01

 



RE: Ajax: Updating component outside Panel

2009-10-06 Thread Magnus Haraldsen Amundsen
Thanks, I'll try that.

I'll be demoing the app for a crowd that is more into beer than cheese, so it's 
an easy trick to get their attention.

-Magnus


-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com]
Sent: Tue 06.10.2009 23:18
To: users@wicket.apache.org
Subject: Re: Ajax: Updating component outside Panel
 

Magnus,

One way, for example. is to pass in a component, or even a list of
components, to the ShoppingCartPanel's constructor and your onClick could
then do the necessary. Since your ShoppingCartPanel knows it going to use
AJAX, its constructor may also choose to setOutputMarkupId(true) on the
passed in components.

BTW, is "Beer" a special kind of Norwegian cheese then?

Regards - Cemal
jWeekend
OO & Java Technologies, Wicket Training and Development 
http://jWeekend.com



Magnus Haraldsen Amundsen wrote:
> 
> Hi,
> 
> I'm following the Cheesr examples in the "Wicket in Action" book and have
> met a problem when ajaxifying it.
> 
> I have Index.java that displays a shopping cart from a custom shopping
> cart panel (ShoppingCartPanel.java). This custom panel has a remove link
> for each item, and clicking this removes the item from the list using
> Ajax. In Index.java I also have a Checkout button that is set to visible
> when there's items in the shopping cart. I need to refresh this component
> also using Ajax when I press the remove link in the shopping cart panel,
> so that it is hidden when the cart is empty. How do I update this
> component from my custom shopping cart panel? Do I have to make the
> Checkout button a public variable and refresh it using 
> target.addComponent(Index.checkout) in ShoppingCartPanel.java, or is there
> an easier and more elegant way to do this?
> 
> Index.java - http://pastebin.com/m76c0eb71
> ShoppingCartPanel.java - http://pastebin.com/m70f20055
> 
> Regards,
> 
> Magnus
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax%3A-Updating-component-outside-Panel-tp25776573p25776733.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Ajax: Updating component outside Panel

2009-10-06 Thread Magnus Haraldsen Amundsen
Hi,

I'm following the Cheesr examples in the "Wicket in Action" book and have met a 
problem when ajaxifying it.

I have Index.java that displays a shopping cart from a custom shopping cart 
panel (ShoppingCartPanel.java). This custom panel has a remove link for each 
item, and clicking this removes the item from the list using Ajax. In 
Index.java I also have a Checkout button that is set to visible when there's 
items in the shopping cart. I need to refresh this component also using Ajax 
when I press the remove link in the shopping cart panel, so that it is hidden 
when the cart is empty. How do I update this component from my custom shopping 
cart panel? Do I have to make the Checkout button a public variable and refresh 
it using  target.addComponent(Index.checkout) in ShoppingCartPanel.java, or is 
there an easier and more elegant way to do this?

Index.java - http://pastebin.com/m76c0eb71
ShoppingCartPanel.java - http://pastebin.com/m70f20055

Regards,

Magnus


RE: Where can I find this Wicket application?

2009-09-30 Thread Magnus Haraldsen Amundsen
http://svn.carmanconsulting.com/public/wicket-advanced/ doesn't work.

-Original Message-
From: Maarten Bosteels [mailto:mbosteels@gmail.com] 
Sent: 27. september 2009 19:58
To: users@wicket.apache.org
Subject: Re: Where can I find this Wicket application?

http://svn.carmanconsulting.com/public/wicket-advanced/

On Sun, Sep 27, 2009 at 6:16 PM, David Chang wrote:

>
> Hello,
>
> I am reading Wicket-related stuff on the net and came across this Wicket
> discussion thread:
>
> http://osdir.com/ml/users-wicket.apache.org/2009-05/msg01196.html
>
> In the response, "my wicket-advanced example application" is mentioned.
>
> I would like to know where I can find this application?
>
> Thanks!
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
 

__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com