Re: use of Oracle adf components with tomahaw components

2006-02-13 Thread Harald Ommang

On Mon, 13 Feb 2006 22:38:00 +0100
 "Henri Delbrouck" <[EMAIL PROTECTED]> wrote:

Hello,



I am using the Myfaces 1.1.0 implementation. I use jsp 
pages with tomahawk
components. 




I would like to know if it is possible to use the Oracle 
adf faces with the
Tomahawk components i.e. to use on the same page 
tomahawk tags and adf tags

(using the jars downloaded from Oracle site).



I use Tomcat 5.0.28.




Hi!

I'm using Myfaces 1.1.1 with ADF Faced EA 20 (The Apache 
2.0 Licensed version), on Tomcat 5.5.12. Mixing ADF and 
Tomahawk on same page works fine.


Harald


Re: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2

2006-02-13 Thread Harald Ommang

On Tue, 14 Feb 2006 08:53:20 +1000
 "Balaji Kalyansundaram" <[EMAIL PROTECTED]> 
wrote:


Can anyone helpme with this please? What do you reckon 
Martin?


Thanks

-Original Message-


Hi!

I'm using MyFaces 1.1.1 with the ADF Faces EA20 (Apache 
2.0 licensed version), and this works just fine for me.


Harald


RE: afterPhase method in the PhaseListener gets called before rendering is complete

2006-02-13 Thread Umesh Kanitkar
Clarification: There is a dataTable component in the JSF page. The 
getRowCount() method goes to the database to get the latest count of rows.


The snippet from JSF page is:

...
var="rowVar" first="0" rows="10" border="0" 
headerClass="findChannel_headerClass" columnClasses="findChannel_name, 
findChannel_description" width="600px" 
rendered="#{findChannelBean.showChannelDataTable}">

...

When my JSF page does not contain a dataTable session opening and closing 
work as expected.

Let me know if you need more info.

- Umesh


From: "Umesh Kanitkar" <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" 
To: users@myfaces.apache.org
Subject: afterPhase method in the PhaseListener gets called before 
rendering is complete

Date: Tue, 14 Feb 2006 04:41:12 +

Hi,

I notice that afterPhase method in the PhaseListener included in this email 
is exceuted before the Rendering is completed. During rendering the JSF 
view acceces the model which in turn accecces the database. In order to 
access the database a new DB session is created, thus defeating the purpose 
of having a DBUtil.closeSession() in the afterPhase method.


Is this correct behaviour? Is it likely that something is wrong with my 
configuration?



-Umesh
(Code attached below)

---x-

package com.ebay.channel.phaselisteners;

import javax.faces.event.PhaseEvent;
import javax.faces.event.PhaseId;
import javax.faces.event.PhaseListener;

import com.ebay.db.DbUtil;

public class SessionClosePhaseListener implements PhaseListener {

public void beforePhase(PhaseEvent event) {

}

public void afterPhase(PhaseEvent event) {

DbUtil.closeSession();
}

public PhaseId getPhaseId() {

return PhaseId.RENDER_RESPONSE;
}

}







afterPhase method in the PhaseListener gets called before rendering is complete

2006-02-13 Thread Umesh Kanitkar

Hi,

I notice that afterPhase method in the PhaseListener included in this email 
is exceuted before the Rendering is completed. During rendering the JSF view 
acceces the model which in turn accecces the database. In order to access 
the database a new DB session is created, thus defeating the purpose of 
having a DBUtil.closeSession() in the afterPhase method.


Is this correct behaviour? Is it likely that something is wrong with my 
configuration?



-Umesh
(Code attached below)

---x-

package com.ebay.channel.phaselisteners;

import javax.faces.event.PhaseEvent;
import javax.faces.event.PhaseId;
import javax.faces.event.PhaseListener;

import com.ebay.db.DbUtil;

public class SessionClosePhaseListener implements PhaseListener {

public void beforePhase(PhaseEvent event) {

}

public void afterPhase(PhaseEvent event) {

DbUtil.closeSession();
}

public PhaseId getPhaseId() {

return PhaseId.RENDER_RESPONSE;
}

}




Re: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2

2006-02-13 Thread Bruno Aranda
If you talk about supporting Sets in dataTables, you should use the extended dataTable (t:dataTable),Regards,BrunoOn 2/14/06, Balaji Kalyansundaram
 <[EMAIL PROTECTED]> wrote:







Thanks
Martin. Will the final relase be avialabel in a week or two. As mentioned
before, we want to start working on  a new funcationality and we would like
to fix the bugs and issues with the existing ones, to avoid rework. My Senior
has tried 1.1.1 sometiem back and said that it was not supporting Sets like
1.0.9. We want to resolve these kind of stuff now.
 
Regards
 
Balaji
 
 

  -Original Message-From: Martin Marinschek
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, 14 February 2006
  8:56 AMTo: MyFaces DiscussionSubject: Re: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces
  1.1.2I'd recommend to wait a little for the final
  release.We've started the release process, so this shouldn't take too
  long.regards,Martin
  On 2/13/06, Balaji
  Kalyansundaram <[EMAIL PROTECTED]>
  wrote:
  
Can anyone helpme with this
please? What do you reckon Martin?
 
Thanks


  -Original
  Message-From: Balaji Kalyansundaram [mailto:[EMAIL PROTECTED]]
Sent: Monday, 13
  February 2006 11:03 AMTo: users@myfaces.apache.orgSubject: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build
  MyFaces 1.1.2
  Hi All 
  We have been using MyFaces 1.0.9 and would like
  to migrate to the next version. Also we would like to add ADF to our
  project. 
  What do you suggest to download? 
      Release - MyFaces 1.1.1 - 
http://www.apache.org/dyn/closer.cgi/myfaces/binaries/myfaces-1.1.1.zip
     
     
     
     
      Or Or
  Or     Nightly Builds - - MyFaces 1.1.2 - 
http://cvs.apache.org/builds/myfaces/nightly/myfaces-core-1.1.2-SNAPSHOT-bin.zip
  I have read many emails regarding the bugs in
  the 1.1.1 release and also about other bugs due to the new fixes in the
  Nightly Build. We have waited for a while for a stable version. Since we
  are going to implement some core functionalities in the project we would
  like to migrate to the next (stable) version that supports ADF
  too.
  Thanks. 
  Regards Balaji 
  


  This correspondence is for
the named persons only. It may contain confidential or
privileged information or both. No confidentiality or privilege
is waived or lost by any mis transmission. If you receive this
correspondence in error please delete it from your system
immediately and notify the sender. You must not disclose, copy
or relay on any part of this correspondence, if you are not the
intended recipient. Any opinions expressed in this message are
those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the
Department of Emergency Services,
Queensland.

  
  
This correspondence is for the
  named persons only. It may contain confidential or privileged
  information or both. No confidentiality or privilege is waived or
  lost by any mis transmission. If you receive this correspondence
  in error please delete it from your system immediately and notify the
  sender. You must not disclose, copy or relay on any part of this
  correspondence, if you are not the intended recipient. Any
  opinions expressed in this message are those of the individual sender
  except where the sender expressly, and with the authority, states
  them to be the opinions of the Department of Emergency Services,
  Queensland.-- 
http://www.irian.atYour JSF powerhouse
  - JSF Consulting, Development and Courses in English and
  GermanProfessional Support for Apache MyFaces


This correspondence is for the named persons only. 
It may contain confidential or privileged information or both. 
No confidentiality or privilege is waived or lost by any mis transmission. 
If you receive this correspondence in error please delete it from your system immediately and notify the sender. 
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. 
Any opinions expressed in this message are those of the individual sender except where the sender expressly, 
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.




RE: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2

2006-02-13 Thread Balaji Kalyansundaram



Thanks
Martin. Will the final relase be avialabel in a week or two. As mentioned
before, we want to start working on  a new funcationality and we would like
to fix the bugs and issues with the existing ones, to avoid rework. My Senior
has tried 1.1.1 sometiem back and said that it was not supporting Sets like
1.0.9. We want to resolve these kind of stuff now.
 
Regards
 
Balaji
 
 

  -Original Message-From: Martin Marinschek
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, 14 February 2006
  8:56 AMTo: MyFaces DiscussionSubject: Re: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces
  1.1.2I'd recommend to wait a little for the final
  release.We've started the release process, so this shouldn't take too
  long.regards,Martin
  On 2/13/06, Balaji
  Kalyansundaram <[EMAIL PROTECTED]>
  wrote:
  
Can anyone helpme with this
please? What do you reckon Martin?
 
Thanks


  -Original
  Message-From: Balaji Kalyansundaram [mailto:[EMAIL PROTECTED]]Sent: Monday, 13
  February 2006 11:03 AMTo: users@myfaces.apache.orgSubject: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build
  MyFaces 1.1.2
  Hi All 
  We have been using MyFaces 1.0.9 and would like
  to migrate to the next version. Also we would like to add ADF to our
  project. 
  What do you suggest to download? 
      Release - MyFaces 1.1.1 - http://www.apache.org/dyn/closer.cgi/myfaces/binaries/myfaces-1.1.1.zip
     
     
     
     
      Or Or
  Or     Nightly Builds - - MyFaces 1.1.2 - http://cvs.apache.org/builds/myfaces/nightly/myfaces-core-1.1.2-SNAPSHOT-bin.zip
  I have read many emails regarding the bugs in
  the 1.1.1 release and also about other bugs due to the new fixes in the
  Nightly Build. We have waited for a while for a stable version. Since we
  are going to implement some core functionalities in the project we would
  like to migrate to the next (stable) version that supports ADF
  too.
  Thanks. 
  Regards Balaji 
  


  This correspondence is for
