Hi,
I am trying Trinidad PPR component facility to create dependant input
fields.
My objective is to create a selectOneChoice that its data is updated
when a previous selectOneChoice value is selected.
The sample code is at the bottom.
The problem is that the first time you choose the
Hi Daniel,
its simple, you need to render a faces response for a non faces request:
use the NonFacesRequestServlet :
http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70
this Servlet implements the needed steps (jsf-1.1-spec 2.1.1).
I am trying Trinidad PPR component facility to create dependant input
fields.
My objective is to create a selectOneChoice that its data is updated
when a previous selectOneChoice value is selected.
The sample code is at the bottom.
The problem is that the first time you choose the first
Why don't you use managed-properties for this scenario? You can call
your action method in App1; put some parameters in the URL and forward
to App2. If you use a request bean in your index.jsp (App2) then you can
initialize your bean with the paramaters from App1 like this:
managed-bean
hello esteve,
please have a look at:
http://www.nabble.com/-Trinidad--valueChangeListener-called-too-often--to14098783.html#a14098783
regards,
gerhard
2008/1/8, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi,
I am trying Trinidad PPR component facility to create dependant input
fields.
My
hello sandeep,
please have a look at:
http://myfaces.apache.org/trinidad/spec-diff.html
regards,
gerhard
2008/1/8, sandeep gururaj [EMAIL PROTECTED]:
Hello All,
Trinidad has no tabindex attribute available on the input fields. Does
anybody know if we have any alternative attribute for
Hello Gerhard,
Thank you very much for your rapid response.
I've been looking for a long time this functionality but I used bad
keys.
When you talk about extended request scope, what are you talking about?
How do you set it up. Where can I get more information?
Thanks once more.
hi,
thanks for your replies. you're right - modifying the tomahawk sources
would be the fastest (in terms of rendering-perfomance) and cleanest
way, but i don't like 'custom' libraries for future compatibility.
it has to be done by the project, if it is common position.
so as a workaround,
Thanks Gerhard, I did have a look at the spec-diff page.
I would like to know if I can do something to overcome this problem
without having to re-design my page for sake of correct tab-order.
~Sandeep
From: Gerhard Petracek [mailto:[EMAIL PROTECTED]
Hi Volker,
Thanks a lot for your answer, sorry for the late answer I wasn't here
yesterday. Your mail explains lots of things.
I agree with you that the presence of a property rowHeight could help.
*what is the colums attribute of the sheet ?
I would expect something like 20px;1*;1*, *
**
Hi!
% String beanName = request.getParameter(beanName); %
tc:panel
f:facet name=layout
tc:gridLayout rows=fixed columns=1*;1*;1*/
/f:facet
tc:out id=out value='%= #{ + beanName + .value} %'/
tc:in id=in value='%= #{ + beanName + .value2} %'/
Woho would never have
hello esteve,
there are several possibilities in place to use scopes which lasts longer
than the request scope and shorter than the session scope.
e.g. you can use mechanisms which are provided by:
- myfaces tomahawk, trinidad and orchestra
- the spring project (custom scopes - which are also
Hi Mario,
thanks for the hint. This is what I was looking for. But unfortunately
t:aliasBean does not work with
component bindings and I need them. There's a workaround mentoined in the
t:aliasBean wiki but I
don't understand it right know. Hm, maybe I should use my own solution which
works
Hi,
we are using a similar code in our project in the subview.jsp:
tc:out id=out value=#{${beanName}.value}/
tc:in id=in value=#{${beanName}.value2}/
tc:button id=button label=${beanName}
action=#{${beanName}.subviewAction}/
The tomahawk aliasBean stuff did not work in tobago if you
Hi,
I agree with you that the presence of a property rowHeight could help.
please add a jira feature request.
Regards,
Volker
2008/1/8, Zied Hamdi [EMAIL PROTECTED]:
Hi Volker,
Thanks a lot for your answer, sorry for the late answer I wasn't here
yesterday. Your mail explains lots
Hi Volker,
this looks nice.
How do you set the beanName in subview.jsp?
I do this:
%
String beanName = request.getParameter(beanName);
request.setAttribute(beanName, beanName);
%
This works fine when I navigate for the first time to the page. But when I
navigate to another page and
Hi Helmut,
we use jsp tags instead of jsp:include. In tags you can define attributes e.g:
WEB-INF/tags/userList.tag:
---
%@ attribute name=controller %
%@ taglib uri=http://myfaces.apache.org/tobago/component; prefix=tc %
hello sandeep,
there are at least four possibilities:
1) extend the functionality of trinidad and provide an implementation to
support the tabindex attribute
2) implement a custom mechanism
(with the usage of javascript - and e.g. a hidden field to store all
mappings: id - tabindex + process
Ok,
https://issues.apache.org/jira/browse/TOBAGO-585
Regards,
Zied
2008/1/8, Volker Weber [EMAIL PROTECTED]:
Hi,
I agree with you that the presence of a property rowHeight could help.
please add a jira feature request.
Regards,
Volker
2008/1/8, Zied Hamdi [EMAIL PROTECTED]:
Ok Andrew I will try it and tell you, thanks
On Jan 7, 2008 3:47 PM, Andrew Robinson [EMAIL PROTECTED]
wrote:
Runs fine on JBoss if you aren't using Seam. If you are using seam use the
action attribute in the pages.xml. It is basically the same thing. My
on-load is nice for ppl. who want the
Hi! all,
I'm wondering how can I get buttons in place of Hyperlinks for the
Trinidad's sleectManyShuttle component's move ,move all , remove , remove
all properties!
ADF has the buttons by default for those properties, but trinidad is having
links.
Is there a way to show Buttons for this
Submit an enhancement jira to add tabindex. It will be very easy to
implement and I think worth the time.
I may do the fix as I am using #2 in one of my projects (using a custom
component that uses javascript to set the tabindex) which is not ideal.
-Andrew
On Jan 8, 2008 6:08 AM, Gerhard
I also think that it would be very useful.
On Jan 8, 2008 5:29 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote:
+1 to such an enhancement.
-M
On Jan 8, 2008 8:09 AM, Andrew Robinson [EMAIL PROTECTED]
wrote:
Submit an enhancement jira to add tabindex. It will be very easy to
implement
Hi all,
I have a form that is wired with a backing bean. On the initial loading,
I need to load the backing properties from the DB to be displayed on the
page, then persist into the DB on submission after user edited the form.
I only want to preload the bean from DB on the initial form loading
+1 to such an enhancement.
-M
On Jan 8, 2008 8:09 AM, Andrew Robinson [EMAIL PROTECTED] wrote:
Submit an enhancement jira to add tabindex. It will be very easy to
implement and I think worth the time.
I may do the fix as I am using #2 in one of my projects (using a custom
component that
Thanks for your quick response. I will try the 2nd approach. The first
approach, I am also aware of, is not acceptable as I try to avoid
Servlet API in my bean class.
_
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 12:09 PM
If you are using JSF1.2, then I believe this will tell you whether this is a
return to an existing view (ie not the first render of a view):
FacesContext.getRenderKit().getResponseStateManager().isPostBack().
Regards, Simon
Andrew Robinson [EMAIL PROTECTED] schrieb:
Not sure about a way
Not sure about a way with portlets, but this should work with a servlet
environment:
POST.equals(((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getMethod())
Note that all command* components post, so this will not tell you if the
page is new or not.
Thanks, that worked.
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2008 12:25 PM
To: MyFaces Discussion
Subject: Re: How to distinguish between Form loading and submiting in
JSF?
If you are using JSF1.2, then I believe this will tell you
I don't know why it was changed to a instead of button.
but you could create an own version of the renderer and just overrride
the protected renderButton()
-M
On Jan 8, 2008 6:33 AM, Samba [EMAIL PROTECTED] wrote:
Hi! all,
I'm wondering how can I get buttons in place of Hyperlinks for the
Sven this looks pretty easy i'm gonna try it and let you know thanks.
On Jan 8, 2008 9:36 AM, Rottstock, Sven [EMAIL PROTECTED] wrote:
Why don't you use managed-properties for this scenario? You can call your
action method in App1; put some parameters in the URL and forward to App2.
If you
What Im missing, this is what I do:
1- In the web.xml:
context-param
param-nameonload-config/param-name
param-value/WEB-INF/onload-config.xml/param-value
/context-param
2- In the faces-config.xml
lifecycle
...
humm :( the problem is that my bean`s scope is session and not request, so
Ì`m can´t use the managed-property :(
Any other solution?
Andrew what´s wrong with my jsf-comp implementation?
Need help with this plz.
On Jan 8, 2008 7:49 PM, daniel ccss [EMAIL PROTECTED] wrote:
Sven this looks pretty
Download the newest onload code (jsfExt.0.9.0):
http://sourceforge.net/project/showfiles.php?group_id=137466package_id=168611
(Sorry for the confusing release names)
Other than that:
limpiarFormulario should have a String, not void return type as it is
being used as an action.
If that doesn't
Andrew this new jar depends of the class: SAXReader?? I recived this error:
* Falta la clase: org.dom4j.io.SAXReader*
**
*Clase Dependiente: net.sf.jsfcomp.ext.onload.OnLoadPhaseListener*
* Cargador: current-workspace-app.web.SiacAgenda:0.0.0*
*
All works great know thanks Andrew
On Jan 8, 2008 10:42 PM, daniel ccss [EMAIL PROTECTED] wrote:
Andrew this new jar depends of the class: SAXReader?? I recived this
error:
* Falta la clase: org.dom4j.io.SAXReader*
**
*
Clase Dependiente:
https://issues.apache.org/jira/browse/TRINIDAD-888
On Jan 8, 2008 9:09 AM, Andrew Robinson [EMAIL PROTECTED]
wrote:
Submit an enhancement jira to add tabindex. It will be very easy to
implement and I think worth the time.
I may do the fix as I am using #2 in one of my projects (using a
Has anyone been able to get the Trinidad 1.2 trunk to run in maven using
jetty?
Exception:
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
JspViewHandlerImpl.java:249)
at
38 matches
Mail list logo