Re: Tomahawk inputCalendar bug

2009-06-10 Thread Michiel Weggen
I managed to fix this by expanding the converter to be able to handle java.util.Date. I made it extend from HtmlCalendarRenderer.CalendarDateTimeConverter, and added a getAsDate method that converts the joda DateTime to a Date object, like this: public Date getAsDate(FacesContext

Possible Bug? - h:panelGrid styleClass not working in Firefox

2009-06-10 Thread Alan Gross
Hi Forum I use myfaces 1.2.6. I noticed that neither the styleClass Attribute nor the id is working with my central CSS configuration in Firefox. The following works fine in IE7 but not in FireFox 3.0.10 (using panelGrid styleClass): css file: .formActionBar { height: 25px;

Re: spring security/acegi and myFaces orchestra conversation scope

2009-06-10 Thread Matthias Gerber
Hi Mario Your use case is pretty sophisticated. I don't think, this use case is so sophisticated. Thinking about ajax applications, running multiple instances of the application in different browser windows. When loging on, it is nice, because you only have to do this, when stating the first

trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-10 Thread Dave
t:div id=region1   tr:commandLink text=updateRegion2 action=#{bean.updateRegion2} partialSubmit=true ... /   /t:div   t:div id=region2     /t:div   After clicking the updateRegion2 commandLink using ajax submit, the region2 content is refreshed successfully.  But the tr:commandLink

trinidad: how to add javascript/style/body onload programmatically

2009-06-10 Thread Dave
For trinidad, 1. how to add javascript/style inside html head programmatically? For example,link rel=stylesheet href=/my.css type=text/css /script type=text/javascript src=/my.js 2. how to add body onload script? Thanks for help.Dave

save state

2009-06-10 Thread alvaro tovar
hello some one can help me understading how is that this component work, how is that store the object in th viewId, like save state. and how i can get the object from view, i like to do this for some reason, but whit out the component regards

Re: trinidad: how to add javascript/style/body onload programmatically

2009-06-10 Thread alvaro tovar
for the 1 you can use ${} for the 2 body onload=callJS() 2009/6/10 Dave javao...@yahoo.com For trinidad, 1. how to add javascript/style inside html head programmatically? For example, link rel=stylesheet href=/my.css type=text/css / script type=text/javascript src=/my.js 2. how to add

Re: trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-10 Thread Andrew Robinson
Where are your partial triggers? If no components trigger off of the command link, then nothing will be updated on the client. Also, with action and not actionListener make sure you never match a navigation rule. Navigation will invalidate the PPR. -Andrew On Wed, Jun 10, 2009 at 10:21 AM,

Re: save state

2009-06-10 Thread alvaro tovar
hello is possible to show a image uploaded, but not stored in the database and also the manage bean is of request i think that whit the component save state can run, but the problem is that the image is avaible in the same request of the form when the save state is setting, but when the image

Re: trinidad ppr issue: ajax submit does not work in partially refreshed region

2009-06-10 Thread Dave
partialTargets are added programmatically for ppr:   RequestContext rc = RequestContext.getCurrentInstance(); UIViewRoot root = FacesContext.getCurrentInstance().getViewRoot(); rc.addPartialTargets(root, targets);   In our case, no page navigation. the same page is used for ajax call.   I am

Re: trinidad: how to add javascript/style/body onload programmatically

2009-06-10 Thread Dave
what i meant is how to use Trinidad java API to do that. Tomahawk's AddResource allows users to add css style and javascript programatically. I am wondering if Trinidad has the similar functionalities.   Trinidad has ExtendedRenderKitService:     FacesContext facesContext =

trinidad ppr: how to add stylesheet ?

2009-06-10 Thread Dave
For a ppr response, we need to add style sheet programmatically:link rel=stylesheet href=/theme/editor.css type=text/css /How to achieve that in Trinidad ppr call?Thanks,Dave