PHP Web Developer and Certified Java Architect

Apr
4
comment Included JSP generates a nested form element in JSF 1.1
Secondly, if you can, move away from JSP and get accustomed with facelets. I understand it often depends on other stuff, but JSP really is done and dusted, and for good reason.
Apr
4
asked Managing order of resource loading in JSF
Mar
31
awarded Notable Question
Mar
19
awarded Popular Question
Feb
18
comment Using .htaccess to redirect to relative address
Also, do you want a HTTP redirect or just a rewrite of the url? You might want to look into the modifier flags at httpd.apache.org/docs/2.2/rewrite/flags.html
Feb
18
awarded Caucus
Feb
17
comment Reading XML and keep DOM model in memory
Indeed, but is there still a reference to doc after the method ran? Or would I have to detach the element first?
Feb
17
revised Reading XML and keep DOM model in memory
added 90 characters in body
Feb
17
comment Reading XML and keep DOM model in memory
I'm not keeping a reference to doc, only to stored, hence my question if doc will be garbage collected. So, I guess GC on doc is only possible when I detach the element from the doc?
Feb
17
asked Reading XML and keep DOM model in memory
Feb
13
accepted Test if Object is a generic list of specific type
Feb
11
asked Test if Object is a generic list of specific type
Dec
30
comment PHP Socket Server vs node.js: Web Chat
@Eliasdx Any news on this? Am looking to create a chat myself and very interested to know about your findings. I'm personally more into PHP.
Dec
24
comment Dismiss css for one table
You can't just ignore rules I think, that's the whole point of CASCADING style sheets. I'd suggest you create a basic CSS class that sets your layout stuff to normal again for that particular table.
Dec
24
comment Set only non-empty attributes in JSF template tags
ui:insert is used here to be able to insert validators into my field. Btw, the above problem also arises with the id attribute, among others.
Dec
24
asked Set only non-empty attributes in JSF template tags
Dec
14
awarded Yearling
Dec
9
comment Why can't static methods be abstract in Java
@John29 Thanks for the clarification, but apart from the naming difference it seems similar in usage.
Nov
14
comment Append html to all lines not ending with html tag
Thanks for getting me on the right track. I can't really explain why, but your suggestion also added a <br/> on a new line following one that ends with >. Here's what worked for me $message = preg_replace ('#([^>])(\r\n|\r|\n)$#mi', '$1<br/>$2', $message);
Nov
12
comment Append html to all lines not ending with html tag
nl2br adds a br on each line, I only need one on lines not ending with >
1 2 3 4 5