Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to reset an outputText value on page load?

$AM$Aug 3 2013 — edited Aug 3 2013

Hi All,

I'm using JDeveloper 11.1.1.6.0. In my application I have a .jspx page. Inside the page I have a selectOneChoice and 2 taskFlows(dragged as region). Depending on the value selected the respective regions are getting rendered.

Each taskflow is having one page. Now in taskflow1(page1), I have an outputText and a button. The value of the text is initially 0. If I'm clicking on the button, the value of the text is changed to 1.

Now if I change the value of the soc to 2, the taskFlow2(page2) will be rendered. Now if I change the value of the soc to 1 again, taskflow1(page1) will be shown. In this page, the outputText value I'm getting as 1, when it getting rendered for the 2nd time. But I want the value to be set to 0.

Please help me with your solutions.

Thanks,

$@M$

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2013
Added on Aug 3 2013
1 comment
354 views