<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Messages posted by "boaglio"]]></title>
		<link>http://forum.mentaframework.org/posts/listByUser/41.page</link>
		<description><![CDATA[Messages posted by "boaglio"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Re:inputMask não funciona</title>
				<description><![CDATA[ Tente fazer o downgrade para a versão <a href="http://mvnrepository.com/artifact/org.mentaframework/mentawai/1.15" target="_new" rel="nofollow">1.15 </a>e refaça o teste. ]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/6900/64706.page#64706</guid>
				<link>http://forum.mentaframework.org/posts/preList/6900/64706.page#64706</link>
				<pubDate><![CDATA[Thu, 14 Jul 2011 07:56:56]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:CAPTCHA URGENTE NO FORUM</title>
				<description><![CDATA[ Oi Rodrigo, pra fazer essa alteração teríamos que alterar o código fonte do JForum 2 (que foi descontinuado, hoje o foco deles é o 3), testar e colocar aqui.

Se a gente nem tem tempo de atualizar a versão, então imagine né...  :) ]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/4640/63304.page#63304</guid>
				<link>http://forum.mentaframework.org/posts/preList/4640/63304.page#63304</link>
				<pubDate><![CDATA[Sun, 19 Jun 2011 06:06:07]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Onde estão os administradores ??????</title>
				<description><![CDATA[ Pois é , parece que o algoritmo do JCaptcha já não é mais barreira pra esses malditos spambots.  :( 

]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/5003/63303.page#63303</guid>
				<link>http://forum.mentaframework.org/posts/preList/5003/63303.page#63303</link>
				<pubDate><![CDATA[Sun, 19 Jun 2011 06:02:12]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>[Mentawai plugins] lançado o Mentawai Annotations!</title>
				<description><![CDATA[ Estamos começando um novo conceito para o Mentawai: criando <b>plugins</b> que estendem o potencial do framework apenas adicionando um pacote jar na sua aplicação.

O <i>Andre Penteado da Unesp</i> implementou as anotações no Mentawai e gentilmente nos forneceu os fontes de sua aplicação para utilizarmos.

 Eu adaptei os seus fontes e criei um projeto para generalizar a sua implementação, podem ser usados por todos. 

Os fontes estão <a href="https://github.com/boaglio/mentawai-annotations" target="_new" rel="nofollow">aqui</a>.

 :arrow: <a href="https://github.com/downloads/boaglio/mentawai-annotations/mentawai-annotations-1.0.jar" target="_new" rel="nofollow">baixar o jar do mentawai-annotations-1.0.jar</a>

 :arrow: <a href="https://github.com/downloads/boaglio/mentawai-annotations/HelloMentawaiAnnotations.war" target="_new" rel="nofollow">baixar o HelloMentawaiAnnotations.war</a>

Vejam como ficou a action HelloMentai :

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
package examples.helloworld.actions;

import org.mentawai.annotations.core.ActionClass;
import org.mentawai.annotations.core.ConsequenceOutput;
import org.mentawai.annotations.type.ConsequenceType;
import org.mentawai.core.BaseAction;

@ActionClass&#40; prefix = "/HelloWorld" ,
		      outputs={
		                @ConsequenceOutput&#40;result=BaseAction.SUCCESS, page="hello.jsp",type=ConsequenceType.FORWARD&#41;,
		                @ConsequenceOutput&#40;result=BaseAction.ERROR, page="username.jsp",type=ConsequenceType.FORWARD&#41;
		              }
&#41;
public class HelloMentawai extends BaseAction {

	public String execute&#40;&#41; throws Exception {
		String username = input.getString&#40;"username"&#41;;
		if &#40;username == null || username.trim&#40;&#41;.equals&#40;""&#41;&#41; {
			return ERROR;
		}
		output.setValue&#40;"username", username.toUpperCase&#40;&#41;&#41;;
		return SUCCESS;
	}

}

</pre>
		</div>

E vejam como ficou o <b>ApplicationManager</b>, quase vazio!

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
import org.mentawai.annotations.ApplicationManagerWithAnnotations;
import org.mentawai.core.Context;

public class ApplicationManager extends ApplicationManagerWithAnnotations {

	public void init&#40;Context application&#41; {

	  // busca classes com anottation no pacote examples
      setResources&#40;"examples"&#41;;

	}
}


</pre>
		</div>


Bom proveito!  :D 


]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/4386/60638.page#60638</guid>
				<link>http://forum.mentaframework.org/posts/preList/4386/60638.page#60638</link>
				<pubDate><![CDATA[Sun, 20 Mar 2011 15:07:40]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Problema na taglib</title>
				<description><![CDATA[ 
Fiz uns testes e só vi esse problema na versão 6 do JBoss, eu corrigi a taglib e commitei , na próxima release já vem certo.

]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/4350/60570.page#60570</guid>
				<link>http://forum.mentaframework.org/posts/preList/4350/60570.page#60570</link>
				<pubDate><![CDATA[Thu, 10 Mar 2011 21:52:21]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Problema na taglib</title>
				<description><![CDATA[ 
Douglas, com sua alteração funciona no Tomcat e Jetty também ?]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/4350/60568.page#60568</guid>
				<link>http://forum.mentaframework.org/posts/preList/4350/60568.page#60568</link>
				<pubDate><![CDATA[Thu, 10 Mar 2011 07:24:19]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Roteiro de publicar novas versões no repositório do Maven</title>
				<description><![CDATA[  :arrow:  2.0.0 - http://jira.codehaus.org/browse/MAVENUPLOAD-2811  ]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/1216/58752.page#58752</guid>
				<link>http://forum.mentaframework.org/posts/preList/1216/58752.page#58752</link>
				<pubDate><![CDATA[Mon, 27 Dec 2010 05:20:07]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Roteiro de publicar novas versões no repositório do Maven</title>
				<description><![CDATA[  
 :arrow:  1.15 - http://jira.codehaus.org/browse/MAVENUPLOAD-2634]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/1216/17418.page#17418</guid>
				<link>http://forum.mentaframework.org/posts/preList/1216/17418.page#17418</link>
				<pubDate><![CDATA[Mon, 19 Oct 2009 17:51:32]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Sessao MTW</title>
				<description><![CDATA[ 
Use o método getSession() .

Use a busca do fórum para saber mais.]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2280/17248.page#17248</guid>
				<link>http://forum.mentaframework.org/posts/preList/2280/17248.page#17248</link>
				<pubDate><![CDATA[Wed, 1 Jul 2009 06:32:11]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:chamar action mtw no JSF</title>
				<description><![CDATA[ 
Eu nunca usei os dois ao mesmo tempo, mas talvez usando em contextos separados deve funcionar. ]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2277/17241.page#17241</guid>
				<link>http://forum.mentaframework.org/posts/preList/2277/17241.page#17241</link>
				<pubDate><![CDATA[Mon, 29 Jun 2009 20:04:49]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:i18n - Maven report</title>
				<description><![CDATA[ 
Entendi... se vc conseguir adaptar ao Mentawai nos avise!]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2238/17067.page#17067</guid>
				<link>http://forum.mentaframework.org/posts/preList/2238/17067.page#17067</link>
				<pubDate><![CDATA[Sun, 26 Apr 2009 15:00:20]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>i18n - Maven report</title>
				<description><![CDATA[ <p></p>

		<cite>apfmiranda wrote:</cite><br>
		<blockquote>Opa pessoal,

Todos os projetos que desenvolvi com Mentawai até agora, usaram i18n, e agora estou para começar outro com uma exigência um pouco maior nessa área. Então como uso Maven, estou disposto a desenvolver um plugin para gerar um relatório com o status das traduções.&nbsp;
		</blockquote>

Não entendi onde o maven entra nessa história, como seria esse relatório ?]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2238/17065.page#17065</guid>
				<link>http://forum.mentaframework.org/posts/preList/2238/17065.page#17065</link>
				<pubDate><![CDATA[Sun, 26 Apr 2009 09:04:42]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Tratamento de erros no Filter</title>
				<description><![CDATA[ 
Como tá declarado o seu filtro ? 

Cole aqui o seu appmanager.]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2221/16986.page#16986</guid>
				<link>http://forum.mentaframework.org/posts/preList/2221/16986.page#16986</link>
				<pubDate><![CDATA[Wed, 1 Apr 2009 12:13:29]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Como fazer a configuração da app via interface WEB (instalador)?</title>
				<description><![CDATA[ 
Que eu me lembre não existe nenhuma opção de informar ao Mentawai que rode por exemplo um servlet antes de chamar o ApplicationManager.

Talvez exista alguma configuração no web.xml que force esse comportamento ou algo mais específico de seu contêiner web (tomcat, jetty, etc).]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/2212/16941.page#16941</guid>
				<link>http://forum.mentaframework.org/posts/preList/2212/16941.page#16941</link>
				<pubDate><![CDATA[Fri, 13 Mar 2009 14:47:49]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
			<item>
				<title>Re:Roteiro de publicar novas versões no repositório do Maven</title>
				<description><![CDATA[  
 :arrow:  1.14.1 - http://jira.codehaus.org/browse/MAVENUPLOAD-2266]]></description>
				<guid isPermaLink="true">http://forum.mentaframework.org/posts/preList/1216/16263.page#16263</guid>
				<link>http://forum.mentaframework.org/posts/preList/1216/16263.page#16263</link>
				<pubDate><![CDATA[Sat, 8 Nov 2008 18:01:25]]> GMT</pubDate>
				<author><![CDATA[ boaglio]]></author>
			</item>
	</channel>
</rss>
