I am trying to incorporate the performance improvements using:
org.apache.myfaces.ADD_RESOURCE_CLASS
org.apache.myfaces.component.html.util.StreamingAddResource
with when using facelets.
I am getting an exception when the first page is accessed:
Unknown error while serving resource: n
I have been porting my code to facelets. I am using and
all seemed to work and render properly, but when now I go to click on
the schedule, the event type is always SCHEDULE_NOTHING_CLICKED. I did
not change any attributes or attribute values for the tag.
Has anyone else seen this issue? The
Some more info... seems like the mouseListener method is not being
called. I am pretty sure that it used to be called prior to me porting
to facelets.
I downloaded the "tomahawk.taglib.xml" file that I found on the net, but
I added the "schedule" tag myself and listed
"org.apache.myfaces.Schedule
I am using and I put a around it to try to anchor the popup on the
image icon. This works fairly well, but I noticed that if I scroll down
on the page and then click on the image icon to popup the dialog, the
dialog is offset by the amount that I scrolled. Anyone know the right
way to anchor th
Don't know if this has been discussed here before...
I am getting warnings that the 'forceId' attribute is not on various
types, e.g., org.apache.myfaces.component.html.ext.HtmlInputText. I
recently ported to facelets and I don't remember seeing this warning
when I was just using myfaces alone.
There are two reasons why I am using forceId, but both of them are
probably because I am not doing something correctly.
1) When I use an addMessage(id, ...) I have to specify the id of the
control for the message is intended. It seems (maybe I am wrong) that
if I don't use forceId, the id used in
I tried looking into this approach of having a binding component in the
backing bean, but that seems *highly* onerous. I would need a binding
component for nearly every input control. I prefer using the forceId
approach.
- Original Message -
From: Mike Kienenberger <[EMAIL PROTECTED]>
D
Does anyone have any tips how you can implement navigating to and from
an HTTPS URL from a commandLink or commandButton?
Andrew,
Thanks for the tips. I think that method (1) can work for me in some
situations, but not in general. Would you happen to know or have any
examples for the method (2) [custom navigation handler]? I appreciate
your help *very* much!
- Original Message -
From: Andrew Robinson <[E
Andrew & Bill,
So is it common form to stay in HTTPS once the user estasblishes a
secure connection and authentication? Because if this is the case, then
I don't have to really do anything special for navigation handling. Are
there any downsides to continuing to use HTTPS? I am not sure I could
Andrew,
In your response, you wrote "build the full URL including 'https'".
However, when you get the viewId in handleNavigation, it has the actual
file name, e.g., "page.xhtml" (I am using facelets). However, I think
(maybe I am wrong) that an actual URL has to be of the form "page.jsf"
(if usi
Sorry if this sounds like a stupid question; however, did the
tomahawk-sandbox get completely included into the tomahawk 1.1.6 JAR?
If not, which tomahawk sandbox JAR can be used with the 1.1.6 JAR?
Could anyone recommend the best way to have modal popup dialogs for form
submission in JSF? I need to popup a dialog that has a form that the
user can fill out and submit and then return to the page from which the
popup dialog was initiated. I need a modal dialog to that page.
Has anyone successfully used t:inputHTML? It doesn't seem to work for
me. Any suggestions for another HTML editor?
Is there anyway to not have the inputText when using the inputCalendar
tag? I am setting the renderPopupButtonAsImage to true, but dont want
to show the inputText box.
Thank you for the solution; style="display:none" worked.
Going to be demanding now...
I noticed that the JS code generated creates arrays with English words
for days and months (Monday, etc. and January, etc.). Is there a way to
internationalize this?
Also, is there a way to change the imgDir v
Hi..thanks for the tip about using rcfaces, just downloaded it; seems
interesting. How stable is it?
I am getting this weird behavior where the popup dialog for the
t:inputCalendar tag pops up at the lower right of the window/screen.
This doesn't happen every place I have used t:inputCalendar, but happens
in one instance. How is the position of the popup dialog defined or
controlled?
I have the same problem with the position of the inputCalendar tag. I
posted an issue a few days ago and got a response saying that the
position is defined in:
"It is defined in the .js files accompanying the distribution.
specifically, popcalendar_init.js and popcalendar.js (Not sure about the
e
Ok...this might be a complete hack, but...
surround your tag with ...
I looked at the JS code and this seems to work. Let me know if this
works for you.
- Original Message -
From: ramsi <[EMAIL PROTECTED]>
Date: Tuesday, January 30, 2007 11:05 am
Subject: Re: inputCalender position
Is there a tag (i.e., outputText) that you can specify a format string
and then pass parameters as attribute values? That is, a tag something
like:
and in the message bundle something like this:
fmt_str_key=Hello: {0}
Thanks
Is there a way to have scrollbars for t:inputtextarea? Is there an HTML
passthrough attribute to use?
I looked at the Examples source for adding an all day entry:
DefaultScheduleEntry entry7 = new DefaultScheduleEntry();
entry7.setId(RandomStringUtils.randomNumeric(32));
entry7.setTitle("All day event");
entry7.setSubtitle("This event renders as an all-day event");
Is there any way to specify Sunday-Saturday as the Week (as opposed to
Monday-Sunday) in t:schedule?
I am using the following JSF code snippet:
...
...
...
and in the backing bean I am adding an error message such as
FacesContext.getCurrentInstance().addMessage("myClientId", new
FacesMessage("error"));
The error message is not showing up. I have tried all sorts o
Has anyone used G4JSF or GWT? I have used Ajax4JSF extensively and want
to make my app even more rich and Web 2.0ish. I have read Smirnov's
articles and agree with him that JSF is a good server-side solution for
navigation, etc. G4JSF looks promising but wanted some feedback before
I invest time
Does anybody have any experience with Backbase for JSF?
I tried the suggestion of using forceId to specify the id of the
component for which I need to generate a message, and I also created a
property binding to get the client id. I did the latter mostly to check
that forceId was working and it was. The problem is that the messages
are not being shown
>From all examples, it appears that you should be able to call
addMessage() from within an action method, but when I try this, the
message is not displayed. Contrarily, I found this discussion where it
says that it isn't possible:
http://jsf-faq.com/faqs/messages.html
and that you have to use a
I have seemingly tried everything. I put forceId on the
(which sets the id properly); I tried a validator and calling
addMessage() from within the validator method, which although it is
bulky it did work and the error message appeared; page-level validation
works (an error message appears if I le
Just thought of something...I am using Ajax4jsf. Could the Ajax4jsf
filter be messing things up?
Simon,
Yes. I am using in my navigation rules. What is the
behavior of JSF if you return null? Does it stay on that page?
Thanks for the tip. This might be the explanation I have been seeking.
- Original Message -
From: Simon Kitching <[EMAIL PROTECTED]>
Date: Sunday, March 18, 200
I have been considering moving to Facelets. I have studied it and like
what I see. One problem I see is how to port my JSP code into Facelets.
By this I mean, in some of my pages, I have JSP code
<%
if (!foo.isLoaded())
{
response.sendRedirect("login.jsf");
}
%>
Does anyone kn
I think that with facelets you don't need to use h:outputText... just
put by itself.
- Original Message -
From: Charbel Abdul-Massih <[EMAIL PROTECTED]>
Date: Wednesday, March 21, 2007 7:56 am
Subject: SIMPLE question - How can I get to work
To: MyFaces Discussion
> I am using JSF w
I am trying to use facelets with ajax4jsf and immediately came across a
problem where the following exception:
"Client-id : theId is duplicated in the faces tree. "
is raised. This worked fine when not using facelets but fails when
using facelets. I can post more code, but was wondering if ther
I just downloaded and imported version 1.1 rc2 of AJAX4JSF (from a
version I downloaded sometime in Dec. 2006). I am now getting a
'Session Serialization Error' when stopping my Tomcat server. I know
you can turn off Session Serialization, but does anyone anything in
particular that might be caus
36 matches
Mail list logo