Re: Trinidad or RichFaces? or both?

2009-01-28 Thread Bandaru

Hi,
I want to raise one more point here,ie the 'open source' and 
'proprietary' ,I think the decision of tech looks on this also.
For those who looking for open source components with better development
prefer for 'Trinidad' because ADF is an proprietary but,we can get more
features.
Correct is i'm wrong.

Thanks,
Ramesh.


alvaro tovar wrote:
 
 hello
 i think that both are good, but i found 1 problem of compatibility
 betewn they, and the ajax components. finally i have to lave out both
 framework because my app need to be to fast and they create many js
 and css.
 regards
 
 2009/1/27 Bjørn T Johansen b...@havleik.no:
 I am starting developing a new webapp and started looking at Trinidad and
 it looks like a good thing to use.. Then a
 friend told me I had to look at RichFaces and it also looks quite good...
 Which one do I choose? What is their pros and
 cons? (I haven't used either before...)


 Regards,

 BTJ

 --
 ---
 Bjørn T Johansen

 b...@havleik.no
 ---
 Someone wrote:
 I understand that if you play a Windows CD backwards you hear strange
 Satanic messages
 To which someone replied:
 It's even worse than that; play it forwards and it installs Windows
 ---

 
 

-- 
View this message in context: 
http://www.nabble.com/Trinidad-or-RichFaces--or-both--tp21695717p21703774.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Trinidad poll questions

2009-01-28 Thread Bandaru

Hi,
We can set the Interval for the poll through Backing Bean for the component
like  poll.setInterval(5000); (5sec), here Interval  should be in
milliseconds.
As i observe from ur message ,problem me be by setting interval to 1.

Thanks,
Ramesh.


pdt_p wrote:
 
 Hi..
 
 I do have tr:poll in my page and bind the poll component in a bean which
 is set as session bean.
 
 Is that possible to manually trigger the poll event from a bean?
 I did try to set the interval to 1 but the poll is not directly pickup the
 latest interval.
 
 Any idea how to do this?
 
 thanks.
 
 Regards,
 
 pdt
 
 

-- 
View this message in context: 
http://www.nabble.com/Trinidad-poll-questions-tp21617715p21704502.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: [TRINIDAD]ClassCastException:org.apache.myfaces.trinidad.component.CoreoOutputText

2008-07-17 Thread Bandaru

Hi,
   I faced such type of issue when in backing Bean while type casting with
different objects.
  ie, when we type cast outputText object with CoreInputText class this type
of issue will rise.
  This is one reason where such type of issues will rise.If this is not the
case past some sample code.

-Bandaru
   

dushyant agarwal wrote:
 
 Hi,
 I have a JSF page in which there is a tree-table.In the JSF I have put the
 nodestamp and pathstamp facets with a column in nodestamp and a outputText
 inside the column as well as inside pathstamp.
 Now in the backing bean I create columns of the Tree Table dynamically
 with information available from a EJB.The columns have inputtexts as
 children.
  
 I have a functionality where a user can delete a column. For deleting the
 columns I have first deleted all the columns from the tree table's
 getChildren() list. Then I call a method of the EJB and recreate the
 columns with inputTexts as their children.I also add a tr:commandLink to
 each column.But I have checked that it would not be the cause of
 exception.
  
 This time during the time of rendering I get a
 ClassCastException:CoreOutputtext.
 The server's stack trace does not indicate error on any line of the
 backing bean.
 So it is hard to debug the code.
  
 If I do not add the inputText as the children of the column then this
 exception does not come.So i guess that the view root is holding back some
 older definition of the page and when I recreate the table it causes the
 execption.
 But even in the older definition the column contains inputText as
 child.Outputtext is added to the column only when I am adding the
 commandLink to the column(for the text part).
  
 What could be the reason for this ? Any solutions?
  
 
 
   Unlimited freedom, unlimited storage. Get it now, on
 http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
 

-- 
View this message in context: 
http://www.nabble.com/-TRINIDAD-ClassCastException%3Aorg.apache.myfaces.trinidad.component.CoreoOutputText-tp18503670p18522954.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Updated Trinidad libs for JDeveloper

2007-09-22 Thread Bandaru

Hi,
 I Building Application in JDeveloper 10.1.3.2 IDE with Trinidad
and jsf components.
  Using the following libs
JSP Runtime
Jsf-api.jar
Jsf-impl.jar--(1.1)
Trinidad-api-1.0.1.jar
Trinidad-impl-1.0.1.jar
JSTL 1.1
   while Designing jspx pages getting many issues i think due to
this old version libs.
   Can any one suggest me what are new version libs available and
where can i find them.

Thanking You,
Bandaru.
-- 
View this message in context: 
http://www.nabble.com/Updated-Trinidad-libs-for-JDeveloper-tf4500628.html#a12835503
Sent from the MyFaces - Users mailing list archive at Nabble.com.



selectBooleanCheckbox changes to Readonly Mode on Binding

2007-09-10 Thread Bandaru

Hi,

When i use binding for 'selected' property in 'selectBooleanCheckbox' it
is changing to Readonly mode in the Output,
  But it should be able to change.
   How can i avoid that,Please suggest me.

  tr:selectBooleanCheckbox selected=#{backing_page1.value}/

Thank you,
Bandaru.
-- 
View this message in context: 
http://www.nabble.com/selectBooleanCheckbox-changes-to-Readonly-Mode-on-Binding-tf4415119.html#a12593996
Sent from the MyFaces - Users mailing list archive at Nabble.com.



RE: My own default CSS.

2007-09-10 Thread Bandaru

Hi,
I am using the below given code,
  Here,on initial i am getting default CSS and on change of style from
SelectOneChoice it getting fine.
  But i need the default CSS to be my 'Style1' initialy before selecting
SelectOneChoice.
   How ca i achieve?

IN JSPX:
tr:selectOneChoice value=#{sessionScope.mydesk}
onchange=form1:submit();
  tr:selectItem label=Style1
 value=Style1/
  tr:selectItem label=Style2
 value=Style2/
/tr:selectOneChoice
IN Trindad-config:
-
 skin-family#{sessionScope.mydesk}/skin-family 

In Trinidad-skin:
---
skin
idStyle1.desktop/id
familyStyle1/family
render-kit-idorg.apache.myfaces.trinidad.desktop/render-kit-id
style-sheet-nameskins/Style1.css/style-sheet-name
/skin
skin
idStyle2.desktop/id
familyStyle2/family
render-kit-idorg.apache.myfaces.trinidad.desktop/render-kit-id
style-sheet-nameskins/Style2.css/style-sheet-name
/skin
  
  Please Suggest Me.

Thank You,
 - Bandaru


sandeep gururaj wrote:
 
 Hello Bandaru,
 
  
 
 If you are using Trinidad, you can do that by specifying your
 skin-family in your trinidad-config.
 
  
 
 ~Sandeep
 
  
 
 -Original Message-
 From: Bandaru [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 10, 2007 10:12 AM
 To: users@myfaces.apache.org
 Subject: My own default CSS.
 
  
 
  
 
  
 
  
 
 Hi,
 
  I'm able to Change the CSS on selection of SelectOneChoice and
 
 binding to value to adf config file.
 
 but initialy getting the ADF default CSS,How can set my one of my CSS
 file
 
 as Default.
 
 IDE: JDeveloper 10.1.3.2
 
 Please Suggest me.
 
  
 
 Thanking You,
 
 Bandaru. 
 
 -- 
 
 View this message in context:
 http://www.nabble.com/My-own-default-CSS.-tf4412153.html#a12586565
 
 Sent from the MyFaces - Users mailing list archive at Nabble.com.
 
  
 
 
 

-- 
View this message in context: 
http://www.nabble.com/My-own-default-CSS.-tf4412153.html#a12594291
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: selectBooleanCheckbox changes to Readonly Mode on Binding

2007-09-10 Thread Bandaru

Hi,
   I'm having setter and getter methods in backing Bean eventhough
getting same problem,
 If i set selected=true its working fine But when i use
ExpressionLanguage(EL) in 'selected' attribute the component is changing to
ReadOnly Mode.
   What may be the problem?
 Please suggest me..
 
Thanking You,
  Bandaru.


Simon Lessard wrote:
 
 Hello Dandaru,
 
 You probably forgot to add a setter method for value property. You need to
 add the following method
 
 public void setValue(Boolean value)
 {
   //
 }
 
 to your backing_page1 bean.
 
 
 Regards,
 
 ~ Simon
 
 On 9/10/07, Bandaru [EMAIL PROTECTED] wrote:


 Hi,

 When i use binding for 'selected' property in 'selectBooleanCheckbox'
 it
 is changing to Readonly mode in the Output,
   But it should be able to change.
How can i avoid that,Please suggest me.

   tr:selectBooleanCheckbox selected=#{backing_page1.value}/

 Thank you,
 Bandaru.
 --
 View this message in context:
 http://www.nabble.com/selectBooleanCheckbox-changes-to-Readonly-Mode-on-Binding-tf4415119.html#a12593996
 Sent from the MyFaces - Users mailing list archive at Nabble.com.


 
 

-- 
View this message in context: 
http://www.nabble.com/selectBooleanCheckbox-changes-to-Readonly-Mode-on-Binding-tf4415119.html#a12608454
Sent from the MyFaces - Users mailing list archive at Nabble.com.



How to get Parent Tree Node of child?

2007-09-09 Thread Bandaru


Hi,
 I Have Constructed a Tree and i am Able to get the Details of the
clicked Node on the Tree into the Backing Bean.
But I'm unable to get the Parent Node of the Clicked Child Node.
Ex:On Click of Employee(Child Node) in the Tree, I should get the Department
(Parent Node) in Backing Bean.

I'm able to get only the details in the same Level of Tree Node(ie All
Employees in the Selected Employee Level).

IDE: JDeveloper 10.1.3.2. ,with Trinidad.
Please Suggest me.

Thanking You,
Bandaru.
-- 
View this message in context: 
http://www.nabble.com/How-to-get-Parent-Tree-Node-of-child--tf4412122.html#a12586461
Sent from the MyFaces - Users mailing list archive at Nabble.com.



My own default CSS.

2007-09-09 Thread Bandaru



Hi,
 I'm able to Change the CSS on selection of SelectOneChoice and
binding to value to adf config file.
but initialy getting the ADF default CSS,How can set my one of my CSS file
as Default.
IDE: JDeveloper 10.1.3.2
Please Suggest me.

Thanking You,
Bandaru. 
-- 
View this message in context: 
http://www.nabble.com/My-own-default-CSS.-tf4412153.html#a12586565
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Table PPR problem when trigger Outside

2007-09-05 Thread Bandaru

Hi,
  Thanks for your reply,I tried with Following Code as you mentioned But Not
Triggered,what may be the problem?

tr:selectBooleanCheckbox label=RemoveALL 
binding=#{backing_first.removeAll} 
  id=removeAll autoSubmit=true/ 
  tr:table binding=#{backing_first.MyTable} id=MyTable  
tr:column  tr:outputText value=backing_first.removeAll.value
id=remove1 
partialTriggers=::removeAll/ /column  ... 
/tr:table 

 Please,Suggest me.


dmgloss wrote:
 
 'partialTriggers=MyTable:removeAll' will certainly have no effect in
 code snippet you provided.
 If you refer checkbox just outside of tr:table from that table's column,
 then trigger component refid should begin with ::, not some other id.
 
 
 Hi,
Yes,I tried with 'partialTriggers=MyTable:removeAll' eventhough no
 Effect.
Please let me out from this issue.
  Thanks for Reply...
 
 
 
 Vadim Dmitriev wrote:
  
  Have you by any chanсe tried 'partialTriggers=::removeAll'?
  tr:table is NamingContainer, so partialTriggers must be of special form
  when you refer components outside it from one of it's columns  (or
  components inside tr:table from outer ones).
  
  
  
  
