[Yanel-dev] Yanel and Bootstrap

Michael Wechner michael.wechner at wyona.com
Thu Jun 18 11:34:37 EDT 2020


great :-)

Am 18.06.20 um 16:26 schrieb basZero:
> Yes, you are right.
>
> without modifying BasicXMLResource I can force HTML5 by using the 
> custom-config per resource:
>
>   <yanel:custom-config>
>     <views>
>       <view id="default">
>         <mime-type>text/html</mime-type>
> <xslt>yanelrepo:mysandbox:app:/sandbox.xsl</xslt>
>         <serializer key="HTML5">
>         </serializer>
>       </view>
>     </views>
>   </yanel:custom-config>
>
> Seems to work fine. However the <html> tag still gets an unwanted 
> attribute "xmlns":
> <!DOCTYPE html>
> <html xmlns="http://www.w3.org/1999/xhtml">...
> </html>
>
> But I'll figure that out! ;-)
>
> Cheers, Balz
>
> On Thu, 18 Jun 2020 at 16:20, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Hi Balz
>
>     If I remember correctly the serializer is for example set inside
>
>     src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
>
>     whereas the XML Resource is extending this class
>
>     src/resources/xml/src/java/org/wyona/yanel/impl/resources/XMLResource.java
>
>     HTH
>
>     Michael
>
>
>     Am 18.06.20 um 15:35 schrieb basZero:
>>     I'd be interested how you updated Yanel so that HTML5 is
>>     produced, as Bootstrap 4.x requires HTML5.
>>     Thanks for further hints,
>>     Balz
>>
>>     On Thu, 11 Jun 2020 at 22:21, Michael Wechner
>>     <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>>
>>         Hi Balz
>>
>>         We have used Bootstrap for Yulup
>>
>>         https://yulup.com/app/js/bootstrap/4.0.0-alpha.3/bootstrap.js
>>
>>         whereas used it inside the Yulup realm, but not inside Yanel
>>         itself.
>>
>>         HTH
>>
>>         Michael
>>
>>         Am 11.06.20 um 10:44 schrieb basZero:
>>>         Hi,
>>>
>>>         has anybody integrated Bootstrap into Yanel and its whole
>>>         deployment process?
>>>         https://getbootstrap.com/
>>>
>>>         Cheers, Balz
>>>
>>
>>         -- 
>>         Yanel-development mailing list Yanel-development at wyona.com
>>         <mailto:Yanel-development at wyona.com>
>>         http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development
>>
>>
>
>     -- 
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20200618/e1613803/attachment-0001.html>


More information about the Yanel-development mailing list