Hello all.

I would like to parse a parsed string in my jsf-file.
The main idea is to use a designed jsf-page in many other jsf-pages
which could not reference to the original page.

Maybe a small example could explain better, what i mean.

1. Page to show in Browser (settings.jsf):
<h:outputText value="#{WebMasterPageLoader.pageInformationSettings}"
escape="false" />

2. JavaBean to include page:
        public String getPageInformationSettings()
        {
                String test = "<hr />Start!<hr /><br /><form
jsfc=\"h:form\" id=\"form_test\">";
                test += "<br />InputText = '<input
jsfc=\"h:inputSecret\" id=\"is\" value=\"#{SettingsBean.new1} test\">";
                test += "</form>";
                return test;
        }

3. Currently show-version in browser:
        
------------------------------------------------------------------------
--
        Start!
        
------------------------------------------------------------------------
--
        InputText = [#{SettingsBean.new1} test]

The String test will later on be replaced by a file-read-logic.
But how to parse the String?
May i use an other component then outputText?

Thanks for help.

Best wishes Benjamin

Reply via email to