Hi,
I have a Requirement that when i select BooleanCheckBox which is
  outside the table with autosubmit,i need to trigger the value to
 inside
  the
  Table column,
 But the Value is Not trigged,I think the problem with the
  partialTriggering ID because When i place both components in the same
  Column,working fine.
   Sample Code:
  tr:selectBooleanCheckbox label=RemoveALL 
  binding=#{backing_first.removeAll}
id=removeAll autoSubmit=true/
tr:table binding=#{backing_first.MyTable} id=MyTable 
  tr:column  tr:outputText value=backing_first.removeAll.value
  id=remove1 
  partialTriggers=removeAll/ /column  ...
  /tr:table 
  
  Please Suggest me how can rectify the Problem..
  I have seen some of the posts but this requiremnt is reverse to that.  
  
  Thanking You,
  Ramesh.
  
  -- 
  View this message in context:
 
 http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12457228
  Sent from the MyFaces - Users mailing list archive at Nabble.com.
  
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12459529
 Sent from the MyFaces - Users mailing list archive at Nabble.com.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12492217
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Table PPR problem when trigger Outside

2007-09-03 Thread Bandaru


  Hi,
  I have a Requirement that when i select BooleanCheckBox which is
outside the table with autosubmit,i need to trigger the value to inside the
Table column,
   But the Value is Not trigged,I think the problem with the
