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
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;
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
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
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
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
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
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,
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
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
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 =
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
12 matches
Mail list logo