The download page still refers to version 1.0.1
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Matthias Wessendorf
Sent: Wednesday, August 15, 2007 4:31 AM
To: [EMAIL PROTECTED]; MyFaces Development; MyFaces Discussion
Subject: [Announce] Release of Apache
The code below works for accessing bean instances from other beans (as long as
they exist)...
/**
* Gets a managed bean from the current context using the specified bean
* class/name. This is useful when attempting to extract a subview bean.
* The codebeanName/code represents the name of the
Since Trinidad version 1.0.1 I noticed that the js resources append the version
1_0_1 (prior versions append 11-m3) to the end of all of the js resources. I
have a Trinidad extension jar that uses a js resource under
META-INF/adf/jsLibs/myJsResource.js (I know this will be changing to
be a lot
easier if the overall UIComponent API were overhauled...
-- Adam
On 7/17/07, William Hoover wrote:
The problem with the tableSelecti on is that I can't ensure that the
page
will always be using a table component for the list, but I
To: MyFaces Discussion
Subject: Re: [Trinidad] Renderer Listeners
On 7/16/07, William Hoover [EMAIL PROTECTED] wrote:
The intent is to track selections. It seems like a lot of extra work to
maintain quite a few tr:inputHidden components just to capture selection
values. I see what your saying
some code before/after any component has been
rendered- don't you?
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 14, 2007 12:30 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] Renderer Listeners
On 7/13/07, William Hoover [EMAIL PROTECTED] wrote
components for trivial application specific tweaks. Any thoughts?
-Original Message-
From: William Hoover [mailto:[EMAIL PROTECTED]
Sent: Friday, July 13, 2007 4:08 PM
To: MyFaces Discussion
Subject: RE: [Trinidad] Renderer Listeners
As you guessed it, there are links within each table row
Subject: Re: [Trinidad] Renderer Listeners
There's no event listener, but there is that ResponseWriter
API, which will get passed components on startElement().
99% works (necessarily, because PPR relies on that!).
What functionality are you trying to get here?
-- Adam
On 7/13/07, William Hoover
?)
-- Adam
On 7/13/07, William Hoover [EMAIL PROTECTED] wrote:
I am trying to get a f:param value from a CoreCommandLink, but the value is
null until the link has been rendered.
The link is inside a tr:column- if that helps.
-Original Message-
From: Adam Winer [mailto:[EMAIL
Is there a way invoke a PPR call for a tr:inputText / when the enter key is
pressed?
For Example (I know submitOnEnter is not a valid attribute- just
illustration):
tr:inputText id=submitsOnEnter submitOnEnter=#{myBean.processOnEnterCall}
/
/trinidad-api/tagdoc/tr_form.html
Setz the button/link to be a ppr command.
On 7/12/07, William Hoover [EMAIL PROTECTED] wrote:
Is there a way invoke a PPR call for a tr:inputText / when the enter key is
pressed?
For Example (I know submitOnEnter is not a valid attribute- just
illustration
I'm not sure if this will help you or not but it worked for chaining a login
for me:
http://forum.java.sun.com/thread.jspa?threadID=792896
http://forum.java.sun.com/thread.jspa?threadID=792896messageID=4507691
messageID=4507691
-Original Message-
From: Stefano Panero [mailto:[EMAIL
Using the tr:fileDownloadActionListener inside a tr:column I get the a
javax.servlet.ServletException: Invalid index after the download completes and
another link is clicked on the page. Has anyone experienced this?
Page:
tr:commandLink text=Download file
tr:sendFileActionListener
Is to possible to define a view handler extension in Trinidad without getting
the following warnings?
org.apache.myfaces.trinidad.context.RenderingContext attach
WARNING: Trying to attach RenderingContext to a thread that already had one.
-nameorg.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER/param-name
param-valuesome.viewhandler.class.path.TheViewHandler/param-value
/context-param
this makes the custom one to be used as the *delegated* viewhandler,
inside the Trinidad ViewHandlerImpl
-M
On 7/3/07, William Hoover [EMAIL PROTECTED
/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 Other Than
Script
On 6/29
, June 28, 2007 6:37 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script
Check out the InternalView API of Trinidad.
-- Adam
On 6/28/07, William Hoover mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Is there a way to add resources
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
Is there a way to add resources other than scripts in custom components?
What I would like to be able to do is add a static HTML page bundled with the
component that will be available through a resource URL similar to how
outputScriptlet works (i.e. http://foo/adf/jsLibs/someScriptResource.js).
FYI... Make sure that you are not defining the faces-config.xml deployment
descriptor as this will cause the configuration to be loaded 2x
http://wiki.apache.org/myfaces/FAQ#Twice
-Original Message-
From: Francisco Passos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 5:44
because no one's
brought up the idea before. Why things do or don't
happen at Oracle is another question altogether.
-- Adam
On 6/14/07, William Hoover [EMAIL PROTECTED] wrote:
A back button detection/management mechanism similar to GWT HistoryListener.
-Original Message-
From: Adam Winer
Is there a difference between inlineStyle and contentStyle attributes for
the select many list box component? While testing I found that
inlineStyle=display:none has no affect while contentStyle=display:none
does. Am I doing something wrong or is this a bug?
=... /
inlineStyle is for the root dom element, so you can style the
*complete* area of the component.
try: inlineStyle=background:red;
and contentStyle is for the content of the component, here the
rendered select / and its option childs.
try contentStyle=background:green;
-M
On 6/15/07, William Hoover
I recently created a custom component that uses extended PropertyKey using the
new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...)
registering the all the needed type keys. All the properties have accociated
getters/setters. Also, all of the extended properties are defined in
To: MyFaces Discussion
Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing
are you creating the custom component w/ the maven-faces-plugin, like
Trinidad does itself ?
I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days.
-M
On 6/15/07, William Hoover
Have you overridden:
protected FacesBean.Type getBeanType()
to return your type?
-- Adam
On 6/15/07, William Hoover [EMAIL PROTECTED] wrote:
Using Trinidad 1.0.0
The non-customized component contains the UINodePropertyKey. When stepping
through StateUtils restoreKey(FacesBean.Type type
I wonder why this was not implemented in trinidad's base classes/interfaces in
a generic way?
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 9:26 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] Page flow scope and Back button
On 6/13/07,
/07, William Hoover [EMAIL PROTECTED] wrote:
I wonder why this was not implemented in trinidad's base classes/interfaces
in a generic way?
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 9:26 PM
To: MyFaces Discussion
Subject: Re
, OK. Yeah, it'd be a great enhancement. It hasn't
happened since we open-sourced because no one's
brought up the idea before. Why things do or don't
happen at Oracle is another question altogether.
-- Adam
On 6/14/07, William Hoover [EMAIL PROTECTED] wrote:
A back button detection/management
/converter and it looks like
adding a hook would be better suited to do so.
-Original Message-
From: Adam Winer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 11:32 AM
To: MyFaces Discussion
Subject: Re: [Trinidad] Input Text Format That Uses A Mask
On 6/7/07, William Hoover
Just to expand on Andrew's comment...
In your listener add this piece of code:
ExtensionsResponseWrapper extRespWrapper =
(org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper)
FacesContext.getCurrentInstance()
.getExternalContext().getResponse();
String
? Is there server-side
validation to double-check the mask was applied?
- If this is a component, I think CoreInputTextMasked might
be clearer, if the property is named mask.
-- Adam
On 6/6/07, William Hoover [EMAIL PROTECTED] wrote:
Thanks for the info Adam!
The component
be important for that.
I'd love to see this functionality!
-- Adam
On 6/5/07, William Hoover [EMAIL PROTECTED] wrote:
Hello all,
I have created a Trinidad component that allows input text boxes to have a
user defined mask for entries on the client (similar to Atlas MaskEdit
http://www.fci.com.br
, I think CoreInputTextMasked might
be clearer, if the property is named mask.
-- Adam
On 6/6/07, William Hoover [EMAIL PROTECTED] wrote:
Thanks for the info Adam!
The component (CoreInputTextFormat) logic is fairly simple and could be
directly integrated into the CoreInputText, if desired
/validateRegExpr.html
On 6/6/07, William Hoover [EMAIL PROTECTED] wrote:
Point well taken! The component should extend UIXInput instead and renamed
CoreInputMask. Are you are proposing to change this into a validator or
converter instead of a component extension? If it was to use a
converter/validator
Hello all,
I have created a Trinidad component that allows input text boxes to have a user
defined mask for entries on the client (similar to Atlas MaskEdit
http://www.fci.com.br/maskedit/MaskEdit/MaskEdit.aspx). I would like to know
what the process/procedure is to commit this component to
Just an FYI... You may need to add code for browser compatibility (Notice that
the click() has been changed to onclick()):
if ((event.charCode event.charCode == 13) || (event.keyCode event.keyCode
== 13)) document.getElementById('formFindArticle:search').onclick();
-Original Message-
result...
BTJ
On Fri, 25 May 2007 07:10:05 -0400
William Hoover [EMAIL PROTECTED] wrote:
Just an FYI... You may need to add code for browser compatibility (Notice
that the click() has been changed to
onclick()):
if ((event.charCode event.charCode == 13) || (event.keyCode
event.keyCode == 13
On Fri, 25 May 2007 07:21:41 -0400
William Hoover [EMAIL PROTECTED] wrote:
Could you show a snippet of the browser output with the input, button and
form?
-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
Sent: Friday, May 25, 2007 7:19 AM
To: users
I was wondering if anyone knows how to add a js resource in Trinidad? I have a
custom component that needs to render a script. I noticed that there is a
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils class that
has the writeLibImport(FacesContext context, RenderingContext
);
Thanks,
Danny
On 5/23/07, William Hoover [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
Danny,
Thanks for your help! I noticed that the new LibraryScriptlet(String
libraryName, String[] functions) passes the script directly into the
libraryName. Would I just replace YourScript
are currently in the
private, internal package, which means they might
get changed/moved/etc. Just so ya know! (For
instance, we really should move META-INF/adf
to META-INF/trinidad).
-- Adam
On 5/23/07, William Hoover [EMAIL PROTECTED] wrote:
Danny,
Thanks for your help! I noticed
, internal package, which means they might
get changed/moved/etc. Just so ya know! (For
instance, we really should move META-INF/adf
to META-INF/trinidad).
-- Adam
On 5/23/07, William Hoover [EMAIL PROTECTED] wrote:
Danny,
Thanks for your help! I noticed that the new LibraryScriptlet(String
I did notice that the LibraryScriplet _getLibraryURL is constructing the url
as /myapp/adf/jsLibs/MyJSLib.js. Is this correct?
-Original Message-
From: William Hoover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 23, 2007 1:55 PM
To: MyFaces Discussion
Subject: RE: [Trinidad] How
I think he ment to say:
Internet Expolder:
myInputObj.click();
Firefox:
HTMLElement.prototype.click = function() {
var evt = this.ownerDocument.createEvent('MouseEvents');
evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1,
0, 0, 0, 0, false, false, false,
Are there any documented issues when performing a PPR and the browser
back/refresh buttons are used?
46 matches
Mail list logo