partialTriggering ID because When i place both components in the same
Column,working fine.
 Sample Code:
tr:selectBooleanCheckbox label=RemoveALL 
binding=#{backing_first.removeAll}
  id=removeAll autoSubmit=true/
  tr:table binding=#{backing_first.MyTable} id=MyTable 
tr:column  tr:outputText value=backing_first.removeAll.value
id=remove1 
partialTriggers=removeAll/ /column  ...
/tr:table 

Please Suggest me how can rectify the Problem..
I have seen some of the posts but this requiremnt is reverse to that.  

Thanking You,
Ramesh.

-- 
View this message in context: 
http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12457228
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Table PPR problem when trigger Outside

2007-09-03 Thread Bandaru

Hi,
   Yes,I tried with 'partialTriggers=MyTable:removeAll' eventhough no
Effect.
   Please let me out from this issue.
 Thanks for Reply...



Vadim Dmitriev wrote:
 
 Have you by any chanсe tried 'partialTriggers=::removeAll'?
 tr:table is NamingContainer, so partialTriggers must be of special form
 when you refer components outside it from one of it's columns  (or
 components inside tr:table from outer ones).
 
 
 
 
   Hi,
   I have a Requirement that when i select BooleanCheckBox which is
 outside the table with autosubmit,i need to trigger the value to inside
 the
 Table column,
