Hi,
I'm trying out Trinidad / ADF Faces rewriting a small app previously done
with tomahawk. Is there an equivalent of t:updateActionListener?
I have a table where each row is produced as a link, when a user clicks the
link they are redirected to another page which holds more comprehensive
Hi,
I have configured facelets and trinidad according to the wiki on
myfaces.apache.org. It seems to work unless I use ui-Tags.
This is the simple template:
tr:document
xmlns:ui=http://java.sun.com/jsf/facelets;
xmlns:h=http://java.sun.com/jsf/html;
Hi guys!
One of guys that works with me in a project wrote a set of classes to be
used in search engines, this set of classes uses the concept of
publisher/listener to exchange some info between these beans, now we found a
situation where:
- beanA is publisher and beanB is listerner of
We have a managed bean (mProbe) in session scope.
In the jsp we build a simple panelTabbedPane component in which we have a
selectOneMenu component. Out of the panelTabbedPane there are 2 buttons that
hide and show the panelTabbedPane component.
We select a value from the selectOneMenu
Hi,
I can see no reason, why there's a markup attribute for tc:in, but no
for tc:textarea. There's no logical difference between both components.
Regards
Helmut
Hello Stefan,
I am using it and it works for me
I have something like
ui:include src=page.xhtml /
note that page.xhtml is in the directory (here in my case)
als the *master* page.
-Matthias
On 12/5/06, Meyer, Stefan [EMAIL PROTECTED] wrote:
Hi,
I have configured facelets and trinidad
Hi all,
one question:
How could I get the colIndex within a Tomahawk datatable? I use included
t:columns to add some lists, but there in the implementation I neet
the index of the current column.
The current row is no problem, I get it via rowIndexVar=rowIndex
within the datatable, but there is
I'm trying out Trinidad / ADF Faces rewriting a small app previously done
with tomahawk. Is there an equivalent of t:updateActionListener?
This can easily be done using the tr:setActionListener Tag in Trinidad (see
I'm trying out Trinidad / ADF Faces rewriting a small app previously
done with tomahawk. Is there an equivalent of t:updateActionListener?
Can this be used with facelets?
Hello,
tr:setActionListener can be used with Facelets
(see clazz org.apache.myfaces.trinidadinternal.facelets.SetActionListenerTag)
the updateActionListener has also support for that
(note on jsf-comp.sf.net there is the special taghandler clazz)
Btw. in jsf 1.2 this tag made it to the spec
It
Hi all, I use saveState component to transmit
persistent values across requests. This implies that a proper bean
setter is invoked while restoring a view. Now, it happens that the
restored value might influence other tags, both in terms of value model
and rendering.
The question is: can I
Well, since no one jumped in with an opinion, I'll share our methodology...
i am currently programming a jsf application and i found out
that i have
2 different things in every package
.beans (jsf beans)
.action(jsf action)
Now how should i structure my packages.
First, we're not
Hi,
I'm using the conversation tag on a jsp-page like this:
s:startConversation name=pageDemand/
s:conversation value=#{documentBean} name=pageDemand/
and am encountering the following stack-trace on postbacks (not on the
first request) of pages which
Hi,
you can also put the whole bean in t:saveState. This may prevent you
from running into these problems.
cheers,
Gerald
On 12/5/06, Renzo Tomaselli [EMAIL PROTECTED] wrote:
Hi all, I use saveState component to transmit persistent values across
requests. This implies that a proper bean
Gerald, in my case things are a bit more complex. I have a dataTable and
I don't want to save the entire state to avoid overloading
communications. But I have columns which are rendered conditionally,
depending on a checkbox located in the table header. I discovered that
the checkbox setter is
Hello,
I have a wizard flow that utilizes a backing bean in session scope...if
a user should cancel out of the wizard at any point, is there a way to
reset the backing bean and its properties??? Or better yet, is there a
way to completely remove the bean from the session so that next time the
Hi,
sounds that you need t:saveState in this case.
It pushes the bean in a special kind of scope, which durates it longer
than request and shorter than session. Means it is an ideal choice for
all kind of page-scope stuff, such as a wizard.
Usage:
t:saveState value=#{wizardBean}/
cheers,
Try this:
FacesContext.getCurrentInstance().getApplication().createValueBinding(#
{ManagedBeanName} ).setValue(FacesContext.getCurrentInstance(), null);
From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED]
Sent: 5 dicembre 2006 16.26
To:
If you read the JavaDoc you will see that the summary is rendered in
the tooltip and the detail in the main text. I always thought that was
backwards, but Sun apparently didn't. Just create your own renderer
that switches them.
-Andrew
On 12/5/06, Marko Asplund [EMAIL PROTECTED] wrote:
hi
I'm
I'm looking for a tag that would cascade the enableOnUserRole tag to
all nested tags- such as input fields.
Is such a thing possible?
I don't know an automated way, but you could write a custom component
that iterates over its children (and grandchildren, etc). You could
just apply the enabledOnUserRole during encodeBegin. This new
component would just have which ever properties you need (visible on
user role, enable on user
The cause of the error has nothing to do with the inputFileUpload component,
it is related with the SelectItems Iterator, please help me with this!!! I
have no idea what is happening, I read that it was probably due to JVM
compatibility issues. I am using JVM 1.4 and
Nebinger, David schrieb:
Well, since no one jumped in with an opinion, I'll share our methodology...
i am currently programming a jsf application and i found out
that i have
2 different things in every package
.beans (jsf beans)
.action(jsf action)
Now how should i structure my
I have 2 beans on one page (one session scope, one request scope)
My first ever request in the session, the request scoped bean's
constructor gets called before the session scoped bean's...Is there a
way to reverse that order???
Thx,
Charbel
I'm trying to check the file size that is going to be submitted through
t:inputFileUpload... and I have set for the ExtensionsFilter:
filter
filter-nameMyFacesExtensionsFilter/filter-name
filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class
init-param
Charbel,
I would avoid putting much, if anything, in the constructor of a managed
bean - especially if you are worried about the order! Please see this
previous thread [1] for some thoughts and options.
[1] http://www.nabble.com/Backing-Bean-Constructor-tf2371791.html#a6608331
Regards,
Holgar,
I think this approach is a better choice than your original option #2.
This would have been a potential organizational nightmare. :)
Putting the actions and data in the same class or not is really just a
matter of preference. Putting them together is more OO design, while
separating
Fair enough,
Unfortunately, I am using the oracle implementation of ADF faces not the
trinidad incubation version... I guess I will have to set myself up some
beans with action listeners and get to the required parameters the old
fashioned way :o)
This leads me to another question regarding
This leads me to another question regarding the current stability of the
project in incubation.. but I will post this as a seperate topic.
would be cool if users here use the Trinidad list for questions like that.
Trinidad is sorta stable. It is used in projects. Incubation is not
reflecting a
I have a dataTable that shows a lot of rows but I don't want the
dataScroller. Is there a way to fix the header columns and put the body
of the table in a div with scrollbars?
___
Buonopane Mario
Accenture Insurance Services Systems
Via C. Colombo 112,
Currently I'm using the oracle version of ADF but would like to know if
there are any serious issues to be aware of if I were to migrate to
Trinidad. Ideally it would be perfect if it were possible to simply switch
the ADF jars for Trinidad ones, - is this likely to be possible?
Have all
Ok fair enough, I wasn't sure if it was more to do with integrating the tag
libraries so they can be intermixed etc. I'll hunt out the trinidad list,
didnt realise there was a specific one for it.
Thanks
Marcus.
PS. I posted the other question before getting chance to read this, so it's
not
Hi, I have a selectBooleanCheckbox inside the "header"
facet of a Tomahawk DataTable, which itself is enclosed in a form.
It is written like:
t:selectBooleanCheckbox
value="#{resultBean.uiCheckedSelector}"
immediate="true"
valueChangeListener="#{resultBean.checkedChanged}"/
now I
On 12/5/06, Marcus Bond [EMAIL PROTECTED] wrote:
Currently I'm using the oracle version of ADF but would like to know if
there are any serious issues to be aware of if I were to migrate to
Trinidad. Ideally it would be perfect if it were possible to simply switch
the ADF jars for Trinidad ones,
Jeff Bischoff schrieb:
Holgar,
I think this approach is a better choice than your original option #2.
This would have been a potential organizational nightmare. :)
What does mean would ^^, why do u think i am making a redesign and
asking this questions =P.
Putting the actions and data in
Hello,
I have been reading lately lots of answers that recommend an integration of
faces with shale but I really can´t imagine what specific benefits can this
bring to a project. Is there some document or reference that anyone knows
that clearly illustrates this benefits, something like what can
Putting the actions and data in the same class or not is
really just a
matter of preference.
Ah ok, i also saw designs where a bean had an action method.
I didnt liked this.I think actions should go into an own
class (Action
class)
This is one point i dont want to change.
This goes
On 12/5/06, Jorge Vásquez [EMAIL PROTECTED] wrote:
Hello,
I have been reading lately lots of answers that recommend an integration
of faces with shale but I really can´t imagine what specific benefits can
this bring to a project. Is there some document or reference that anyone
knows that
Hi,
It's fixed, thanks for reporting.
http://issues.apache.org/jira/browse/TOMAHAWK-817
Regards,
Cagatay
On 12/5/06, Gerald Müllan [EMAIL PROTECTED] wrote:
The common way is to open a corresponding jira issue and apply the
patch to it as an attachement.
As a recent example see:
You know, when our project began, we dismissed Shale simply because
there was no official release yet. Good to see that it is making
progress. *Very* glad to see the modular nature of Shale.
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc.
Craig McClanahan wrote:
On 12/5/06, Jorge
Hi Renzo,
My guess is that on postback, calling resultBean.getUiCheckedSelector()
is always returning false. Because of this, if the chekcbox value being
posted from the browser is true (checked), then myfaces thinks value
is changed, etc.
Perhaps resultBean is request-scoped, ie a new
Hi Renzo,
MyFaces certainly performs a depth-first walk of the component tree when
processing any JSF phase. This effectively means that components are
processed in the order they are defined in your page layout.
I would expect that every JSF implementation will do the same, though if
you
Song Haojie-a23023 wrote:
I failed to try the below example with a JavaScript error:
Object doesn't support this property or method.
Is it because of my browser version issue? I'm using IE6.0 xpsp2.
Any hint will be welcome!!!
Have you configured the ExtensionsFilter correctly? Instructions
I've created a component that captures function keys (IE only, it
appears) and then executes javascript. (With thanks to David McTavish
for the tag syntax).
However, what I'd really like to do is have it behave like a UICommand
component and support action, actionListener, immediate, etc.
Hi Martin!
java.lang.IllegalStateException: Null request object
org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:256)
org.apache.myfaces.context.servlet.RequestMap.getAttribute(RequestMap.java:44)
Ok. To answer my own question, it's a bit tricker than that.
You have to create a hidden input field, stuff your key name into it,
and then submit the enclosing form. I used this method:
document.getElementById('_id490:_id491::keycode').value = '113';
Nebinger, David schrieb:
Putting the actions and data in the same class or not is
really just a
matter of preference.
Ah ok, i also saw designs where a bean had an action method.
I didnt liked this.I think actions should go into an own
class (Action
class)
This is one
Hi
I want to edit the weights of a weighted tree using a treetable where each node
has a selectOneMenu with the weights.
The problem is, that the setter of the DefaultTreeModel is never called.
Any ideas?
Sebastian
--
/** simple setter */
public void
PanelGroup doesn't not work with facelets, like other several components...
I need to add all manually in the tomahawk.taglib.xml file? why some so
stable components weren't there?
thanks
Hello,
the onchange attribute of the tc:selectBooleanCheckbox is not rendered
into the HTML code.
Example:
JSP tc:selectBooleanCheckbox label=Test
onchange=javascript:alert('Hello');/
HTML input type=checkbox value=true name=gena:_idJsp0
class=tobago-selectBooleanCheckbox-default
2) is an absolute must. That's why the FacesServlet releases the
FacesContext at the end of each request. Martin, are you bypassing the
FacesServlet?
On 12/5/06, Mario Ivankovits [EMAIL PROTECTED] wrote:
Hi Martin!
java.lang.IllegalStateException: Null request object
I am using sandbox 1.1.5 for modelDialog. But I got the following error:
java.lang.NoClassDefFoundError: org/apache/myfaces/custom/dojo/DojoUtils
I looked at the sandbox jar file. It did not have the class. Which jar file
has it?
Thanks for help.
On 12/5/06, Dave [EMAIL PROTECTED] wrote:
I am using sandbox 1.1.5 for modelDialog. But I got the following error:
java.lang.NoClassDefFoundError:
org/apache/myfaces/custom/dojo/DojoUtils
I looked at the sandbox jar file. It did not have the class. Which jar file
has it?
Hi
Im still struggling with the TreeTable.
I want a selectOne control next to each of my nodes in a tree.
When MyFaces renders the tree everything looks good, but when we try to
save the changed data in the select-controls, nothing happens.
The problem seems to be that for each select-control
Hi,
I think you are accessing request bean's data first
in your page then you would be accessing session
bean's data later in the page.
Anyway I don't think order of constructors being
invoked really matters untill unless they have some
internal relation.
Regards
Arvind
--- Charbel
55 matches
Mail list logo