Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
XOOPS Shade
>
Ticket List/Search
>
Tíquete #10643
XOOPS Shade
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Código Fonte
Code Repository list
CVS
Visualizar Repositório
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
List of Forums
cubson (28)
News
Tíquete #10643
Ticket List
Submit New Ticket
RSS
[1.0.2]EditFormのprepare
:
2007-07-03 10:34
Última Atualização:
2007-07-13 17:47
monitor
ON
OFF
Relator:
ryuji_amano
Dono:
minahito
Tipo:
cubson Bugs
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum
Details
Responder
maxlengthチェックに対する、エラーメッセージ登録コード
に、フィールド名が入ってません。
■cubson1.0.2で生成されるコード
$this->mFieldProperties['hoge_name']->addMessage('maxlength',
_MD_FOO_ERROR_MAXLENGTH, '255');
■正
$this->mFieldProperties['hoge_name']->addMessage('maxlength',
_MD_FOO_ERROR_MAXLENGTH, _MD_FOO_LANG_HOGE_NAME, '255');
Ticket History (3/4 Histories)
Show older Histories
2007-07-13 16:52
Updated by:
minahito
Dono
Update from
(Nenhum)
to
minahito
2007-07-13 16:56
Updated by:
minahito
Comentário
Responder
Logged In: YES
user_id=8353
生成源となる設定ファイル .xml の定義を確認していただけないで
しょうか?
<field property="hoge_name" depends="maxlength">
<arg0 key="const._MD_FOO_LANG_HOGE_NAME" />
<arg1 name="maxlength" key="${var:maxlength}" />
<msg name="maxlength" key="const._MD_FOO_ERROR_MAXLENGTH" />
<var name="maxlength" value="255" />
</field>
この <arg0> 定義があればきちんと出ると思うのですが...
2007-07-13 17:26
Updated by:
minahito
Comentário
Responder
Logged In: YES
user_id=8353
required がないときに arg0 定義が吐かれないのではないか
2007-07-13 17:47
Updated by:
minahito
Ticket Close date
is changed to
2007-07-13 17:47
Resolução
Update from
Nenhum
to
Fixed
Estado
Update from
Aberto
to
Fechado
Attachment File List (
0
)
Attachment File List
No attachments
Editar
Adicionar Comentário
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Adicionar Comentário
Pré-visualizar
Submit
に、フィールド名が入ってません。
■cubson1.0.2で生成されるコード
$this->mFieldProperties['hoge_name']->addMessage('maxlength',
_MD_FOO_ERROR_MAXLENGTH, '255');
■正
$this->mFieldProperties['hoge_name']->addMessage('maxlength',
_MD_FOO_ERROR_MAXLENGTH, _MD_FOO_LANG_HOGE_NAME, '255');