But the Value is Not trigged,I think the problem with the
 partialTriggering ID because When i place both components in the same
 Column,working fine.
  Sample Code:
 tr:selectBooleanCheckbox label=RemoveALL 
 binding=#{backing_first.removeAll}
   id=removeAll autoSubmit=true/
   tr:table binding=#{backing_first.MyTable} id=MyTable 
 tr:column  tr:outputText value=backing_first.removeAll.value
 id=remove1 
 partialTriggers=removeAll/ /column  ...
 /tr:table 
 
 Please Suggest me how can rectify the Problem..
 I have seen some of the posts but this requiremnt is reverse to that.  
 
 Thanking You,
 Ramesh.
 
 -- 
 View this message in context:
 http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12457228
 Sent from the MyFaces - Users mailing list archive at Nabble.com.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Table-PPR-problem-when-trigger-Outside-tf4370599.html#a12459529
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Dynamic value setting problem to InputText

2007-08-30 Thread Bandaru

Hi,
In Trinidad,The InputText Value is not getting change Dynamically from
Backing Bean.
Initially the First value is settting after it not getting change.
   But If i set Disable True for InputText then the value getting Change but
i need Disable false(Aditabel).
  
   I'm Doing this in jsp:include page,does that effects?
   What may be the Problem,Please Suggest me.
IDE:Jdeveloper 10g

Thanking You in Advance.
Ramesh.
-- 
View this message in context: 
http://www.nabble.com/Dynamic-value-setting-problem-to-InputText-tf4353329.html#a12404488
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Tree Expand All/Collapse All Function

2007-08-26 Thread Bandaru


 Hi,
 I have Constructed a Trinidad Tree its working fine and I also need to
add the 'Expand All' and 'Collapse All' Functionality,How can i achive that
in Trinidad,Please Help me.
  If it is not possible in trinidad,does there any other
