<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Últimas mensagens do tópico "Carregamento dos dados no combo"]]></title>
		<link>http://www.neoframework.org/forum/posts/list/6.page</link>
		<description><![CDATA[Últimas mensagens enviadas no tópico "Carregamento dos dados no combo"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Carregamento dos dados no combo</title>
				<description><![CDATA[ Estou com uma duvida quanto ao carregamento automatico dos combos
O combo não carrega os dados, fica vazio.

PermissionBean
<span class="genmed"><b>Code:</b></span><br>
		<div>
		<pre bbCodeId="pre-code" style="overflow: auto; width: 95%; max-height: 350px; height:expression(this.scrollHeight > 350 ? '350px' : 'auto');">
@Entity
@SequenceGenerator&#40;name="SQ_PERMISSION",sequenceName="SQ_PERMISSION"&#41;
@Table&#40;name="PERMISSION"&#41;
public class PermissionBean extends AbstractPermission {
&#40;...&#41;
private RoleBean role;
&#40;...&#41;
@Required
@ManyToOne&#40;fetch=FetchType.LAZY&#41;
@JoinColumn&#40;name="ID_ROLE"&#41;
public RoleBean getRole&#40;&#41; {
    return role;
}
</pre>
		</div>

jsp de entrada
<span class="genmed"><b>Code:</b></span><br>
		<div>
		<pre bbCodeId="pre-code" style="overflow: auto; width: 95%; max-height: 350px; height:expression(this.scrollHeight > 350 ? '350px' : 'auto');">
&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%&gt;
&lt;%@ taglib prefix="n" uri="neo"%&gt;
&lt;%@ taglib prefix="t" uri="template"%&gt;

&lt;t:entrada&gt;
	&lt;t:janelaEntrada&gt;
		&lt;t:tabelaEntrada&gt;
			&lt;t:property name="id"/&gt;
			&lt;t:property name="role"/&gt;
			&lt;t:property name="path"/&gt;
			&lt;t:property name="createPermission"/&gt;
			&lt;t:property name="readPermission"/&gt;
			&lt;t:property name="updatePermission"/&gt;
			&lt;t:property name="deletePermission"/&gt;
		&lt;/t:tabelaEntrada&gt;
	&lt;/t:janelaEntrada&gt;
&lt;/t:entrada&gt;
</pre>
		</div>

RoleBean
<span class="genmed"><b>Code:</b></span><br>
		<div>
		<pre bbCodeId="pre-code" style="overflow: auto; width: 95%; max-height: 350px; height:expression(this.scrollHeight > 350 ? '350px' : 'auto');">
@Entity
@SequenceGenerator&#40;name="SQ_ROLE",sequenceName="SQ_ROLE"&#41;
@Table&#40;name="ROLE"&#41;
public class RoleBean implements br.com.linkcom.neo.authorization.Role {
&#40;...&#41;
@Required
@DescriptionProperty
@Column&#40;name="NAME"&#41;
public String getName&#40;&#41; {
	return name;
}
</pre>
		</div>

Cadastrei alguns dados na tabela RoleBean e eles não foram carregados no combo =(]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/249.page#1677</guid>
				<link>http://www.neoframework.org/forum/posts/list/249.page#1677</link>
				<pubDate><![CDATA[Tue, 3 Feb 2009 01:56:01]]> GMT</pubDate>
				<author><![CDATA[ vberga]]></author>
			</item>
			<item>
				<title>Re:Carregamento dos dados no combo</title>
				<description><![CDATA[ Problema resolvido.
Ocorreu um problema de nomenclatura.
Deve-se respeitar o Seguinte Padrão para que o NEO consiga executar as reflections:
Bean: Permission [Bean]
Crud: PermissionCrud [BeanCrud]
Service: PermissionService [BeanService]
Dao: PermissionDAO [BeanDAO]]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/249.page#1678</guid>
				<link>http://www.neoframework.org/forum/posts/list/249.page#1678</link>
				<pubDate><![CDATA[Wed, 4 Feb 2009 15:37:08]]> GMT</pubDate>
				<author><![CDATA[ vberga]]></author>
			</item>
	</channel>
</rss>