the named persons only. It may contain confidential or
privileged information or both. No confidentiality or privilege
is waived or lost by any mis transmission. If you receive this
correspondence in error please delete it from your system
immediately and notify the sender. You must not disclose, copy
or relay on any part of this correspondence, if you are not the
intended recipient. Any opinions expressed in this message are
those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the
Department of Emergency Services,
Queensland.

  
  
This correspondence is for the
  named persons only. It may contain confidential or privileged
  information or both. No confidentiality or privilege is waived or
  lost by any mis transmission. If you receive this correspondence
  in error please delete it from your system immediately and notify the
  sender. You must not disclose, copy or relay on any part of this
  correspondence, if you are not the intended recipient. Any
  opinions expressed in this message are those of the individual sender
  except where the sender expressly, and with the authority, states
  them to be the opinions of the Department of Emergency Services,
  Queensland.-- http://www.irian.atYour JSF powerhouse
  - JSF Consulting, Development and Courses in English and
  GermanProfessional Support for Apache MyFaces


This correspondence is for the named persons only. 
It may contain confidential or privileged information or both. 
No confidentiality or privilege is waived or lost by any mis transmission. 
If you receive this correspondence in error please delete it from your system immediately and notify the sender. 
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. 
Any opinions expressed in this message are those of the individual sender except where the sender expressly, 
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.


Default style in panelTabbedPane

2006-02-13 Thread John Slave

Hi,
i 'd like to set the tab style like mini-shape tab in this page:
http://www.simplebits.com/bits/minitab_shapes.html but i don't know how.
In fact tomahawk puts default styles that prevents me to set my style.
How can i override this behaviour?

Thanks in advance
John Slave



Re: Default style in panelTabbedPane

2006-02-13 Thread Martin Marinschek
P.S.:

the workaround being proposed so far has been using the !important
modifier on style definitions.

regards,

Martin

On 2/13/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> That's one of MyFaces weak points - styling panelTabbedPane.
>
> A patch for that would be very, very welcome.
>
> regards,
>
> Martin
>
> On 2/13/06, John Slave <[EMAIL PROTECTED]> wrote:
> > Hi,
> > i 'd like to set the tab style like mini-shape tab in this page:
> > http://www.simplebits.com/bits/minitab_shapes.html but i don't know how.
> > In fact tomahawk puts default styles that prevents me to set my style.
> > How can i override this behaviour?
> >
> > Thanks in advance
> > John Slave
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2

2006-02-13 Thread Martin Marinschek
I'd recommend to wait a little for the final release.We've started the release process, so this shouldn't take too long.regards,MartinOn 2/13/06, 
Balaji Kalyansundaram <[EMAIL PROTECTED]> wrote:







Can
anyone helpme with this please? What do you reckon Martin?
 
Thanks

  -Original Message-From: Balaji Kalyansundaram
  [mailto:[EMAIL PROTECTED]]Sent: Monday, 13 February 2006
  11:03 AMTo: users@myfaces.apache.orgSubject: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces
  1.1.2
  Hi All 
  We have been using MyFaces 1.0.9 and would like to
  migrate to the next version. Also we would like to add ADF to our project.
  
  What do you suggest to download? 
      Release
  - MyFaces 1.1.1 - http://www.apache.org/dyn/closer.cgi/myfaces/binaries/myfaces-1.1.1.zip

     
     
     
     
      Or Or Or
      Nightly Builds - - MyFaces 1.1.2 - 
http://cvs.apache.org/builds/myfaces/nightly/myfaces-core-1.1.2-SNAPSHOT-bin.zip
  I have read many emails regarding the bugs in the
  1.1.1 release and also about other bugs due to the new fixes in the Nightly
  Build. We have waited for a while for a stable version. Since we are going to
  implement some core functionalities in the project we would like to migrate to
  the next (stable) version that supports ADF too.
  Thanks. 
  Regards Balaji 
  


  This correspondence is for the
named persons only. It may contain confidential or privileged
information or both. No confidentiality or privilege is waived or
lost by any mis transmission. If you receive this correspondence in
error please delete it from your system immediately and notify the
sender. You must not disclose, copy or relay on any part of this
correspondence, if you are not the intended recipient. Any opinions
expressed in this message are those of the individual sender except
where the sender expressly, and with the authority, states them to
be the opinions of the Department of Emergency Services,
Queensland.

This correspondence is for the named persons only. 
It may contain confidential or privileged information or both. 
No confidentiality or privilege is waived or lost by any mis transmission. 
If you receive this correspondence in error please delete it from your system immediately and notify the sender. 
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. 
Any opinions expressed in this message are those of the individual sender except where the sender expressly, 
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.

-- http://www.irian.atYour JSF powerhouse - JSF Consulting, Development and Courses in English and German
Professional Support for Apache MyFaces


RE: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2

2006-02-13 Thread Balaji Kalyansundaram
Title: Want to migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces 1.1.2



Can
anyone helpme with this please? What do you reckon Martin?
 
Thanks

  -Original Message-From: Balaji Kalyansundaram
  [mailto:[EMAIL PROTECTED]Sent: Monday, 13 February 2006
  11:03 AMTo: users@myfaces.apache.orgSubject: Want to
  migrate from MyFaces 1.0.9. Pls suggest MyFaces 1.1.1 or nightly build MyFaces
  1.1.2
  Hi All 
  We have been using MyFaces 1.0.9 and would like to
  migrate to the next version. Also we would like to add ADF to our project.
  
  What do you suggest to download? 
      Release
  - MyFaces 1.1.1 - http://www.apache.org/dyn/closer.cgi/myfaces/binaries/myfaces-1.1.1.zip
     
     
     
     
      Or Or Or
      Nightly Builds - - MyFaces 1.1.2 - http://cvs.apache.org/builds/myfaces/nightly/myfaces-core-1.1.2-SNAPSHOT-bin.zip
  I have read many emails regarding the bugs in the
  1.1.1 release and also about other bugs due to the new fixes in the Nightly
  Build. We have waited for a while for a stable version. Since we are going to
  implement some core functionalities in the project we would like to migrate to
  the next (stable) version that supports ADF too.
  Thanks. 
  Regards Balaji 
  


  This correspondence is for the
named persons only. It may contain confidential or privileged
information or both. No confidentiality or privilege is waived or
lost by any mis transmission. If you receive this correspondence in
error please delete it from your system immediately and notify the
sender. You must not disclose, copy or relay on any part of this
correspondence, if you are not the intended recipient. Any opinions
expressed in this message are those of the individual sender except
where the sender expressly, and with the authority, states them to
be the opinions of the Department of Emergency Services,
Queensland.

This correspondence is for the named persons only. 
It may contain confidential or privileged information or both. 
No confidentiality or privilege is waived or lost by any mis transmission. 
If you receive this correspondence in error please delete it from your system immediately and notify the sender. 
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. 
Any opinions expressed in this message are those of the individual sender except where the sender expressly, 
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.


Re: How to extend datatable to accomodate grouping

2006-02-13 Thread Bruno Aranda
No, ignore my message, I thought I was answering the next thread :-)

Bruno

