Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Leonardo Shikida
Greenhorn
+ Follow
29
Posts
14
Threads
0
Cows
since Jan 02, 2003
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Number Posts (29/100)
Number Threads Started (14/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (2/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (29/10)
Number Threads Started (14/10)
Number Likes Received (0/3)
Number Likes Granted (2/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by Leonardo Shikida
embbed ssh terminal emulator in a JSF page
Hi
I want to emulate a ssh terminal in a JSF page and maybe augment some of the functions.
I am looking for open source web based ssh terminal with java in the server side.
I am looking for pure-javascript clients.
For a list of web based ssh examples, please check
http://en.wikipedia.org/wiki/Web-based_SSH
.
Any suggestion?
TIA
Leo
show more
10 years ago
JSF
Is there any plugin to Eclipse 3.5.1, to generate class diagrams and sequence dia from java code,
I will give it a try! Thanks!
show more
12 years ago
OO, Patterns, UML and Refactoring
Difference Between outputText and outputLabel
outputlabel is also used automatically for validation errors
show more
12 years ago
JSF
reverse engineer java => sequence diagrams => rational rose format
Hi
I am looking for a tool that can reverse engineer java code to generate sequence diagrams in a format rational rose can import.
TIA
Leo Kenji
show more
12 years ago
OO, Patterns, UML and Refactoring
Is there any plugin to Eclipse 3.5.1, to generate class diagrams and sequence dia from java code,
Check out these tools
http://sourceforge.net/projects/javacalltracer/
http://maintainj.com/index.html
Best regards
Kenji
show more
12 years ago
OO, Patterns, UML and Refactoring
reverse Engineering-- generate sequence diagram from java classes
Check out these tools
http://sourceforge.net/projects/javacalltracer/
http://maintainj.com/index.html
Best regards
Kenji
show more
12 years ago
OO, Patterns, UML and Refactoring
how to parse xhtml
thanks!
show more
12 years ago
XML and Related Technologies
how to parse xhtml
String xml = "C:\\Users\\Us\\runtime-Eclipse\\app\\WebContent\\template\\menu.xhtml"; InputStream is = new FileInputStream(new File(xml)); Document doc = this.getXmlUtil().getDocument(is); System.out.println(doc.getChildNodes());
where
public Document getDocument(InputStream is) throws Exception { DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); //docBuilderFactory.setNamespaceAware(true); DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); Document doc = docBuilder.parse(is); return doc; }
doc.getChildNodes() is [#document: null]
where the xml is
<?xml version="1.0" encoding="ISO-8859-1"?> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:rich="http://richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:form> <ul> <li> <ul> <li> <h:commandLink action="x" value="y" /> </li> </ul> </li> </ul> </h:form> </ui:composition>
what am I doing wrong here?
TIA
Kenji
show more
12 years ago
XML and Related Technologies
Is that a number?
group size == 3 means that I can use comma for groups of 0,1,2 or 3 digits???
1,23,456 looks like a very weird number for me
I was expecting it to say that 1,2 was invalid while 1,200 was valid.
TIA
Leo K.
show more
12 years ago
Java in General
Is that a number?
public static void main(String[] args) throws ParseException{ NumberFormat f = NumberFormat.getInstance(Locale.US); <<<<<<<<<< wasn´t supposed to accept . as decimal delim and , as group delim? if (f instanceof DecimalFormat) { ((DecimalFormat) f).setParseBigDecimal(true); ((DecimalFormat) f).setGroupingSize(3); <<<<<<<<<<<<<<<<<<< wasn´t supposed to force to accept de , delim only for groups of 3 digits? } BigDecimal bd = (BigDecimal)f.parse("1,2"); <<<<<<<<<<<<<<<<< wasn´t supposed to be invalid, while 1,200 would be valid? System.out.println(bd); }
TIA
Leo K.
show more
12 years ago
Java in General
Is that a number?
public static void main(String[] args) throws ParseException{ NumberFormat f = NumberFormat.getInstance(Locale.US); if (f instanceof DecimalFormat) { ((DecimalFormat) f).setParseBigDecimal(true); ((DecimalFormat) f).setGroupingSize(3); } BigDecimal bd = (BigDecimal)f.parse("1,2"); System.out.println(bd); }
gives me "12"
is that right?
Best regards
Leo K.
show more
12 years ago
Java in General
ajax/jsf/richfaces testing w/ selenium
Hi
any opinions / experiences about using selenium for ajax/jsf/richfaces testing?
TIA
Leo K.
show more
13 years ago
Testing
JSF + RichFaces: pragmatic or unsafe?
I found this scary ;-) because looks like someone´s breaking a contract (or a very pragmatic approach)
Check my tree
<rich:tree value="#{myMB.data}" var="item" switchType="client" icon="/resource/img/ico_group.png" iconLeaf="/resource/img/ico_group.png" preserveDataInRequest="true"> <rich:treeNode nodeSelectListener="#{myMB.setNode}" ajaxSubmitSelection="true" > <rich:spacer width="5px"></rich:spacer> <h:outputText value="#{item.a}" rendered="#{item.a != 'xxx'}" /> </rich:treeNode> </rich:tree>
Nothing new here, except
public TreeNodeImpl<MyAbstractNode> getData(){ ... }
where MyAbstractNode does not implement or declare getA(), but for coincidence/luck every concrete class that extends MyAbstractNode does.
so it magically works, because everytime I am lucky and there is actually a way to retrieve "A" from each concrete class.
isn´t it scary?
TIA
Leo K.
show more
13 years ago
JSF
Something interesting about rich:tree (not a doubt, just curious)
sorry, dup. Please see "JSF + RichFaces: pragmatic or unsafe? "
show more
13 years ago
JSF
Detect duplicated programs
try google "java code plagiarism analysis"
there are several tools/tecniques
TIA
Leo K.
show more
13 years ago
Java in General