You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2008/12/08 04:51:54 UTC

Re: Can we use JSP pages in the Screens.xml files

bump this up

David E. Jones sent the following on 7/19/2006 6:56 AM:
> 
> No, this is not possible. It's not possible in the current
> implementation of the Screen Widget, and in fact it's not even
> technically possible with the JSP API.
> 
> JSP is NOT a generic template technology and can't just run in any
> context, so it will not work with any Stream or Writer based view
> technology like the Screen Widget. This is one of the inherent problems
> with JSPs and one of the various reasons why we moved away from JSPs a
> few years ago.
> 
> -David
> 
> 
> rams wrote:
>> Hi All,
>> I want to use jsps for my application.
>> Will the screen definitions work for jsps.
>> When I try screen definitions with Jsp ,It is giving Error saying
>> "such type of endering not yet supported".
>> .....................
>> ......................
>> The Screen definitions file fragment I am using looks like this:
>> So, Any one tell me , How can I use JSP with screen definitions.
>> Is it compulsory ro use tiles framework ,if I use JSP pages in the
>> presentation layer.?
>>
>> <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        
>> xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
>>
>>    <screen name="CommonDecorator">
>>        <section>
>>             <widgets>
>>                 <platform-specific><html><html-template
>> location="component://demo/webapp/demo/include/eader.ftl"/></html></platform-specific>
>>
>>                 <decorator-section-include name="body"/>
>>                 <platform-specific><html><html-template
>> location="component://demo/webapp/demo/include/footer.ftl"/></html></platform-specific>
>>
>>             </widgets>
>>        </section>
>>     </screen>
>> Thanks and Regards
>> RamReddy
>>
>>
>>
>> This e-mail and any files transmitted with it are for the sole use of
>> the intended recipient(s) and may contain confidential and privileged
>> information. If you are not the intended recipient or received it in
>> error, please contact the sender by reply e-mail and destroy all
>> copies of the original message. Please do not copy it for any purpose
>> or disclose its contents.
>>
>> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights
>> Reserved