<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Últimas mensagens do tópico "Problemas com o type CPFCNPJ"]]></title>
		<link>http://www.neoframework.org/forum/posts/list/6.page</link>
		<description><![CDATA[Últimas mensagens enviadas no tópico "Problemas com o type CPFCNPJ"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Problemas com o type CPFCNPJ</title>
				<description><![CDATA[ Tentei usar o type CPFCNPJ junto da property.
Mas deu q nao existe.

Estou usando a versao 3.3.17.

Alguem sabe pq?


Abraco!]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/571.page#1871</guid>
				<link>http://www.neoframework.org/forum/posts/list/571.page#1871</link>
				<pubDate><![CDATA[Mon, 5 Oct 2009 19:41:48]]> GMT</pubDate>
				<author><![CDATA[ viniciusst]]></author>
			</item>
			<item>
				<title>Re:Problemas com o type CPFCNPJ</title>
				<description><![CDATA[ Vinicius, para usar os tipos CPF e CNPJ, basta no bean declarar uma propriedade com o tipo CPF ou CNPJ.

No bean
<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');">
        &#40;...&#41;
	private Cpf cpf;
	private Cnpj cnpj;

	public Cpf getCpf&#40;&#41; {
		return cpf;
	}
	public void setCpf&#40;Cpf cpf&#41; {
		this.cpf = cpf;
	}
	
	public Cnpj getCnpj&#40;&#41; {
		return cnpj;
	}
	public void setCnpj&#40;Cnpj cnpj&#41; {
		this.cnpj = cnpj;
	}
	&#40;...&#41;
</pre>
		</div>

Na 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;t:entrada&gt;
	&lt;t:janelaEntrada&gt;
		&lt;t:tabelaEntrada&gt;
			&#40;...&#41;
			&lt;t:property name="cpf"/&gt;
			&lt;t:property name="cnpj"/&gt;
			&#40;...&#41;
		&lt;/t:tabelaEntrada&gt;
	&lt;/t:janelaEntrada&gt;
&lt;/t:entrada&gt;</pre>
		</div>]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/571.page#1873</guid>
				<link>http://www.neoframework.org/forum/posts/list/571.page#1873</link>
				<pubDate><![CDATA[Tue, 6 Oct 2009 15:49:41]]> GMT</pubDate>
				<author><![CDATA[ vberga]]></author>
			</item>
			<item>
				<title>Re:Problemas com o type CPFCNPJ</title>
				<description><![CDATA[ Fazendo assim o neo já faz validação]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/571.page#1874</guid>
				<link>http://www.neoframework.org/forum/posts/list/571.page#1874</link>
				<pubDate><![CDATA[Tue, 6 Oct 2009 15:50:18]]> GMT</pubDate>
				<author><![CDATA[ vberga]]></author>
			</item>
			<item>
				<title>Re:Problemas com o type CPFCNPJ</title>
				<description><![CDATA[ Nao é bem isso que eu quero.

Quero que um unico campo, aceite formatacao de cpf e cnpj.

Ja fiz isso em Javascript para outras aplicacoes.

Mas aqui nao consegui. Ate pq fala q tem esse type - CPFCNPJ - na documentacao, mas quando vou usar nao aceita.

Obrigado.]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/571.page#1875</guid>
				<link>http://www.neoframework.org/forum/posts/list/571.page#1875</link>
				<pubDate><![CDATA[Wed, 7 Oct 2009 13:47:09]]> GMT</pubDate>
				<author><![CDATA[ viniciusst]]></author>
			</item>
			<item>
				<title>Re:Problemas com o type CPFCNPJ</title>
				<description><![CDATA[ Vinicius, não existe um componente do neo que faça isso. Precisei fazer isso em um sistema e criei dois campos diferentes e o usuário selecionava qual queria preencher. aí a validação de obrigatóriedade era feita manualmente.]]></description>
				<guid isPermaLink="true">http://www.neoframework.org/forum/posts/list/571.page#1877</guid>
				<link>http://www.neoframework.org/forum/posts/list/571.page#1877</link>
				<pubDate><![CDATA[Wed, 7 Oct 2009 15:41:43]]> GMT</pubDate>
				<author><![CDATA[ vberga]]></author>
			</item>
	</channel>
</rss>