Hello Everyone
I have an active context which is a string value.
--- page1
Object onActivate(String value1){
if(!value1.trim().equals("")){
return null;
}
else
return page2;
}
My Query is how can i check if the active context value1 is null?
Ex. http://localhost/page1/
I want to redirect to another page if the active context value1 is null.
i already try to set
if(value1 == null)
return errorpage
But no luck...
Any ideas :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Active-Context-Query-tp2841529p2841529.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]