[JBoss Seam] - Re: Font problem
by jazir1979
Hi Nam,
You do need to configure a character encoding filter, and Seam comes with one that you can set up in your components.xml:
>web:character-encoding-filter encoding="UTF-8" override-client="true" url-pattern="*.seam"/>
hope that helps,
Daniel.
"namnn" wrote : Hi all,
| I am from Vietnam. I need to display Vietnamese font on browser. When i display data from Oracle database which is Vietnamese, it is ok. But when i type vietnamese in the webpage's textboxes and save them to DB, it displays wrong font. I use UTF-8 standard. If i run applications without SEAM, font is correct. All the configurations of Browser, Jboss and OracleDB are correct.
| Do i have to config anything in SEAM?
| Thanks for any help.
| Nam.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049963#4049963
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049963
17 years, 6 months
[JBoss Portal] - CMS URL rewriting: what is going on?
by Agathon
Hi,
I am currently experimenting with JBoss Portal 2.6 CR2. So far it strikes me as the best release of JBoss Portal to date. Thanks very much to everyone involved! Now on with my question...
If I specify a link in the following way:
| <a href="test/index.html">Link</a>
|
The CMSPortlet rewrites the HTML to become:
| <a href="/portal/content/test/index.html">Link</a>
|
The link works, however, since "/portal/content" is tied to the default portal, the layout and theme changes when the link is followed, which is undesirable for my purposes. Is there any way of specifying internal links so that the current theme and layout are preserved?
Someone suggested using absolute URLs in an earlier thread, however, I think that information is out of date since absolute URLs are not being rewritten at all. Am I missing something obvious?
Thanks in advance!
Sincerely,
James McLean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049960#4049960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049960
17 years, 6 months
[JBoss Seam] - Workspace Bug
by tony.herstell@gmail.com
Whilst on a page that has a workspace label (shown in the Conversation list) that has some text that has to be generated from context variables; then deleting any convesation from the conversation picker causes Seam to break (it does do the deletion but you get a server side error and nothing rendered back). Works ok when on a page that generates a label for the conversation icker that doesn't have anything in the worksplace label but pure text.
http://gaming.homeip.net:8080/risingstars
steps {menu}
1. {Booking -> Indoor Arean}-> click o - private slot to see the pretty IceFaces effect
2. {Main Menu} click DESTROY WORKSPACE for the Booking
Works Ok.
3. {Booking -> Indoor Arena}
4. {Main Menu}
5. login as admin,password
6. {User -> Create} click DESTROY WORKSPACE for the Booking
This causes this:
| 13:28:00,921 WARN [Interpolator] exception interpolating string: Reason: #{cRUDUserController.mode} User ( #{user.username} )
| javax.faces.el.EvaluationException: Cannot get value for expression '#{cRUDUserController.mode}'
| at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
| at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:69)
| at org.jboss.seam.core.Interpolator.interpolateExpressions(Interpolator.java:88)
| at org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:67)
| snip...
| cRUDUserController.mode is a state variable for the CURRENT Page
|
|
and you see nothing changed.. click re-fresh for the page and its gone.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049957#4049957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049957
17 years, 6 months