On 2/13/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> Does the newspaperTable support grouping, or are you suggesting that it
> would be better for nesting?
>
> Thanks for your help.
>
> -Original Message-
> From: Bruno Aranda [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 13, 2006 3:44 PM
> To: MyFaces Discussion
> Subject: Re: How to extend datatable to accomodate grouping
>
> Well, and the newspaperTable [1]. I think it better fits the requisites,
>
> Bruno
>
> [1] http://myfaces.apache.org/tomahawk/newspaperTable.html
>
> On 2/13/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > Well, the only other thing I can think of is to use nested t:dataList
> > elements and output your own html tags as you iterate over your data.
> >
> > On 2/13/06, James Reynolds <[EMAIL PROTECTED]>
> wrote:
> > >
> > > I don't want to sound rude, but I'm a little bit concerned about
> > > using bleeding edge releases in my production environment.  The
> > > feature described below is brilliant, but I'd like to see it in
> > > action for a while before I stake my job on it.
> > >
> > > Are there any other strategies for grouping data in JSF?
> > >
> > > Example:
> > >  Category 1
> > >  Contract_Number, Contract_Description  Contract_Number,
> > > Contract_Description
> > >
> > >  Category 2
> > >  Contract_Number, Contract_Description  ...etc...
> > >
> > > -Original Message-
> > > From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 10, 2006 3:21 PM
> > > To: MyFaces Discussion
> > > Subject: Re: How to extend datatable to accomodate grouping
> > >
> > > You might take a look at this feature.  It was added yesterday so
> > > you'll have to grab the source from svn and build myfaces yourself
> > > (which is easy to do now that we've switched to maven).
> > >
> > > http://issues.apache.org/jira/browse/MYFACES-1064?page=all
> > >
> > > On 2/10/06, James Reynolds <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > I have a jsp page I want to convert to jsf.  Currently, it uses
> > > > scriptlets with for-loops to display a table of contracts grouped
> > > > by category like this:
> > > >
> > > > Category 1
> > > > Contract_Number, Contract_Description, etc Contract_Number,
> > > > Contract_Description, etc
> > > >
> > > > Category 2
> > > > Contract_Number, Contract_Description, etc ...
> > > >
> > > > Conversion to a datatable would be simple enough, except I can't
> > > > imagine how to handle the grouping.  Based on my searches, it
> > > > appears that nesting datatables is out.  Can anyone recommend an
> > > > approach to accomplishing this?
> > > >
> > > >
> > >
> > >
> >
>
>


Re: Default style in panelTabbedPane

2006-02-13 Thread Martin Marinschek
That's one of MyFaces weak points - styling panelTabbedPane.

A patch for that would be very, very welcome.

regards,

Martin

On 2/13/06, John Slave <[EMAIL PROTECTED]> wrote:
> Hi,
> i 'd like to set the tab style like mini-shape tab in this page:
> http://www.simplebits.com/bits/minitab_shapes.html but i don't know how.
> In fact tomahawk puts default styles that prevents me to set my style.
> How can i override this behaviour?
>
> Thanks in advance
> John Slave
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: Is there a component for dynamic panelgrid?

2006-02-13 Thread Bruno Aranda
Well, the newspaperTable [1] should do the work I think...

Bruno

[1] http://myfaces.apache.org/tomahawk/newspaperTable.html

PS. This is the thread I thought I was answering ;)

On 2/13/06, Travis Reeder <[EMAIL PROTECTED]> wrote:
> Instead of displaying in rows, it could use a collection and display things
> left to right and wrap when it hit the column count?
>
> So it would display something like this if I had five items.
>
> A -> B -> C
>  D -> E
>
> Travis
>
>


Default style in panelTabbedPane

2006-02-13 Thread John Slave

Hi,
i 'd like to set the tab style like mini-shape tab in this page: 
http://www.simplebits.com/bits/minitab_shapes.html but i don't know how.
In fact tomahawk puts default styles that prevents me to set my style. 
How can i override this behaviour?


Thanks in advance
John Slave


RE: How to extend datatable to accomodate grouping

2006-02-13 Thread James Reynolds
Does the newspaperTable support grouping, or are you suggesting that it
would be better for nesting?

Thanks for your help. 

-Original Message-
From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 3:44 PM
To: MyFaces Discussion
Subject: Re: How to extend datatable to accomodate grouping

Well, and the newspaperTable [1]. I think it better fits the requisites,

Bruno

[1] http://myfaces.apache.org/tomahawk/newspaperTable.html

On 2/13/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> Well, the only other thing I can think of is to use nested t:dataList 
> elements and output your own html tags as you iterate over your data.
>
> On 2/13/06, James Reynolds <[EMAIL PROTECTED]>
wrote:
> >
> > I don't want to sound rude, but I'm a little bit concerned about 
> > using bleeding edge releases in my production environment.  The 
> > feature described below is brilliant, but I'd like to see it in 
> > action for a while before I stake my job on it.
> >
> > Are there any other strategies for grouping data in JSF?
> >
> > Example:
> >  Category 1
> >  Contract_Number, Contract_Description  Contract_Number, 
> > Contract_Description
> >
> >  Category 2
> >  Contract_Number, Contract_Description  ...etc...
> >
> > -Original Message-
> > From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 10, 2006 3:21 PM
> > To: MyFaces Discussion
> > Subject: Re: How to extend datatable to accomodate grouping
> >
> > You might take a look at this feature.  It was added yesterday so 
> > you'll have to grab the source from svn and build myfaces yourself 
> > (which is easy to do now that we've switched to maven).
> >
> > http://issues.apache.org/jira/browse/MYFACES-1064?page=all
> >
> > On 2/10/06, James Reynolds <[EMAIL PROTECTED]>
wrote:
> > >
> > > I have a jsp page I want to convert to jsf.  Currently, it uses 
> > > scriptlets with for-loops to display a table of contracts grouped 
> > > by category like this:
> > >
> > > Category 1
> > > Contract_Number, Contract_Description, etc Contract_Number, 
> > > Contract_Description, etc
> > >
> > > Category 2
> > > Contract_Number, Contract_Description, etc ...
> > >
> > > Conversion to a datatable would be simple enough, except I can't 
> > > imagine how to handle the grouping.  Based on my searches, it 
> > > appears that nesting datatables is out.  Can anyone recommend an 
> > > approach to accomplishing this?
> > >
> > >
> >
> >
>



Re: How to extend datatable to accomodate grouping

2006-02-13 Thread Bruno Aranda
Sorry, missed the thread ;)

Bruno

On 2/13/06, Bruno Aranda <[EMAIL PROTECTED]> wrote:
> Well, and the newspaperTable [1]. I think it better fits the requisites,
>
> Bruno
>
> [1] http://myfaces.apache.org/tomahawk/newspaperTable.html
>
> On 2/13/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > Well, the only other thing I can think of is to use nested t:dataList
> > elements and output your own html tags as you iterate over your data.
> >
> > On 2/13/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> > >
> > > I don't want to sound rude, but I'm a little bit concerned about using
> > > bleeding edge releases in my production environment.  The feature
> > > described below is brilliant, but I'd like to see it in action for a
> > > while before I stake my job on it.
> > >
> > > Are there any other strategies for grouping data in JSF?
> > >
> > > Example:
> > >  Category 1
> > >  Contract_Number, Contract_Description
> > >  Contract_Number, Contract_Description
> > >
> > >  Category 2
> > >  Contract_Number, Contract_Description
> > >  ...etc...
> > >
> > > -Original Message-
> > > From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 10, 2006 3:21 PM
> > > To: MyFaces Discussion
> > > Subject: Re: How to extend datatable to accomodate grouping
> > >
> > > You might take a look at this feature.  It was added yesterday so you'll
> > > have to grab the source from svn and build myfaces yourself (which is
> > > easy to do now that we've switched to maven).
> > >
> > > http://issues.apache.org/jira/browse/MYFACES-1064?page=all
> > >
> > > On 2/10/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> > > >
> > > > I have a jsp page I want to convert to jsf.  Currently, it uses
> > > > scriptlets with for-loops to display a table of contracts grouped by
> > > > category like this:
> > > >
> > > > Category 1
> > > > Contract_Number, Contract_Description, etc Contract_Number,
> > > > Contract_Description, etc
> > > >
> > > > Category 2
> > > > Contract_Number, Contract_Description, etc ...
> > > >
> > > > Conversion to a datatable would be simple enough, except I can't
> > > > imagine how to handle the grouping.  Based on my searches, it appears
> > > > that nesting datatables is out.  Can anyone recommend an approach to
> > > > accomplishing this?
> > > >
> > > >
> > >
> > >
> >
>


RE: How to extend datatable to accomodate grouping

2006-02-13 Thread James Reynolds

Thanks Mike!  I hadn't considered nesting dataLists.  I'll give that a
whirl. 

-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 3:41 PM
To: MyFaces Discussion
Subject: Re: How to extend datatable to accomodate grouping

Well, the only other thing I can think of is to use nested t:dataList
elements and output your own html tags as you iterate over your data.

On 2/13/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
> I don't want to sound rude, but I'm a little bit concerned about using

> bleeding edge releases in my production environment.  The feature 
> described below is brilliant, but I'd like to see it in action for a 
> while before I stake my job on it.
>
> Are there any other strategies for grouping data in JSF?
>
> Example:
>  Category 1
>  Contract_Number, Contract_Description  Contract_Number, 
> Contract_Description
>
>  Category 2
>  Contract_Number, Contract_Description  ...etc...
>
> -Original Message-
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 10, 2006 3:21 PM
> To: MyFaces Discussion
> Subject: Re: How to extend datatable to accomodate grouping
>
> You might take a look at this feature.  It was added yesterday so 
> you'll have to grab the source from svn and build myfaces yourself 
> (which is easy to do now that we've switched to maven).
>
> http://issues.apache.org/jira/browse/MYFACES-1064?page=all
>
> On 2/10/06, James Reynolds <[EMAIL PROTECTED]>
wrote:
> >
> > I have a jsp page I want to convert to jsf.  Currently, it uses 
> > scriptlets with for-loops to display a table of contracts grouped by

> > category like this:
> >
> > Category 1
> > Contract_Number, Contract_Description, etc Contract_Number, 
> > Contract_Description, etc
> >
> > Category 2
> > Contract_Number, Contract_Description, etc ...
> >
> > Conversion to a datatable would be simple enough, except I can't 
> > imagine how to handle the grouping.  Based on my searches, it 
> > appears that nesting datatables is out.  Can anyone recommend an 
> > approach to accomplishing this?
> >
> >
>
>



Re: How to extend datatable to accomodate grouping

2006-02-13 Thread Bruno Aranda
Well, and the newspaperTable [1]. I think it better fits the requisites,

Bruno

[1] http://myfaces.apache.org/tomahawk/newspaperTable.html

On 2/13/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> Well, the only other thing I can think of is to use nested t:dataList
> elements and output your own html tags as you iterate over your data.
>
> On 2/13/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> >
> > I don't want to sound rude, but I'm a little bit concerned about using
> > bleeding edge releases in my production environment.  The feature
> > described below is brilliant, but I'd like to see it in action for a
> > while before I stake my job on it.
> >
> > Are there any other strategies for grouping data in JSF?
> >
> > Example:
> >  Category 1
> >  Contract_Number, Contract_Description
> >  Contract_Number, Contract_Description
> >
> >  Category 2
> >  Contract_Number, Contract_Description
> >  ...etc...
> >
> > -Original Message-
> > From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 10, 2006 3:21 PM
> > To: MyFaces Discussion
> > Subject: Re: How to extend datatable to accomodate grouping
> >
> > You might take a look at this feature.  It was added yesterday so you'll
> > have to grab the source from svn and build myfaces yourself (which is
> > easy to do now that we've switched to maven).
> >
> > http://issues.apache.org/jira/browse/MYFACES-1064?page=all
> >
> > On 2/10/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> > >
> > > I have a jsp page I want to convert to jsf.  Currently, it uses
> > > scriptlets with for-loops to display a table of contracts grouped by
> > > category like this:
> > >
> > > Category 1
> > > Contract_Number, Contract_Description, etc Contract_Number,
> > > Contract_Description, etc
> > >
> > > Category 2
> > > Contract_Number, Contract_Description, etc ...
> > >
> > > Conversion to a datatable would be simple enough, except I can't
> > > imagine how to handle the grouping.  Based on my searches, it appears
> > > that nesting datatables is out.  Can anyone recommend an approach to
> > > accomplishing this?
> > >
> > >
> >
> >
>


Re: How to extend datatable to accomodate grouping

2006-02-13 Thread Mike Kienenberger
Well, the only other thing I can think of is to use nested t:dataList
elements and output your own html tags as you iterate over your data.

On 2/13/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
> I don't want to sound rude, but I'm a little bit concerned about using
> bleeding edge releases in my production environment.  The feature
> described below is brilliant, but I'd like to see it in action for a
> while before I stake my job on it.
>
> Are there any other strategies for grouping data in JSF?
>
> Example:
>  Category 1
>  Contract_Number, Contract_Description
>  Contract_Number, Contract_Description
>
>  Category 2
>  Contract_Number, Contract_Description
>  ...etc...
>
> -Original Message-
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 10, 2006 3:21 PM
> To: MyFaces Discussion
> Subject: Re: How to extend datatable to accomodate grouping
>
> You might take a look at this feature.  It was added yesterday so you'll
> have to grab the source from svn and build myfaces yourself (which is
> easy to do now that we've switched to maven).
>
> http://issues.apache.org/jira/browse/MYFACES-1064?page=all
>
> On 2/10/06, James Reynolds <[EMAIL PROTECTED]> wrote:
> >
> > I have a jsp page I want to convert to jsf.  Currently, it uses
> > scriptlets with for-loops to display a table of contracts grouped by
> > category like this:
> >
> > Category 1
> > Contract_Number, Contract_Description, etc Contract_Number,
> > Contract_Description, etc
> >
> > Category 2
> > Contract_Number, Contract_Description, etc ...
> >
> > Conversion to a datatable would be simple enough, except I can't
> > imagine how to handle the grouping.  Based on my searches, it appears
> > that nesting datatables is out.  Can anyone recommend an approach to
> > accomplishing this?
> >
> >
>
>


Re: detailStamp not working?

2006-02-13 Thread Martin Marinschek
ALLOW_JAVASCRIPT false

... is an option which is a remnaint of old MyFaces days, links won't
work with this parameter set to true.

Claudio is not to blame on this ;)

regards,

Martin

On 2/13/06, Claudio Tasso <[EMAIL PROTECTED]> wrote:
> Yes, it doesn't work, you are right.
> The problem occurs when ALLOW_JAVASCRIPT is set to false.
> But if you change commandLink with commandButton, then  it works.
> Try this:
>
>   action="#{detailToggler.toggleDetail}">
> 
> 
>  rendered="#{!detailToggler.currentDetailExpanded}"
> action="#{detailToggler.toggleDetail}">
> 
> 
>
> Tomorrow I'll try to find the cause of this problem, but I suppose that
> the reason of this behaviour could reside somewhere else.
> In fact, if you look at  "sample 1" in the myfaces-example-simple
> project, you can see that the adding numbers example doesn't work
> properly when you try adding numbers using links;  if you try using
> buttons instead, every thing works fine.
>
>
> Boris Kovalenko ha scritto:
>
> > Hello!
> >
> > I use the latest (12.02.2006) nightly. Claudio, may You test this
> > code with ALLOW_JAVASCRIPT to false? My configuration indeed:
> > 
> >   javax.faces.STATE_SAVING_METHOD
> >   server
> > 
> > 
> > org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
> >   20
> > 
> > 
> > org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
> >   true
> > 
> > 
> > org.apache.myfaces.COMPRESS_STATE_IN_SESSION
> >   true
> > 
> > 
> >   org.apache.myfaces.ALLOW_JAVASCRIPT
> >   false
> > 
> > 
> >   org.apache.myfaces.DETECT_JAVASCRIPT
> >   false
> > 
> > 
> >   org.apache.myfaces.PRETTY_HTML
> >   true
> > 
> > 
> >   org.apache.myfaces.AUTO_SCROLL
> >   true
> > 
>
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Is there a component for dynamic panelgrid?

2006-02-13 Thread Travis Reeder
Instead of displaying in rows, it could use a collection and display things left to right and wrap when it hit the column count?So it would display something like this if I had five items.A -> B -> C
D -> ETravis


Re: Is there a Path component in JSF

2006-02-13 Thread Mike Kienenberger
#{facesContext.externalContext.requestContextPath} for request.getContextPath().

You could probably get the rest using
#{facesContext.externalContext.request.scheme} and so on.

However, you're probably better off writing a backing bean to do all
of this for you so you keep all of the logic out of your pages.

#{basePathBackingBean.basePath} which computes and returns the value of

String basePath = request.getScheme() + "://" +
request.getServerName() +  ":" + request.getServerPort() +
request.getContextPath() + "/";

You could also do it by defining a facelets function.

Or you could create a custom component that does all of this, and
that'd work for facelets or jsp.

-Mike




On 2/13/06, Yee CN <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
>
>
> Is there a JSF component for base path? I like to achieve the equivalence of
> the following:
>
>
>
> <% String basePath = request.getScheme() + "://" + request.getServerName() +
>
> ":" + request.getServerPort() + request.getContextPath() + "/";%>
>
>
>
>type="text/css" />
>
>
>
> I am migrating to facelets and I need to find an equivalent to the above as
> relative path won't work because JSF navigation leaves the URL one step
> behind the actual URL.
>
>
>
> Or is there an alternate to this?
>
>
>
>
>
> Many thanks in advance,
>
>
>
> Best Regards,
>
> Yee


Re: detailStamp not working?

2006-02-13 Thread Claudio Tasso

Yes, it doesn't work, you are right.
The problem occurs when ALLOW_JAVASCRIPT is set to false.
But if you change commandLink with commandButton, then  it works.
Try this:

action="#{detailToggler.toggleDetail}">

   
   
   rendered="#{!detailToggler.currentDetailExpanded}" 
action="#{detailToggler.toggleDetail}">

   
   

Tomorrow I'll try to find the cause of this problem, but I suppose that 
the reason of this behaviour could reside somewhere else.
In fact, if you look at  "sample 1" in the myfaces-example-simple 
project, you can see that the adding numbers example doesn't work 
properly when you try adding numbers using links;  if you try using 
buttons instead, every thing works fine.



Boris Kovalenko ha scritto:


Hello!

I use the latest (12.02.2006) nightly. Claudio, may You test this 
code with ALLOW_JAVASCRIPT to false? My configuration indeed:


  javax.faces.STATE_SAVING_METHOD
  server


org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
  20

 
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION

  true


org.apache.myfaces.COMPRESS_STATE_IN_SESSION
  true


  org.apache.myfaces.ALLOW_JAVASCRIPT
  false


  org.apache.myfaces.DETECT_JAVASCRIPT
  false


  org.apache.myfaces.PRETTY_HTML
  true


  org.apache.myfaces.AUTO_SCROLL
  true






RE: How to extend datatable to accomodate grouping

2006-02-13 Thread James Reynolds

I don't want to sound rude, but I'm a little bit concerned about using
bleeding edge releases in my production environment.  The feature
described below is brilliant, but I'd like to see it in action for a
while before I stake my job on it.

Are there any other strategies for grouping data in JSF?

Example:
 Category 1
 Contract_Number, Contract_Description
 Contract_Number, Contract_Description

 Category 2
 Contract_Number, Contract_Description
 ...etc...

-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 10, 2006 3:21 PM
To: MyFaces Discussion
Subject: Re: How to extend datatable to accomodate grouping

You might take a look at this feature.  It was added yesterday so you'll
have to grab the source from svn and build myfaces yourself (which is
easy to do now that we've switched to maven).

http://issues.apache.org/jira/browse/MYFACES-1064?page=all

On 2/10/06, James Reynolds <[EMAIL PROTECTED]> wrote:
>
> I have a jsp page I want to convert to jsf.  Currently, it uses 
> scriptlets with for-loops to display a table of contracts grouped by 
> category like this:
>
> Category 1
> Contract_Number, Contract_Description, etc Contract_Number, 
> Contract_Description, etc
>
> Category 2
> Contract_Number, Contract_Description, etc ...
>
> Conversion to a datatable would be simple enough, except I can't 
> imagine how to handle the grouping.  Based on my searches, it appears 
> that nesting datatables is out.  Can anyone recommend an approach to 
> accomplishing this?
>
>



use of Oracle adf components with tomahaw components

2006-02-13 Thread Henri Delbrouck








Hello,

 

I am using the Myfaces 1.1.0 implementation. I use
jsp pages with tomahawk components. 

 

I would like to know if it is possible to use the
Oracle adf faces with the Tomahawk components i.e. to use on the same page tomahawk
tags and adf tags (using the jars downloaded from Oracle site).

 

I use Tomcat 5.0.28.

 

Thanks for any advice

 

Henri-Philippe Delbrouck

 








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 13/02/2006
 


Re: SUN RI and nightly build error: ExtensionsPhaseListener problem ?

2006-02-13 Thread Martin Marinschek
Well, put it under preferred treatment for contributors ;)

regards,

Martin

On 2/13/06, Claudio Tasso <[EMAIL PROTECTED]> wrote:
> Thank you very much, now it works.
> You saved me! :-)
>
> Martin Marinschek ha scritto:
>
> >Hi Claudio,
> >
> >just fixed that with a quick-fix. It's only a hack right now, but it
> >should make it possible for you to work on.
> >
> >regards,
> >
> >Martin
> >
> >On 2/12/06, Claudio Tasso <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi,
> >>I just upgraded my application to the latest Tomahawk nightly build and
> >>when the application starts the following error appears:
> >>
> >>java.lang.NullPointerException: Argument Error: ResponseWriter argument
> >>is null.
> >>at
> >>com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:269)
> >>at
> >>org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:112)
> >>at
> >>org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:61)
> >>at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
> >>at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> >>at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> >>
> >>I've not yet investigated the cause of this, but it seems to be a bug or
> >>an incompatibility.
> >>Please, help me!
> >>
> >>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: SUN RI and nightly build error: ExtensionsPhaseListener problem ?

