StreamingAddResource Exception with Facelets

2007-03-28 Thread SOSELLA
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

problem (using facelets)

2007-04-02 Thread SOSELLA
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

Additional: problem (using facelets)

2007-04-02 Thread SOSELLA
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

position : beating this dead horse again

2007-04-11 Thread SOSELLA
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

forceId warning when using facelets

2007-04-12 Thread SOSELLA
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.

Re: forceId warning when using facelets

2007-04-13 Thread SOSELLA
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

Re: forceId warning when using facelets

2007-04-13 Thread SOSELLA
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

Navigation to and from an HTTPS URL

2007-05-02 Thread SOSELLA
Does anyone have any tips how you can implement navigating to and from an HTTPS URL from a commandLink or commandButton?

Re: Navigation to and from an HTTPS URL

2007-05-03 Thread SOSELLA
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

Re: Navigation to and from an HTTPS URL

2007-05-03 Thread SOSELLA
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

Re: Navigation to and from an HTTPS URL - One Last Question

2007-05-04 Thread SOSELLA
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

Did the tomahawk sandbox get included completely in tomahawk JAR?

2007-06-13 Thread SOSELLA
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?

Modal popup dialogs for form submission in JSF

2007-06-20 Thread SOSELLA
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 used inputHTML?

2007-08-05 Thread SOSELLA
Has anyone successfully used t:inputHTML? It doesn't seem to work for me. Any suggestions for another HTML editor?

removing inputText when using inputCalendar

2007-01-25 Thread SOSELLA
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.

Re: removing inputText when using inputCalendar

2007-01-25 Thread SOSELLA
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

How stable is rcfaces?

2007-01-26 Thread SOSELLA
Hi..thanks for the tip about using rcfaces, just downloaded it; seems interesting. How stable is it?

t:inputCalendar popup location

2007-01-27 Thread SOSELLA
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?

Re: inputCalender position

2007-01-30 Thread SOSELLA
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

Re: inputCalender position

2007-01-30 Thread SOSELLA
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 that can output text ith parameters (format string) with parameters as attributes?

2007-02-07 Thread SOSELLA
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

Scrollbar for t:inputtextarea ?

2007-02-09 Thread SOSELLA
Is there a way to have scrollbars for t:inputtextarea? Is there an HTML passthrough attribute to use?

how do you specify an All Day entry for t:schedule?

2007-02-12 Thread SOSELLA
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?

2007-02-12 Thread SOSELLA
Is there any way to specify Sunday-Saturday as the Week (as opposed to Monday-Sunday) in t:schedule?

h:messages within f:subview not working

2007-03-06 Thread SOSELLA
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?

2007-03-07 Thread SOSELLA
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

Backbase?

2007-03-09 Thread SOSELLA
Does anybody have any experience with Backbase for JSF?

and not working

2007-03-16 Thread SOSELLA
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

Can you addMessage() from an Action method?

2007-03-16 Thread SOSELLA
>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

FacesContext.addMessage in an action method

2007-03-17 Thread SOSELLA
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

Ajax4jsf w.r.t. FacesContext.addMessage in an action method

2007-03-17 Thread SOSELLA
Just thought of something...I am using Ajax4jsf. Could the Ajax4jsf filter be messing things up?

Re: FacesContext.addMessage in an action method

2007-03-18 Thread SOSELLA
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

Facelets and JSP...how to port JSP code.

2007-03-21 Thread SOSELLA
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

Re: SIMPLE question - How can I get   to work

2007-03-21 Thread SOSELLA
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

facelets and ajax4jsf problem: Client-id : theId is duplicated in the faces tree.

2007-03-24 Thread SOSELLA
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

ajax4jsf 1.1 RC2 - session serialization write error

2007-03-26 Thread SOSELLA
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