Thanks Matthias, the article was the explanation I was looking for. :)
Does JSF 1.2 have also some solution for the bookmarking/crawling issue? Please see: http://www.nabble.com/Bookmarking+and+Crawling+of+JSF-t1613503.html#a4373933 On 5/21/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Chrisi- you may also take a look at [1]. It explains lot's of JSF 1.1 issues. JSF 1.2 is fixing this. Or (today), use Facelets. -Matthias [1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html On 5/20/06, Gerald Müllan <[EMAIL PROTECTED]> wrote: > Hi, > > I see the main problem in this that you mix up jsf presentation with > html markup. It`s not best practice to have jsf corresponding tags and > plain html on the same page. Try where ever possible to use only jsf > related stuff. > > Normally it should be possible to get along with your requirements > when doing it like this. > If not, you can also use tomahawks <t:html> component. Furthermore > <t:document> can help out. > > Apart from your problem, doing it like this makes you independent from > html renderkit. > > cheers, > > Gerald > > On 5/20/06, Chrisi <[EMAIL PROTECTED]> wrote: > > Hi Andrew, > > > > thanks for response. > > It's a pitty. We can't use facelets in our project currently. > > > > There must be a way to use subviews without messing the things up > > without using facelets, or? > > > > On 5/20/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: > > > Facelets. > > > > > > Does includes very nicely (no subviews), is faster than JSP and you > > > don't need verbatim tags. > > > > > > On 5/20/06, Chrisi <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > I'm driving crazy with myfaces: > > > > > > > > I've got an JSF page with the following content: > > > > > > > > <p> > > > > Some HTML tags and text > > > > </p> > > > > <h:outputText value="And here JSF text" /> > > > > > > > > Let it run and you see > > > > " > > > > Some HTML tags and text > > > > And here JSF text > > > > " > > > > on your browser. That's ok! > > > > > > > > > > > > Now I wanna make some refactoring and like to put the > > > > content into a subview. The content from above is inlcuded als follow: > > > > > > > > <f:subview id="test"> > > > > <jsp:include page="test.jsp" /> > > > > </f:subview> > > > > > > > > I let it run again and you see the output messed up (lines are not in order): > > > > " > > > > And here JSF text > > > > Some HTML tags and text > > > > " > > > > > > > > When putting <f:verbatim> or <t:htmlTag> around the HTML in the > > > > subview it seems to work. > > > > But that's no adequate way. It messes up you view-code and makes it unreadable! > > > > > > > > Why is there a different behavior in subview vs. views? > > > > > > > > What is the way to go????? > > > > > > > > > > > > > > > > Thanks and Greetings > > > > Chrisi > > > > > > > > > > > > > -- > > Thanks and Greetings > > Chrisi > > > > > -- > Gerald Müllan > Schelleingasse 2/11 > 1040 Vienna, Austria > 0043 699 11772506 > [EMAIL PROTECTED] > -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten http://jroller.com/page/mwessendorf mwessendorf-at-gmail-dot-com
-- Thanks and Greetings Chrisi

