I have developed a basic crud application in Android. But I have still a long way to go till I develop good looking applications like twitter. Can you explain more about the official Twitter application for Android. How did they interface between the twitter database and the application. Can you explain the application in detail?
static blocks and static variables are executed at compile time only.
Flow: 1. Static variables are initialized in the order they are declared first 'a' then the static block for b is executed then 'c'. 2. Then the new InitTest(); is called before the constructor is executed all the instance variables are initialized in the order they are declared. first '2' then '3' then '4' then the constructor is invoked and finally it calls the method with '1' and it prints it.
when the expression completes why would i be incremented?
if i++ is not done at all then what is the difference between i=1; and i=i++;
What I supposed was even if it is not used for this assignment, it would be incremented by the time the variable is used in the next expression which means atleast it should be used in the second assignment. Please clarify why i++ is not executed..
I'm having two text feilds t1, t2 I have to validate the following condition
t2 becomes a required feild if and only if t1 is entered otherwise t2 can be empty.. so i cant put a required=true for the inputText t2. I wrote a custom validator and binded it to the feild t2 but the problem is that the validator is not called when i am not writing anything in that..so I thought of putting a validator at the panelgrid or form level but there is no option like that. what can be done.. please help?
Tomahawk 1.1.3 has been released. There is one major change that users will need to be aware of. In order to be compatible with the Reference Implmentation (RI), all command links and components that use command links must now be enclosed within an <h:form> element. This means that components that make use of command links (like tree2) must now be inside an <h:form> in order to work properly. For those using the MyFaces Core JSF implementation, there is a tweak to faces-config.xml that will allow your existing pages to work without changing them.
I am using Jsf with tiles. In a superlayout I define the layout of the page I am using tiles: insert to insert all the tiles header,body and footer. The page is not displayed correctly if I dont put all these inserts in a form. It is being displayed fully if I put it in a form. Otherwise the page is getting truncated i.e the body page is not displayed fully and footer is displayed on the body,.. How to overcome this? tell me if I should put the code also