Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Pavels Hlopoks
Ranch Hand
+ Follow
31
Posts
15
Threads
0
Cows
since Feb 05, 2007
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Number Posts (31/100)
Number Threads Started (15/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (0/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 (31/10)
Number Threads Started (15/10)
Number Likes Received (0/3)
Number Likes Granted (0/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 Pavels Hlopoks
Axis 2- 1.1.1 build in jar
Hello!
I have subj problem...
I download Axis 2 suurce
HERE
And read instruction how to build
HERE
And when I try run maven command, in output I get something like this
C:\axis2-1.1\src\modules\adb-codegen>maven __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download axiom-api-1.2.2.jar. Error retrieving artifact from [http://repo1.maven.org/maven/org.apache.ws.commons.axiom/jars/axiom-api-1.2.2.jar]: java .net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://ws.zones.apache.org/repository/org.apache.ws.commons.axiom/jars/axiom-api-1.2.2.j ar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.ws.commons.axiom/ja rs/axiom-api-1.2.2.jar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://jibx.sourceforge.net/maven/org.apache.ws.commons.axiom/jars/axiom-api-1.2.2.jar]: java.net.NoRouteToHostException: No route to host: connect WARNING: Failed to download axiom-api-1.2.2.jar. Attempting to download axiom-impl-1.2.2.jar. Error retrieving artifact from [http://repo1.maven.org/maven/org.apache.ws.commons.axiom/jars/axiom-impl-1.2.2.jar]: jav a.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://ws.zones.apache.org/repository/org.apache.ws.commons.axiom/jars/axiom-impl-1.2.2. jar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.ws.commons.axiom/ja rs/axiom-impl-1.2.2.jar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://jibx.sourceforge.net/maven/org.apache.ws.commons.axiom/jars/axiom-impl-1.2.2.jar] : java.net.NoRouteToHostException: No route to host: connect WARNING: Failed to download axiom-impl-1.2.2.jar. Attempting to download axis2-codegen-1.1.1.jar. Error retrieving artifact from [http://repo1.maven.org/maven/org.apache.axis2/jars/axis2-codegen-1.1.1.jar]: java.net.No RouteToHostException: No route to host: connect Error retrieving artifact from [http://ws.zones.apache.org/repository/org.apache.axis2/jars/axis2-codegen-1.1.1.jar]: ja va.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.axis2/jars/axis2-co degen-1.1.1.jar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://jibx.sourceforge.net/maven/org.apache.axis2/jars/axis2-codegen-1.1.1.jar]: java.n et.NoRouteToHostException: No route to host: connect WARNING: Failed to download axis2-codegen-1.1.1.jar. Attempting to download axis2-kernel-1.1.1.jar. Error retrieving artifact from [http://repo1.maven.org/maven/org.apache.axis2/jars/axis2-kernel-1.1.1.jar]: java.net.NoR outeToHostException: No route to host: connect Error retrieving artifact from [http://ws.zones.apache.org/repository/org.apache.axis2/jars/axis2-kernel-1.1.1.jar]: jav a.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.axis2/jars/axis2-ke rnel-1.1.1.jar]: java.net.NoRouteToHostException: No route to host: connect Error retrieving artifact from [http://jibx.sourceforge.net/maven/org.apache.axis2/jars/axis2-kernel-1.1.1.jar]: java.ne t.NoRouteToHostException: No route to host: connect WARNING: Failed to download axis2-kernel-1.1.1.jar. Attempting to download axis2-adb-1.1.1.jar. Error retrieving artifact from [http://repo1.maven.org/maven/org.apache.axis2/jars/axis2-adb-1.1.1.jar]: java.net.NoRout eToHostException: No route to host: connect Error retrieving artifact from [http://ws.zones.apache.org/repository/org.apache.axis2/jars/axis2-adb-1.1.1.jar]
Please help me somebody ...
show more
16 years ago
Web Services
How can I set bean property in JSF page?!
jspx is jsp page in xml syntax.
show more
16 years ago
JSF
How can I set bean property in JSF page?!
zohreh, are you sure?
I have jspx page :
<?xml version='1.0' encoding='utf-8'?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:trh="http://myfaces.apache.org/trinidad/html" xmlns:c="http://java.sun.com/jsp/jstl/core"> <jsp:output omit-xml-declaration="true" doctype-root-element="HTML" doctype-system="http://www.w3.org/TR/html4/loose.dtd" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> <jsp:directive.page contentType="text/html;charset=utf-8"/> <f:subview id="header"> <jsp:scriptlet> javax.faces.context.ExternalContext fc = javax.faces.context.FacesContext.getCurrentInstance().getExternalContext(); HttpServletRequest request1 = (HttpServletRequest) fc.getRequest(); lt.it.webforce.framework.backing.header.HeaderBacking hb = (lt.it.webforce.framework.backing.header.HeaderBacking) request1.getAttribute("headerBacking"); java.util.Enumeration en = request1.getAttributeNames(); //java.util.Enumeration en = request1.getAttributeNames(); for ( ; en.hasMoreElements() ;) { System.out.println(en.nextElement()); } System.out.println("---------------- bean from Request = " + hb); if (hb==null){ hb = new lt.it.webforce.framework.backing.header.HeaderBacking(); } hb.setSecondLevel("second"); System.out.println("from JSF = " + hb.getSecondLevel()); </jsp:scriptlet> <h:outputText value="#{headerBacking.secondLevel}"/> <c:set target="${sessionScope.headerBacking}" property="secondLevel" value="second"/> </f:subview> </jsp:root>
how can see i try get bean from request...
<managed-bean> <managed-bean-name>headerBacking</managed-bean-name> <managed-bean-class>lt.it.webforce.framework.backing.header.HeaderBacking</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean>
And I have some bean - how Can I get HeaderBacking from request?
when I try get all RequestParemeterNames - I can't see my "headerBacking", like in faces config...
show more
16 years ago
JSF
How can I set bean property in JSF page?!
UserBean bean = new UserBean(); // your bean class ExternalContext context = FacesContext.getCurrentInstance().getExternalContext(); HttpServletRequest request = (HttpServletRequest)context.getRequest(); String fullName = request.getParameter("form1:fullName"); bean.setFullName(fullName);
Hmmm ... For example managed bean in faces config looks like :
<managed-bean> <managed-bean-name>userBean</managed-bean-name> <managed-bean-class>bean.UserBean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean>
How I can get it from request?
Why you wrote: String fullName = request.getParameter("form1:fullName");
Why "form1:fullName"??
show more
16 years ago
JSF
How can I set bean property in JSF page?!
Josh, thanks for your response ;)
But I really need to set managed bean property from jsf page. In our architecture it is required for menu...
Sombody can answer me - how can set managed bean property from JSF page?
[ June 03, 2007: Message edited by: Pavels Hlopoks ]
show more
16 years ago
JSF
how to eliminate code repeating in jsf page?
Thanks Josh,
I have another solution
selected="#{aaa.aaa} == 'aaa'"
show more
16 years ago
JSF
How can I set bean property in JSF page?!
Hello!
I have
public class HeaderBacking { private String secondLevel = null; public HeaderBacking(){ secondLevel = new String("--- first---"); } public void setSecondLevel(String secondLevel) { this.secondLevel = secondLevel; } public String getSecondLevel() { return secondLevel; } }
have jsp page
<h:outputText value="#{headerBacking.secondLevel}"/> <c:set target="headerBacking" scope="request" property="secondLevel" value="-----yeeee-----"/> <h:outputText value="#{headerBacking.secondLevel}"/>
and have faces.xml
<managed-bean> <managed-bean-name>headerBacking</managed-bean-name> <managed-bean-class>lt.it.webforce.framework.backing.header.HeaderBacking</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean>
when I run it, get in output
"
--- first---
--- first---
"
I other words JSTL <c:set /> is not working... Why?
Please help me...
show more
16 years ago
JSF
how to eliminate code repeating in jsf page?
Hello!
I have code
<c:choose> <c:when test="${headerBacking.selected == '/trinidad/faces/contracts.jspx'}"> <tr:commandNavigationItem immediate="true" text="Contracts" action="guide.page" selected="true"/> </c:when> <c:otherwise> <tr:commandNavigationItem immediate="true" text="Contracts" action="guide.page" selected="false"/> </c:otherwise> </c:choose>
If and else part is little bit different, parameter SELECTED value is different.
how better to eliminate code repeating in jsf page in this situation?
Thanks!
show more
16 years ago
JSF
HtmlDataTable setRowCount
Hello! I need setRowCount for subj object...
This example ->
HtmlDataTable table = new HtmlDataTable (); table.setRow(100);
is wrong for me. Becose it set row count, which user see in page.
But i need to set count of all list!
show more
16 years ago
JSF
Table sorting and paging - best way?
Hello! I have one more question about JSF.
Which is best way for subj.?
I use Oracle JSF tag implementation + trinidad....
Thanks
BEST what I can find...
show more
16 years ago
JSF
Method call
You don't understand question ;)
Now I know right answer
(I want write url in bowser address bar, and go to jsp, but before call backing bean method)
[ May 23, 2007: Message edited by: Pavels Hlopoks ]
show more
16 years ago
JSF
Method call
Hello - i'm totally beginner in JSF.
I need call some method (in struts it named Action) and later go to jsp page.
From url (get method).
When press some button in form is very easy go to some action.
But from url?
It possible?
Actually i need mapping for method (for some action)
Thanks
show more
16 years ago
JSF
SCWCD 5?
Name of this book is "SCWCD Exam with Java EE 5 "
Not "Jsp&Servlets in J2EE 5"
show more
16 years ago
Web Component Certification (OCEJWCD)
SCWCD 5?
What you think about
IT
?
show more
16 years ago
Web Component Certification (OCEJWCD)
Average age of SCWCD
22
show more
16 years ago
Web Component Certification (OCEJWCD)