From baszero at gmail.com Tue Jun 4 15:42:50 2013 From: baszero at gmail.com (basZero) Date: Tue, 4 Jun 2013 15:42:50 +0200 Subject: [Yanel-dev] xinclude Message-ID: dear all, I wanted to implement the following, but I struggled. *What I have:* - There are two resources (A+B) producing a valid HTML page with mime type "text/html". So when looking at the source of those HTML pages, I see this at the top: - Resource B is able to deliver the whole page without menu and sidebar. This is achieved by passing in a URL parameter. *What i want:* - I would like to call the resource B with contentonly=true and include the resulting HTML code into the page of resource A. How can you do that? When I use the following in a XSL of resource A... ** ... it gives me this error: Transformation error: http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: exception:org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'. root-cause:null line: -- Typical usage: line: ^ error: org.xml.sax.SAXParseException: The declaration for the entity "HTML.Version" must end with '>'. ). If you know something about how to include the HTML output of another resource in the called resource's XSL, let me know. Cheers Bas -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Tue Jun 4 16:42:59 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Tue, 04 Jun 2013 16:42:59 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: References: Message-ID: <51ADFCF3.2010203@wyona.com> Dear Balz Does it work when you set the mime type of resource B to application/xml and when you use the XML serializer? Do you have to access resource B also directly or is it only used via xinclude? Cheers Michael Am 04.06.13 15:42, schrieb basZero: > dear all, > > I wanted to implement the following, but I struggled. > > *What I have:* > - There are two resources (A+B) producing a valid HTML page with mime > type "text/html". > So when looking at the source of those HTML pages, I see this at the top: > > "http://www.w3.org/TR/html4/loose.dtd"> > > - Resource B is able to deliver the whole page without menu and > sidebar. This is achieved by passing in a URL parameter. > > *What i want:* > > - I would like to call the resource B with contentonly=true and > include the resulting HTML code into the page of resource A. > > How can you do that? > > When I use the following in a XSL of resource A... > > ** > > ... it gives me this error: > Transformation error: > http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: > exception:org.xml.sax.SAXParseException: The declaration for the > entity "HTML.Version" must end with '>'. root-cause:null line: -- > Typical usage: line: ^ error: org.xml.sax.SAXParseException: The > declaration for the entity "HTML.Version" must end with '>'. ). > > If you know something about how to include the HTML output of another > resource in the called resource's XSL, let me know. > > Cheers > Bas > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From baszero at gmail.com Tue Jun 4 16:50:49 2013 From: baszero at gmail.com (basZero) Date: Tue, 4 Jun 2013 16:50:49 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: <51ADFCF3.2010203@wyona.com> References: <51ADFCF3.2010203@wyona.com> Message-ID: Hi michael, resource B is also used directly. yes it would work when I set it to application/xml. But there must be a way to do this also in text/html mode... cheers balz On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner wrote: > Dear Balz > > Does it work when you set the mime type of resource B to application/xml > and when you use the XML serializer? > Do you have to access resource B also directly or is it only used via > xinclude? > > Cheers > > Michael > > Am 04.06.13 15:42, schrieb basZero: > > dear all, > > I wanted to implement the following, but I struggled. > > *What I have:* > - There are two resources (A+B) producing a valid HTML page with mime type > "text/html". > So when looking at the source of those HTML pages, I see this at the top: > > http://www.w3.org/TR/html4/loose.dtd"> > > - Resource B is able to deliver the whole page without menu and sidebar. > This is achieved by passing in a URL parameter. > > *What i want:* > > - I would like to call the resource B with contentonly=true and include > the resulting HTML code into the page of resource A. > > How can you do that? > > When I use the following in a XSL of resource A... > > ** > > ... it gives me this error: > Transformation error: > http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: > exception:org.xml.sax.SAXParseException: The declaration for the entity > "HTML.Version" must end with '>'. root-cause:null line: -- Typical usage: > line: ^ error: org.xml.sax.SAXParseException: The declaration for the > entity "HTML.Version" must end with '>'. ). > > If you know something about how to include the HTML output of another > resource in the called resource's XSL, let me know. > > Cheers > Bas > > > > > -- > Yanel-development mailing list Yanel-development at wyona.com > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Tue Jun 4 17:02:19 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Tue, 04 Jun 2013 17:02:19 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: References: <51ADFCF3.2010203@wyona.com> Message-ID: <51AE017B.6090800@wyona.com> Hi Balz As a workaround you might make the same resource available under two URLs, but with different configurations or you can also configure an additional view and use this view for xinclude, e.g. ** Otherwise I need to check the code more closely how one could make this work, but IIRC we discussed this before. Maybe I find something inside the mailing lists... HTH Michael Am 04.06.13 16:50, schrieb basZero: > Hi michael, > > resource B is also used directly. > yes it would work when I set it to application/xml. > > But there must be a way to do this also in text/html mode... > > cheers > balz > > > On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner > > wrote: > > Dear Balz > > Does it work when you set the mime type of resource B to > application/xml and when you use the XML serializer? > Do you have to access resource B also directly or is it only used > via xinclude? > > Cheers > > Michael > > Am 04.06.13 15:42, schrieb basZero: >> dear all, >> >> I wanted to implement the following, but I struggled. >> >> *What I have:* >> - There are two resources (A+B) producing a valid HTML page with >> mime type "text/html". >> So when looking at the source of those HTML pages, I see this at >> the top: >> >> > "http://www.w3.org/TR/html4/loose.dtd"> >> >> - Resource B is able to deliver the whole page without menu and >> sidebar. This is achieved by passing in a URL parameter. >> >> *What i want:* >> >> - I would like to call the resource B with contentonly=true and >> include the resulting HTML code into the page of resource A. >> >> How can you do that? >> >> When I use the following in a XSL of resource A... >> >> ** >> >> ... it gives me this error: >> Transformation error: >> http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: >> exception:org.xml.sax.SAXParseException: The declaration for the >> entity "HTML.Version" must end with '>'. root-cause:null line: -- >> Typical usage: line: ^ error: org.xml.sax.SAXParseException: The >> declaration for the entity "HTML.Version" must end with '>'. ). >> >> If you know something about how to include the HTML output of >> another resource in the called resource's XSL, let me know. >> >> Cheers >> Bas >> >> > > > -- > Yanel-development mailing list Yanel-development at wyona.com > > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From baszero at gmail.com Tue Jun 4 17:05:17 2013 From: baszero at gmail.com (basZero) Date: Tue, 4 Jun 2013 17:05:17 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: <51AE017B.6090800@wyona.com> References: <51ADFCF3.2010203@wyona.com> <51AE017B.6090800@wyona.com> Message-ID: Thanks Michael, I'll have a look at the yanel view then, seems to be a possibility. I checked the mails already, the topic was similar, but there it was about how to render a "&" in the html. Cheers Balz On Tue, Jun 4, 2013 at 5:02 PM, Michael Wechner wrote: > Hi Balz > > As a workaround you might make the same resource available under two URLs, > but with different configurations > or you can also configure an additional view and use this view for > xinclude, e.g. > > * href="yanelresource:/blabla/blabla?yanel.resource.viewid=xml"/>* > > Otherwise I need to check the code more closely how one could make this > work, but IIRC we discussed this before. > Maybe I find something inside the mailing lists... > > HTH > > Michael > > Am 04.06.13 16:50, schrieb basZero: > > Hi michael, > > resource B is also used directly. > yes it would work when I set it to application/xml. > > But there must be a way to do this also in text/html mode... > > cheers > balz > > > On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner > wrote: > >> Dear Balz >> >> Does it work when you set the mime type of resource B to application/xml >> and when you use the XML serializer? >> Do you have to access resource B also directly or is it only used via >> xinclude? >> >> Cheers >> >> Michael >> >> Am 04.06.13 15:42, schrieb basZero: >> >> dear all, >> >> I wanted to implement the following, but I struggled. >> >> *What I have:* >> - There are two resources (A+B) producing a valid HTML page with mime >> type "text/html". >> So when looking at the source of those HTML pages, I see this at the top: >> >> > http://www.w3.org/TR/html4/loose.dtd"> >> >> - Resource B is able to deliver the whole page without menu and >> sidebar. This is achieved by passing in a URL parameter. >> >> *What i want:* >> >> - I would like to call the resource B with contentonly=true and include >> the resulting HTML code into the page of resource A. >> >> How can you do that? >> >> When I use the following in a XSL of resource A... >> >> ** >> >> ... it gives me this error: >> Transformation error: >> http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: >> exception:org.xml.sax.SAXParseException: The declaration for the entity >> "HTML.Version" must end with '>'. root-cause:null line: -- Typical usage: >> line: ^ error: org.xml.sax.SAXParseException: The declaration for the >> entity "HTML.Version" must end with '>'. ). >> >> If you know something about how to include the HTML output of another >> resource in the called resource's XSL, let me know. >> >> Cheers >> Bas >> >> >> >> >> -- >> Yanel-development mailing list Yanel-development at wyona.com >> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >> > > > > > > -- > Yanel-development mailing list Yanel-development at wyona.com > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Wed Jun 5 09:56:00 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 09:56:00 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: References: <51ADFCF3.2010203@wyona.com> <51AE017B.6090800@wyona.com> Message-ID: <51AEEF10.5010701@wyona.com> Dear Balz Am 04.06.13 17:05, schrieb basZero: > Thanks Michael, > > I'll have a look at the yanel view then, seems to be a possibility. Please see for example http://www.yanel.org//en/documentation/basic-xml-resource-type.html > > I checked the mails already, the topic was similar, but there it was > about how to render a "&" in the html. do you have a link to the public mailing list about this? Thanks Michael > > Cheers > Balz > > > On Tue, Jun 4, 2013 at 5:02 PM, Michael Wechner > > wrote: > > Hi Balz > > As a workaround you might make the same resource available under > two URLs, but with different configurations > or you can also configure an additional view and use this view for > xinclude, e.g. > > * href="yanelresource:/blabla/blabla?yanel.resource.viewid=xml"/>* > > Otherwise I need to check the code more closely how one could make > this work, but IIRC we discussed this before. > Maybe I find something inside the mailing lists... > > HTH > > Michael > > Am 04.06.13 16:50, schrieb basZero: >> Hi michael, >> >> resource B is also used directly. >> yes it would work when I set it to application/xml. >> >> But there must be a way to do this also in text/html mode... >> >> cheers >> balz >> >> >> On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner >> > wrote: >> >> Dear Balz >> >> Does it work when you set the mime type of resource B to >> application/xml and when you use the XML serializer? >> Do you have to access resource B also directly or is it only >> used via xinclude? >> >> Cheers >> >> Michael >> >> Am 04.06.13 15:42, schrieb basZero: >>> dear all, >>> >>> I wanted to implement the following, but I struggled. >>> >>> *What I have:* >>> - There are two resources (A+B) producing a valid HTML page >>> with mime type "text/html". >>> So when looking at the source of those HTML pages, I see >>> this at the top: >>> >>> >> Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> >>> >>> - Resource B is able to deliver the whole page without menu >>> and sidebar. This is achieved by passing in a URL parameter. >>> >>> *What i want:* >>> >>> - I would like to call the resource B with contentonly=true >>> and include the resulting HTML code into the page of resource A. >>> >>> How can you do that? >>> >>> When I use the following in a XSL of resource A... >>> >>> ** >>> >>> ... it gives me this error: >>> Transformation error: >>> http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: >>> exception:org.xml.sax.SAXParseException: The declaration for >>> the entity "HTML.Version" must end with '>'. root-cause:null >>> line: -- Typical usage: line: ^ error: >>> org.xml.sax.SAXParseException: The declaration for the >>> entity "HTML.Version" must end with '>'. ). >>> >>> If you know something about how to include the HTML output >>> of another resource in the called resource's XSL, let me know. >>> >>> Cheers >>> Bas >>> >>> >> >> >> -- >> Yanel-development mailing list Yanel-development at wyona.com >> >> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >> >> >> >> > > > -- > Yanel-development mailing list Yanel-development at wyona.com > > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From baszero at gmail.com Wed Jun 5 10:05:28 2013 From: baszero at gmail.com (basZero) Date: Wed, 5 Jun 2013 10:05:28 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: <51AEEF10.5010701@wyona.com> References: <51ADFCF3.2010203@wyona.com> <51AE017B.6090800@wyona.com> <51AEEF10.5010701@wyona.com> Message-ID: Hi Michael, what do you mean by link to the public mailing list? I searched my GMail account for it. I can forward you the mail if you like. But as said, the topic was slightly different. Cheers Balz On Wed, Jun 5, 2013 at 9:56 AM, Michael Wechner wrote: > Dear Balz > > Am 04.06.13 17:05, schrieb basZero: > > Thanks Michael, > > I'll have a look at the yanel view then, seems to be a possibility. > > > Please see for example > > http://www.yanel.org//en/documentation/basic-xml-resource-type.html > > > I checked the mails already, the topic was similar, but there it was > about how to render a "&" in the html. > > > do you have a link to the public mailing list about this? > > Thanks > > Michael > > > Cheers > Balz > > > On Tue, Jun 4, 2013 at 5:02 PM, Michael Wechner > wrote: > >> Hi Balz >> >> As a workaround you might make the same resource available under two >> URLs, but with different configurations >> or you can also configure an additional view and use this view for >> xinclude, e.g. >> >> *> href="yanelresource:/blabla/blabla?yanel.resource.viewid=xml"/>* >> >> Otherwise I need to check the code more closely how one could make this >> work, but IIRC we discussed this before. >> Maybe I find something inside the mailing lists... >> >> HTH >> >> Michael >> >> Am 04.06.13 16:50, schrieb basZero: >> >> Hi michael, >> >> resource B is also used directly. >> yes it would work when I set it to application/xml. >> >> But there must be a way to do this also in text/html mode... >> >> cheers >> balz >> >> >> On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner < >> michael.wechner at wyona.com> wrote: >> >>> Dear Balz >>> >>> Does it work when you set the mime type of resource B to application/xml >>> and when you use the XML serializer? >>> Do you have to access resource B also directly or is it only used via >>> xinclude? >>> >>> Cheers >>> >>> Michael >>> >>> Am 04.06.13 15:42, schrieb basZero: >>> >>> dear all, >>> >>> I wanted to implement the following, but I struggled. >>> >>> *What I have:* >>> - There are two resources (A+B) producing a valid HTML page with mime >>> type "text/html". >>> So when looking at the source of those HTML pages, I see this at the top: >>> >>> >> http://www.w3.org/TR/html4/loose.dtd"> >>> >>> - Resource B is able to deliver the whole page without menu and >>> sidebar. This is achieved by passing in a URL parameter. >>> >>> *What i want:* >>> >>> - I would like to call the resource B with contentonly=true and >>> include the resulting HTML code into the page of resource A. >>> >>> How can you do that? >>> >>> When I use the following in a XSL of resource A... >>> >>> ** >>> >>> ... it gives me this error: >>> Transformation error: >>> http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: >>> exception:org.xml.sax.SAXParseException: The declaration for the entity >>> "HTML.Version" must end with '>'. root-cause:null line: -- Typical usage: >>> line: ^ error: org.xml.sax.SAXParseException: The declaration for the >>> entity "HTML.Version" must end with '>'. ). >>> >>> If you know something about how to include the HTML output of another >>> resource in the called resource's XSL, let me know. >>> >>> Cheers >>> Bas >>> >>> >>> >>> >>> -- >>> Yanel-development mailing list Yanel-development at wyona.com >>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >>> >> >> >> >> >> >> -- >> Yanel-development mailing list Yanel-development at wyona.com >> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >> > > > > > > -- > Yanel-development mailing list Yanel-development at wyona.com > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Wed Jun 5 13:22:47 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 13:22:47 +0200 Subject: [Yanel-dev] xinclude In-Reply-To: References: <51ADFCF3.2010203@wyona.com> <51AE017B.6090800@wyona.com> <51AEEF10.5010701@wyona.com> Message-ID: <51AF1F87.8090803@wyona.com> Hi Balz A link like for example http://lists.wyona.org/pipermail/yanel-development/2013-June/006132.html but if you resend the content would be fine as well. I understand that it wasn't the same, but maybe it helps anyway ;-) Thanks Michael Am 05.06.13 10:05, schrieb basZero: > Hi Michael, > > what do you mean by link to the public mailing list? > I searched my GMail account for it. I can forward you the mail if you > like. But as said, the topic was slightly different. > > Cheers > Balz > > > On Wed, Jun 5, 2013 at 9:56 AM, Michael Wechner > > wrote: > > Dear Balz > > Am 04.06.13 17:05, schrieb basZero: >> Thanks Michael, >> >> I'll have a look at the yanel view then, seems to be a possibility. > > Please see for example > > http://www.yanel.org//en/documentation/basic-xml-resource-type.html > >> >> I checked the mails already, the topic was similar, but there it >> was about how to render a "&" in the html. > > do you have a link to the public mailing list about this? > > Thanks > > Michael > >> >> Cheers >> Balz >> >> >> On Tue, Jun 4, 2013 at 5:02 PM, Michael Wechner >> > wrote: >> >> Hi Balz >> >> As a workaround you might make the same resource available >> under two URLs, but with different configurations >> or you can also configure an additional view and use this >> view for xinclude, e.g. >> >> *> href="yanelresource:/blabla/blabla?yanel.resource.viewid=xml"/>* >> >> Otherwise I need to check the code more closely how one could >> make this work, but IIRC we discussed this before. >> Maybe I find something inside the mailing lists... >> >> HTH >> >> Michael >> >> Am 04.06.13 16:50, schrieb basZero: >>> Hi michael, >>> >>> resource B is also used directly. >>> yes it would work when I set it to application/xml. >>> >>> But there must be a way to do this also in text/html mode... >>> >>> cheers >>> balz >>> >>> >>> On Tue, Jun 4, 2013 at 4:42 PM, Michael Wechner >>> >> > wrote: >>> >>> Dear Balz >>> >>> Does it work when you set the mime type of resource B to >>> application/xml and when you use the XML serializer? >>> Do you have to access resource B also directly or is it >>> only used via xinclude? >>> >>> Cheers >>> >>> Michael >>> >>> Am 04.06.13 15:42, schrieb basZero: >>>> dear all, >>>> >>>> I wanted to implement the following, but I struggled. >>>> >>>> *What I have:* >>>> - There are two resources (A+B) producing a valid HTML >>>> page with mime type "text/html". >>>> So when looking at the source of those HTML pages, I >>>> see this at the top: >>>> >>>> >>> Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> >>>> >>>> - Resource B is able to deliver the whole page without >>>> menu and sidebar. This is achieved by passing in a URL >>>> parameter. >>>> >>>> *What i want:* >>>> >>>> - I would like to call the resource B with >>>> contentonly=true and include the resulting HTML code >>>> into the page of resource A. >>>> >>>> How can you do that? >>>> >>>> When I use the following in a XSL of resource A... >>>> >>>> ** >>>> >>>> ... it gives me this error: >>>> Transformation error: >>>> http://www.w3.org/TR/html4/loose.dtd:Line=31;Column=3: >>>> exception:org.xml.sax.SAXParseException: The >>>> declaration for the entity "HTML.Version" must end with >>>> '>'. root-cause:null line: -- Typical usage: line: ^ >>>> error: org.xml.sax.SAXParseException: The declaration >>>> for the entity "HTML.Version" must end with '>'. ). >>>> >>>> If you know something about how to include the HTML >>>> output of another resource in the called resource's >>>> XSL, let me know. >>>> >>>> Cheers >>>> Bas >>>> >>>> >>> >>> >>> -- >>> Yanel-development mailing list >>> Yanel-development at wyona.com >>> >>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >>> >>> >>> >>> >> >> >> -- >> Yanel-development mailing list Yanel-development at wyona.com >> >> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development >> >> >> >> > > > -- > Yanel-development mailing list Yanel-development at wyona.com > > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Wed Jun 5 13:40:04 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 13:40:04 +0200 Subject: [Yanel-dev] jooq might be of interest... Message-ID: <51AF2394.6050804@wyona.com> Hi I recently read about http://www.jooq.org/ which sounds very interesting and might be useful for accessing SQL based repositories from within Yanel or Yarep. HTH Michael From baszero at gmail.com Wed Jun 5 13:54:51 2013 From: baszero at gmail.com (basZero) Date: Wed, 5 Jun 2013 13:54:51 +0200 Subject: [Yanel-dev] jooq might be of interest... In-Reply-To: <51AF2394.6050804@wyona.com> References: <51AF2394.6050804@wyona.com> Message-ID: JOOQ might be interesting if you have to quickly integrate a given database, e.g. you can't decide on the datastructure, as it is already there and you need to display some data out of the DB. If you start from scratch, I would never hardcode the database structure in Java (e.g. via JOOQ), I would rather model my data objects in Java first and then let the object/relational mapper do the persistence towards the database (e.g. via JPA and Hibernate). You just code against you Data Models, nothing else. That's Java ;-) Cheers Balz On Wed, Jun 5, 2013 at 1:40 PM, Michael Wechner wrote: > Hi > > I recently read about > > http://www.jooq.org/ > > which sounds very interesting and might be useful for accessing SQL based > repositories from within Yanel or Yarep. > > HTH > > Michael > -- > Yanel-development mailing list Yanel-development at wyona.com > http://lists.wyona.org/cgi-**bin/mailman/listinfo/yanel-**development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Wed Jun 5 14:54:38 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 14:54:38 +0200 Subject: [Yanel-dev] jooq might be of interest... In-Reply-To: References: <51AF2394.6050804@wyona.com> Message-ID: <51AF350E.9060708@wyona.com> I generally agree, but still it might be very useful sometimes ;-) Am 05.06.13 13:54, schrieb basZero: > JOOQ might be interesting if you have to quickly integrate a given > database, e.g. you can't decide on the datastructure, as it is already > there and you need to display some data out of the DB. > > If you start from scratch, I would never hardcode the database > structure in Java (e.g. via JOOQ), I would rather model my data > objects in Java first and then let the object/relational mapper do the > persistence towards the database (e.g. via JPA and Hibernate). You > just code against you Data Models, nothing else. That's Java ;-) > > Cheers > Balz > > > On Wed, Jun 5, 2013 at 1:40 PM, Michael Wechner > > wrote: > > Hi > > I recently read about > > http://www.jooq.org/ > > which sounds very interesting and might be useful for accessing > SQL based repositories from within Yanel or Yarep. > > HTH > > Michael > -- > Yanel-development mailing list Yanel-development at wyona.com > > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wechner at wyona.com Wed Jun 5 16:48:26 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 16:48:26 +0200 Subject: [Yanel-dev] Ehcache Libs updated (2.7.0) Message-ID: <51AF4FBA.7000609@wyona.com> Greetings I have updated the ehcache libraries to the most recent version 2.7.0. It looks good so far, but in case you notice something odd, then please let me know. Thanks Michael From michael.wechner at wyona.com Wed Jun 5 23:23:23 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Wed, 05 Jun 2013 23:23:23 +0200 Subject: [Yanel-dev] Ehcache Libs updated (2.7.0) In-Reply-To: <51AF4FBA.7000609@wyona.com> References: <51AF4FBA.7000609@wyona.com> Message-ID: <51AFAC4B.60907@wyona.com> Hi I noticed that Yanel does not shutdown properly anymore tail -F local/apache-tomcat-7.0.25/logs/catalina.out because ehcache seemed to keep running. I have added now a shutdown of the ehcache to src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java which seems to do the trick. Thanks Michael Am 05.06.13 16:48, schrieb Michael Wechner: > Greetings > > I have updated the ehcache libraries to the most recent version 2.7.0. > > It looks good so far, but in case you notice something odd, then > please let me know. > > Thanks > > Michael From michael.wechner at wyona.com Thu Jun 27 20:27:24 2013 From: michael.wechner at wyona.com (Michael Wechner) Date: Thu, 27 Jun 2013 20:27:24 +0200 Subject: [Yanel-dev] Yanel is supporting SSO (single-sign-on) based on CAS Message-ID: <51CC840C.1030403@wyona.com> Hi I have started a SSO implementation based on CAS (http://www.jasig.org/cas). The web authenticator implementation can be found at src/webapp/src/java/org/wyona/yanel/servlet/security/impl/CASWebAuthenticatorImpl.java and a sample configuration can be found inside src/realms/yanel-website/realm.xml https://127.0.0.1:9443/cas-server-webapp-3.5.2/login https://127.0.0.1:9443/cas-server-webapp-3.5.2/serviceValidate It is not completely finished yet, but works very well so far. Enjoy Michael From Wayne.Bunting at gurit.com Thu Jun 27 23:03:24 2013 From: Wayne.Bunting at gurit.com (Wayne.Bunting at gurit.com) Date: Thu, 27 Jun 2013 22:03:24 +0100 Subject: [Yanel-dev] AUTO: Wayne Bunting is out of the office. (returning 02/07/2013) Message-ID: I am out of the office until 02/07/2013. I will respond to your message when I return. For urgent issues, please contact it.helpdesk at gurit.com Note: This is an automated response to your message "[Yanel-dev] Yanel is supporting SSO (single-sign-on) based on CAS" sent on 27/06/2013 19:27:24. This is the only notification you will receive while this person is away. ********************************************************************* This e-mail, with any attachments, is confidential and is intended only for the named addressee. You may not alter the e-mail or attachments except with our consent. If you are not the intended recipient, you may not copy, use or disclose this email or attachments in any way. If you have received it in error, the information contained in the e-mail should, at all times, remain confidential and such circumstances shall not authorize you to use or disclose the confidential information. Please notify us immediately and delete it. Please rely on your own virus checking procedures. No responsibility is taken by us for any loss or damages arising out of any bug or virus infection. No agreements concluded by electronic correspondence with us shall be of any force or effect until we have confirmed same in writing. Any opinions and views expressed in this email are not necessarily our opinions/and or views. Gurit (UK) Limited registered offices are: St. Cross Business Park, Newport, Isle of Wight, PO30 5WU, UK The Company is registered in England and Wales. Reg No. 1368806 *********************************************************************