Help coderanch get a
new server
by contributing to the fundraiser

Peterson Machado

Greenhorn
+ Follow
since Sep 18, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Peterson Machado

Hi all!!
I'm having trouble solving a problem.

In my report file, i have a textField that prints a parameter. When the text from this parameter has line break commands (<br/> or \n) or has a big text that would force a line break, the AS crashes and don't show the report.

I'm using the textField with "Stretch with overflow" and "Position Type Float".

Thanks in advance!!

14 years ago
Hi all!!
I'm having trouble to make dynamic navigation work using jsf/facelets/richfaces.

Here's the code:
index.xhtml


defaultNavigation.xhtml


NavigationBean.java


When I first load the page, the content section shows /pages/content/defaultContent.xhtml. When I click on the panelMenuItem, the NavigationBean is updated (setting content = /pages/content/anotherContent.xhtml). The problem is that the content section is not reloaded.
If I do it "mannualy" (refreshing the browser), the correct content is loaded.

I tried using mode="ajax" and reRender on rich:menuItem, but no luck...

Anyone knows how to succesfuly implement this kind of navigation??
thanks
14 years ago
JSF