Forums

Home » Liferay Portal » Português

Combination View Flat View Tree View
Threads [ Previous | Next ]
Marcelo Guimarães Melo
Input com Idioma
January 14, 2013 11:04 AM
Answer

Marcelo Guimarães Melo

Rank: Regular Member

Posts: 235

Join Date: September 29, 2008

Recent Posts

Pessoal,

Alguém sabe colocar um campo input com o idioma para selecionar igual a imagem abaixo:



Obrigado.,

Marcelo Melo
Marco Antônio Leite Cavalcante
RE: Input com Idioma
January 15, 2013 4:14 AM
Answer

Marco Antônio Leite Cavalcante

Rank: Junior Member

Posts: 48

Join Date: June 4, 2012

Recent Posts

Marcelo,
sei que utilizando o SERVICE BUILDER, no arquivo WEB-INF/service.xml:
O atributo opcional [localized="true"] é usado para indicar se coluna pode ter valores diferentes para diferentes locais/Linguas.
Ex:
<column name="name" type="String" localized="true" />
Thiago Leão Moreira
RE: Input com Idioma
January 15, 2013 4:37 AM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1394

Join Date: October 10, 2007

Recent Posts

Exatamente Marco!
Marcelo Guimarães Melo
RE: Input com Idioma
January 15, 2013 12:11 PM
Answer

Marcelo Guimarães Melo

Rank: Regular Member

Posts: 235

Join Date: September 29, 2008

Recent Posts

Pessoal,

Agora estou encontrando o seguinte erro no console de javascript:
1Hora: 15/01/2013 18:07:43
2Erro: TypeError: p.one(...) is null
3Arquivo-fonte: http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
4Linha: 3


Você podem me ajudar?

Obrigado,

Marcelo Melo
Wesley Rocha Quirino do Nascimento
Re: [Liferay Forums][Português] RE: Input com Idioma
January 31, 2013 9:35 PM
Answer

Wesley Rocha Quirino do Nascimento

Rank: New Member

Posts: 13

Join Date: July 23, 2009

Recent Posts

TESTE RESPOSTA

2013/1/15 Marcelo Guimarães Melo from liferay.com <forums@liferay.com>

> Pessoal,
>
> Agora estou encontrando o seguinte erro no console de javascript:
> 1Hora: 15/01/2013 18:07:43
> 2Erro: TypeError: p.one(...) is null
> 3Arquivo-fonte:
> http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
> 4Linha: 3
>
>
> Você podem me ajudar?
>
> Obrigado,
>
> Marcelo Melo
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/community/forums/-/message_boards/view_message/20716207
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>




--
Att. Wesley Rocha - Designer de Interfaces
Wesley Rocha Quirino do Nascimento
Re: [Liferay Forums][Português] RE: Input com Idioma
January 31, 2013 9:35 PM
Answer

Wesley Rocha Quirino do Nascimento

Rank: New Member

Posts: 13

Join Date: July 23, 2009

Recent Posts

TESTE RESPOSTA

2013/1/15 Marcelo Guimarães Melo from liferay.com <forums@liferay.com>

> Pessoal,
>
> Agora estou encontrando o seguinte erro no console de javascript:
> 1Hora: 15/01/2013 18:07:43
> 2Erro: TypeError: p.one(...) is null
> 3Arquivo-fonte:
> http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
> 4Linha: 3
>
>
> Você podem me ajudar?
>
> Obrigado,
>
> Marcelo Melo
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/community/forums/-/message_boards/view_message/20716207
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>




--
Att. Wesley Rocha - Designer de Interfaces
Wesley Rocha Quirino do Nascimento
Re: [Liferay Forums][Português] RE: Input com Idioma
January 31, 2013 9:35 PM
Answer

Wesley Rocha Quirino do Nascimento

Rank: New Member

Posts: 13

Join Date: July 23, 2009

Recent Posts

TESTE RESPOSTA

2013/1/15 Marcelo Guimarães Melo from liferay.com <forums@liferay.com>

> Pessoal,
>
> Agora estou encontrando o seguinte erro no console de javascript:
> 1Hora: 15/01/2013 18:07:43
> 2Erro: TypeError: p.one(...) is null
> 3Arquivo-fonte:
> http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
> 4Linha: 3
>
>
> Você podem me ajudar?
>
> Obrigado,
>
> Marcelo Melo
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/community/forums/-/message_boards/view_message/20716207
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>




--
Att. Wesley Rocha - Designer de Interfaces
Wesley Rocha Quirino do Nascimento
Re: [Liferay Forums][Português] RE: Input com Idioma
January 31, 2013 9:35 PM
Answer

Wesley Rocha Quirino do Nascimento

Rank: New Member

Posts: 13

Join Date: July 23, 2009

Recent Posts

TESTE RESPOSTA

2013/1/15 Marcelo Guimarães Melo from liferay.com <forums@liferay.com>

> Pessoal,
>
> Agora estou encontrando o seguinte erro no console de javascript:
> 1Hora: 15/01/2013 18:07:43
> 2Erro: TypeError: p.one(...) is null
> 3Arquivo-fonte:
> http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
> 4Linha: 3
>
>
> Você podem me ajudar?
>
> Obrigado,
>
> Marcelo Melo
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/community/forums/-/message_boards/view_message/20716207
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>




--
Att. Wesley Rocha - Designer de Interfaces
Wesley Rocha Quirino do Nascimento
Re: [Liferay Forums][Português] RE: Input com Idioma
January 31, 2013 9:35 PM
Answer

Wesley Rocha Quirino do Nascimento

Rank: New Member

Posts: 13

Join Date: July 23, 2009

Recent Posts

TESTE RESPOSTA

2013/1/15 Marcelo Guimarães Melo from liferay.com <forums@liferay.com>

> Pessoal,
>
> Agora estou encontrando o seguinte erro no console de javascript:
> 1Hora: 15/01/2013 18:07:43
> 2Erro: TypeError: p.one(...) is null
> 3Arquivo-fonte:
> http://localhost:8080/html/js/everything.jsp?browserId=firefox&themeId=portal_WAR_portaltheme&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=pt_BR&b=6101&t=1343752778000
> 4Linha: 3
>
>
> Você podem me ajudar?
>
> Obrigado,
>
> Marcelo Melo
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/community/forums/-/message_boards/view_message/20716207
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>




--
Att. Wesley Rocha - Designer de Interfaces
Marcelo Guimarães Melo
RE: Input com Idioma
January 16, 2013 3:41 AM
Answer

Marcelo Guimarães Melo

Rank: Regular Member

Posts: 235

Join Date: September 29, 2008

Recent Posts

Marco,

Obrigado pela dica, alterei o sevice.xml da seguinte forma:
1<column name="titulo" type="String" localized="true" />


Coloquei as seguintes tags no meu JSP:
1<aui:model-context /> e <aui:input />


Funcionou perfeitamente.

Mais uma vez obrigado.

Marcelo Melo