Hello Zied,
I think tobago should compatible with seam or a other webbeans
implementation. The own ViewHandler from richfaces is the cause of the
error.
I have change the tobago code to reflect this.
https://issues.apache.org/jira/browse/TOBAGO-600
The next nighlty build of 1.1.0 should
Indeed, not nice so I have to use the following workaround for the moment:
- apply a simple XHTML input field instead of the tr:input with
value=#{cellValue}
- keep using the tr:selectOneChoice with value=#{cellValue}
Then the form works and is submittable by tr:commandButton.
So MVC in
i think that you need spring framework, In fact, you need the Interceptors
that spring provides.
2008/1/17, liumin HU [EMAIL PROTECTED]:
hi Svilen,
It works well, Thank you very much. Just the getAction() is a deprecated
method.
liu
- Original Message -
From: Svilen Ivanov
Yes - Spring gives more power. However this is suitable for vanilla JSF projects
2008/1/18, Alonso Isidoro Roman [EMAIL PROTECTED]:
i think that you need spring framework, In fact, you need the Interceptors
that spring provides.
2008/1/17, liumin HU [EMAIL PROTECTED]:
hi Svilen,
It
Hi, in order to render attachments (images, documents, etc.) I use to
follow the common pattern of catching the request in a phase listener,
then inserting the contents in a response stream.
Since I upgraded to Myfaces 1.1.5, I get the warning MyFaces special
javascript could not be retrieved
Hello,
most probably he's injecting the Spring bean using managed-properties,
i.e. I think his managed bean definition looks like the following:
managed-bean
managed-bean-name.../managed-bean-name
...
managed-property
property-namedataService/property-name
Hi,
Do you have the managed bean in faces-config.xml defined oder via
spring configuration file?
MyFaces should not be responsible for injecting a spring bean. This is
done when using Spring beans only.
I would suggest to define it directly in Spring an use Spring`s
init-method approach.
Thanks Simon. Btw, adding:
context.getExternalContext().getRequestMap().put("org.apache.myfaces.myFacesJavascript",
"");
while feeding the response seems to solve the problenm. No warning
anymore for html contents.
-- Renzo
Simon Kitching wrote:
Renzo Tomaselli [EMAIL PROTECTED]
Hi, in order to render attachments (images, documents, etc.) I use to
follow the common pattern of catching the request in a phase listener,
then inserting the contents in a response stream.
Since I upgraded to Myfaces 1.1.5, I get the warning MyFaces special
javascript could not be retrieved
Renzo Tomaselli [EMAIL PROTECTED] schrieb:
Hi, in order to render attachments (images, documents, etc.) I use to
follow the common pattern of catching the request in a phase listener,
then inserting the contents in a response stream.
Since I upgraded to Myfaces 1.1.5, I get the warning
Spring only has to get access to the RequestContext in order to manage
request-beans - but this is just one entry in web.xml.
Have a look at this blog article from cagatay:
http://cagataycivici.wordpress.com/2007/09/10/using-spring-to-manage-jsf-beans/
Or the annotated way (only with spring
Hi,
this is the workaround facelet code:
trh:rowLayout
input style=#{cellStyleMessageClass} value=#{cellValue}
id=#{cellId} type=text size=#{cellColumns}
maxlength=#{cellMaxLength} onfocus=storeFocus(this);
this.style.backgroundColor='#92df55';
Anybody?
On Jan 18, 2008 7:59 AM, daniel ccss [EMAIL PROTECTED] wrote:
Hi all, I have another question
In Struts I do this for join 2 jasperreport pdfs:
PdfReader reader1 = new PdfReader(bytes);
PdfReader reader2 = new PdfReader(bytes2);
PdfCopyFields copy =
new PdfCopyFields(new
that file NamedLocaleInfoScriptlet was add when fixing 797.
stay tuned.
-M
On Jan 18, 2008 4:37 AM, Ian Carr [EMAIL PROTECTED] wrote:
I have tried to upgrade two applications to the Trinidad 1.0.5 release from
1.0.4. One worked fine the second results in an exception during application
public vod nodeSelected(org.apache.myfaces.trinidad.event.SelectionEvent event);
is this not working?
On Jan 18, 2008 7:14 AM, Daniel Niklas [EMAIL PROTECTED] wrote:
Hi,
i want to define a selectionListener on my tree component:
tr:tree value=#{myBean.treeModel} var=node
Hi,
i want to define a selectionListener on my tree component:
tr:tree value=#{myBean.treeModel} var=node
selectionListener=#{myBean.nodeSelected}
What is the signature of the method in my backing bean?
Best regards
Daniel
--
View this message in context:
Hi, if it is part of the tlddocs, it is considered to be part of the
spec. Hence you are right. Can you open a JIRA issue with this? (and
even better, provide a patch if you have the time?).
Thank you!
Bruno
On 18/01/2008, Philip Newton [EMAIL PROTECTED] wrote:
Are there plans for MyFaces'
Thanks for the info. I'll look into these articles.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerald Müllan
Sent: Friday, January 18, 2008 8:48 AM
To: MyFaces Discussion
Subject: Re: Myfaces-1.2.1-snapshot: Spring injected bean not available in
Are there plans for MyFaces' implementation of the onclick attribute
of h:commandLink to change?
Currently, the behaviour seems to be to render onclick code as a
onclick=USERCODE; JSFCODE; href=#, which doesn't interact well
with user onclick attributes such as return validate() or return
Zheng schrieb:
Yes, that's exactly how I inject spring beans. I am injecting a spring
managed bean to a JSF managed bean. What do you mean by defining all beans in
spring? Do you suggest I should have spring manage my JSF bean? Is it
possible?
Yes. Spring version 2.0 and later
very strange - both fields are trinidad-fields?
regards,
Martin
On 1/17/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
FYI
..the problem was a side effect of an input component actually consisting
of two input media, one being an input field
and the other a select field, and both
I have tried to upgrade two applications to the Trinidad 1.0.5 release from
1.0.4. One worked fine the second results in an exception during application
startup. Both applications start fine with 1.0.4.
I have checked the configurations and can't see anything obviously in error.
Does anybody
Hi,
I'm not very familar with svn and the organization of the Tobago svn
repository. So apologize my question:
How do I check out the source of a specific release (e.g. 1.0.13) or the
latest sources of the 1.0.* branch?
With svn checkout http://svn.apache.org/repos/asf/myfaces/tobago/trunk I
Hi, in the context of displaying generic documents (images, pdf, etc.) I
wanted to use a modal tr:panelPopup, containing an iframe to host actual
document contents. Things such as:
tr:panelPopup id=modal position=centered modal=true
iframe src=#{bean.blob} type=#{bean.type} width=400
Yes, that's exactly how I inject spring beans. I am injecting a spring managed
bean to a JSF managed bean. What do you mean by defining all beans in spring?
Do you suggest I should have spring manage my JSF bean? Is it possible?
-Original Message-
From: Bernhard Huemer [mailto:[EMAIL
When using Spring in combination with JSF it makes no sense to mix up
ManagedBean facility
controlled beans with Spring defined Service-/DAO-Beans.
I would recommend to define them also via Spring. In this case you can
take fully advantage of Spring features
and dont`t add unnecessary
I'll take a look at this. The line at which the code is failing
indicates the LocaleContext is null, or the FormattingLocale is null.
Not sure which is the problem here.
If anyone else has seen this problem, please reply with details on your
environment.
Thanks,
Yee-Wah
Matthias Wessendorf
Hi Stefan,
in my case, the trinidad filter pointed to the servlet 'faces', but the
Eclipse WTP project created a servlet 'Faces Servlet'. So I just renamed it
to 'faces' and it works. Also, I forgot the servlet 'source'. I assume, this
servlet creates the include statements.
Here is the
Blind answer:
Your page generation depends on request scoped datas that where set by a
previous action = When client browser refresh page, the generated
component are using wrong values?
Bravo Villegas Salvador Francisco a écrit :
Hi all,
I have a problem using a Metatag in my jsf
ui:define is not a JSF component. It is only a tag handler. To be able to
support partialTriggers, there must be a component and there must be a
corresponding HTML element for the component. These are not optional.
You have to put a component inside the define that produces HTML with the
There is a PdfCopyFields class for JSF, in which jar.
On Jan 18, 2008 11:20 AM, Robert Stokes [EMAIL PROTECTED] wrote:
Have you tried passing the OutputStream from the response to the
PdfCopyFields instead of a FileOutputStream?
Rob Stokes
daniel ccss [EMAIL PROTECTED] wrote on 01/18/2008
Hi Volker,
thanks for the hint and a nice weekend...
kind regards
Adam A. Henne
Hi Adam,
at the first quick look:
you are removing the dynamic columns in the setDocumentBinding().
This method is invoked on every view restore, after this there are no
colums to invoke the
Hi,
Gerhard, you are right. I made a mistake and created a recursion:
tr:commandLink id=edit binding=#{cm.editLink}
actionListener=#{cm.edit} text=Edit partialSubmit=true
rendered=#{cm.visibleOnly} immediate=true/
and the bean function:
public boolean isVisibleOnly() {
if (editLink !=
Hi Andrew,
Andrew Robinson-5 wrote:
That is not valid. For AJAX/PPR to work there has to be HTML output to
replace. Use css to hide the data if you want (display: none)
I don't want to hide html-regions. I need a ppr/trinidad naming-container
with an attribute partialTriggers . This
Hello Helmut,
http://svn.apache.org/repos/asf/myfaces/tobago/branches/tobago-1.0.x/
for the 1.0.x branch
and
http://svn.apache.org/repos/asf/myfaces/tobago/tags/tobago-1.0.13/
for the 1.0.13 release.
Regards
Bernd
Helmut Swaczinna schrieb:
Hi,
I'm not very familar with svn and the
There may be other ways to do this, but all involve in depth knowledge of
the facelets code and writing custom components and tag handlers.
the tobago project has some facelets extension code already.
-M
On Jan 18, 2008 5:55 AM, Daniel Niklas [EMAIL PROTECTED]
wrote:
Hi Andrew,
Hi all,
I have a problem using a Metatag in my jsf pages.
When I include the tag META http-equiv=refresh content=100
I lost all my action links, so my navigation in my pages get lost, I can
go anywhere where I have an element with an action.
What would be happening???
Any idea?
37 matches
Mail list logo