Feeds
Artikel
Kommentare

Archiv für die 'Programming' Kategorie

FULL JOIN in MySQL

Schon mal gefragt, wie man ein FULL JOIN in MySQL macht? Dann gibt’s hier einige Lösungen. http://www.xaprb.com/blog/2006/05/26/how-to-write-full-outer-join-in-mysql/

CQ and 401/404

In the newest version of Day CQ WCM there is one big problem about the HTTP Response Status 401 and 404. My problem: I wanted to make a CUG (Closed User Group). So I set the permissions as I expected in CQ4: On a call to this locked page I expected a 401 Not Authorized [...]

How to get the admin session

I now work since 3 months with cq5 and I realy like it. But there are so many new things to learn!! For example the thing: How do I have to get the admin session? Thanks Julian for your help. I would never get it myself.    final SlingRepository repo = sling.getService(SlingRepository.class); final JcrResourceResolverFactory resolverFactory =  [...]

Code Review

Today I made a short code review and I found something I couldn’t understand: String arrorBigSource = ""; String arrorSmallSource = ""; try{ arrorBigSource = this.handle+".arrow.1."+arrowColor+".gif"; } catch (Exception e) { ErrorLogger.logError("Big Arrow Image couldn’t be initialized.", ""); } //small Arrow try{ arrorSmallSource = this.handle+".smallarrow.1."+arrowColor+".gif"; } catch (Exception e) { ErrorLogger.logError("Big Arrow Image couldn’t be [...]