<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://web-engineering.info"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>web-engineering.info - Unidirectional Associations in Java EE</title>
 <link>https://web-engineering.info/taxonomy/term/7</link>
 <description></description>
 <language>en</language>
<item>
 <title>update the publisher name</title>
 <link>https://web-engineering.info/node/55</link>
 <description>&lt;section class=&quot;field field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above view-mode-rss&quot;&gt;&lt;h2 class=&quot;field-label&quot;&gt;Forums:&amp;nbsp;&lt;/h2&gt;&lt;ul class=&quot;field-items&quot;&gt;&lt;li class=&quot;field-item even&quot; rel=&quot;sioc:has_container&quot;&gt;&lt;a href=&quot;/forum/7&quot; typeof=&quot;sioc:Container sioc:Forum&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Unidirectional Associations in Java EE&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/section&gt;&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden view-mode-rss&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;It looks like, there is no way to update the publisher name in the site as it is.&lt;/p&gt;
&lt;p&gt;the problem is,&lt;/p&gt;
&lt;p&gt;I  modified the XHTML file and have an ipunt text with value of &lt;strong&gt;#{publisher.name}&lt;/strong&gt;  and added the following code to the Update method in publisher bean:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if (name!= null &amp;amp;&amp;amp; !name.equals(publisher.name)) {publisher.setName(name)}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;but it keeps giving me:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EntityNotFoundException( &quot;The publisher with name &quot;  &quot; was not found)&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 25 Dec 2015 08:54:02 +0000</pubDate>
 <dc:creator>khldqr</dc:creator>
 <guid isPermaLink="false">55 at https://web-engineering.info</guid>
 <comments>https://web-engineering.info/node/55#comments</comments>
</item>
</channel>
</rss>
