Andrew,
I compared the AJAX response to the html source and I
can't seem to find anything out of place. I have included the two
below, maybe I missed something. I added id's to most of the jsf
components so that it is a little easier to parse.
On a side
Adam, no warning at all. I suspect that a4j interferes with the new
xmlhttp-based PPR.
Adam Winer wrote:
Do you see any logged warnings whatsoever? You apparently
are using A4J - what happens if you remove A4J from
the picture? There's not enough to go on just in this report.
--
Hard to detect. I can see this error only at the very first postback,
not afterwards.
I just wonder if anybody succeeded in having a4j together with Trinidad
1.02 in the same application.
I can kick a4j/richfaces out of the game as soon as I can replace
dropdown menus (e.g. context-menus)
Hi, I'm using t:jscookMenu with t:navigationMenuItems child. All
MenuItem are created by a managed bean that set disabledStyleClass of
each NavigationMenuItem to a myStyle string. The problem is that when
the menu is rendered, I have a disabled menu item but semme don't use
the
Thanks Ben, this solved the problem.
Changing only the setter was not sufficient.
I have to change the getter and the type also to Double, as you said.
Michael
-Original Message-
From: Ben Smith [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 12. September 2007 22:06
To: MyFaces Discussion
Damn, I tested a little bit more and now there is another problem.
If I enter 5.0 or 5,0 (depending on the locale) I get the following
exception:
Exception setting property Threshold: of base with class
com.recommind.litigation.client.web.model.Category, Bean:
inputText value=#{mybean.adouble} /
requires input of 5.0 (DoubleConverter does this Double.valueOf(value)
if you want 5,0 (where , is the decimal separator, like in Germany), you need a
numberConverter with pattern or locale.
-Matthias
On 9/13/07, Michael Heinen [EMAIL PROTECTED] wrote:
Damn,
Hi!
The NumberConverter returns a Long instead of a Double!
How can I get a simple automatic NumberConversion working ?
This is really annoying!
I am not sure if this has already been mentioned in this thread. But
there is a numberConverter in Tomahawk's sandbox which will do the trick.
Hi,
I need to include the rendered html output from a myfaces jsf page in an old
jsp page (not a jsf page!). Unfortunately it's not possible to use a jsf
page at this point. It's a jsp/servlet framework application which is used
during developement to test the output of portlets in tomcat -
A wonderful :-)))
Thanks Mario.
I was not aware of this converter in sandbox.
This seems to be what I need.
Isn't the default converter useless in combination with doubles without
this destType ?
Michael
-Original Message-
From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Sent:
Hi!
Isn't the default converter useless in combination with doubles without
this destType ?
Notice, in most situations you do not have to set this destType, the
converter will determine this automatically.
Well, the default converter, I think the common strategy when using this
converter is
I just took a look at the sandbox tomahawk numberconverter.
Similar to Trinidad's NumberConverter.
Nice!
-Matthias
On 9/13/07, Mario Ivankovits [EMAIL PROTECTED] wrote:
Hi!
Isn't the default converter useless in combination with doubles without
this destType ?
Notice, in most situations
Alex N. a.nitzschke at web.de writes:
Hi,
I've a problem with frames, the component tree and server side state saving.
The frameset contains a tree frame (with a tree2 component ) and a data
frame.
After several actions in the data frame, the NUMBER_OF_VIEWS_IN_SESSION is
reached
Hi Alexander,
not sure if this is possible in a phaseListerner, i think it sould be,
but you may look at this thread for a possilbel solution:
http://www.nabble.com/Change-visibility-dinamically-tf3299810.html#a9202172
Regards,
Volker
2007/9/13, Alexander Lendl [EMAIL PROTECTED]:
Hi,
Hello, I have seen many web pages have Drag and Drop (DnD) features. Is there
any plan to add DnD functionality to MyFaces (Tomahawk) ? RichFaces has DnD,
but
1. it lacks precise positioning, For example, drag a panelGroup and drop it
between two other panelGroups.
2. It can not
Volker, thanks for your quick reply... I don't think that this thread can
really help me with my problem.
It's not necessary that the required functionality happens in a
PhaseListener (could also be in a servlet, servlet filter, custom jsp tag,
...). All I need is to get the rendered html
Hi,
to get the rendered html you can, as described in the thread, replace
the responsewriter
before rendering. Than you can get the writers content after
rendering. I think this should be possible also i a PahseListener in
before and after renderResponse phase.
to prevent faces to do anything
Hello Dave,
Stay tuned for RCF, it contains such feature. For now you can download
JDeveloper 11g technical preview for a sneak peek of RCF. RCF was given to
Apache by Oracle, but we're still waiting for the code drop. Hopefully,
it'll be soon.
Regards,
~ Simon
On 9/13/07, Dave [EMAIL
Hi,
is there any kind of a jsf component with which I can download files?
I need just a simple download-button on my webpage.
Cheers!
Have you considered using the jakarta commons httpclient library to send a
separate request from your test framework back to the JSF page on the same
server (or a different one)?
The HttpClient operation will then return the complete block of HTML rendered
by that JSF page without any complex
Trinidad has an actionlistener for that.
If you aren't using trinidad, you still can take a look at the code
and use its logic.
-Matthias
On 9/13/07, Wolfgang [EMAIL PROTECTED] wrote:
Hi,
is there any kind of a jsf component with which I can download files?
I need just a simple
Which Trinidad component should that be??
Can I also use the upload file component for downloading?
Trinidad has an actionlistener for that.
If you aren't using trinidad, you still can take a look at the code
and use its logic.
-Matthias
On 9/13/07, Wolfgang [EMAIL PROTECTED] wrote:
Hi,
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html
Regards,
Volker
2007/9/13, Wolfgang [EMAIL PROTECTED]:
Which Trinidad component should that be??
Can I also use the upload file component for downloading?
Trinidad has an actionlistener for that.
On 9/13/07, Wolfgang [EMAIL PROTECTED] wrote:
Which Trinidad component should that be??
no component; an actionListener.
See the doc:
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_fileDownloadActionListener.html
source is here:
Thanks again Volker... sorry for this stupid question, but can you please
tell me, how to get the html content as string out of the ResponseWriter?
facesContext.getResponseWriter() gives me an HtmlResponseWriterImpl with a
JspWriterImpl which includes the desired content in a char array, but I
Hello,
Problem: Tomcat 5.5.16, windows computer. Has worked well up until now,
has been solved by removi work directory of tomcat and restarting.
However, we would like to know what happened and how to prevent it in
future:
Error message: No Factories configured for this Application. This
I went the route of using the selection event in adding the actions
facet as a partial target, but the selectionListener wasn't being called
as it had been in ADF Faces. I immediately suspected a false
autoSubmit, added the attribute to set it to true and the selection
event was triggered,
Hi,
in beforePhase:
// replace responseWriter
StringWriter content = new StringWriter();
ResponseWriter contentWriter = writer.cloneWithWriter(content);
facesContext.setResponseWriter(contentWriter);
and in afterPhase you can get the content out of the StringWriter.
Regards,
Timothy,
I stripped the page and the AJAX down to the ID attributes only
(FYI I used this set of commands with VIM to do this:
%s//\r/g | %s/^.\+\(id=[^]\+\).*/\1/ | %s/^[^i].\+\n// | sort
)
Here are the results:
Page:
id=acctPage:acctTable
id=acctPage:acctTable:j_id_jsp_1566647018_17
Hi David,
this error-message is long, but it is not complete. In the current SVN
head, it is more complete - and it includes as a solution, to clean
out the tomcat work directory. What is happening here is (I'm just
guessing) that Tomcat converts the tld-libraries and stores them in
some
Hi, first the configuration:
I try to run Tomahawk with Sandbox on the JSF RI 1.2 on Apache Tomcat 6.
It all seemed to work fine (t:selectItems and so on run really great)
until I tried to get s:selectManyPicklist to work (one of the main
reasons I got Sandbox in the first place).
I
You can also do this with plain jsf in a action method.
Search for this method getInstrumentsBySecCodePattern on this page :
http://wiki.apache.org/myfaces/Exporting_DataTable_To_MS-Excel
That method could easily be changed into a normal action method. Seem to
remeber there was a page in the
Sorry wrong method name, should be exportHtmlTableToExcel, copy pasting is
difficult ;)
On 13/09/2007, Mikael Andersson [EMAIL PROTECTED] wrote:
You can also do this with plain jsf in a action method.
Search for this method getInstrumentsBySecCodePattern on this page :
On 9/13/07, Andrew Robinson [EMAIL PROTECTED] wrote:
Timothy,
I stripped the page and the AJAX down to the ID attributes only
(FYI I used this set of commands with VIM to do this:
%s//\r/g | %s/^.\+\(id=[^]\+\).*/\1/ | %s/^[^i].\+\n// | sort
)
Can I get you on permanent retainer for
I had a quick look at the code to see if there was
a simple way to resolve:
http://issues.apache.org/jira/browse/TRINIDAD-708
... and, ouch, not really. The problem's not so much
on the XMLMenuModel side of things, but the
MenuContentHandlerImpl and MenuNode code,
where we have:
- A
I stripped the page and the AJAX down to the ID attributes only
(FYI I used this set of commands with VIM to do this:
%s//\r/g | %s/^.\+\(id=[^]\+\).*/\1/ | %s/^[^i].\+\n// | sort
)
Can I get you on permanent retainer for VIM-editing? :)
Isn't VIM regex syntax really pretty? Easier to
That was what I thought too. When I saw the code, my first reaction was uh-oh.
Perhaps the key can be changed to be based on the source instead of a
request-global key?
On 9/13/07, Adam Winer [EMAIL PROTECTED] wrote:
I had a quick look at the code to see if there was
a simple way to resolve:
On 9/13/07, Adam Winer [EMAIL PROTECTED] wrote:
On 9/13/07, Andrew Robinson [EMAIL PROTECTED] wrote:
Timothy,
I stripped the page and the AJAX down to the ID attributes only
(FYI I used this set of commands with VIM to do this:
%s//\r/g | %s/^.\+\(id=[^]\+\).*/\1/ | %s/^[^i].\+\n// |
The error dialog indeed doesn't appear in Firefox, though would it if
Firebug wasn't installed? There doesn't appear to be any sort of error
when running in Firefox - all I see in the Firebug console are POST
messages as expected.
I haven't looked at the current 1.0.2 codebase, but does it
I put a comment on the bug to possibly enhance Trinidad's logging to
use log4js. There are two projects with that name, one at sourceforge
and one at berlios. I think either may be work looking at. They should
both work in any browser that I am aware of.
What do you think Adam?
-Andrew
On
The easiest thing might be to see if it reproduces in a very simple hello
world page. If the problem reproduces then it might be work verifying that
the .js files listed in the page source do load script as expected (put
those URLs in your browser's address bar). If the problem doesn't reproduce
I'd love to get some much better logging in Trinidad.
http://ajaxpatterns.org/Javascript_Logging_Frameworks
lists some more. Both the ones you mention are
Apache 2.0 licensed, as is log4javascript, so from
that standpoint we're OK.
The major concern is that we don't start bloating
our JS size
On 9/13/07, Andrew Robinson [EMAIL PROTECTED] wrote:
That was what I thought too. When I saw the code, my first reaction was uh-oh.
Perhaps the key can be changed to be based on the source instead of a
request-global key?
Easy enough from the XMLMenuModel side - but how well does that
work
Hi,
I'm getting an exception with myfaces when adding a dependency to the webapp. This
dependency contains a component and renderer, but I removed the META-INF directory, so it
should just be interpreted as a simple java dependency. If I completely
remove the dependency the test app deploys
It looks like the CompatibilityMatrix is getting a little old:
http://wiki.apache.org/myfaces/CompatibilityMatrix
Can someone add:
Column needed for MyFaces 1.2
Row needed for Tomahawk 1.1.6
-Thanks
Steve More
wiki pages can be updated by everyone.
Feel free to do :-)
On 9/13/07, Stephen More [EMAIL PROTECTED] wrote:
It looks like the CompatibilityMatrix is getting a little old:
http://wiki.apache.org/myfaces/CompatibilityMatrix
Can someone add:
Column needed for MyFaces 1.2
Row needed for
On Thu, 2007-09-13 at 17:42 +0200, jfn555 wrote:
Hi, first the configuration:
I try to run Tomahawk with Sandbox on the JSF RI 1.2 on Apache Tomcat 6.
It all seemed to work fine (t:selectItems and so on run really great)
until I tried to get s:selectManyPicklist to work (one of the main
Yes. Please do log a JIRA ticket for this. I believe the skin-selectors
documentation needs to be updated.
Regards,
Venkata
On 9/12/07, Carsten Pieper [EMAIL PROTECTED] wrote:
Thanks Venkata,
I think the selectors af|column::cell-number, af|column::header-number
may
no longer be used.
The other thing you can look into is using Firebug Lite which you can use
with IE but requires a change to your JSP to insert its script... more
details here:
http://www.getfirebug.com/lite.html
On 9/13/07, Matt Cooper [EMAIL PROTECTED] wrote:
The easiest thing might be to see if it reproduces
OK, I added the columns and rows. I just don't know where the yeses and nos go.
-Steve
On 9/13/07, Matthias Wessendorf mat.org wrote:
wiki pages can be updated by everyone.
Feel free to do :-)
On 9/13/07, Stephen More ste...om wrote:
It looks like the CompatibilityMatrix is
I can't say as I have used either, they just came up with some google
searching. I definitely think some research is in order and hopefully
some opinions from the community for any that people have used. I know
that A4J uses some of them.
Perhaps the suggestion for firebug lite may be good. It
I'm seeing this same issue with MyFaces 1.2.0 and Facelets 1.1.13. I tried
the exclusion selection below and that doesn't solve anything. I've had a
discussion with the Jetty folks about commons-el in Jetty 6.1.5 and they've
proven it's not present.
Ok - I think I have it isolated. I have a working component that works fine
using ValueBindings. However, I figured I'd go ahead and get everything
upgraded to the unified EL, so I followed the steps in the migration guide:
http://java.sun.com/javaee/javaserverfaces/docs/ReleaseNotes.html
The underlying error (only in IE - Firefox is fine) is below. Can you
tell me what might be going wrong here? This follows a commandButton
click in which we get as far as the PPR update I believe.
Error object delivering XML request status changed to
function(a3)
{
I'm getting the following error when trying to run MyFaces 1.2.0 on Resin
3.1.2. Any ideas?
@400046e9bb65051988cc [17:36:10.302] Loading .tld files from global
classpath
@400046e9bb670c2104c4 [17:36:12.924]
com.caucho.xml.XmlParseException:
By hacking the myfaces_core.tld and repackaging the JAR, I was able to fix
the issue below. From looking at the XSD, this does seem to be a valid bug.
After getting the app up, I tried to navigate to a page and there seems to
be an issue with Facelets. Anyone running Facelets 1.1.13 on Resin
One thing we could do is come up with a REALLY trivial
API like TrLog.error(), TrLog.severe(), TrLog.warning(),
write one version that delegates to a quality JS logging
implementation and load that in the debug Trinidad JS,
and have the non-debug libraries contain just:
TrLog.error =
Got it.
I changed the scope of the el dependency to provided, and it took care of it.
dependency
groupIdjavax.servlet.jsp/groupId
artifactIdjsp-api/artifactId
version2.1/version
scopeprovided/scope
/dependency
Cheers,
- Ole
Ole Ersoy
Adam--
I used firebug and the problem arises from a parse error of the
xml response. It seems as though the /content closing element is
missing from the response. I have included the text from the response
below.
content
59 matches
Mail list logo