2006-02-13 Thread Claudio Tasso

Thank you very much, now it works.
You saved me! :-)

Martin Marinschek ha scritto:


Hi Claudio,

just fixed that with a quick-fix. It's only a hack right now, but it
should make it possible for you to work on.

regards,

Martin

On 2/12/06, Claudio Tasso <[EMAIL PROTECTED]> wrote:
 


Hi,
I just upgraded my application to the latest Tomahawk nightly build and
when the application starts the following error appears:

java.lang.NullPointerException: Argument Error: ResponseWriter argument
is null.
at
com.sun.faces.context.FacesContextImpl.setResponseWriter(FacesContextImpl.java:269)
at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:112)
at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:61)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)

I've not yet investigated the cause of this, but it seems to be a bug or
an incompatibility.
Please, help me!
   



Re: [other]Borland want to sell its IDE products.....

2006-02-13 Thread Werner Punz

Up until recently, the bugs... but things are changing.
WTP will become a solid foundation in the near future.
Btw. is 1.0.1 out already?



James Mitchell schrieb:

What's wrong with using Eclipse WTP?  Works great for me.


--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx



On Feb 10, 2006, at 5:51 AM, Jonathan Harley wrote:


Sean Schofield wrote:

MyEclipse is a commercial IDE built on Eclipse right?  I'm curious to
know a fellow developer's opinion on what some of the improvements
over free Eclipse are ...


