myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Marinschek <martin.marinsc...@gmail.com>
Subject Fwd: Questions regarding client validators
Date Wed, 11 Jan 2006 13:31:18 GMT
1) you say JSF file - you mean js, right?


On 1/11/06, Cagatay Civici <cagatay.civici@gmail.com> wrote:
> Hi Martin,
>
> I am working on integrating the client validators to tomahawk now and have a
> couple of questions, hope you don't mind.
>
> 1) I am using a .jsf file, where should I put this file exactly, I guess,
>
> tomahawk\src\main\resources\org\apache\myfaces\custom\clientvalidators\resource\clientvalidators.js
>
> 2) I observed in myfaces there is an extensions filter to serve the
> resources like javascript files from jar instead of using them externally.
> What should I do to add this feature to my code, I've tried AddResouce but
> could not make it right I guess.
>
> 3) I have added a package name clientvalidators under tomahawk, there are a
> total of 6 different components I implemented and how should be the the
> folder structure? Should I seperate each component or put them all under one
> folder, I mean;
>
> org\apache\myfaces\custom\clientvalidators\RequiredFieldValidatorTag.java
> or
> org\apache\myfaces\custom\clientvalidators\RequiredFieldValidator\RequiredFieldValidatorTag.java,
> etc.
>
> 4) I am still confused about this resource location, I'am still seeing same
> resources under;
> \tomahawk\src\main\java\org\apache\myfaces\custom\popup\resource\popup.js
> \tomahawk\src\main\resources\org\apache\myfaces\custom\popup\resource\popup.js
>
> So far, I've managed to integrate my code to tomahawk, have a build, deploy
> and test OK. The js file is used externally during my tests, both mozilla
> and ie are supported now.
>
> Thank you for your time,
>
> Regards,
>
> Cagatay,
>
>
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message