[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Nested YesNoPopup  XML
Forum Index -> Development
Author Message
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

Hi Björn,

is there any possibility to use nested YesNoPopups?
I get a null pointer exception before the reactOnYes method is executed (because the m_yesNoListener is null after the outer YesNoPopup is closed).

In my case the problem is hard to prevent because I like to execute a command after displaying a message box. And I do not know what the command looks like - and it might open a YesNoPopup itself.

best regards
Frauke



heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

Hi Björn,

there also are problems with the sizing of any popup that is nested within a YESNOPopup. The "inner" popup will allway have the same size than the YesNoPopup and ignores its on settings given by popup.open(...)

With "nested" YesNoPoups I mean: opening a new popup inside the reactOnYes function of the YesNoPopup.

To me it looks like this problem is related to the one above.

Frauke
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

Hi Frauke,

opening a new YesNo Popup inside the Yes/No processing is not possible right now. Background is: they both meet the same server side managed bean...

The other issue that you mention: we need to have a look + will check short term.

Björn

Björn Müller, CaptainCasa GmbH
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

ok, this is what I expected.... you use static members within the bean....

Nevertheless we found a workaround by using the bean method invoker and it works fine....

But we still have the size problem - even with the workaround.
Please have a look at it.

Thanks
Frauke
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline


you use static members within the bean
 


...noooooooo!!!!

"static" means you will never survive a multi user scenario. It's the expression to the managed bean "#{abc.def}" that I am talking about.

Björn

Björn Müller, CaptainCasa GmbH
heyl

Power User

Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline

whatever!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team