Getting component in a JSP Page

Hi everybody,

I have one problem and need explanation.

I have a page with components. In the prerender method, I try to outpout the number of children calling the getChildCount() method but I always have 0 as result. When I put a button and call the same method after the prerender method, I have a correct result. I try with the preprocess and always have 0.

Can anybody tell me how can i get the list of components before the prerender method.

Thanks in advance

[494 byte] By [traily] at [2007-11-26 7:51:34]
# 1

Hi,

Please give me any solutions for my problem. I've search a long time but nothing works well.

I explain the context:

I have a function which looks inside a page for any components of type button or hyperlink and enables or disables them as the user has access or not.

I need to call this function in some pages where the user can add, update, delete, print etc...

When i call the function in the prerender or preprocess method, it doesn't work. On the other hand, when I put one button on the page wich call the same function, it works well.

Any helps will be appreciated

Thanks in advance

Lamine

traily at 2007-7-6 20:10:50 > top of Java-index,Development Tools,Java Tools...
# 2
No solutions about this problem?
traily at 2007-7-6 20:10:50 > top of Java-index,Development Tools,Java Tools...
# 3
WOW?!?.?Wassup?there is no solutions about this problem?Creator team, all members of the forums, give me anything helps me prerforming what i want to do or tell me if it's impossible at the prerender step.Thanks
traily at 2007-7-6 20:10:50 > top of Java-index,Development Tools,Java Tools...