Let’s sleepout in Centennial Park, Sydney in support of homeless.
Visit hrxsleepout.com.au for more info and to register for the event.
And you don’t have to attend to support the cause, donate here http://hrxsleepout.gofundraise.com.au/page/team-peace
Beware of this EMail/SMS scam as responses to any ads on classifieds/forums. I just got this scam email in response to an ad on the Gumtree.
Microsoft just suggested that the best editor for a Java file is Microsoft Visual Studio ..
It even implied that it’s actually a J# file.. take that for skewed view of the world.
http://shell.windows.com/fileassoc/0409/xml/redir.asp?EXT=java
Once you start using EL heavily within your UI, eventually you will want to use it/evaluate it back in your EJB’s and Seam/Spring components
There are three steps to evaluating an EL expression.
1 2 3 4 5 6 7 8 9 10 11 | //get current EL context javax.el.ELContext elContext = javax.faces.context.FacesContext.getCurrentInstance().getELContext(); //get the expression factory (for seam). You can probably do ExpressionFactory.newInstance() if not using seam . javax.el.ExpressionFactory expressionFactory = org.jboss.seam.core.Expressions.instance().getExpressionFactory(); //Create value expression as the EL I'm evaluating is a value e.g. #{bean.property} . Create MethodExpression if the EL is a method e.g. #{bean.method()} javax.el.ValueExpression valueExpression = expressionFactory.createValueExpression(elContext, elExpressionYouAreEvaluating, WhateverYouAreExpecting.class); // get value and dont' forget to cast. whateverYouAreExpecting = (WhateverYouAreExpecting) valueExpression.getValue(elContext); |
Yup.. that’s how convulted this is . It should more be like below
1 2 | //NOTE: imaginary code Object value = ExpressionFactory.getValue("#{bean.property}"); |
Just did a small post about log4j DEBUG logging not working in jboss 5.1.0.
Ever saw some/none of the DB calls in jboss (4.2.3) and oracle (9i) failing with the following error. The exceptions can be all different types, but eventually caused by this following exception.
.
.
Caused by: java.lang.NoSuchMethodError: oracle.sql.converter.CharacterConverters.toUnicodeChars([BI[CII)I
.
.
This happened when I tried to switch databases this morning (both Oracle 9i) . Nothing fixed it till I replaced both the Driver jars(nls_charset12-10.2.0.jar, ojdbc14-10.2.0.jar) , preferrably from somwhere the connection is working, I took them from a colleague. Or you can try and download the latest drivers as well. But make sure to delete your server work and temp directories.
Having issues downloading/updating google chrome due to corporate proxies. Try the offline installer from Google it-self.
Download the offline installer from Google http://www.google.com/chrome/thankyou.html?standalone=1&hl=en
If you are having issues connecting to your subversion repositories from Eclipse (May be with Subversive/Subclipse). Try the following.
Enter proxy details into Subversion configuration:
Open servers file in the following location
- Window XP
- C:\Documents and Settings\MyUserId\Application Data\Subversion\servers
- Windows Vista
- C:\Users\Clientside\AppData\Roaming\Subversion\servers
Update following lines at the end of file
[global] http-proxy-exceptions = yourproxy exceptions (e.g. dev.company.com.au) http-proxy-host = yourproxyhost (e.g. proxy.company.com.au) http-proxy-port = your proxy port (e.g. 8080) http-proxy-username = proxyusername http-proxy-password = proxypassword
This step might not be needed all the time
Update Eclipse Proxy settings
Windows > Preferences
Type ‘proxy‘ in the filter text box. Go to ‘Network Connections’ config page. Choose manual proxy configuration and Update the proxy details.
This is pretty simple in the linux mint. (You usually already have OpenOffice.org 2.4 which comes by default, so this is more like an upgrade procedure)
You add the OpenOffice deb repository as this is not yet available from Ubuntu reps and do a mintUpdate which will quickly tell you what is ready to be updated. Here we go.
Step 1 – Add openoffice.org repository. To do this first open Synaptic Package Manger, Go to Setting>Repositories. Click new which will add new repository at the end of list. Add the following details as shown in screenshot for the new repository entry. Then press ok to save.
Step 2: Open mintUpdate (Menu>Administration>mintUpdate) and click on Refresh, Which will now show all the updates for open office. Click installl updates


Recent Comments