They just provide a huge number of Eclipse plugins for you. Having 
someone

else do testing and provide stable, integrated plugins saves you from the
plugin hell most Eclipse users that I've worked with seem to live in.

MyEclipse has a 1 month free trial, which I took up last year. But after
a month I found it didn't do anything that I wanted that NetBeans can't
do, and NetBeans is free so I settled on that.

BTW, NetBeans 5 is now out and it's noticeably faster at things like
auto-suggest than any other IDE I've tried.

Jon
--.
  Dr Jonathan Harley   .
   .   Email: [EMAIL PROTECTED]
   Zac Parkplatz Ltd   .   Office Telephone: 024 7633 1375
   www.parkplatz.net   .   Mobile: 079 4116 0423







help! commandSortHeader does not work

2006-02-13 Thread Anu Padki
I am using the dataScroller and CommandSortHeader in the same jsp.
The scrtoller works fine, however, when I click on the column Name, nothing happens.
In fact the page navigates back to the home page.
When you place the cursor on the column name, it dsiaplyes the home URL/#.
Any thoughts, inoputs, greatly appreciated.
- Anu



Re: Scrollable ResultSet being passed to Tobago Sheet - errors as 'Forward Only'

2006-02-13 Thread Volker Weber
Hi,

tobago did not access the resultSet directly, so the problem must be
somewhere deeper. Did you use myfaces or RI impl?
Can you check it the ResultSet works with plain jsf h:dataTable tag?
Please post the stackTrace.

Regards,
  Volker

John wrote:
> Using HSQLdb
> Verified with HsqlDb team that my syntax is correct for creating a
> scrollable ResultSet
> When I pass this Result Set to a Tobago sheet, I get an exception from
> Tobago saying that it is a Forward Only cursor
>  
> John

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.


Scrollable ResultSet being passed to Tobago Sheet - errors as 'Forward Only'

2006-02-13 Thread John



Using 
HSQLdb
Verified with HsqlDb 
team that my syntax is correct for creating a scrollable 
ResultSet
When I pass this 
Result Set to a Tobago sheet, I get an exception from Tobago saying that it is a 
Forward Only cursor 
 
John


Re: AW: AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Matthias Wessendorf
> ...
> if (HEADER_BEGIN.equals(position))
> {
> //todo: fix this to work in PortletRequest as well
> HttpServletRequest request = (HttpServletRequest) 
> context.getExternalContext()
> .getRequest();
> ...

In MyFaces there is the PortletUtil.isPortletRequest(FacesContext). It
should be easy to use this clazz for doing some portlet stuff...

I moved to PortletUtil clazz to "commons" project to be able to work
on stuff like that.
Are you interested in gettin' involved ?

-Matthias


AW: AW: AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Luo. Haihua
Hi,

by chance I have found this comment in the DefaultAddResource.java (Line 591):

...
if (HEADER_BEGIN.equals(position))
{
//todo: fix this to work in PortletRequest as well
HttpServletRequest request = (HttpServletRequest) 
context.getExternalContext()
.getRequest();
...

So there should be one of the important places to support Portlet. I guess 
there should be some corresponding place where the response is called, after 
invoking the suggested method. The error should happen there.

Regards,

Haihua


-Ursprüngliche Nachricht-
Von: Volker Weber [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 13. Februar 2006 12:07
An: MyFaces Discussion
Betreff: Re: AW: AW: AW: AW: AW: integration problem with  
and portlet

Hi,

add


  


i think the categorys "org.jboss.*" are not of interest here.

But if your suggest method is invoked the listener seems working, but
the encodeAjax of inputSuggestAjaxrenderer did not output " Hihi,
> 
> I have modified the log4j.xml in following lines:  
> **
> ...
>   
>  <<--modified here
>   
> ...
> **
> I think that is what you meant, isn't it?
> 
> Then followings are the outputs. It seems that all are related with Pluto 
> (portlet container) only. (The last two lines are the output of my suggest 
> method. So does it mean that the Ajax decode stuffs were not invoked?
> 
> Regards,
> 
> Haihua
> 
> **
> 11:32:36,616 INFO  [JBossTrigger] [:handleNotification]Done
> 11:32:40,445 INFO  [Engine] StandardContext[/pluto]ServiceManager: Loading 
> services...
> 11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService 
> initializing...
> 11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService done.
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService initializing...
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService done.
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]FactoryManagerService 
> initializing...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]FactoryManager: Loading 
> factories...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory 
> initializing...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory done.
> 11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig 
> initializing...
> 11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig done.
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL initializing...
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL done.
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
> initializing...
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
> done.
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse 
> initializing...
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse done.
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper 
> initializing...
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper done.
> 11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse 
> initializing...
> 11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse done.
> 11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse 
> initializing...
> 11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory done.
> 11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences 
> initializing...
> 11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences done.
> 11:32:40,616 INFO  [Engine] StandardContext[/pluto]ActionRequest 
> initializing...
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]ActionRequest done.
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext 
> initializing...
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext done.
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker 
> initializing...
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker done.
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]RenderRequest 
> initializing...
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]RenderRequest done.
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession 
> initializing...
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession done.
> 11:32:40,679 INFO  [Engine] StandardContext[/pluto]InformationProviderFactory 
> initializing...
> 11:32:40,679 INFO  [Engine] S

Re: Is there a Path component in JSF

2006-02-13 Thread Matthias Wessendorf
You may look at Tomahawks' stylesheet component.

It adds "FacesContext.getExternalContext().getRequestContextPath()" to
the path attribute value

HTH,
Matthias

On 2/13/06, Yee CN <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
>
>
> Is there a JSF component for base path? I like to achieve the equivalence of
> the following:
>
>
>
> <% String basePath = request.getScheme() + "://" + request.getServerName() +
>
> ":" + request.getServerPort() + request.getContextPath() + "/";%>
>
>
>
>type="text/css" />
>
>
>
> I am migrating to facelets and I need to find an equivalent to the above as
> relative path won't work because JSF navigation leaves the URL one step
> behind the actual URL.
>
>
>
> Or is there an alternate to this?
>
>
>
>
>
> Many thanks in advance,
>
>
>
> Best Regards,
>
> Yee


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com


Is there a Path component in JSF

2006-02-13 Thread Yee CN








Hi, 

 

Is there a JSF component for base path? I like
to achieve the equivalence of the following:

 

<% String basePath = request.getScheme() + "://" + request.getServerName() + 

":" + request.getServerPort() + request.getContextPath()
+ "/";%>

 

  

 

I am migrating to facelets and I need to find an equivalent to
the above as relative path won’t work because JSF navigation leaves the
URL one step behind the actual URL.

 

Or is there an alternate to this?

 

 

Many thanks in advance,

 

Best Regards,

Yee








AW: MyFaces context parameters

