Marty - thanks for the help.
Actually even with client state saving, the Trinidad framework save state
on the server (and actually, I have the State saving method set to client)
and just a token on the client. I'm not sure of all the things going on
here, I'm just reporting what I am seeing.
Scott - thanks for the pointer.
I actually ended up doing something very similar by using a feature of Seam
that in essence let's me do this without any extra coding on my part.
There is a feature called "Page Actions" that let's me associate parameters
(and a whole bunch of other stuff) with
yes. that's what i initially thought
but the form fields are empty
if there was an error in validation/conversion
then the values would be redisplayed
but in my case the values are gone..
and this happens sometimes
i key in some data..
i click the button, i get the next page.
someone else
keys i
Is your bean returning null?
Try this to ensure that the tag/component is working:
123
If that works, then you know it is the code.
As for not throwing an error, I'm not sure of the situations where
"Base is null" is thrown, or null is used. I know that most of the
time #{blah} will return n
try adding to the "from" page to see
if there are JSF messages.
On 6/29/07, Titi Wangsa <[EMAIL PROTECTED]> wrote:
ehlo to all
i'm using myfaces 1.1.5 and tomahawk 1.1.5
and shale 1.0.3
i;m having a VERY weird problem with myfaces..
i have a submit button
the submit button call a function that
What is your browser? Firefox has features to disable opening links in
new windows using:
_new, _blank
If so, you need to reconfigure firefox to allow these to open. There
is no way for a web developer to override the behavior.
On 6/29/07, Hannum, Daniel <[EMAIL PROTECTED]> wrote:
Hi,
I
ehlo to all
i'm using myfaces 1.1.5 and tomahawk 1.1.5
and shale 1.0.3
i;m having a VERY weird problem with myfaces..
i have a submit button
the submit button call a function that does some processing
i added a logging function to display the session id and remote ip of the user
that clicked this
Hey Chris, it's kind of hokey, but if your url contains all the data
you need you might be able to create a bunch of managed properties on a
managed bean and bind them to the request parameter mappings. You could
then use that managed bean to populate the values in your components. :)
Scott
The issue would be that MyFaces is creating an HtmlResponseWriter
even though it's not HTML. Hard to blame it, though. The general
intent here is for XML-type languages.
In this scenario, I'd probably recommend that Facelets
specifically intercept text/css and text/plain to create
an internal P
Actually, the Wiki page shows the renaming:
panelTabbed was formerly called showOneTabs.
There's an example in trinidad-demo.
-- Adam
On 6/29/07, Francisco Passos <[EMAIL PROTECTED]> wrote:
Hello there.
I'm evaluating the usage of a panelTabbed. Are there any working examples of
this compone
Please :)
-- Adam
On 6/29/07, William Hoover <[EMAIL PROTECTED]> wrote:
Should we open a Jira issue?
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 29, 2007 12:05 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources
You can save the page's "viewstate" on the browser by adding this entry to
your web.xml file
javax.faces.STATE_SAVING_METHOD
client
That way the page view is restored even after a session timeout.
You can also use the tag as in...
Marty
Chris Hane <[EMAIL PRO
I am experiencing a problem with the tag, I cannot load the
styleClass attribute from a backing bean. (The styleClass works fine when
it is a static entry) The funny thing is that I can pass a completely
wrong backing bean expression and Faces does not detect the error. Can
someone please try
That's what I was afraid the answer was going to be. I was hoping since
all of the data parameters were passed back in on the browser refresh that
there might be something I could do.
I've thought about the increasing the timeout (which is 30 minutes right
now), however to make sure the user
Hello Chris,
I don't see any easy way as if the session timed out you have no way to
associate the request with the user therefore you cannot know what the user
was searching. You could always persist that data elsewhere, but you would
still have the problem of linking that info to the incoming r
I have a generic search screen (standard input form) that displays the
results on the "next" page using a .
If the user hits the refresh button any time prior to the HTTPSession
timeout, then the form is resubmitted and the search generated again (could
display different results if the underly
I have a generic search screen (standard input form) that displays the
results on the "next" page using a .
If the user hits the refresh button any time prior to the HTTPSession
timeout, then the form is resubmitted and the search generated again (could
display different results if the underly
Hi,
I want to support non-standard event handlers like oninput, onpaste, oncut
in t:inputText. I know I can create my own tag (and tld), extend
HtmlInputText, and extend HtmlTextRenderer to accomplish this, but is
there a lighter way to achieve the same thing?
Thanks,
Eric Jung
_
Hi,
I'm using Trinidad 1.0.1 and I am having trouble making a commandLink
open its contents in a separate window. It's a "Print" button, and so I
use setActionListener to pass a param so the page renders slightly
differently.
It works, but the page always opens in the same browser window.
On 6/29/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
can you give us the complete stack trace ?
Yes, the rest is
javax.faces.context.FacesContext.getELContext(FacesContext.java:40)
repeated about a hundred times :)
On 6/28/07, noah <[EMAIL PROTECTED]> wrote:
> On 6/28/07, noah <[EMAIL
I'm trying to get facelets to render my css files (especially neet to
get the url(#{facesContext.ex
Reccomended by some of the guys on the facelets mailing list, I first tried
to do ...
This went badly, because the html renderer kit for myfaces doesn't
support this contentType. It only support
Hello there.
I'm evaluating the usage of a panelTabbed. Are there any working examples of
this component?
The only example I have is from an ADF Faces app, which uses af:menuTabs,
but http://wiki.apache.org/myfaces/Trinidad_renaming does not mention any
changes to this component.
Thanks,
Franci
Well I am currently developing such a beast, a kind of a complex editor.
The most complex screen has about 30 ajax buttons, a few datatables on
various layers including datascrollers and inside the datatables are
additional ajax links in every row.
Therefore I meant that this "clearListener" would
Should we open a Jira issue?
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 29, 2007 12:05 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than
Script
On 6/29/07, William Hoover <[EMAIL PROTECTED]> wrote:
>
>
Do you really think it will be that many components? This will only
happen if you change the values for components without "using" the
components to make the change. I don't see that as a very common use
case.
BTW - on that subject I do think JSF needs more
component-interdependent code (one comp
On 6/29/07, William Hoover <[EMAIL PROTECTED]> wrote:
Thanks for the info Adam! I do have an additional question concerning this.
I haven't looked in to this for a while but I remember at one point the
"org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry"
-> "FredJSP.service"
These files should at most get locked once, and only at
startup, and the first GC should flush them... Are you
really seeing repeated locks on these files? Could
you show your web.xml?
-- Adam
On 6/29/07, Fleischer Peter <[EMAIL PROTECTED]> wrote:
Hi Adam,
yesterday Matthias sent me a 1.
I suspect that what we're seeing here is one of the
many nasty details of making a JSF 1.2 implementation
support running a JSF 1.1 library. In this case, Trinidad
has a subclass of FacesContext, but because it's 1.1
based, it can't override getELContext(). Whatever the
default implementation is
Well, I had that issue quite recently with a special multi field validation
component I made. The submitted and local value was not set on the
components whose value didn't change, causing a null value to be passed to
the validation method. Anyway, I'll have to retry that with latest builds
and re
Hi Simon,
I don't know Trinidad, but I think that all values are submitted (or
better those of the specified region in case of ajax/subforms).
If a value is not submitted how could you test whether it had changed?
But maybe my view of this world is not correct
Maybe I 'll try to cre
Hi Darren
I wanted to add a little bit of detail.
You can see in the trinidad-skins.xml in the demo bundle how you can add
a resource bundle name:
purple.desktop
purple
org.apache.myfaces.trinidad.desktop
skins/purple/purpleSkin.css
org.apache.myfaces.trinidaddemo.resource.SkinBundle
Congratulations but you'll have much time from now on because you will
not sleep late any more :-)) I'm experiencing this right now.
Back to topic:
The new component you mentioned sounds promising. I think it's important
that you can specify multiple values in the for-attribute as we can do
in the
Thanks :D
En l'instant précis du 28/06/07 11:28, Christopher Cudennec s'exprimait
en ces termes:
> Hi David,
>
> try this EL-Expression:
>
> rendered="#{not empty yourCollectionName}"
>
> Cheers,
>
> Christopher
>
> David Delbecq schrieb:
>> Hello,
>>
>> i'm facing an issue with EL in JSF. I have
Hi,
I was using perfectly well sanbox InputSuggestAjax with myfaces and ajax4jsf.
But when I try to include Trinidad to this project, this component
(InputSuggestAjax) don´t work anymore. It simply send a submit form.
I try to update myfaces, tomahawk and sandbox libs too , but I have no resul
Hi,
I was using perfectly well sanbox InputSuggestAjax with myfaces and ajax4jsf.
But when I try to include Trinidad to this project, this component
(InputSuggestAjax) don´t work anymore. It simply send a submit form.
I try to update myfaces, tomahawk and sandbox libs too , but I have no resu
I just slept over this problem, and this is what I've done to resolve it:
I initiated collections of orders in all customers with empty collections:
list = (List)super.getList("from
xyz.persist.domain.Customer");
for(int i=0; i< list.size(); i++)//initialize collections
You need to consider that changing values in action methods that
UIInput components are bound to can get tricky with AJAX and partial
updates. You are trying to create behavior that is against the JSF
specification. Now, you site this as a downside, I view it as a lack
of functionality that you de
Hello Micheal,
I thought about it and making the submitted value transient is not so good
because of the way values are submitted. I mainly use Trinidad though so I
don't know if it's always the case, but only value that actually changed
seems to be submitted. As a consequence, if the user enter
Andrew,
Thanks for discussing this with me.
I think this is a major downside in the JSF implementation and makes the
usage with AJAX very difficult, inconvenient or even impossible. This
would mean that I have to use component bindings for all values that are
converted to Non-Strings or validated
In IE and Firefox, hava the same problem.
I don't have the code right now, but there is an error message that
says: "component"
have no properties.
I dont remenber the name of the compoent, but is typically java script error
but i have download the example of tomawak and everthing is functional
Hi
I have a JSF error page for my application and I set Tomcat to redirect the
PAGE_NOT_FOUND error to this page.
The JSF error page contains the JSCookMenu component, for which I
added the ExtensionFilter
into web.xml
The problem is that when being redirected byTomcat to the error page, the
men
Submitted values should not be transient. According to the JSF spec,
they are to be replaced during the decode phase. If the control is
never decoded (like with some use cases using an a4j:region), the
submitted value will never be changed.
The idea of keeping the submitted value around is so tha
The component does not have any rich text formatting,
it appears to have no javascript capabiliites, and it does not submit the
text to my bean.
On 6/29/07, Abhijit Ghosh <[EMAIL PROTECTED]> wrote:
Hi,
Do you see any javascript errors? Which browser does this problem occur
in?
-- Abhi
O
Hello Darren
The issue I filled was about error messages mainly. Shuttle labels are
controlled by the skin's resource bundle. I already tried a vote to remove
that feature, but as Adam rightfully answered me, we need that feature to
set title and shortDesc of icons for screenreaders or in case th
Hi all,
When using tc:sheet and no rows are present. It was displayed a message "No
rows present". Instead of this i need add some custom message.
Kindly suggest in this regard
regards
Ramarao
I see.
So, you don't get warnings/errors/exceptions ?
Anything noticed, during debugging Trinidad ?
-M
On 6/29/07, Döring Markus <[EMAIL PROTECTED]> wrote:
Yes, retroweaved version works fine on windows + WebSphere and also on windows
+ JBoss, only AIX + WebSphere makes problems.
Because the
Yes, retroweaved version works fine on windows + WebSphere and also on windows
+ JBoss, only AIX + WebSphere makes problems.
Because the AIX is located at our costumer and they are very careful with
software updates on these machines I don't think testing on AIX with Java5 is
an option.
I wish w
Thanks for the info Adam! I do have an additional question concerning this. I
haven't looked in to this for a while but I remember at one point the
"org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry" ->
"FredJSP.service" used for dialogs having an issue with servlet-mapping:
Hi,
Do you see any javascript errors? Which browser does this problem occur in?
-- Abhi
On 6/29/07, Fernando Amorim <[EMAIL PROTECTED]> wrote:
Hello kal,
have you resolve this problem?
Because i have the same problem
On 4/5/07, kal stevens <[EMAIL PROTECTED] > wrote:
>
> I am trying to get t
Also,if the CSS files are generated,what prevents the browser from
displaying it?
If the CSS file can be downloaded by the browser,it should apply it.
1.Can you please try deleting the cached CSS files to see if they get
regenerated? If they get re-generated we know skin-generation is working
fine
Hi Andrew,
yes, the control is reRendered and part of the reRendered attribute of
the cancel-button.
If I place a t:outputText with the identical valueBinding before the
t:inputText then the right value is displayed as normal text.
But the inputText contains the old submitted value, which is still
Hello kal,
have you resolve this problem?
Because i have the same problem
On 4/5/07, kal stevens <[EMAIL PROTECTED]> wrote:
I am trying to get the inputHtml tag to work.
Right now it is just a text editor, but does not have any rich text
formatting, it appears to have no javascript capabiliit
So,
the retroweaved version on windoze and WebSphere, running on Java1.4,
works fine ?
Any chance to *test* on AIX w/ WebSphere and Java5 ? Just to test the skins?
Just curious.
-M
On 6/29/07, Döring Markus <[EMAIL PROTECTED]> wrote:
Hello,
the folder \adf\styles\cache exists on the AIX mac
Hi Simon,
submittedValue is not transient.
Class javax.faces.component.UIInput contains following not transient
definition:
private Object _submittedValue = null;
The submitted value is also saved in method saveState:
values[4] = _submittedValue;
Moreover I don't use compon
Hello,
the folder \adf\styles\cache exists on the AIX machine, and there are also .css
files generated into the folder(
scis-desktop-1_0_0-incubating-en-ie-6.css
scis-desktop-1_0_0-incubating-ie-6.css
)
The demo could not be deployed because the AIX and the WebSphere running on
Java1.4.
For our
Is there anything with the skin selectors attributes, that can alter this, that
you know of?
Thanks,
Darren.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias
Wessendorf
Sent: 29 June 2007 10:49
To: MyFaces Discussion
Subject: Re: [Trinidad] skin
I would expect the Button ontop of the string,
but looks like it renders
button
text
...
-M
On 6/29/07, Darren McEntee <[EMAIL PROTECTED]> wrote:
Thanks Matthias,
Looks like I'll have to stick to what I have.
Is it possible to do something like this?:
-
http://www.oracle.com/tech
Darren,
there was an issue, filed by Simon, to enable customization of
MessageBundle Strings:
https://issues.apache.org/jira/browse/ADFFACES-417
The move, moveall,... are defined in CoreBundle file, and AFAIK it's
not possible to customize the Strings.
When you look at the English CoreBundle fi
Thanks for the reply Peter,
Here is the current state of my component:
http://www.traxmusic.org/work/selectManyShuttle.png
But I would like to customise the wording of the "move", "move All" etc...
Is that possible? Or have the text above or below each icon, to make it align
properly.
Thank a lot!
2007/6/28, Christopher Cudennec <[EMAIL PROTECTED]>:
Try those URLs to begin with:
[1] http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
[2] http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html
Stefano Panero schrieb:
> Hi,
>
> extendig subject... where I
Hi Adam,
yesterday Matthias sent me a 1.0.2-SNAPSHOT (tanks again!). I did some further
testing with Tomcat and having the antiJarLocking option set to true in the the
context.xml. With these settings I think I was able to track down the problem
to a list of filenames as follows:
java1
Hi Michael!
Thanks, I will have a look at it over the weekend.
Ciao,
Mario
> Hi,
>
> the problem seems to be the first partial submit. After that a new
> Conversation is created. On subsequent partial submits it works like
> expected.
>
> You can see that with the included war (no jars included,
62 matches
Mail list logo