Monday, November 2, 2015
Thursday, October 29, 2015
Sunday, October 25, 2015
Friday, October 23, 2015
SPRING - stereotypes example
import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Value;import org.springframework.stereotype.Service; import java.util.*; @Service("myConfigServiceFacade")public class MyConfigServiceFacadeImpl implements MyConfigServiceFacade { @Value("${com.foo.isWebSSOEnabled}") private String webSSOEnabled; @Value("${com.foo.webSSOlogoutURL}") private String webSSOInternetLogoutURL; @Value("${com.foo.webSSOlogoutURL}") private String webSSOIntranetLogoutURL; @Value("${com.foo.brandbarURL}" ) private String brandbarURL; @Value("${com.foo.4eye.active}") private boolean is4eyeActive; @Autowired private MyPrincipalService principalService;
====================================================
import com.google.gwt.user.client.rpc.RemoteService;import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;import java.util.Map;import java.util.Set;
@RemoteServiceRelativePath("services/myConfigServiceFacade.rpc")
public interface MyConfigServiceFacade extends RemoteService {
ApplicationInfo getApplicationInfo();
SessionInfo config() throws Exception;
Map<Long, Set<String>> configAllowedAccounts(Long var1, Long var2) throws Exception;}
Thursday, October 22, 2015
Wednesday, October 21, 2015
ANDROID - align linearlayout each one behind other programmatically
http://stackoverflow.com/questions/12108370/how-to-setcontentview-in-a-fragment
The method setContent(relativeLayout) on Activity in case of Fragments need to be replaced with return this relatiVeLayout from onCreateView or do from onViewCreated this:
The method setContent(relativeLayout) on Activity in case of Fragments need to be replaced with return this relatiVeLayout from onCreateView or do from onViewCreated this:
RelativeLayout rootContainer = (RelativeLayout)mainActivity.findViewById(R.id.rootContainer);
rootContainer.addView(rl);
Sunday, October 18, 2015
Saturday, October 17, 2015
TOOLS - Colorzilla, nice color picker tool for browser
Colorzilla - http://www.colorzilla.com/
Very nice plugin for browsers Chrome and Firefox. It allows to pick colors and see its numeric value in very handily way.
Very nice plugin for browsers Chrome and Firefox. It allows to pick colors and see its numeric value in very handily way.
Subscribe to:
Posts (Atom)