open-source tree Component to achieve this functionality,Please suggest me.
   
  Thank you,
  Ramesh.   
  

-- 
View this message in context: 
http://www.nabble.com/Tree-Expand-All-Collapse-All-Function-tf442.html#a12341601
Sent from the MyFaces - Users mailing list archive at Nabble.com.



can Trinidad use pagedefintion file?..

2007-08-16 Thread Bandaru


Hi,

   Can i use Pagedefinition file created from DataControls in the
project 
configured with Trinidad.

if possible,what are the changes to be done in web.xml and faces-config file
and where else to be done.

IDE: Oracle Jdeveloper 10g,
Please Suggest me ASAP.

Thanks in Advance. 


-- 
View this message in context: 
http://www.nabble.com/can-Trinidad-use-pagedefintion-file-..-tf4278901.html#a12179099
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Action not working in jspx page

2007-08-13 Thread Bandaru



 Hi,
I'm configuring Trinidad in Jdeveloper 10g,
evering is getting fine but the actions in the page are not working
example: inputDate not displaying   
   calender content in pop up.and other actions are also not working.
 what may the problem..

 My code in jspx ..
*
?xml version='1.0' encoding='windows-1252'?
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
  version=2.0
  xmlns:f=http://java.sun.com/jsf/core;
  xmlns:h=http://java.sun.com/jsf/html;
  xmlns:tr=http://myfaces.apache.org/trinidad;
  jsp:output omit-xml-declaration=true
  doctype-root-element=HTML
  doctype-system=http://www.w3.org/TR/html4/loose.dtd;
  doctype-public=-//W3C//DTD HTML 4.01 Transitional//EN/
  jsp:directive.page contentType=text/html;charset=windows-1252/
  f:view
html
  body
   tr:document title=Trinidad Index
  tr:form  id=form1
  tr:inputDate label=Date/
/tr:form
/tr:document
/body
/html
  /f:view
 
!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_trinaidad--
/jsp:root

lib used :
-
Activation-1.1.jar
Commons-beanutils-1.7.0.jar
Commons-codec-1.3.jar
Commons-collections-3.1.jar
Commons-digester-1.6.jar
Commons-el-1.0.jar
Commons-lang-2.1.jar
Commons-logging-1.0.4.jar
Jsf-impl.jar
Jstl-1.1.2.jar
Mail-1.4.jar
Myfaces-api-1.1.5.jar
Myfaces-impl-1.1.5.jar
Oracle-portlet-tags.jar
Trinidad-api-1.0.1.jar
Trinidad-impl-1.0.1.jar
-

Configured web.xml,faces-config,correctly what else to do to resolve this
problem Please suggest me..

Thank in Advance,
Bandaru


-- 
View this message in context: 
http://www.nabble.com/Action-not-working-in-jspx-page-tf4259576.html#a12121863
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Trinidad configuration in Jdeveloper

2007-08-10 Thread Bandaru


Hi,
   I am new to the Trinidad components.
 i'm trying to configure the trinidad in oracle Jdeveloper 10g.
   i found different versions of libraries in the sites,can any one one
suggest me which libraries are to use.

I have used the libraries given in  Apache MyFaces Trinidad 1.0.1
Distribution for JSF 1.1 
that are listed below.

commons-beanutils
commons-collections
commons-logging
jsf-facelets
trinidad-api-1.0.1
trinidad-impl-1.0.1
trinidad-api-1.0.1-sources
trinidad-impl-1.0.1-sources


But in oracle site i found the following libs.

commons-beanutils-1.6.jar
commons-collections-2.0.jar
commons-logging-1.0.jar
jsf-facelets-1.1.6.jar
trinidad-api-1.0.0-incubating.jar
trinidad-impl-1.0.0-incubating.jar
trinidad-api-1.0.0-incubating-sources.jar
trinidad-impl-1.0.0-incubating-sources.jar
(what is incubating distribution)

can any any tell me the difference between these two and which is advisible
in Oracle jdeveloper.

Thanks in Advance..
-- 
View this message in context: 
http://www.nabble.com/Trinidad-configuration-in-Jdeveloper-tf4248381.html#a12090343
Sent from the MyFaces - Users mailing list archive at Nabble.com.