2006-02-13 Thread Matthias Kahlau
> von Matthias Wessendorf
> Gesendet: Montag, 13. Februar 2006 17:25
> An: MyFaces Discussion
> Betreff: Re: MyFaces context parameters
>
>
> Hi Matthias,
>
> not all of your mentioned parameters are MyFaces specific params.
>
> > 
> > javax.faces.STATE_SAVING_METHOD
> > server
> > 
>
> this guy is defined in jsf spec. it is the default value for storing
> the state of your faces app. Using "client" is also possible. Now
> MyFaces (also the RI) are storing the *state* inside of a hidden input
> field.
>
> I just added some JavaDoc to JspStateManagerImpl clazz to explain some
> parameters.
>
> Also, as Boris mentioned the web.xml for the *simple* web application
> demo explains all of the context parameters
>

Many thanks, I will have a look at the web.xml.

> HTH,
> Matthias

Regards,

Matthias

> > 
> >
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
> > 20
> > 
> >
> > 
> >
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
> > true
> > 
> >
> > 
> >
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION
> > true
> > 
> >
> > 
> > org.apache.myfaces.ALLOW_JAVASCRIPT
> > false
> > 
> >
> > 
> > org.apache.myfaces.DETECT_JAVASCRIPT
> > false
> > 
> >
> > 
> > org.apache.myfaces.PRETTY_HTML
> > true
> > 
> >
> > 
> > org.apache.myfaces.AUTO_SCROLL
> > true
> > 
> >
> >
> >
> > Regards,
> >
> > Matthias
> >
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com



Re: MyFaces context parameters

2006-02-13 Thread Matthias Wessendorf
Hi Matthias,

not all of your mentioned parameters are MyFaces specific params.

> 
> javax.faces.STATE_SAVING_METHOD
> server
> 

this guy is defined in jsf spec. it is the default value for storing
the state of your faces app. Using "client" is also possible. Now
MyFaces (also the RI) are storing the *state* inside of a hidden input
field.

I just added some JavaDoc to JspStateManagerImpl clazz to explain some
parameters.

Also, as Boris mentioned the web.xml for the *simple* web application
demo explains all of the context parameters

HTH,
Matthias

> 
> org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
> 20
> 
>
> 
> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
> true
> 
>
> 
> org.apache.myfaces.COMPRESS_STATE_IN_SESSION
> true
> 
>
> 
> org.apache.myfaces.ALLOW_JAVASCRIPT
> false
> 
>
> 
> org.apache.myfaces.DETECT_JAVASCRIPT
> false
> 
>
> 
> org.apache.myfaces.PRETTY_HTML
> true
> 
>
> 
> org.apache.myfaces.AUTO_SCROLL
> true
> 
>
>
>
> Regards,
>
> Matthias
>
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com


RE: selectOneRadio inner components

2006-02-13 Thread Uri Kalish
Thanks Volker and Martin.
I'll give it a try...


 

