You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Halgurt Mustafa Ali <ha...@star-trac.de> on 2006/06/30 12:19:12 UTC
Object field validation
Hi all,
I have a form called TASKMANAGERform and in this form I have a field called taskDefinition of type TaskDefinition. TaskDefinition has a field domain of type Integer. Is it possible to validate this field? I meen to validate taskDefinition.domain? If aes, in which way? I have tried this:
<form name="TASKMANAGERform">
<field property="TASKMANAGERform.taskDefinition.domain" depends="integer">
<arg position="0" key="TASKMANAGERform.taskDefinition.domain"/>
</field>
</form>
but it doesn`t work..
Many Thanks,
Halgurt
-----Ursprüngliche Nachricht-----
Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
Gesendet: Freitag, 30. Juni 2006 10:33
An: kindlerm@acm.org
Cc: 'Struts Users Mailing List'
Betreff: Re: AW: xhtml-mobile with Struts?
thank.
It looks good pretty!
El vie, 30 de 06 de 2006 a las 10:14, Martin Kindler escribió:
> Sorry for that! I sent the wrong URL (normally a Typo3/PHP-page is in front
> of the main Struts-app, so to force XHTML MP I have to skip the T3 part).
>
> The correct one is:
> http://www.cityexperience.net/cxpCat/Welcome.do?ua=MOBILE
>
> Martin
>
> -----Ursprüngliche Nachricht-----
> Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
> Gesendet: Freitag, 30. Juni 2006 09:33
> An: kindlerm@acm.org
> Cc: 'Struts Users Mailing List'
> Betreff: Re: AW: xhtml-mobile with Struts?
>
>
> El vie, 30 de 06 de 2006 a las 09:12, Martin Kindler escribió:
>
> I do not know, if there is a tool for XHTML MP, but we have done our mobile
>
> site with ordinary Struts and a set of XHTML MP JSPs.
>
> Very easy. If you want to look: <http://www.cityexperience.net/>
> http://www.cityexperience.net/. If you do
>
> use a "normal" browser and would like to see the mobile version, start at
>
> <http://www.cityexperience.net/cxpCat/Catalog.do?ua=MOBILE>
> http://www.cityexperience.net/cxpCat/Catalog.do?ua=MOBILE.
>
> this link doesn't work:
>
> HTTP Status 404 - /pages//catalog.jsp
>
>
>
> (Sorry, only
>
> German at this moment).
>
>
>
> Martin
>
>
>
> > -----Ursprüngliche Nachricht-----
>
> > Von: Jose Benjamin Perez Soto [ <ma...@gmail.com>
> mailto:josebenjaminp@gmail.com]
>
> > Gesendet: Freitag, 30. Juni 2006 08:16
>
> > An: user@struts.apache.org
>
> > Betreff: xhtml-mobile with Struts?
>
> >
>
> >
>
> > Hello!
>
> >
>
> > Good, my question is, if there is some tool to work with
>
> > xhtml-mobile with the Struts, like the one of wml, but I need
>
> > is something for xhtml-mobile.
>
> >
>
> > cheers,
>
> >
>
> > Ben
>
> >
>
> >
>
> > ---------------------------------------------------------------------
>
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>
> > For additional commands, e-mail: user-help@struts.apache.org
>
> >
>
> >
>
>
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
;-)
____________________________________
Jorge Martin Cuervo
Analista Programador
Outsourcing Emarketplace
deFacto Powered by Standards
email <jo...@defactops.com>
voz +34 985 129 820
voz +34 660 026 384
____________________________________
Re: Object field validation
Posted by Truong Xuan Tinh <ti...@pyramid-consulting.com>.
Try
<form name="TASKMANAGERform">
<field property="taskDefinition.domain" depends="integer">
<arg position="0" key="TASKMANAGERform.taskDefinition.domain"/>
</field>
</form>
Hope this may help.
Halgurt Mustafa Ali wrote:
> Hi all,
>
> I have a form called TASKMANAGERform and in this form I have a field called taskDefinition of type TaskDefinition. TaskDefinition has a field domain of type Integer. Is it possible to validate this field? I meen to validate taskDefinition.domain? If aes, in which way? I have tried this:
>
> <form name="TASKMANAGERform">
> <field property="TASKMANAGERform.taskDefinition.domain" depends="integer">
> <arg position="0" key="TASKMANAGERform.taskDefinition.domain"/>
> </field>
> </form>
>
> but it doesn`t work..
>
> Many Thanks,
> Halgurt
>
> -----Ursprüngliche Nachricht-----
> Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
> Gesendet: Freitag, 30. Juni 2006 10:33
> An: kindlerm@acm.org
> Cc: 'Struts Users Mailing List'
> Betreff: Re: AW: xhtml-mobile with Struts?
>
>
> thank.
>
> It looks good pretty!
>
> El vie, 30 de 06 de 2006 a las 10:14, Martin Kindler escribió:
>
>
>> Sorry for that! I sent the wrong URL (normally a Typo3/PHP-page is in front
>> of the main Struts-app, so to force XHTML MP I have to skip the T3 part).
>>
>> The correct one is:
>> http://www.cityexperience.net/cxpCat/Welcome.do?ua=MOBILE
>>
>> Martin
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Jorge Martín Cuervo [mailto:jorge.martin@defactops.com]
>> Gesendet: Freitag, 30. Juni 2006 09:33
>> An: kindlerm@acm.org
>> Cc: 'Struts Users Mailing List'
>> Betreff: Re: AW: xhtml-mobile with Struts?
>>
>>
>> El vie, 30 de 06 de 2006 a las 09:12, Martin Kindler escribió:
>>
>> I do not know, if there is a tool for XHTML MP, but we have done our mobile
>>
>> site with ordinary Struts and a set of XHTML MP JSPs.
>>
>> Very easy. If you want to look: <http://www.cityexperience.net/>
>> http://www.cityexperience.net/. If you do
>>
>> use a "normal" browser and would like to see the mobile version, start at
>>
>> <http://www.cityexperience.net/cxpCat/Catalog.do?ua=MOBILE>
>> http://www.cityexperience.net/cxpCat/Catalog.do?ua=MOBILE.
>>
>> this link doesn't work:
>>
>> HTTP Status 404 - /pages//catalog.jsp
>>
>>
>>
>> (Sorry, only
>>
>> German at this moment).
>>
>>
>>
>> Martin
>>
>>
>>
>>
>>> -----Ursprüngliche Nachricht-----
>>>
>>> Von: Jose Benjamin Perez Soto [ <ma...@gmail.com>
>>>
>> mailto:josebenjaminp@gmail.com]
>>
>>
>>> Gesendet: Freitag, 30. Juni 2006 08:16
>>>
>>> An: user@struts.apache.org
>>>
>>> Betreff: xhtml-mobile with Struts?
>>>
>>> Hello!
>>>
>>> Good, my question is, if there is some tool to work with
>>>
>>> xhtml-mobile with the Struts, like the one of wml, but I need
>>>
>>> is something for xhtml-mobile.
>>>
>>> cheers,
>>>
>>> Ben
>>>
>>> ---------------------------------------------------------------------
>>>
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org