Currently, when I click leaf node, a navigation is made to a new page.
I want to know the whole path by this leaf node.
I saw there is no method provided for retrieve parent by current tree
node or tree state.
Please help. Thanks
--
Anthony Hong
Hi,
when using t:saveState scope of the bean will be longer than request
but shorter than session. Exactly what you need when staying on the
same page.
Usage:
t:saveState value=#{yourBean}/
cheers,
Gerald
On 11/29/06, Amit Nair [EMAIL PROTECTED] wrote:
Hi
Thanks a lot Adrin for your
Hi,
I have a problem with pages that gets very large.
I have a page with a form and a result list, each row in the result list
has one or several h:commandLink .. /. My problem is that page (even
when showing a very limited number of hits get very big, somewhere
around 100-150k. I can probably
Hi Gerald,
Thanks for the reply.
I shall give a full view of what am trying to do. I have a page with search
facility with some parameters and obtain search results on that page. The
search results is displayed in a datatable. I need to put the bean either in
session or in saveState to get the
Hi guys!
I need use Tree2 with TreeNodeChecked but when i try read the checked
property i'm getting a propertynotfoundexception.
Any ideas about how to fix this?
--
Yours truly (Atenciosamente),
Rogério (_rogerio_)
http://faces.eti.br
Faça a diferença! Ajude o seu país a crescer, não retenha
I used it this way:
JSP:
...
t:tree2 id=tree value=#{tree.tree} clientSideToggle=true
varNodeToggler=t var=node
f:facet name=analysisFolder
h:panelGroup
h:selectBooleanCheckbox value=#{node.checked} /
t:graphicImage value=images/yellow-folder-closed.png border=0/
h:outputText
Hi,
I'm trying to return javascript alerts for certain error messages in my
application, however I want to get the text from a resource file. I have
added an inputHidden control and set its value to the text in the resource
file. In the javascript I return the text from the inputHidden control's
Hi,
I am using a t:datatable with paginator. I need to provide a mechanism to
sort only the rows displayed on the current page of the table onclick of the
header. For this, I used javascript but now all the columns have become
sortable. I need to be able to configure which columns would allow
Hi,
the problem is that you do a little mixture between output and input
values. In your case it seems that you need a hidden outputText
element, which will only be read but never posted back.
I would suggest to set display:none in the style (or styleClass) and
that should do the job.
cheers,
Hi Gerald,
Unfortunately style is not a valid attribute of the inputHidden control so
this method won't work unfortunately.
Thanks, Carl
Gerald Müllan wrote:
Hi,
the problem is that you do a little mixture between output and input
values. In your case it seems that you need a hidden
Hi Carl,
Gerald means to use a inputHidden with style=display:none.
an other solution is to force a readonly valuebinding like this:
value=X#{bean.errorMesage}
and remove the leading 'X' in javascript.
Regards,
Volker
2006/11/29, CarlHowarth [EMAIL PROTECTED]:
Hi Gerald,
Unfortunately
Gerald means to use a inputHidden with style=display:none.
this was wrong, should be:
Gerald means to use a outputText with style=display:none.
2006/11/29, Volker Weber [EMAIL PROTECTED]:
Hi Carl,
Gerald means to use a inputHidden with style=display:none.
an other solution is to force a
Thanks Gerald for the prompt reply.
Yes, I need the binding to get the row data from the datatable.
But I somehow solved it by clearing the list before adding the new search
result.
But now the problem is in the action method generateQuote() (in my code) . I
cannot remove the list from it
Hi,
yes, that`s it.
cheers,
Gerald
On 11/29/06, Volker Weber [EMAIL PROTECTED] wrote:
Hi Carl,
Gerald means to use a inputHidden with style=display:none.
an other solution is to force a readonly valuebinding like this:
value=X#{bean.errorMesage}
and remove the leading 'X' in javascript.
I tried using f:outputFormat...but that doesn't render the HTML that I have
in a string in a message resource bundle. Is there any way to do this?
Have HTML in a resource bundle and then have it rendered as HTML in a page?
Thanks!
If your problem is that and gets rendered as lt; and gt;, add
escape=false to the h:outputFormat tag. Note, this is h:outputFormat,
not f:outputFormat.
Stephen Osella a écrit :
I tried using f:outputFormat...but that doesn't render the HTML that I
have in a string in a message resource
If your problem is that and gets rendered as lt; and gt;, add
escape=false to the h:outputFormat tag. Note, this is h:outputFormat,
not f:outputFormat.
Yes, or just put escape=false to an outputText component.
But i would be little careful with this, especially taking html stuff
from
Hi,
I placed the style attribute on the inputHidden but was given an error
stating that style is not allowed.
I have tried your method but that too gives an error on refresh:
Parsed Expression of unsupported type for this operation. Expression class:
org.apache.commons.el.ExpressionString.
Sorry, just got the response re output text - this works well with the
display:none.
Cheers, Carl
CarlHowarth wrote:
Hi,
I'm trying to return javascript alerts for certain error messages in my
application, however I want to get the text from a resource file. I have
added an inputHidden
Try the solution with h:outputText style=display:none; value=xyz
id=abc forceId=true
On 11/29/06, CarlHowarth [EMAIL PROTECTED] wrote:
Hi,
I placed the style attribute on the inputHidden but was given an error
stating that style is not allowed.
I have tried your method but that too gives an
I have the same scenario, and the only way I figured out to do it was to
have the action listener on the command link invoke a managed bean method
instead of #{t.setNodeSelected} as normal. This is in order to get to the
ActionEvent, from which you can walk the component tree to get a reference
Hi,
are there plans to release the Partial Page Rendering-Component in the
next Tomahawk-Release?
Regards
Michael Bauschert
Hi, I'm using a Tomahawk DataScroller inside a
DataTable. A separate button allows for changing current rows-per-page
parameter. When this happens, I would like to reset the overall table
to the very first row.
How can I reset the DataScroller internal position ? I use a custom
paged
Hi Micheal,
Why not using Trinidad project. It supports the PPR in a very easy way.
I had tried it and it really works fine.
Please check that usage of PPR :-
http://www.jroller.com/page/HazemBlog?entry=partial_page_rendering_using_trinidad
Please also check the demos at to go through its nice
Hi,
If have some trouble with t:panelTabbedPane.
The tabs display as buttons on Safari.
This causes some problems,
e.g. because the buttons do not scale very well.
Is there any possibility to have those tabbed panes
without input type=button?
a href would be great ...
Thank you in advance!
Hi Michael,
since the PPR stuff in sandbox is pretty new, I am not sure if it will
make it soon
to the next tomahawk. Also there were some updates on the dojo site
inside of Tomahawk, which had *some* side effects to other components.
Also each promoted component must pass a checklist (see
Hello,
is there a special way to do components tags accepting facet? My problem
is that, currently, under certain conditions, components inside my
custom component facets gets rendered twice. On time, according to step
by step in eclipse, at each component doEndTag(), moment on which i have
Check the archives, this exact same topic was just discussed this month.
On 11/29/06, Magnus Sandberg [EMAIL PROTECTED] wrote:
Hi,
I have a problem with pages that gets very large.
I have a page with a form and a result list, each row in the result list
has one or several h:commandLink .. /.
]
and find the component from there.
[1] http://www.irian.at/myfaces.jsf
[2] http://example.irian.at/example-sandbox-20061129/ajaxChildComboBox.jsf
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc.
Damar Thapa wrote:
Hi,
This link found to be dead now, any idea?
http://example.irian.at
I'm using Tomahawk dataTable just fine with facelets. Mike's
excellent wiki and the developer docs on the facelets site is all you
need.
Sean
On 11/28/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
My guess is that the tomahawk.jar isn't in your classpath.
Rather than invent a new table
We are shooting for ajax nodes with lazy loading. I've looked at quite a few
ideas, but nothing really addresses what we're imaging.
We're looking to actually just append or remove nodes from the tree using JS
and the DOM with Ajax. So when a user clicks a node, the ajax request goes
and gets
Is the commandLink on the row you are selecting? So you just want to
keep it from scrolling to the top.
In this case, either use the tomahawk parameter AUTOSCROLL, or use ajax
request to update the table. Either way, page will keep original scroll
position.
Regards,
Jeff Bischoff
Kenneth L
Hi,
have you tried to influence the active panel tab? There can be a
styleClass applied to it like: activeTabStyleClass=activePanelTab
Than with:
.activePanelTab input {
..
}
you can access the input, in this case the button.
Try it with playing around with background-color and some other
Andrew Robinson wrote:
Check the archives, this exact same topic was just discussed this month.
He's right, and here it is, in all its glory:
[1] http://www.nabble.com/Very-important-JSF-issue-tf2686064.html#a7491422
Matze, I just gotta ask... why did you pick TOMAHAWK-451 as the example
issue on that promotion page? :)
Matthias Wessendorf wrote:
[1] http://wiki.apache.org/myfaces/promotion
Well, if you want to use partial page rendering with tree2, I have
released code and an example on jsf-comp on how to get this working
with Ajax-Anywhere. Porting it to Ajax4Jsf or another framework should
be relatively easy
http://sourceforge.net/projects/jsf-comp
but the dataTable is equal this
http://myfaces.apache.org/tomahawk/extDataTable.html ?I was trying to use
the extended data table. I'll try more at night.
On 11/29/06, Sean Schofield [EMAIL PROTECTED] wrote:
I'm using Tomahawk dataTable just fine with facelets. Mike's
excellent wiki and
Andrew,
I've had a look at your wiki and some of your forum posts. Please correct
me if I'm wrong, but the partial page rendering will get it so only the
entire tree is redrawn. What I'm shooting for is so only the node and its
children are redrawn (by adding and removing nodes in the client
Hi, I used Tomahawk outputText component because I relied on its JS
capabilities. So next line:
t:outputText value=#{msg.label} onclick=alert('hello')
works as expected (I get the popup), but I get also:
WARNING: /components/result.xhtml @56,91 onclick=alert('hello')
Property 'onclick' is
I have a very basic JSF question - how to save state in a page? I have
the following situation, Page A navigates to page B through a link. The
link has a request parameter in it, say productId=12. How do I make page
B remember that it was invoked with productId=12? I do not want to use
managed
Take a look at these two wiki pages
1. saveState Component - Very Good provided you are not using Re-Direct.
http://wiki.apache.org/myfaces/SaveState
2. The sandboxes conversation Component - I currently use this one in my
application
Naresh Bhatia wrote:
I have a very basic JSF question - how to save state in a page? I have
the following situation, Page A navigates to page B through a link. The
link has a request parameter in it, say productId=12. How do I make page
B remember that it was invoked with productId=12? I do not
Tom Innes wrote:
As previously mentioned follow the directions on
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk. Take everything
highlighted in the Example and paste it into a file called
tomahawk.taglib.xml. This file is then referenced from your web.xml. Do
not rename
I am getting a bit stuck on this one exception. I have two
selectOneRadio components within an included facelet (source file)
that bind to a property on a facelet attribute. The value is a custom
bean with string properties and the select items have string values,
so no converter should be
Unfortunately tree2 doesn't support partial re-rendering. I would
check with a 3rd party JSF vendor with more robust trees and those
that have trees with AJAX support built in.
On 11/29/06, Matt Tyson [EMAIL PROTECTED] wrote:
Andrew,
I've had a look at your wiki and some of your forum posts.
Found a work around --
if value.typeText is set to one of the values instead of null I
don't get the exception. What I don't understand is why it works the
other times but not the 3rd AJAX call.
On 11/29/06, Andrew Robinson [EMAIL PROTECTED] wrote:
I am getting a bit stuck on this one
Well the reason it doesn't work is because of the null.
Are you saying it was set to null the whole time, and only failed on the
3rd request (after having canceled the dialog once)?
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc.
Andrew Robinson wrote:
Found a work around --
if
I will try to do it if i have some times. My boss is waiting for some modules
on our website ... and we are not in the time. I really have some pression.
On 11/25/06, Martin Marinschek [EMAIL PROTECTED] wrote:
So you want to have something special in the implementation? Well, we
could certainly
Yes that is correct, it was always null but only failed to render the
3rd request.
On 11/29/06, Jeff Bischoff [EMAIL PROTECTED] wrote:
Well the reason it doesn't work is because of the null.
Are you saying it was set to null the whole time, and only failed on the
3rd request (after having
I was asking myself the same question, when pointing to the page... :)
I guess there was a *backward-comp* issue with that particular think.
Need to search the archives :)
On 11/29/06, Jeff Bischoff [EMAIL PROTECTED] wrote:
Matze, I just gotta ask... why did you pick TOMAHAWK-451 as the
Andrew,
Looking at the current code, it shouldn't throw that against a null
value. Maybe they've changed this since your version? Perhaps you could
try with the nightlies just to see if the same behavior happens?
RenderUtils
public static String
I want to make a data table area div scroll instead of my entire page
being scrollable. Is this possible with my data area alone looks like:
af:table emptyText= rows=25
banding=row width=100%
id=resultTable bandingInterval=1 value=#{
Hi.
Is there a action chaining like functionality for managed beans? For
ex, I'd like the result of a managed bean invoke a method in another
managed bean which takes the user to a view.
I have tried, to-action-id but that didn't work. Am dealing with pre JSF
1.2.
TIA.
Regards.
Amit
I've seen it stated on several webpages about JSF, and in the archives
of this mailing list, that you can pass a Map to a dataTable as the
value. I was expecting the var to contain each Map.Entry from the Map
when I did this using t:dataTable, but in fact the table only has one
row, and the
Dave wrote:
All BBS software are standalone web applications, or they can be
integrated with existing web applications? for example, user
identities, single sign on, discussion board associated with an EJB
entity(eg, a Book), etc.
I looked some softwares, they seems to be standalone web
Hi Jonathon,
Jonathan Harley wrote:
I've seen it stated on several webpages about JSF, and in the archives
of this mailing list, that you can pass a Map to a dataTable as the
value. I was expecting the var to contain each Map.Entry from the Map
when I did this using t:dataTable, but in fact
No that hasn't changed, I just checked the source. If you look at the
stack trace, somehow the value is an instance of
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils$1 -- it
is not null inside the RendererUtils.getConvertedStringValue method.
How in the world that happened is beyond
Just call the action method of another bean from the action method
invoked by the UICommand componen.
On 11/29/06, Amit Kushwaha [EMAIL PROTECTED] wrote:
Hi.
Is there a action chaining like functionality for managed beans? For
ex, I'd like the result of a managed bean invoke a method in
Hello everyone,
I have been using mostly Tomahawk components in my current project.
However, for the next release, I would really like to incorporate some
Trinidad components. I read recently that these two component libraries
have been made compatible. So I installed Trinidad in my
, and it works today but
will break tomorrow. See the date in the URL? So best is to use link [1]
and find the component from there.
[1] http://www.irian.at/myfaces.jsf
[2] http://example.irian.at/example-sandbox-20061129/ajaxChildComboBox.jsf
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc
Thanks, David.
I did increase the permspace to 256m, but now it just takes a little
longer to run out of memory. I am hoping that it is just a config
error on my part.
Still investigating. I will post back to the list if I can pin point
the problem.
-Sol
On Nov 27, 2006, at 1:38 PM,
See issue:
http://issues.apache.org/jira/browse/TOMAHAWK-728
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 4:53 PM
To: MyFaces Discussion
Subject: Re: t:dataTable with dynamic newspaperColumns
The implementation of
Tom,
Great links - just what I was looking for. I really liked an embedded
reference to
http://bugs.sakaiproject.org/confluence/pages/viewpage.action?pageId=498
1showComments=true.
Thanks so much.
Naresh
-Original Message-
From: Tom Innes [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
BTW, is Trinidad's concept of processState trying to solve the same
problem?
Naresh
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 29, 2006 11:16 PM
To: MyFaces Discussion
Subject: RE: Saving state in page
Tom,
Great links - just what I was
Hi Marcus,
Try overriding the default style class for active and inactive
cells, like this:
.myFaces_panelTabbedPane_activeHeaderCell input {
background-color: transparent !important;
... }
.myFaces_panelTabbedPane_inactiveHeaderCell input {
Hi Simon,
Thanks for a quick response.
When I said navigates through a link, I had first tried h:commandLink.
However, as you mention below, it was posting back to page A and causing
an unnecessary database read (I was doing lazy loading in my bean and
since this was a brand new bean, it was
Hi Mick,
I did something like this recently using some CSS hints on scrollable divs I
dug up on Google. (Sorry, don't have any links to those pages, but you
should find resources pretty easily...)
Here's my JSF page:
t:div styleClass=approverTableContainer
af:table
On 11/29/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
Hi Simon,
Thanks for a quick response.
When I said navigates through a link, I had first tried h:commandLink.
However, as you mention below, it was posting back to page A and causing
an unnecessary database read (I was doing lazy loading in
Naresh Bhatia wrote:
Hi Simon,
Thanks for a quick response.
When I said navigates through a link, I had first tried h:commandLink.
However, as you mention below, it was posting back to page A and causing
an unnecessary database read (I was doing lazy loading in my bean and
since this was a
Hi.
Am trying to set/push in some properties on a domain object in a managed
bean from an input form.
So on the input form, I got some fields like this,
h:inputText id=someProperty
value=#{managedBean.domainObject.property}/
And in the managed bean and domain object,
class ManagedBean {
Hi,
I want to submit a patch for this issue
https://issues.apache.org/jira/browse/TOMAHAWK-802
I think it would be a minor change. However, I do not have enough time to
set up a project and build. Can I simply change files and build with Maven
and verify there are no build errors? Can I build
First, let me give my thanks to the author of selectOneRow. It is an
excellent component and I've been using it in an application which will
eventually be deployed to ANZ bank in Australia.
I'm wondering if there anyone has gone the logical next step and implemented
a component which allows
Craig McClanahan wrote:
On 11/29/06, *Naresh Bhatia* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi Simon,
Thanks for a quick response.
When I said navigates through a link, I had first tried h:commandLink.
However, as you mention below, it was posting back to page A
On 11/29/06, Simon Kitching [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
On 11/29/06, *Naresh Bhatia* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi Simon,
Thanks for a quick response.
When I said navigates through a link, I had first tried
h:commandLink.
Aneesha Govil wrote:
Hi,
I want to submit a patch for this issue
https://issues.apache.org/jira/browse/TOMAHAWK-802
I think it would be a minor change. However, I do not have enough time
to set up a project and build. Can I simply change files and build with
Maven and verify there are no
On 11/30/06, Simon Kitching [EMAIL PROTECTED] wrote:
I would recommend writing your own class (in your own package namespace)
that subclasses HtmlInputDate. Add the methods that are needed.
You can then add a component tag to your web.xml to map the component
id used by the InputDateTag to
76 matches
Mail list logo