Georg,
Have you tried isPostback() on FacesContext? If you are not including
view state as one of the parameters, it will return false for GET requests.
Max
On 3/18/2015 9:19 AM, Georg Füchsle wrote:
Hallo!
Is it possible to see if a parameter read in my jsf-app was sent by post or
by get?
that you would need to worry not only about the
LocaleElements, but also MessageBundle, LoggerBundle and
TimeZoneDisplayNames (depending on the release you are using).
Let me know if you need instructions for building Trinidad source.
Regards,
Max Starets
On 4/27/2012 7:21 AM, Anatoly Bludov wrote
Wouter,
Is trinidad-impl.jar in your classpath?
Max
On 1/11/2012 3:19 PM, Wouter Sieling wrote:
Hi
I am fairly new to the JSF environment and I am attempting to integrate
Trinidad into an existing app we have as a proof of concept. Unfortunately
The component I am testing (table tree) is
Shane,
Is there a JIRA Issue for the problem you are describing? If not, could you
file one? It would be very helpful if you included the response text and any js
errors that may be appearing when disclosure is not working.
Regards,
Max Starets
On Dec 11, 2011, at 1:25, Shane Petroff sh
Gerhard,
Do you have debug-output specified in your trinidad-config.xml?
Max
On 11/4/2011 3:36 AM, Visagie, Gerhard wrote:
Hi Guys;
Posted this to myfaces by mistake J
We have a Myfaces2,trinidad2 and tomahawk2 site running on Tomcat7. I
noticed in the output there are multiple \\#\9\;
Catherine,
If the table has partialTriggers pointing to the command button, it
should work just fine. I would check two things: 1) is your partial
trigger Id set correctly, i.e do you need to do something like stepping
out of the naming container, etc.?; 2) do you see table's HTML included
Hey Andrew,
The problem is that the Facelets engine does not know it is dealing with
a MethodExpression.
One way to fix it would be to override createMetaRuleset() in the newly
created chart tag along these lines:
protected MetaRuleset createMetaRuleset(Class type)
{
MetaRuleset m =
have any idea how to solve this?
Tnx and regards,
Luka Surija
On 19.07.2011 20:51, Max Starets wrote:
Luka,
I updated the JIRA with two workarounds for this issue. I will also
provide a fix soon.
For now, you can just disable debug output in trinidad-config (you
don't want to have
Luka,
Try checking out Trinidad maven plugins from
http://svn.apache.org/repos/asf/myfaces/trinidad-maven/branches/2.0.x-branch
and building them first.
Max
On 7/20/2011 12:47 PM, Luka Surija wrote:
Same story with maven 3 and maven 2.
Luka Surija
On 20.07.2011 16:19, Max Starets wrote
Luka,
I updated the JIRA with two workarounds for this issue. I will also
provide a fix soon.
For now, you can just disable debug output in trinidad-config (you don't
want to have it in production anyways).
Max
On 7/18/2011 10:43 AM, Max Starets wrote:
Luka,
I know that you have logged
Luka,
I know that you have logged TRINIDAD-2107. I haven't been able to take a
look at it yet unfortunately, but will do so this week.
Were there other problems?
Max
On 7/17/2011 6:23 PM, Luka Surija wrote:
Welcome to the club, something in development of this combination
Trinidad 2 +
Manuel,
Could you log a JIRA issue for this problem?
Max
On 7/16/2011 9:11 PM, Manuel Hartl wrote:
Hi list,
my rearch to get trinidad2 with facelets working gets more confusing..
the following was tested with
mojarra 2.0.2-b10 and 2.0.6
trinidad-2.0.0 and trinidad-2.0.1-SNAPSHOT (executed
www.iytim.hr
i...@iytim.hr
On 06/19/2011 02:41 AM, Max Starets wrote:
Luka,
Have you logged a JIRA issue for the issue with Glassfish and
Trinidad+Facelets. We should be able to fix it for you pretty quickly.
Regards,
Max
On Jun 18, 2011, at 15:12, Luka Surijal...@iytim.hr wrote:
Dear
Luka,
Have you logged a JIRA issue for the issue with Glassfish and
Trinidad+Facelets. We should be able to fix it for you pretty quickly.
Regards,
Max
On Jun 18, 2011, at 15:12, Luka Surija l...@iytim.hr wrote:
Dear Oleg,
first of all, sorry but you are negligent (or maybe stupid but I
disable it.
Add the following context parameter in web.xml:
context-param
param-namejavax.faces.PARTIAL_STATE_SAVING/param-name
param-valuefalse/param-value
/context-param
Hope this helps,
Max Starets
On 1/25/2011 5:23 PM, Catherine Rocchio wrote:
Hi there,
We are new to using JSF/Facelets
James,
I was able to reproduce your issue. I filed the following Trinidad issue:
https://issues.apache.org/jira/browse/TRINIDAD-2008
We will try to fix it soon.
By the way, tr:document renders html, body and head tags. I
suggest you keep tr:document and set title on it.
However, the
Alan,
Could you file a Trinidad JIRA (bug) and upload a test case?
Max
On 10/23/2010 11:45 AM, Alan wrote:
So I have started to use trinidad 2.0.0-alpha-2 on top of my application,
which uses AJAX tags all over the place. After including trinidad in the
library and making the indicated
Martin,
Congratulations! Great to have you on board.
Max
On 9/7/2010 10:50 AM, Matthias Wessendorf wrote:
The Myfaces PMC is proud to announce a new addition to our community.
Please welcome Martin Kočí as the newest MyFaces committer!
Ali is an active member of the myfaces community. He
Simon,
If you use ResponseWriter.witeText(), any script elements would be
definitely escaped.
Max
Simon Kulessa wrote:
Hello,
I have received word that there is some trouble with my signature,
so I send the mail again, this time without it.
Best regards,
Simon Kulessa.
---
Hello,
I have
Does it work in other browsers including later versions of IE?
Max
?? ?? wrote:
Hi,all:
I've been writing a trinidad application on GlassFish v3, and testing it
with Microsoft IE6.
When I was using a TreeTable, it could be rendered on the page and its data
was shown correctly. But it
Dmitry,
Thanks for researching the issue.
The Facelets engine has a nasty 'feature' resulting in all comments
being sent to the rendered
HTML. I would try setting the following context parameter in web.xml:
context-param
param-namefacelets.SKIP_COMMENTS/param-name
is not an array is being casted to an array type. This causes an exception.
My patch fixes coding mistake only.
Nevertheless, I will allocate some more of time onto rectification of the
issue.
Regards,
Dmitry
On 21 June 2010 18:08, Max Starets max.star...@oracle.com wrote:
Dmitry,
We need
.
Another question - can you reproduce it in other browsers besides IE?
Does IE8 behave the same way as IE7?
Regards,
Max Starets
Dmitry Barsukov wrote:
Max,
It was a bit of a misleading bug description initially.
The bug should be described as: Event object parameter of onkeyup
JavaScript
Dmitry,
We need to figure out what is going on first.
Are you modifying components within table dynamically?
Since the same components are being stamped for each row, it is expected
that the component
set does not change when each row is decoded or rendered.
Regards,
Max Starets
Dmitry
Dmitry,
I committed the change to the trinidad-1.2.x branch as well (revision
955651).
You can get the source from
https://svn.apache.org/repos/asf/myfaces/trinidad/branches/trinidad-1.2.x
Max.
Dmitry Barsukov wrote:
Max,
You have committed the path into trunk, which targets Trinidad v
Dmitry,
I guess you are saying that event.type produces incorrect results if
the table navigation bar just happens to be on the page. This is
definitely strange.
I am not really familiar wit the navigation bar code, but I took a quick
look
to see if we are doing any event capturing there. I
Simon, Dmitry ,
Could one of you log a Trinidad JIRA for this?
Thanks,
Max
Simon Kulessa wrote:
Hi,
I send an email with the same problem to the dev mailinglist but did
not receive an answer. Search for IE8 MouseIcon Bug with inputDate.
To reproduce this bug at irian.at you just need to
matter.
Does this defect appear in Oracle ADF too?
I do not think so, or at least it has not been reported.
Regards,
Max
Regards,
Dmitry
On 15 June 2010 15:06, Max Starets max.star...@oracle.com wrote:
Simon, Dmitry ,
Could one of you log a Trinidad JIRA for this?
Thanks,
Max
Simon
Original Message
Subject:Re: Need help on Trinidad integration with JSF 2.0 (Mojarra)
Date: Thu, 27 May 2010 10:19:55 -0400
From: Max Starets max.star...@oracle.com
To: MyFaces Discussion users@myfaces.apache.org
References
Julian,
Trinidad supports JSP and JSP XML. What is the exact exception stack you
are getting and when?
Max
Julian Osorio wrote:
Greetings.
Trinidad only Works with Facelets?
Because I have a jsp but the app is throwing a UnsopportedOperationException
I have worked with MyFaces
them as #9;.
Feel free to ask any additional tests you see fit,
Best regards,
Stéphane
Le 17 mai 10 à 21:49, Max Starets a écrit :
Stéphane,
I believe Trinidad was always supposed to escape tab characters.
Could you try your sample with MyFaces+Facelets and JSF RI+Facelets
without
Hi Stéphane,
I was able to reproduce your problem, but I believe this is more of a
Facelets issue.
The Facelets engine is using ResponseWriter.writeText() to render all
text between the tags
including the white space. Since the tab character is not a valid
HTML/XML character, Trinidad
is
,
Stéphane Rondinaud
Le 17 mai 10 à 17:12, Max Starets a écrit :
Hi Stéphane,
I was able to reproduce your problem, but I believe this is more of a
Facelets issue.
The Facelets engine is using ResponseWriter.writeText() to render all
text between the tags
including the white space. Since the tab
Navnath,
Can you provide more information about what you are trying to achieve?
A code snippet would work best.
Max
navnath kumbhar wrote:
Hi There,
Can any one suggest me, how do I bind nested table using Trinidad?
I am able to bind simple table for row selection, I am trying same for
C J,
I believe you should be able to get it to work with Facelets. Have you
inspected the response when the row disclosure icon is pressed
(just use FireBug or HHTP Analyzer). Are there any error messages there?
Max
C J wrote:
Thanks for the suggestions, but they didn't resolve the issue for
Chris,
Do you have XML declaration at the beginning of your Facelets document?
Try getting rid of it. The issue is that Facelets compiler sends all XML
instructions
to the rendered output. When Trinidad renders PPR response, it sends its
own XML declaration,
so you may end up with two. You can
I'll pull together a test case to illustrate.
max.starets wrote:
Paul,
I would think that the only relevant encoding for the downloaded file is
the encoding you use while writing it (your item #3). What is the target
format?
What application are you using to read the file?
Max Starets
P
Paul,
I would think that the only relevant encoding for the downloaded file is
the encoding you use while writing it (your item #3). What is the target
format?
What application are you using to read the file?
Max Starets
Paul Mander wrote:
Another day, another encoding problem. This time
Robin,
Are you saying that you are getting the standard browser dialog asking
whether data should be re-posted?
That would happen only if the page is being refreshed. Perhaps something
wrong is happening with the PPR request.
I see one problem in your page - the html tag should not be there.
this issue in JSF1.1 / Trinidad 1.0.10 ?
Thanks in advance,
Robin
Max Starets schrieb:
Robin,
Are you saying that you are getting the standard browser dialog
asking whether data should be re-posted?
That would happen only if the page is being refreshed. Perhaps
something wrong is happening
Trinidad Demo
v.1.0.10, so i think the reason for the firefox-submit-dialogs is JSF
1.1 or the old version of Trinidad :(
Best regards,
Robin
Max Starets schrieb:
Robin,
I do not understand how having the html tag helps you with setting
the content type...
tr:document will output the html tag
Shawn,
When the action event is delivered, table's currency is set to the row
where the button
was clicked. You can either programatically evaluate an EL _expression_
that references table's
var or get hold of the table component (or model) and call getRowData().
Also, take a look at the
Omar,
Have you considered using ServletRequest.getRequestDispatcher()?
Never tried it with Facelets though...
Max
Leonardo Rafaeli wrote:
Could you give details of your problem?
In fact, I did not understand what you've tried to tell us.
Leo
On Wed, Mar 25, 2009 at 1:16 PM,
Shawn,
Have you seen this:
http://wiki.apache.org/myfaces/Facelets_with_Trinidad ?
If you look at your regular jspx page, the Facelets page will look
absolutely identical from tr:documnet down.
Max
Bertrand, Shawn R wrote:
Im looking for some
basic Facelets+Trinidad 1.2
Steve,
I would wrap the switcher in tr:panelGroup and set partialTriggers
there.
Max
Steve Horne wrote:
I have a table that has a column containing a tr:switcher
component and another column containing a button ("calc". When the
table is initially displayed, I would like the column with
:
Calling
setWidth() on a CoreColumn does
indeed do the right thing, but I was hoping to go the max-width
route, where a column sizes to its content but max-es out to whatever
the max-width
is.
Thanks for
the suggestion, Max. Happy
holidays to you as well,
Shawn
From: Max
Starets
Shawn,
Have you tried the "with" attribute on tr:column?
Happy Holidays,
Max
Bertrand, Shawn R wrote:
Id like to control the
width of a column in my table,
but Im not sure how to get there from here. Im sure I can use
CSS, but its not clear to me where Id specify it.
Any
This question belongs to the user list.
Original Message
Subject:
Re: [Trinidad] How to add a new attribute to tag
Date:
Wed, 17 Sep 2008 09:46:16 -0400
From:
Max Starets [EMAIL PROTECTED
Rafa,
Why are you trying to avoid setting rows?
Max
Rafa Pérez wrote:
Hi all,
I need for some reasons to change programmatically the number of rows
showed by a tr:table. I have been looking through the docs and have
seen that it is possible to configure the first element in the range
and the
a stringified version of the index as
a key.
So String.valueOf(index) will be a key for the given index.
Regards,
Max Starets
[EMAIL PROTECTED] wrote:
Hi all,
Im facing a problem with a tr:table that
uses rowSelection="single". Depending on the displayed data, one Row
should b
)
at java.lang.Thread.run(Unknown Source)
I also tried to set selectedRows.setContained(true) but this results in an
NullPointerException also...
Thanks for your advice so far,
Tom
Von: Max Starets [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 15. April 2008 17:09
Henk,
I must be missing something - why don't you just instantiate your custom
CollectionModel as a backing bean
and EL-bind table's value to it?
Max
Henk Vanhoe wrote:
Hi,
I found one way to force the trinidad table to use our own collection
model: to extend
in my ejb.jar archive and in the war
archive).
Henk
Max Starets wrote:
Henk,
I must be missing something - why don't you just instantiate your
custom CollectionModel as a backing bean
and EL-bind table's value to it?
Max
Henk Vanhoe wrote:
Hi,
I found one way to force the trinidad table
Shawn,
Any chance you could use HTTP Analyzer to see response body for the PPR
request?
Max
Bertrand, Shawn R wrote:
Im using Trinidad
1.0.7, and have PPR of a table occurring when a particular button is
clicked. The
table updates fine in Firefox 2.0, but doesnt in IE 7.
Hi Davide,
If Trinidad's Javascipt library leaks memory when user navigates from
page to page, it is not normal
or acceptable. There are tools, such as drip and sIEve that van help
us diagnose the problem.
Regards,
Max Starets
Davide Bonicelli wrote:
Hi everybody,
I'm developing
) are present on the page,
there may be a number of reasons
why there would be memory leaks in IE, but not in Firefox. The most
common one is a presence of circular
(javscript-to-DOM) references. These are often caused by the use of
closures in Javacript.
Regards,
Max Starets
Davide Bonicelli wrote
ng Trinidad, you can raise
a JIRA issue for that.
Regards,
Max Starets
Richard Yee wrote:
Scott,
The poll component will not work because I don't want to invoke
a PPR b/c it will refresh the session. What I need is a hook into the
Trinidad _javascript_ API like an "onPPR()&qu
:06 PM, Max Starets [EMAIL PROTECTED] wrote:
Richard,
I guess you want your Javascript to be notified when a PPR request is being
sent, right?
There is a way to do it, but the supporting code is not part of the public
API:
TrPage.getInstance().getRequestQueue().addStateChangeListener
Georgi,
I do not have an example unfortunately.
I do not think you have to rely on rangeChangeListener, however.
You can have a custom ColelctionModel implementation that fetches ranges
of data on demand
and returns -1 from getRowCount().
Regards,
Max Starets
G.Cholakov wrote:
Thank you Max
Yes. If your CollectionModel returns -1 from getRowCount(), the UI will
be updated
not to show the total. Once you page to the next range, the table will
attempt to retrieve it.
Regards,
Max
G.Cholakov wrote:
Hi guys,
I'm using MyFaces Trinidad's table component and I have the next
be calling isRowAvailable() even if the current index falls into
the range returned by getRowCount().
Regards,
Max Starets
[EMAIL PROTECTED] wrote:
Hi List,
I implemented my own DataModel for
backing
a tr:table. By adding logging to my DataModel, I discovered that the
table
seems
row key to the set.
Hope this helps,
Max Starets
David Uebelacker wrote:
Hi,
i'm trying to select a row in a table programatically.
I wrote follwing method to to that:
public static void selectDatas( CoreTable pCoreTable, Object... pDatas
Are you using JSPs (not JSPXs)?
Navigation may be failing due to a known issue with PPR and JSPs. I
would try using JSPXs instead.
You may also want to search the archive for similar issues and see
possible workarounds.
Regards,
Max Starets
tsha wrote:
Hi,
I am using trinidad 1.2.4 table
Bart,
Just FYI - Trinidad table supports unknown row count. If your
ColelctionModel returns -1 from getRowCount(),
it will display 'next" and "previous" links for navigation, but will
not populate the listbox with ranges.
Regards,
Max Starets
[EMAIL PROTECTED] wr
Mike,
You do not need to set first to get navigation to work.
How many records does your userJobsTable have?
Are you saying that table does not navigate to the new range when
you click next?
Regards,
Max Starets
mikeatx wrote:
Hi,
I'm using Trinidad components, I try to display a table
Ravindra,
Have you considered removing hidden rows from your model and PPR-ing the
table?
Regards,
Max Starets
Ravindra Adireddy wrote:
Hi all
is it possible to hid selected rows depending on some criteria in
tr:table?? if yes, how can i achieve that.
also take
a look at
SortableModel implementation (that is what table creates behind the
scenes when you use jaav.util.List
as a model) and see if getRowKey() may be overridden. Note that you
would also need to
get setRowkey() to work consistently as well.
Hope this helps.
Regards,
Max Staret
You are right, Jessica. There is no partialSubmit on SelectManyListBox,
so it should work AFAIK.
Could you check it out with later Trinidad versions (and use JSPX
instead of JSP)?
Regards,
Max Starets
Jessica Johnson wrote:
Hi Max,
Thanks for your response. According to the TLD
Glen,
If you want to clear selection state after deleting the row,
call getSelectedRowKeys().clear() on the table instance.
Hope this helps.
Regards,
Max Satrets
Glen wrote:
Hi,
I have an Issue with the Trinidad Table on rowselection multiple with
removed row.
ie, when i select a
Jessica,
have you tried setting partialSubmit=true on the listbox A?
Regards,
Max Starets
Jessica Johnson wrote:
Hi all,
I just started using Trinidad 1.0.1 and would like to use PPR so that
when a value is selected in a SelectManyListBox A, it re-renders
SelectManyListBox B with some
70 matches
Mail list logo