webtier@glassfish.java.net

Re: [webtier] Re: Visual Web JSF. Problem in the prerender() method.

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Wed, 01 Jul 2009 08:42:50 -0700

If noone is answering you, it's probably because it was hard to
understand the question.

I don't know Visual JSF - that's a Netbeans thing, and there aren't tons
of people on this alias that know it - you may have better luck in
Netbeans forums.

But more specifically, you don't really give a lot of context, despite
providing a great deal of code. OK, you've got two valuechange events.
  That are called where? By what? How does prerender fit in? Is that
a Visaul JSF thing?

The best questions are usually distilled down to less than 10 lines of
code - more than that, and it gets hard to see what's going on in all
the moving parts. That's also a good practice when you're debugging a
problem anyway - try to come up with a very short example that
illustrates your problem,and often the question answers itself.

I'm sorry I can't be of more help.


Jim


On 6/30/09 9:53 PM, webtier_at_javadesktop.org wrote:
> Hi folks,
>
> I have been debugging the web app and everything is ok. So the problem is the order where the different methods are executed.
>
> I mean, when I call productosDD_processValueChange(ValueChangeEvent event) {...} it gives me what I am waiting it does.
>
> But when I call categoriasDD_processValueChange(ValueChangeEvent event) {...} or subcategoriasDD_processValueChange(ValueChangeEvent event) {...} methods, the preprender(){...} is executed after I call those methods but before... what? I do not know. But at the end I do not get what I was waiting.
>
> So I feel ok if someone gives me the url of a good tutorial to understand all of it. The rest fall in my hands.
>
> Thanks
> Jose Alvarez de Lara
> [Message sent by forum member 'josealvarezdelara' (josealvarezdelara)]
>
> http://forums.java.net/jive/thread.jspa?messageID=353701
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>