Hi

On 11-May-2013, at 5:45 AM, Nomer Nominus <tapestr...@outlook.com> wrote:

> I need to check wheter File can be readable or not, however I don't know how 
> to implement it in Tapestry app.

Just as you would implement it in plain java. 

> If I put inside my method
> 
> public String getPath() {
>         File file = new File(article);
>         if (article.canRead() || article.isFile()){
>            return something
>        }
>        return  something
>    }
> 
> I get following Unable to instantiate instance of transformed class 
> [thatClass] java.lang.reflect.InvocationTargetException. How to avoid this 
> issue!? 
>                               

I don't think this error is related to the above code.  Can you share some code 
and the full error stacktrace?

regards
Taha


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to