erride this behavior
in the servlet spec, but I was unable to find a way.
-Andrew
On 4/21/06, David Schlotfeldt [EMAIL PROTECTED] wrote:
When a request comes in to
http://localhost:8080/test.com/
I want the request to be handled as if it was
http://localhost:8080/test.com/index.html
erride this behavior
in the servlet spec, but I was unable to find a way.
-Andrew
On 4/21/06, David Schlotfeldt [EMAIL PROTECTED] wrote:
When a request comes in to
http://localhost:8080/test.com/
I want the request to be handled as if it was
http://localhost:8080/test.com/index.html
When a request comes in to
http://localhost:8080/test.com/
I want the request to be handled as if it was
http://localhost:8080/test.com/index.html
I am using facelets and the actual file there is caleld
http://localhost:8080/test.com/index.xhtml - NOTE the x
How do i get it to server the
/
/h:outputLink
-Ursprüngliche Nachricht-
Von: David Schlotfeldt [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 5. April 2006 04:56
An: users@myfaces.apache.org
Betreff: is it possible to call a method and pass an arguement from jsf?
I have a backing bean called Menu that has a method
I have a backing bean called Menu that has a method getMenuItems() that
returns a List of MenuItems. Each MenuItem has an id, title, and child
MenuItems which are in a List.
I want the url of menu items to be a join of the menuitem's id and its
ancestors' id.
Eg. if we are on 'a' and its
Two quick questions. I am using the jscookmenu. I have an actionListener
set on a menu item. Here is the JSF code:
--
t:jscookMenu id=cmsMenu layout=hbr theme=ThemeOffice
t:navigationMenuItem id=nav_1
actionListener=#{menu.onMenuItemAction}
I have a database of zip codes, city, states, longitude, and latitude.
Someone here found the database on the Internet. For a website we did
we needed to list all locations of a franchise within 100 miles of a
given zip code. It took a little while to find how to calculate the
distance using
particularly popular for solving this problem.
On 3/6/06, David Schlotfeldt [EMAIL PROTECTED] wrote:
I need a way to have a URL that will cause a JSF action to take place.
Anyone know of a way? (For an example, lets say I need to put the link
in an email.)
All I find are "hack
it comes back.
What are peoples opinion on this approach?
(I don't know how the API having to do with JSF's life cycle works so
maybe its possible to do this type of thing from a servlet so a fake
request doesn't have to be made.)
Thanks,
David
David Schlotfeldt wrote:
I need a way to have a URL
I need a way to have a URL that will cause a JSF action to take place.
Anyone know of a way? (For an example, lets say I need to put the link
in an email.)
All I find are hackerish javascript solutions to this issue.
Would it be possible to create a version of the commandLink that didn't
use it outside
of a servlet... well.. excet if I make some test cases.)
David
Anthony Hong wrote:
String filePath =
((ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext()).getRealPath("/WEB-INF/test.properties");
You can get correct file path.
On 3/3
I have a property file in WEB-INF. I thought this is how you get to it:
URL configUrl =
FacesContext.getCurrentInstance().getExternalContext().getResource(/WEB-INF/test.properties);
...
configProperties.load(new FileInputStream(file));
But I get this exception
I need to change where my application is getting the XML of the view
from. For example, currently when a request comes in for
/company/history.jsf it will use the contents of /company/history.html.
I want to be able to make a request for /company/history.jsf get its
content from
I have parts of forms I would like to reuse from page to page but
because binding, value, validator, converter, and required are all
specified in the XML code I can't reuse the code. I have been playing
with the idea of removing these settings from my XML code completely and
instead setting
I have the same problem. I opened an issue on it a few days ago:
https://issues.apache.org/jira/browse/MYFACES-1151
I just added a comment to it about it being a duplicate.
David
Mike Duffy wrote:
I just upgraded to JBoss 4.0.4RC1.
I did not have this error in the previous version of JBoss.
I have the same problem. I opened an issue on it a few days ago:
https://issues.apache.org/jira/browse/MYFACES-1151
I just added a comment to it about it being a duplicate.
David
Mike Duffy wrote:
I just upgraded to JBoss 4.0.4RC1.
I did not have this error in the previous version of JBoss.
Is it possible to have multiple views / forms on 1 page?
For example
html
body
ol id=menu
lia href=blahblah/a/li
li
f:view
h:commandLink id=accountEdit
value=Profile action=#{backingBean.accountEditCurrentUser}/
Thank you for the very quick and informative response. I REALY
appreciate it and will surely look more into both of those projects.
David
Matthias Wessendorf wrote:
I have something like this (but the second view is actually pulled in
with a JSP include) and I get some type of IO
You said
"you may be interested in Shale's Clay or Facelets. this allows you to
use html inside of jsf 1.1 views, with f.verbatim"
Did you mean "withOUT f.verbatim" not "with f.verbatim"
?
David
David Schlotfeldt wrote:
Thank you for the very quick and
Thank you for the very quick and informative response. I REALY
appreciate it and will surely look more into both of those projects.
David
Matthias Wessendorf wrote:
I have something like this (but the second view is actually pulled in
with a JSP include) and I get some type of IO
and remove them from the WAR.
Thanks,
David
Adam Brod wrote:
I can't open the zip. Can you
include
the source for the offending JSP, the Backing Bean and part of
faces-config.xml
where the backing bean is configured?
Adam Brod
Product Development Team
David
I am using JBoss 4 which comes with myfaces but I don't want to use the
version it comes with (1.1.1) because it has 2 errors in it that I need
fixed. The nightly build has both fixed. I am trying to remove faces
from JBoss and have it use the version of myfaces that is with the
webapp.
This
ave to do to let me have the classes in a
separate JAR from the WAR?
(Last note. im not really using any EJBs in this example so my
problem is not an issue with them. I'm sure I am simply being really...
stupid... about something.)
Thanks,
David
David Schlotfeldt wrote:
I am using JBoss
23 matches
Mail list logo