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

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

we made it! a jsf path which is longer than the MAXIMUM of 15 (which is defined captaincasa) tokens.

the problem is, if this limit is reached, just an IndexOutOfBoundException is thrown. A log message, saying, "you're tag has to many tokens (max.15)" may help others who are facing the same problem.

We merged our pathes so our longest one is now up to 14 tokens (near to the limit). Perhaps captain casa can offer an property which lets the developer decide the maximum of allowed tokens.
CaptainCasa

Power User
[Avatar]

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

Hi,
ok, we also can go up to 20 or so!
For us "15" sounded like "infinite". So before changing your code, we could update... plase tell us.

And yor're right: the exception is not really perfect. We'll update...

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

...we upgraded to 50 now. The array is only used once, so we do not need to care about its size...

Björn

Björn Müller, CaptainCasa GmbH
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

this are good news. thank you.
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team