-Original Message-
From: Volker Weber [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 13, 2006 5:10 PM
To: MyFaces Discussion
Subject: Re: selectOneRadio inner components

Hi,

maybe you can use layout="spread" and t:radio see:

http://wiki.apache.org/myfaces/Radio

Regards,
  Volker

Uri Kalish wrote:
> Hi,
> Motivation:
> I use selectOneRadio and try to 'associate' components to radio buttons so
> they can be enabled/disabled through the radio check/uncheck (attached
> screenshot).
> Problem:
> I can't insert any components 'between' the radio buttons. I can only
> display the radios as a vertical or horizontal line.
> 
> Any solution to this problem?
> 
> 
> 
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __
> 
> 
> 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Re: selectOneRadio inner components

2006-02-13 Thread Martin Marinschek
There is the t:radio component, which might help you with this.

see this:

http://www.irian.at/myfaces/selectbox.jsf

regards,

Martin

On 2/13/06, Uri Kalish <[EMAIL PROTECTED]> wrote:
> Hi,
> Motivation:
> I use selectOneRadio and try to 'associate' components to radio buttons so
> they can be enabled/disabled through the radio check/uncheck (attached
> screenshot).
> Problem:
> I can't insert any components 'between' the radio buttons. I can only
> display the radios as a vertical or horizontal line.
>
> Any solution to this problem?
>
>
>
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: [other]Borland want to sell its IDE products.....

2006-02-13 Thread Werner Punz
Legolas Woodland schrieb:
> I think , who will buy these stuff , All company that has money to by
> these product line has their own stuff (IBM ,BEA ,SUN ,MS,ORACLE) , is
> there any other company that has enough cash to buy those products ?
> how much those products costs ? for example how much should buyer pay to
> get Jbuilder ?
> can any one suggest , or read something some where ?
> 
> Martin van den Bemt wrote:
>>

The problem is, most of these tools get into companies by developers
using that stuff in their sparetime or by private financing (often you
have to fight for tools)
so having a tool which developers need in the 4000 dollars pricerange
means that you lose customers in the long run, because none of the devs
will start to try and use it.

Probably Borland should use another scheme, like a small devs license
and an Enterprise license, both for the same product but heavily reduced
on price for the small devs license.
Most developers neither want a 30 days eval nor do have the money to be
able to afford those tools on their private budget.



Re: selectOneRadio inner components

2006-02-13 Thread Volker Weber
Hi,

maybe you can use layout="spread" and t:radio see:

http://wiki.apache.org/myfaces/Radio

Regards,
  Volker

Uri Kalish wrote:
> Hi,
> Motivation:
> I use selectOneRadio and try to 'associate' components to radio buttons so
> they can be enabled/disabled through the radio check/uncheck (attached
> screenshot).
> Problem:
> I can't insert any components 'between' the radio buttons. I can only
> display the radios as a vertical or horizontal line.
> 
> Any solution to this problem?
> 
> 
> 
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __
> 
> 
> 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.


Re: [other]Borland want to sell its IDE products.....

2006-02-13 Thread Werner Punz
Jonathan Harley schrieb:
> Sean Schofield wrote:
>> MyEclipse is a commercial IDE built on Eclipse right?  I'm curious to
>> know a fellow developer's opinion on what some of the improvements
>> over free Eclipse are ...
> 
> They just provide a huge number of Eclipse plugins for you. Having someone
> else do testing and provide stable, integrated plugins saves you from the
> plugin hell most Eclipse users that I've worked with seem to live in.
> 
> MyEclipse has a 1 month free trial, which I took up last year. But after
> a month I found it didn't do anything that I wanted that NetBeans can't
> do, and NetBeans is free so I settled on that.
> 
> BTW, NetBeans 5 is now out and it's noticeably faster at things like
> auto-suggest than any other IDE I've tried.
> 
> Jon
Yes, and some of the plugins cannot be gotten in that quality from free
offerings.
You get good Hibernate reverse engineering, you get javascript
debugging, excellent Spring support (you simply drag a class into the
springconfig.xml, or you can map the hibernate settings directly into
the spring xml)
some of this stuff is buggy (like the javascript debugger)
but for me it simply is the additional value over the standard plugins
and that you can avoid plugin hell.



Re: [other]Borland want to sell its IDE products.....

2006-02-13 Thread Werner Punz
Jonathan Harley schrieb:
> Sean Schofield wrote:
>> MyEclipse is a commercial IDE built on Eclipse right?  I'm curious to
>> know a fellow developer's opinion on what some of the improvements
>> over free Eclipse are ...
> 
> They just provide a huge number of Eclipse plugins for you. Having someone
> else do testing and provide stable, integrated plugins saves you from the
> plugin hell most Eclipse users that I've worked with seem to live in.
> 
> MyEclipse has a 1 month free trial, which I took up last year. But after
> a month I found it didn't do anything that I wanted that NetBeans can't
> do, and NetBeans is free so I settled on that.
> 
> BTW, NetBeans 5 is now out and it's noticeably faster at things like
> auto-suggest than any other IDE I've tried.
> 
While Netbeans5 simply is great it severely lacks currently in the area
of JSF, you only
get raw jsf templates, no pageflow edit etc..
Sure you can get JSC2 which is simply great, but then you have to run an
extra IDE, and you only get the Sun components for now.

Both have their strengs and weaknesses, I have tried Netbeans
and probably if I have to do some EJB would use it in an instant.
But for now I do heavy javascript debugging, I need good Spring support
Hibernate as well, and Netbeans does not cut it in this area.




selectOneRadio inner components

2006-02-13 Thread Uri Kalish
Hi,
Motivation:
I use selectOneRadio and try to 'associate' components to radio buttons so
they can be enabled/disabled through the radio check/uncheck (attached
screenshot).
Problem:
I can't insert any components 'between' the radio buttons. I can only
display the radios as a vertical or horizontal line.

Any solution to this problem?



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__<>


Re: MyFaces context parameters

2006-02-13 Thread Boris Kovalenko

Hello!

The description is available in examples' web.xml (nightly for example)

Matthias Kahlau wrote:

Hi!

Are the following context parameters also availaible in MyFaces 1.1.1
nightly builds, or only some of them?

With respect,
Boris


Re: AW: AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Volker Weber
Hi,

add


  


i think the categorys "org.jboss.*" are not of interest here.

But if your suggest method is invoked the listener seems working, but
the encodeAjax of inputSuggestAjaxrenderer did not output " Hihi,
> 
> I have modified the log4j.xml in following lines:  
> **
> ...
>   
>  <<--modified here
>   
> ...
> **
> I think that is what you meant, isn't it?
> 
> Then followings are the outputs. It seems that all are related with Pluto 
> (portlet container) only. (The last two lines are the output of my suggest 
> method. So does it mean that the Ajax decode stuffs were not invoked?
> 
> Regards,
> 
> Haihua
> 
> **
> 11:32:36,616 INFO  [JBossTrigger] [:handleNotification]Done
> 11:32:40,445 INFO  [Engine] StandardContext[/pluto]ServiceManager: Loading 
> services...
> 11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService 
> initializing...
> 11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService done.
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService initializing...
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService done.
> 11:32:40,476 INFO  [Engine] StandardContext[/pluto]FactoryManagerService 
> initializing...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]FactoryManager: Loading 
> factories...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory 
> initializing...
> 11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory done.
> 11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig 
> initializing...
> 11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig done.
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL initializing...
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL done.
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
> initializing...
> 11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
> done.
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse 
> initializing...
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse done.
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper 
> initializing...
> 11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper done.
> 11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse 
> initializing...
> 11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse done.
> 11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse 
> initializing...
> 11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest done.
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory 
> initializing...
> 11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory done.
> 11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences 
> initializing...
> 11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences done.
> 11:32:40,616 INFO  [Engine] StandardContext[/pluto]ActionRequest 
> initializing...
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]ActionRequest done.
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext 
> initializing...
> 11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext done.
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker 
> initializing...
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker done.
> 11:32:40,648 INFO  [Engine] StandardContext[/pluto]RenderRequest 
> initializing...
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]RenderRequest done.
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession 
> initializing...
> 11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession done.
> 11:32:40,679 INFO  [Engine] StandardContext[/pluto]InformationProviderFactory 
> initializing...
> 11:32:40,679 INFO  [Engine] StandardContext[/pluto]InformationProviderFactory 
> done.
> 11:32:40,679 INFO  [Engine] StandardContext[/pluto]FactoryManager: Factories 
> initialized (18 success
> ful).
> 11:32:40,679 INFO  [Engine] StandardContext[/pluto]FactoryManagerService done.
> 11:32:40,695 INFO  [Engine] 
> StandardContext[/pluto]PortletDefinitionRegistryService initializing...
> 11:32:42,179 INFO  [Engine] 
> StandardContext[/pluto]PortletDefinitionRegistryService done.
> 11:32:42,179 INFO  [Engine] 
> StandardContext[/pluto]PortletEntityRegistryService initializing...
> 11:32:42,257 INFO  [Engine] 
> StandardContext[/pluto]PortletEntityRegistryService done.
> 11:32:42,273 INFO  [Engine] StandardContext[/pluto]PageRegistryService 
> initializing...
> 11:32:42,320 INFO  [Engine] StandardContext[/pluto

MyFaces context parameters

2006-02-13 Thread Matthias Kahlau
Hi!

Are the following context parameters also availaible in MyFaces 1.1.1
nightly builds, or only some of them?

They sound interesting, I've never heard from some of them. Is there a
description available, or can you describe them?



javax.faces.STATE_SAVING_METHOD
server



org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
20



org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
true



org.apache.myfaces.COMPRESS_STATE_IN_SESSION
true



org.apache.myfaces.ALLOW_JAVASCRIPT
false



org.apache.myfaces.DETECT_JAVASCRIPT
false



org.apache.myfaces.PRETTY_HTML
true



org.apache.myfaces.AUTO_SCROLL
true




Regards,

Matthias



AW: AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Luo. Haihua
Hihi,

I have modified the log4j.xml in following lines:  
**
...
  
 <<--modified here
  
...
**
I think that is what you meant, isn't it?

Then followings are the outputs. It seems that all are related with Pluto 
(portlet container) only. (The last two lines are the output of my suggest 
method. So does it mean that the Ajax decode stuffs were not invoked?

Regards,

Haihua

**
11:32:36,616 INFO  [JBossTrigger] [:handleNotification]Done
11:32:40,445 INFO  [Engine] StandardContext[/pluto]ServiceManager: Loading 
services...
11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService initializing...
11:32:40,460 INFO  [Engine] StandardContext[/pluto]ConfigService done.
11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService initializing...
11:32:40,476 INFO  [Engine] StandardContext[/pluto]LogService done.
11:32:40,476 INFO  [Engine] StandardContext[/pluto]FactoryManagerService 
initializing...
11:32:40,491 INFO  [Engine] StandardContext[/pluto]FactoryManager: Loading 
factories...
11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory 
initializing...
11:32:40,491 INFO  [Engine] StandardContext[/pluto]ObjectIDFactory done.
11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig initializing...
11:32:40,507 INFO  [Engine] StandardContext[/pluto]PortletConfig done.
11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL initializing...
11:32:40,523 INFO  [Engine] StandardContext[/pluto]PortletURL done.
11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
initializing...
11:32:40,523 INFO  [Engine] StandardContext[/pluto]DynamicTitleServiceFactory 
done.
11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse 
initializing...
11:32:40,538 INFO  [Engine] StandardContext[/pluto]HttpServletResponse done.
11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper 
initializing...
11:32:40,538 INFO  [Engine] StandardContext[/pluto]NamespaceMapper done.
11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse 
initializing...
11:32:40,554 INFO  [Engine] StandardContext[/pluto]ActionResponse done.
11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse 
initializing...
11:32:40,570 INFO  [Engine] StandardContext[/pluto]RenderResponse done.
11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext initializing...
11:32:40,585 INFO  [Engine] StandardContext[/pluto]PortalContext done.
11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest 
initializing...
11:32:40,585 INFO  [Engine] StandardContext[/pluto]HttpServletRequest done.
11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory 
initializing...
11:32:40,585 INFO  [Engine] StandardContext[/pluto]ControllerFactory done.
11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences 
initializing...
11:32:40,601 INFO  [Engine] StandardContext[/pluto]PortletPreferences done.
11:32:40,616 INFO  [Engine] StandardContext[/pluto]ActionRequest initializing...
11:32:40,632 INFO  [Engine] StandardContext[/pluto]ActionRequest done.
11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext 
initializing...
11:32:40,632 INFO  [Engine] StandardContext[/pluto]PortletContext done.
11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker 
initializing...
11:32:40,648 INFO  [Engine] StandardContext[/pluto]PortletInvoker done.
11:32:40,648 INFO  [Engine] StandardContext[/pluto]RenderRequest initializing...
11:32:40,663 INFO  [Engine] StandardContext[/pluto]RenderRequest done.
11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession 
initializing...
11:32:40,663 INFO  [Engine] StandardContext[/pluto]PortletSession done.
11:32:40,679 INFO  [Engine] StandardContext[/pluto]InformationProviderFactory 
initializing...
11:32:40,679 INFO  [Engine] StandardContext[/pluto]InformationProviderFactory 
done.
11:32:40,679 INFO  [Engine] StandardContext[/pluto]FactoryManager: Factories 
initialized (18 success
ful).
11:32:40,679 INFO  [Engine] StandardContext[/pluto]FactoryManagerService done.
11:32:40,695 INFO  [Engine] 
StandardContext[/pluto]PortletDefinitionRegistryService initializing...
11:32:42,179 INFO  [Engine] 
StandardContext[/pluto]PortletDefinitionRegistryService done.
11:32:42,179 INFO  [Engine] StandardContext[/pluto]PortletEntityRegistryService 
initializing...
11:32:42,257 INFO  [Engine] StandardContext[/pluto]PortletEntityRegistryService 
done.
11:32:42,273 INFO  [Engine] StandardContext[/pluto]PageRegistryService 
initializing...
11:32:42,320 INFO  [Engine] StandardContext[/pluto]PageRegistryService done.
11:32:42,320 INFO  [Engine] StandardContext[/pluto]ServiceManager: Services 
initialized (6/6 success
ful).
11:32:42,648 WARN  [LocaleUtils] Locale name in faces-config.xml null or empty, 
setting locale to de
fault locale : zh_CN

11:34:20,101 INFO  [STDOUT] suggest processQname: AMHotfolderDecide
11:34:20,101 INFO  [STDOUT] suggest processQname: AMFtpDecide

**



-Ursprüngliche

Form submit problem on IE only

2006-02-13 Thread Catalin Kormos
Hi,I have this simple page:      xmlns:ui="http://java.sun.com/jsf/facelets"       xmlns:h="http://java.sun.com/jsf/html"       xmlns:f="http://java.sun.com/jsf/core"       xmlns:t="http://myfaces.apache.org/tomahawk">                                                        
                              action=""/>                             The action is invoked on IE only if i press the submit button, if the focus is on the input field and i hit enter, it just refreshes the page but no action is invoked. I tested this with Firefox, and there everything works as expected.Any of you know what might be the problem?Thanks in advance,Catalin
		  
What are the most popular cars? Find out at Yahoo! Autos 


Re: AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Volker Weber
Hiu,

Luo. Haihua wrote:
> Hihi,
> 
> it seems sth. Interesting: the alert function returns the whole html page 
> text instead of the inner ul text!

this is the case when the request is not handled by the
AjaxDecodePhaseListener, or the listener did not find a requestParameter
"affectedAjaxComponent". you can set log level to debug to see if the
listener is invoked.

Regards,
  Volker

> 
> So is that the problem when generating response text with MyFaces? Or portlet?
> 
> Regards,
> 
> Haihua
> 
> -Ursprüngliche Nachricht-
> Von: Volker Weber [mailto:[EMAIL PROTECTED] 
> Gesendet: Freitag, 10. Februar 2006 17:09
> An: MyFaces Discussion
> Betreff: Re: AW: AW: AW: integration problem with  and 
> portlet
> 
> Hi,
> 
> you can add a "alert(request.responseText)" on top of onComplete
> function in myFaces.js to see what the server respond. This breaks the
> function, because of focus lost in input, but you see what you get from
> server.
> 
> if this is not "..." there is somthing wrong, and will not
> displayed, this is just what i observed when testing, i haven't looked
> deeper to see why.
> 
> Regards,
>   Volker
> 
> Luo. Haihua wrote:
> 
>>Hihi Volker,
>>
>>I have checked out all the sources from the myfaces-current in svn and 
>>finally found out all the necessary js...
>>
>>With your files all javascript errors were gone! (Really a right way further! 
>>:)) But then it does not list the suggestions at all without any error report 
>>both in front end and back end, although the suggestion method defined in my 
>>bean has already been called. 
>>
>>After somehow source code debug, I have found that the buffer defined in 
>>InputSuggestAjaxRenderer.class (Line 263) has already got what I wish to list 
>>until here:
>>
>>buf.append("");
>>
>>context.getResponseWriter().write(buf.toString());
>>
>>
>>Then where will it be sent? How can I access the generated buffer? Really 
>>stuck...:(
>>
>>Cheers,
>>
>>Haihua
>>
>>
>>
>>
>>-Ursprüngliche Nachricht-
>>Von: Volker Weber [mailto:[EMAIL PROTECTED] 
>>Gesendet: Freitag, 10. Februar 2006 12:27
>>An: MyFaces Discussion
>>Betreff: Re: AW: AW: integration problem with  and portlet
>>
>>Hi Haihua,
>>
>>no i haven't modified other files.
>>
>>in svn is version 1.5 of script.aculo.us files, from whre controls.js came.
>>
>>in version 1.4 (which was in myfaces until 22-dec-2005) the function was
>>called "base_initialize", since 1.5 it is renamed to "baseInitialize".
>>
>>seems your sources are outdated, please update to svn head for testing
>>this patch.
>>
>>I you haven't updated since maven-reorg you may need to do a clean
>>checkout, see:
>>http://wiki.apache.org/myfaces/Building_With_Maven
>>
>>Regards,
>>  Volker
>>
>>Luo. Haihua wrote:
>>
>>
>>>Hi Volker,
>>>
>>>have you also modified the other js files? It says here that the js function 
>>>"baseInitialize" cannot be found. 
>>>
>>>I have checked your js file: In your file there is a function called  
>>>"baseInitialize", while in my control.js it is called "base_initialize". 
>>>
>>>So maybe there is a new update of control.js? However, I could not find it 
>>>in svn...:(
>>>
>>>Kindest regards,
>>>
>>>Haihua
>>>
>>>-Ursprüngliche Nachricht-
>>>Von: Volker Weber [mailto:[EMAIL PROTECTED] 
>>>Gesendet: Donnerstag, 9. Februar 2006 19:54
>>>An: MyFaces Discussion
>>>Betreff: Re: AW: integration problem with  and portlet
>>>
>>>Hi,
>>>
>>>yes this and related changes in myFaces.js was my first idea, but this
>>>did not work right.
>>>I added a additional field to the options.
>>>
>>>Seems you have the sources? please try the attached files, it works on
>>>my tomcat, but i can't test on a portlet.
>>>
>>>If this works i can commit this into svn.
>>>
>>>Regards,
>>> Volker
>>>
>>>PS: please rename myFaces.js-xxx as myFaces.js, js files are blocked
>>
>>>from my firewall.
>>
>>>Luo. Haihua wrote:
>>>
>>>
>>>
Hi Volker,

thanks for ur always warm-hearted reply!:)

Do you mean sth. like this in InputSuggestAjaxRenderer.java?

  out.writeText("', {\n" +
  "  method:   'post',\n" +
...
  "  parameters: 'affectedAjaxComponent=" + clientId + 
 "',\n" +
...

It seems that it still not work...

Cheers,

Haihua



-Ursprüngliche Nachricht-
Von: Volker Weber [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 9. Februar 2006 11:50
An: MyFaces Discussion
Betreff: Re: integration problem with  and portlet

Hi,

i think this can be solved by adding the parameters as post parameter to
the options, instead of empty.

I will give it a try this afternoon (german time).

Regards,
Volker

Luo. Haihua wrote:




>Hi dear all,
>
>
>
>I am using portlet and want to insert a tag  into
>one of my .jsp page. However, it doesn't work due to a javascript erro

RE: Tree Jasper Problem

2006-02-13 Thread Kalev Noor
With that mail you should provide code samples that is working alone and
code sample with what it is not working. People have to have material to
solve the problem.

Kalev




AW: AW: AW: AW: integration problem with and portlet

2006-02-13 Thread Luo. Haihua
Hihi,

it seems sth. Interesting: the alert function returns the whole html page text 
instead of the inner ul text!

So is that the problem when generating response text with MyFaces? Or portlet?

Regards,

Haihua

-Ursprüngliche Nachricht-
Von: Volker Weber [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 10. Februar 2006 17:09
An: MyFaces Discussion
Betreff: Re: AW: AW: AW: integration problem with  and 
portlet

Hi,

you can add a "alert(request.responseText)" on top of onComplete
function in myFaces.js to see what the server respond. This breaks the
function, because of focus lost in input, but you see what you get from
server.

if this is not "..." there is somthing wrong, and will not
displayed, this is just what i observed when testing, i haven't looked
deeper to see why.

Regards,
  Volker

Luo. Haihua wrote:
> Hihi Volker,
> 
> I have checked out all the sources from the myfaces-current in svn and 
> finally found out all the necessary js...
> 
> With your files all javascript errors were gone! (Really a right way further! 
> :)) But then it does not list the suggestions at all without any error report 
> both in front end and back end, although the suggestion method defined in my 
> bean has already been called. 
> 
> After somehow source code debug, I have found that the buffer defined in 
> InputSuggestAjaxRenderer.class (Line 263) has already got what I wish to list 
> until here:
> 
> buf.append("");
> 
> context.getResponseWriter().write(buf.toString());
> 
> 
> Then where will it be sent? How can I access the generated buffer? Really 
> stuck...:(
> 
> Cheers,
> 
> Haihua
> 
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Volker Weber [mailto:[EMAIL PROTECTED] 
> Gesendet: Freitag, 10. Februar 2006 12:27
> An: MyFaces Discussion
> Betreff: Re: AW: AW: integration problem with  and portlet
> 
> Hi Haihua,
> 
> no i haven't modified other files.
> 
> in svn is version 1.5 of script.aculo.us files, from whre controls.js came.
> 
> in version 1.4 (which was in myfaces until 22-dec-2005) the function was
> called "base_initialize", since 1.5 it is renamed to "baseInitialize".
> 
> seems your sources are outdated, please update to svn head for testing
> this patch.
> 
> I you haven't updated since maven-reorg you may need to do a clean
> checkout, see:
> http://wiki.apache.org/myfaces/Building_With_Maven
> 
> Regards,
>   Volker
> 
> Luo. Haihua wrote:
> 
>>Hi Volker,
>>
>>have you also modified the other js files? It says here that the js function 
>>"baseInitialize" cannot be found. 
>>
>>I have checked your js file: In your file there is a function called  
>>"baseInitialize", while in my control.js it is called "base_initialize". 
>>
>>So maybe there is a new update of control.js? However, I could not find it in 
>>svn...:(
>>
>>Kindest regards,
>>
>>Haihua
>>
>>-Ursprüngliche Nachricht-
>>Von: Volker Weber [mailto:[EMAIL PROTECTED] 
>>Gesendet: Donnerstag, 9. Februar 2006 19:54
>>An: MyFaces Discussion
>>Betreff: Re: AW: integration problem with  and portlet
>>
>>Hi,
>>
>>yes this and related changes in myFaces.js was my first idea, but this
>>did not work right.
>>I added a additional field to the options.
>>
>>Seems you have the sources? please try the attached files, it works on
>>my tomcat, but i can't test on a portlet.
>>
>>If this works i can commit this into svn.
>>
>>Regards,
>>  Volker
>>
>>PS: please rename myFaces.js-xxx as myFaces.js, js files are blocked
>>from my firewall.
>>
>>Luo. Haihua wrote:
>>
>>
>>>Hi Volker,
>>>
>>>thanks for ur always warm-hearted reply!:)
>>>
>>>Do you mean sth. like this in InputSuggestAjaxRenderer.java?
>>>
>>>   out.writeText("', {\n" +
>>>   "  method:   'post',\n" +
>>>...
>>>   "  parameters: 'affectedAjaxComponent=" + clientId + 
>>> "',\n" +
>>>...
>>>
>>>It seems that it still not work...
>>>
>>>Cheers,
>>>
>>>Haihua
>>>
>>>
>>>
>>>-Ursprüngliche Nachricht-
>>>Von: Volker Weber [mailto:[EMAIL PROTECTED] 
>>>Gesendet: Donnerstag, 9. Februar 2006 11:50
>>>An: MyFaces Discussion
>>>Betreff: Re: integration problem with  and portlet
>>>
>>>Hi,
>>>
>>>i think this can be solved by adding the parameters as post parameter to
>>>the options, instead of empty.
>>>
>>>I will give it a try this afternoon (german time).
>>>
>>>Regards,
>>> Volker
>>>
>>>Luo. Haihua wrote:
>>>
>>>
>>>
Hi dear all,



I am using portlet and want to insert a tag  into
one of my .jsp page. However, it doesn't work due to a javascript error
"element.getClassName has no properties" in firefox.



I have read the generated html file, even jumped deeply into the source
codes of myfaces and found following problem:



Within the generated html page, myfaces generates following javascript
codes for inputSuggestAjax: