Re: Dojo integration (was "Re: 'Simulating' commandLink from Javascript'")

2006-02-02 Thread Martin Marinschek
Our final goal is to get rid of prototype and use dojo instead as our
base-library for AJAX.

So we want to further AJAXify our component set with the help of dojo,
and replace the existing implementations with dojo-functionality.

The problem with prototype is lacking namespacing...

regards,

Martin

On 2/3/06, Rogers Reilly <[EMAIL PROTECTED]> wrote:
> Laurie Harper wrote:
>
> > Hmm, OK, thanks; that makes sense. So, it's either time to start
> > wrapping Dojo widgets with JSF components, or time to learn about
> > Shale's remoting features ;-)
>
> Picking up on this- I'm just about to refactor two Dojo/JSP projects
> (one work, one personal) into Dojo/Shale/JSF/Hibernate projects, and
> this sliver of the stack is exactly what I'm wrestling with.  My first
> thought was to define a relatively narrow Dojo interface for thick
> client-side stuff (letting MyFaces do simple stuff like autocompletes),
> keeping the server fairly decoupled, but now I'm wondering if they can
> be wired more tightly.
>
> Somebody posted on the Dojo mailing list about weaving Dojo libraries
> into MyFaces ... it wasn't clear (to me, at least) whether this was just
> for the purpose of using it for behind-the-scenes utility functions, or
> for AJAX-ifying current JSF components, or for wrapping Dojo widgets as
> Laurie mentioned.  Does anyone know where MyFaces is going in this
> regard?  I expect at first I'll be doing a lot of hand-wired Shale
> remoting in widgets, but it'd be great to have some idea of where to
> expect "help" in the future.
>
> -Rogers
>


--

http://www.irian.at

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

Professional Support for Apache MyFaces


Working with large tables

2006-02-02 Thread Michael Huber
Hi,

I am trying to implement the example from the myfaces wiki "Working with large 
tables" http://wiki.apache.org/myfaces/WorkingWithLargeTables

The problem is, I really don't know, what the jsp has to look like.
Can somebody help me? The wiki says, the jsp pages are then trivial, but I am 
trying to get this working for a week now...

Thanks in advance
Michael


Re: problems using panelnavigation2

2006-02-02 Thread Marko Huebler
Hi,

no, but I found another posting where you proposed to use the forceID flags.
With this solution it works (menu is rendered correct). The reason for the
wrong placement of the text was my lack of html knowledge... ;-)

Thanks & regards,
Marko
 
> Did you try one of the latest nightly builds? Panelnavigation2 was
> buggy in MyFaces 1.1.1.
> You can download the nightly builds from
> http://cvs.apache.org/builds/myfaces/nightly/
> 
> Cheers
> Thomas
> 
> On 2/2/06, Marko Huebler <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've already tried this: In this case the text is rendered on the
> correct
> > position but the panelnavigatoin2 looses all its css-styles. Only
> ordinary
> > html links are displayed. Is there a reason for that?
> >
> > Thanks & regards,
> > Marko
> >
> >
> > > You must surround the include with a f:subview.
> > >
> > > regards
> > > Thomas
> > >
> > > On 2/1/06, Marko Huebler <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I have some problems using the t:panelnavigation tag:
> > > >
> > > > In the jsp below a file is included which contains a
> panelnavigation2
> > > menu.
> > > > The strange thing is, that the "" is
> > > rendered
> > > > BEFORE the menu. The file menu.jsp does not contain any html, body,
> view
> > > or
> > > > subview tags. Is there a reason for that?
> > > > If I nest the "<[EMAIL PROTECTED] file="menu.jsp" %>" in a subview tag, 
> > > > the
> > > output
> > > > is rendered in the correct order - but - the panelnavigation2 menu
> > > looses
> > > > all the styles (only ordinary html links remain...). So, is it not
> > > possible
> > > > to have a panelnavigation2 menu in a subview?
> > > > Some hints would be nice...
> > > >
> > > > Thanks & regards,
> > > > Marko
> > > >
> > > > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> > > > <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> > > > <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
> > > >
> > > > 
> > > > <[EMAIL PROTECTED] file="inc/head.inc"%>
> > > > 
> > > > 
> > > > <[EMAIL PROTECTED] file="menu.jsp" %>
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > >
> > >
> > > --
> > > 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
> 


Panel Grid custom component

2006-02-02 Thread Ali Raza
Greetings again,Instead of adding components by rendering the htl myself i am adding chilid components and calling their encode methods as following:public void encodeBegin( FacesContext context )    {
    try    {    ResponseWriter writer = context.getResponseWriter();    writer.writeComment("* THIS IS THE START OF COMPONENT **");
        HtmlPanelGrid panelGrid = new HtmlPanelGrid();    panelGrid.setColumns(2);    panelGrid.encodeChildren(context);        addComponentBegin(context, "panelGridId", this, panelGrid);
    addComponentEnd(context, panelGrid);        UIOutput labelName = new UIOutput();    labelName.setValue("Enter name: ");    addComponentBegin(context, "nameId", panelGrid, labelName);
    addComponentEnd(context, labelName);        UIInput inputName = new UIInput();    addComponentBegin(context, "inputNameId", panelGrid, inputName);    addComponentEnd(context, inputName);
        UIOutput labelAge = new UIOutput();    labelAge.setValue("Enter age: ");    addComponentBegin(context, "ageId", panelGrid, labelAge);    addComponentEnd(context, labelAge);
        UIInput inputAge = new UIInput();    addComponentBegin(context, "inputAgeId", panelGrid, inputAge);      addComponentEnd(context, inputAge);    
                writer.writeComment("* THIS IS THE END OF COMPONENT **");    }
    catch( IOException e )    {    }    }          public static void addComponentBegin( FacesContext context, String componentId, UIComponent parentComponent, UIComponent childComponent ) throws IOException
    {    if( componentId != null )    {    childComponent.setId( componentId );    }        childComponent.setParent( parentComponent );    childComponent.encodeBegin
( context );    }        public static void addComponentEnd( FacesContext context, UIComponent childComponent ) throws IOException    {    childComponent.encodeEnd( context );    }
My problem is that the layout of the panel grid (2 columns) that i have added is not maintained and all encoded children get rendered ina straight line quite like flowlayout in swing. can i use column wise layout without having to encode the html myself ???
Thanx a lot,Ali-- "A sixteenth century inventor called Wan Hu designed a rocket-propelled chair on which he planned to ascend into heaven. He built an open cabin, to which he fitted 47 rockets underneath and above, and two kites to keep him aloft. Wan Hu disappeared in flame and smoke and was never seen again. A crater on the moon is now named after him, so in one sense he made it to the heavens after all. This is the first recorded design of something approximating to a manned space rocket."
The Chinese Space Programme.From Conception to Future Capabilities.Brian Harvey


Re: ajax

2006-02-02 Thread Matthias Wessendorf
http://java.sun.com/blueprints/ajax.html

MyFaces' Sandbox also contains ajax components

-Matthias

On 2/3/06, Dave <[EMAIL PROTECTED]> wrote:
> I ggled, but did not find good links about Ajax. can someone recommend
> article/tutorials to start with?  I like to use Ajax with JSF.
>
> website for ajaxanywhere?  ajaxanywhere.com/org does not work.
>
> Thanks.
>
>  
> Brings words and photos together (easily) with
>  PhotoMail - it's free and works with Yahoo! Mail.
>
>


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


RE: JSCookMenu not rendering on first entry to JSF [SEC=UNCLASSIFIED]

2006-02-02 Thread Haesler, Paul
No, this is in the "current release": 1.1.1 

Paul Haesler

Consultant
Dialog IT
Canberra Office
[EMAIL PROTECTED]
DEH: (02) 6274 2627
Dialog: (02) 6209 2600
Mobile: 0405 070136

-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED] 
Sent: Friday, 3 February 2006 4:38 PM
To: MyFaces Discussion
Subject: Re: JSCookMenu not rendering on first entry to JSF
[SEC=UNCLASSIFIED]

Are you using a nightly build?  I saw something similar to this w/ one
of the other controls but haven't had the time to look into it.

Dennis Byrne

>-Original Message-
>From: Haesler, Paul [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 11:00 PM
>To: users@myfaces.apache.org
>Subject: JSCookMenu not rendering on first entry to JSF 
>[SEC=UNCLASSIFIED]
>
>Hi all,
>
>I have a JSCookMenu providing a common navigation menu to all pages in 
>an application, declared statically (as in the example
>code) in a header.inc that is included in all JSP pages.
>
>Now, I first enter the application via a non-JSF index.jsp that 
>redirects to the first JSF page.  When the application arrives at a JSF

>page from a non-JSF page via redirection (nonfaces->faces), the 
>JSCookMenu is not rendered.  If I enter a JSF page from another JSF 
>page via a navigation rule (faces->faces), the JSCookMenu is rendered.
>
>Looking at the output html, the problem is obvious.  In the
>nonfaces->faces (not working) case the html looks like this:
>
>
>
>
>...
>
>
>
>
>
>
>In the faces->faces (working) case, the html looks this:
>
>
>
>
>...
>
>...
>...
>...
>
>
>
>
>The actual definition of the menu as a nested array is rendered 
>correctly in all cases.  But in the nonfaces->faces case, the required 
>JSCookMenu javascript scripts are not being written to the html head!!

>Consequently the menu is not displayed.
>
>Is this a bug in the JSCookMenu renderer?  Is there a fix in SVN, 
>and/or is there a simple workaround?
>
>Paul Haesler
>
>Consultant
>Dialog IT
>Canberra Office
>[EMAIL PROTECTED]
>DEH: (02) 6274 2627
>Dialog: (02) 6209 2600
>Mobile: 0405 070136
>




Dojo integration (was "Re: 'Simulating' commandLink from Javascript'")

2006-02-02 Thread Rogers Reilly

Laurie Harper wrote:

Hmm, OK, thanks; that makes sense. So, it's either time to start 
wrapping Dojo widgets with JSF components, or time to learn about 
Shale's remoting features ;-)


Picking up on this- I'm just about to refactor two Dojo/JSP projects 
(one work, one personal) into Dojo/Shale/JSF/Hibernate projects, and 
this sliver of the stack is exactly what I'm wrestling with.  My first 
thought was to define a relatively narrow Dojo interface for thick 
client-side stuff (letting MyFaces do simple stuff like autocompletes), 
keeping the server fairly decoupled, but now I'm wondering if they can 
be wired more tightly.


Somebody posted on the Dojo mailing list about weaving Dojo libraries 
into MyFaces ... it wasn't clear (to me, at least) whether this was just 
for the purpose of using it for behind-the-scenes utility functions, or 
for AJAX-ifying current JSF components, or for wrapping Dojo widgets as 
Laurie mentioned.  Does anyone know where MyFaces is going in this 
regard?  I expect at first I'll be doing a lot of hand-wired Shale 
remoting in widgets, but it'd be great to have some idea of where to 
expect "help" in the future.


-Rogers


Re: JSCookMenu not rendering on first entry to JSF [SEC=UNCLASSIFIED]

2006-02-02 Thread Dennis Byrne
Are you using a nightly build?  I saw something similar to this w/ one of the 
other controls but haven't had the time to look into it.

Dennis Byrne

>-Original Message-
>From: Haesler, Paul [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 11:00 PM
>To: users@myfaces.apache.org
>Subject: JSCookMenu not rendering on first entry to JSF [SEC=UNCLASSIFIED]
>
>Hi all,
>
>I have a JSCookMenu providing a common navigation menu to all 
>pages in an application, declared statically (as in the example 
>code) in a header.inc that is included in all JSP pages.
>
>Now, I first enter the application via a non-JSF index.jsp that 
>redirects to the first JSF page.  When the application arrives 
>at a JSF page from a non-JSF page via redirection (nonfaces->faces), 
>the JSCookMenu is not rendered.  If I enter a JSF page from another 
>JSF page via a navigation rule (faces->faces), the JSCookMenu is 
>rendered.
>
>Looking at the output html, the problem is obvious.  In the 
>nonfaces->faces (not working) case the html looks like this:
>
>
>
>
>...
>
>
>
>
>
>
>In the faces->faces (working) case, the html looks this:
>
>
>
>
>...
>
>...
>...
>...
>
>
>
>
>The actual definition of the menu as a nested array is rendered 
>correctly in all cases.  But in the nonfaces->faces case, the 
>required JSCookMenu javascript scripts are not being written to 
>the html head!!  Consequently the menu is not displayed.
>
>Is this a bug in the JSCookMenu renderer?  Is there a fix in 
>SVN, and/or is there a simple workaround?
>
>Paul Haesler
>
>Consultant
>Dialog IT
>Canberra Office
>[EMAIL PROTECTED]
>DEH: (02) 6274 2627
>Dialog: (02) 6209 2600
>Mobile: 0405 070136
>




JSCookMenu not rendering on first entry to JSF [SEC=UNCLASSIFIED]

2006-02-02 Thread Haesler, Paul
Hi all,

I have a JSCookMenu providing a common navigation menu to all 
pages in an application, declared statically (as in the example 
code) in a header.inc that is included in all JSP pages.

Now, I first enter the application via a non-JSF index.jsp that 
redirects to the first JSF page.  When the application arrives 
at a JSF page from a non-JSF page via redirection (nonfaces->faces), 
the JSCookMenu is not rendered.  If I enter a JSF page from another 
JSF page via a navigation rule (faces->faces), the JSCookMenu is 
rendered.

Looking at the output html, the problem is obvious.  In the 
nonfaces->faces (not working) case the html looks like this:




...






In the faces->faces (working) case, the html looks this:




...

...
...
...




The actual definition of the menu as a nested array is rendered 
correctly in all cases.  But in the nonfaces->faces case, the 
required JSCookMenu javascript scripts are not being written to 
the html head!!  Consequently the menu is not displayed.

Is this a bug in the JSCookMenu renderer?  Is there a fix in 
SVN, and/or is there a simple workaround?

Paul Haesler

Consultant
Dialog IT
Canberra Office
[EMAIL PROTECTED]
DEH: (02) 6274 2627
Dialog: (02) 6209 2600
Mobile: 0405 070136


Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Dave
you can make it even by adding empty   ;)Matthias Kahlau <[EMAIL PROTECTED]> wrote:  Hi!Is it legal to use HtmlPanelGrid with an odd amount of children? I canrecall some warnings shown in the logging output when not all possible cellsare used, but it's "only" a warning - the rendered grid looks correct.Will the warning behaviour change to legal in the future, or shouldn't I usean odd number, but use invisible fillers?Regards,Matthias
	
		 Yahoo! Mail - Helps protect you from nasty viruses.

ajax

2006-02-02 Thread Dave
I ggled, but did not find good links about Ajax. can someone recommend article/tutorials to start with?  I like to use Ajax with JSF.     website for ajaxanywhere?  ajaxanywhere.com/org does not work.     Thanks.
		Brings words and photos together (easily) with 
PhotoMail  - it's free and works with Yahoo! Mail.

How to programmatically add a table header to a HtmlPanelGrid?

2006-02-02 Thread Matthias Kahlau
Hi!


When using JSP and dataTable, I can add ...
within more than one column.

But now I want to add a table header to a HtmlPanelGrid when
programmatically creating the UI components. It seems there's no facet
component to use, and I have to use

panelGrid.getFacets().put("header", header);

This looks like only one header facet can be added. But I need to add more
facets. And I think I can't use a container component for the header
component (e.g. another HtmlPanelGrid), because the cell borders of table
header and body have to be aligned.

Do you know a solution?



Regards,

Matthias



Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Craig McClanahan
On 2/2/06, Matthias Kahlau <[EMAIL PROTECTED]> wrote:
Hi!Is it legal to use HtmlPanelGrid with an odd amount of children?
By "odd amount of children" I presume you mean a number of children
that is not evenly divisible by the value you set for the "columns"
property?

Yah, MyFaces whines about this (with a warning in the log file :-)
where the RI does not, but at least it doesn't blow up.  My
personal preference would be that there be a way to turn off the
warning, but I can see the reasoning for having one to catch
inadvertent mistakes.

Craig



Working with large tables

2006-02-02 Thread Michael Huber
Hi,

I am trying to implement the example from the myfaces wiki "Working with large 
tables" http://wiki.apache.org/myfaces/WorkingWithLargeTables

The problem is, I really don't know, what the jsp has to look like.
Can somebody help me? The wiki says, the jsp pages are then trivial, but I am 
trying to get this working for a week now...

Thanks in advance
Michael


Re: AW: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Dennis Byrne
You'll just get the warning.  I think it is safe to say the HTML will still be 
good and it would never throw an exception in any future release.

Sometime I use t:div like this in order to make it be quiet




 



Dennis Byrne

>-Original Message-
>From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 07:26 PM
>To: 'MyFaces Discussion'
>Subject: AW: Using HtmlPanelGrid with an odd amount of children?
>
>Thanks,
>
>
>and what happens if the number of children is not a "a multiple of the
>@columns attribute for that grid"?
>
>
>Regards,
>
>Matthias
>
>> -Ursprüngliche Nachricht-
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Auftrag
>> von Dennis Byrne
>> Gesendet: Freitag, 3. Februar 2006 01:16
>> An: MyFaces Discussion
>> Betreff: Re: Using HtmlPanelGrid with an odd amount of children?
>>
>>
>> Odd, even - whichever you want.  Just so much as the number of
>> children is a multiple of the @columns attribute for that grid.
>>
>> Dennis Byrne
>>
>> >-Original Message-
>> >From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
>> >Sent: Thursday, February 2, 2006 07:10 PM
>> >To: 'Users MyFaces'
>> >Subject: Using HtmlPanelGrid with an odd amount of children?
>> >
>> >Hi!
>> >
>> >
>> >Is it legal to use HtmlPanelGrid with an odd amount of children? I can
>> >recall some warnings shown in the logging output when not all
>> possible cells
>> >are used, but it's "only" a warning - the rendered grid looks correct.
>> >
>> >Will the warning behaviour change to legal in the future, or
>> shouldn't I use
>> >an odd number, but use invisible fillers?
>> >
>> >
>> >Regards,
>> >
>> >Matthias
>> >
>> >
>>
>>
>
>




Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Dennis Byrne
Thomas, are you sure :) ?  The logging for MyFaces says 

"Child count should be a multiple of the columns attribute."

I have lots of odd columned panelGrids and they don't give a warning.

Dennis Byrne

>-Original Message-
>From: Thomas Spiegl [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 07:24 PM
>To: 'MyFaces Discussion'
>Subject: Re: Using HtmlPanelGrid with an odd amount of children?
>
>The column count has to be even. Use a panelGroup for empty cells.
>
>Thomas
>
>On 2/3/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>> Odd, even - whichever you want.  Just so much as the number of children is a 
>> multiple of the @columns attribute for that grid.
>>
>> Dennis Byrne
>>
>> >-Original Message-
>> >From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
>> >Sent: Thursday, February 2, 2006 07:10 PM
>> >To: 'Users MyFaces'
>> >Subject: Using HtmlPanelGrid with an odd amount of children?
>> >
>> >Hi!
>> >
>> >
>> >Is it legal to use HtmlPanelGrid with an odd amount of children? I can
>> >recall some warnings shown in the logging output when not all possible cells
>> >are used, but it's "only" a warning - the rendered grid looks correct.
>> >
>> >Will the warning behaviour change to legal in the future, or shouldn't I use
>> >an odd number, but use invisible fillers?
>> >
>> >
>> >Regards,
>> >
>> >Matthias
>> >
>> >
>>
>>
>>
>
>
>--
>http://www.irian.at
>
>Your JSF powerhouse -
>JSF Consulting, Development and
>Courses in English and German
>
>Professional Support for Apache MyFaces
>




AW: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Matthias Kahlau
Thanks,


and what happens if the number of children is not a "a multiple of the
@columns attribute for that grid"?


Regards,

Matthias

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Dennis Byrne
> Gesendet: Freitag, 3. Februar 2006 01:16
> An: MyFaces Discussion
> Betreff: Re: Using HtmlPanelGrid with an odd amount of children?
>
>
> Odd, even - whichever you want.  Just so much as the number of
> children is a multiple of the @columns attribute for that grid.
>
> Dennis Byrne
>
> >-Original Message-
> >From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, February 2, 2006 07:10 PM
> >To: 'Users MyFaces'
> >Subject: Using HtmlPanelGrid with an odd amount of children?
> >
> >Hi!
> >
> >
> >Is it legal to use HtmlPanelGrid with an odd amount of children? I can
> >recall some warnings shown in the logging output when not all
> possible cells
> >are used, but it's "only" a warning - the rendered grid looks correct.
> >
> >Will the warning behaviour change to legal in the future, or
> shouldn't I use
> >an odd number, but use invisible fillers?
> >
> >
> >Regards,
> >
> >Matthias
> >
> >
>
>



Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Thomas Spiegl
The column count has to be even. Use a panelGroup for empty cells.

Thomas

On 2/3/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> Odd, even - whichever you want.  Just so much as the number of children is a 
> multiple of the @columns attribute for that grid.
>
> Dennis Byrne
>
> >-Original Message-
> >From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, February 2, 2006 07:10 PM
> >To: 'Users MyFaces'
> >Subject: Using HtmlPanelGrid with an odd amount of children?
> >
> >Hi!
> >
> >
> >Is it legal to use HtmlPanelGrid with an odd amount of children? I can
> >recall some warnings shown in the logging output when not all possible cells
> >are used, but it's "only" a warning - the rendered grid looks correct.
> >
> >Will the warning behaviour change to legal in the future, or shouldn't I use
> >an odd number, but use invisible fillers?
> >
> >
> >Regards,
> >
> >Matthias
> >
> >
>
>
>


--
http://www.irian.at

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

Professional Support for Apache MyFaces


Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Dennis Byrne
Odd, even - whichever you want.  Just so much as the number of children is a 
multiple of the @columns attribute for that grid.

Dennis Byrne

>-Original Message-
>From: Matthias Kahlau [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 2, 2006 07:10 PM
>To: 'Users MyFaces'
>Subject: Using HtmlPanelGrid with an odd amount of children?
>
>Hi!
>
>
>Is it legal to use HtmlPanelGrid with an odd amount of children? I can
>recall some warnings shown in the logging output when not all possible cells
>are used, but it's "only" a warning - the rendered grid looks correct.
>
>Will the warning behaviour change to legal in the future, or shouldn't I use
>an odd number, but use invisible fillers?
>
>
>Regards,
>
>Matthias
>
>




Re: Master detail

2006-02-02 Thread Thomas Spiegl
You may use  to save the manger bean in your
worker-detail-page. When returning to the demartment/Workers view,
your manger-bean will be restored.

cheers
Thomas

On 2/2/06, Vladimir Coutinho <[EMAIL PROTECTED]> wrote:
> I has a bean to represent a worker.   When the worker is a manager of a
> department , the property departmentWorkers lists the workers of that
> department.  When I chose one department worker, how can I go back to the
> manager choosed in the first page?
>
> --
> Vladimir M Coutinho


--
http://www.irian.at

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

Professional Support for Apache MyFaces


Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Matthias Kahlau
Hi!


Is it legal to use HtmlPanelGrid with an odd amount of children? I can
recall some warnings shown in the logging output when not all possible cells
are used, but it's "only" a warning - the rendered grid looks correct.

Will the warning behaviour change to legal in the future, or shouldn't I use
an odd number, but use invisible fillers?


Regards,

Matthias



Re: problems using panelnavigation2

2006-02-02 Thread Thomas Spiegl
Did you try one of the latest nightly builds? Panelnavigation2 was
buggy in MyFaces 1.1.1.
You can download the nightly builds from
http://cvs.apache.org/builds/myfaces/nightly/

Cheers
Thomas

On 2/2/06, Marko Huebler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've already tried this: In this case the text is rendered on the correct
> position but the panelnavigatoin2 looses all its css-styles. Only ordinary
> html links are displayed. Is there a reason for that?
>
> Thanks & regards,
> Marko
>
>
> > You must surround the include with a f:subview.
> >
> > regards
> > Thomas
> >
> > On 2/1/06, Marko Huebler <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I have some problems using the t:panelnavigation tag:
> > >
> > > In the jsp below a file is included which contains a panelnavigation2
> > menu.
> > > The strange thing is, that the "" is
> > rendered
> > > BEFORE the menu. The file menu.jsp does not contain any html, body, view
> > or
> > > subview tags. Is there a reason for that?
> > > If I nest the "<[EMAIL PROTECTED] file="menu.jsp" %>" in a subview tag, 
> > > the
> > output
> > > is rendered in the correct order - but - the panelnavigation2 menu
> > looses
> > > all the styles (only ordinary html links remain...). So, is it not
> > possible
> > > to have a panelnavigation2 menu in a subview?
> > > Some hints would be nice...
> > >
> > > Thanks & regards,
> > > Marko
> > >
> > > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> > > <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> > > <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
> > >
> > > 
> > > <[EMAIL PROTECTED] file="inc/head.inc"%>
> > > 
> > > 
> > > <[EMAIL PROTECTED] file="menu.jsp" %>
> > > 
> > > 
> > > 
> > > 
> > >
> >
> >
> > --
> > 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


t:dataTable and jp:popupFrame

2006-02-02 Thread Vladimir Coutinho
I have 2 pages with the  following code.  The first works fine. The second  I  get  errors. <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %><%@ taglib uri="http://myfaces.apache.org/tomahawk
" prefix="t"%><%@ taglib uri="http://www.jenia.org/jsf/popup" prefix="jp" %>. 
        preserveDataModel="false"    cellpadding="0" cellspacing="1"    columnClasses="" headerClass="tbcadH" rowClasses="tbcadTR1,tbcadTR2" 
    styleClass="tbcad" value="#{Cliente.empGrupo}"     var="c">            
                                            
                          
                ===HTTP Status 500 - 
type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.
exception javax.servlet.ServletException: /cadastro/socios.jsp(76,4) The end tag "

Re: grey out a jscookmenu item?

2006-02-02 Thread Thomas Spiegl
hi tony,

JSCookMenu does not support this feature, but it would be a nice enhancement.
If you could implement it and send us a patch, this woudl be greait!

cheers
Thomas

On 2/2/06, tony kerz <[EMAIL PROTECTED]> wrote:
> anyone aware of a way to grey out a jscook menu item dynamically?
>
>


--
http://www.irian.at

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

Professional Support for Apache MyFaces


Re: Request for Sandbox

2006-02-02 Thread Bruno Aranda
Hi Neeraj, you will get an answer sooner if you ask directly in the
mailing list. About your problem I see sun classes involved. Are you
using the sun ri? I see that a class is missing
(org/apache/myfaces/application/ComponentNotFound?). Hope that helps,

Regards,

Bruno

2006/2/1, Neeraj Vora <[EMAIL PROTECTED]>:
>
> Thanks a lot Bruno! But I have a problem and need to bother you again.
> :-(
>
> When I drop the sandbox jar into my application I have the following
> startup problem. Can you see anything obvious I'm doing wrong in my
> application? It's a JSF application that has been working fine for
> several months. TIA..
>
> ==
>
> Jan 31, 2006 4:11:42 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Jan 31, 2006 4:11:42 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 688 ms
> Jan 31, 2006 4:11:43 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Jan 31, 2006 4:11:43 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
> Jan 31, 2006 4:11:43 PM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> - Unable to find config file.  Creating new servlet engine config file:
> /WEB-INF
> /server-config.wsdd
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.i
> nternet.MimeMultipart). Attachment support is disabled.
> Jan 31, 2006 4:11:44 PM org.apache.catalina.core.ApplicationContext log
> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
> [org.apache.
> webapp.balancer.RuleChain:
> [org.apache.webapp.balancer.rules.URLStringMatchRule:
>  Target string: News / Redirect URL: http://www.cnn.com],
> [org.apache.webapp.bal
> ancer.rules.RequestParameterRule: Target param name: paramName / Target
> param va
> lue: paramValue / Redirect URL: http://www.yahoo.com],
> [org.apache.webapp.balanc
> er.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
> Jan 31, 2006 4:11:45 PM com.sun.faces.config.rules.ConverterRule end
> WARNING: [ConverterRule]{faces-config/converter}
> Merge(null,java.math.BigDecimal
> )
> Jan 31, 2006 4:11:45 PM com.sun.faces.config.rules.ConverterRule end
> WARNING: [ConverterRule]{faces-config/converter}
> Merge(null,java.math.BigInteger
> )
> Jan 31, 2006 4:11:45 PM com.sun.faces.config.rules.NavigationRuleRule
> end
> WARNING: [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
> Jan 31, 2006 4:11:45 PM org.apache.catalina.core.ApplicationContext log
> SEVERE: Exception sending context initialized event to listener instance
> of clas
> s com.sun.faces.config.ConfigureListener
> java.lang.NoClassDefFoundError:
> org/apache/myfaces/application/ComponentNotFound
> Exception
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
> at java.lang.Class.getConstructor0(Class.java:2640)
> at java.lang.Class.newInstance0(Class.java:321)
> at java.lang.Class.newInstance(Class.java:303)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.ja
> va:711)
> at
> com.sun.faces.config.ConfigureListener.configure(ConfigureListener.ja
> va:398)
> at
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
> stener.java:328)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContex
> t.java:3637)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4
> 073)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
> 9)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
> a:909)
> at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
> ava:872)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474
> )
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:119)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
>
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
>
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440
> )
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:4
> 50)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:683
> )

What is different between a jsf portlet and plain jsf application

2006-02-02 Thread Legolas Woodland

Hi
Thank you for reading my post.
I want to know what is different betweena jsf portlet and a plain jsf 
web application.
imagine that i made a web application using myfaces components , now i 
wannt to deploy that web application
into some portlet container like JetSpeed . if i do not need any 
information from the portal (user name , portal session ...)

then how i much works it needs ?

another  question is :
what is internal technical differences between a jsf portlet and a jsf 
web application ?


sorry for poor english
Thank you


Re: 'Simulating' commandLink from Javascript

2006-02-02 Thread Mike Kienenberger
What about putting a command-link on your page and use style="display:none"?

-Mike

On 2/1/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Ryan Wynn wrote:
> > On 2/1/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
> >> Hi, I need to do the equivalent of clicking a commandLink in Javascript;
> >> in other words, I need to write an onClick handler that does the same
> >> thing as clicking on a commandLink would. Is there a standard way to do
> >> that? I'm not sure if the JSF spec includes any specifics on client-side
> >> APIs.
> >
> >
> > I have found that it is different for IE vs. Netscape/Firefox. I'm not
> > a js expert but it works.
> >
> > This is how I invoke a hidden commandLink in a table row...
> > [...]
>
>
> Thanks for the response, but that's not what I'm trying to do. I don't
> need to locate and invoke an existing command link; I don't have a
> command link to invoke. I need to achieve the same effect as clicking a
> command link would give.
>
> In other words, I need to write a Javascript function which, when
> invoked, does the same thing the onClick handler a commandLink generates
> would do.
>
> The best I can come up with so far is to create a custom component which
> extends HtmlCommandLink and overrides the encode/decode methods, but
> creating a whole new component just to be able to create Javascript
> onClick handlers seems rather excessive.
>
> L.
>
>


t:message and summaryFormat

2006-02-02 Thread Richard Wallace

Hello all,

I'm trying to use the summaryFormat attribute of the tomahawk message 
component with the following:


 
   
 
 
 

   
   
   
 

According to the web site, this should display the error message "Your 
must enter a value for Input.  If you don't, you'll be sorry!"  Instead, 
I'm seeing the plain old ""Input": Value is required."  I'm using 
myfaces and tomahawk 1.1.1,  do I need to be using a snapshot version?


Thanks,
Rich


Re: 'Simulating' commandLink from Javascript

2006-02-02 Thread Laurie Harper

Volker Weber wrote:

Hi Laurie,

Laurie Harper wrote:

Thanks for the response, but that's not what I'm trying to do. I don't
need to locate and invoke an existing command link; I don't have a
command link to invoke. I need to achieve the same effect as clicking a
command link would give.

In other words, I need to write a Javascript function which, when
invoked, does the same thing the onClick handler a commandLink generates
would do.

The best I can come up with so far is to create a custom component which
extends HtmlCommandLink and overrides the encode/decode methods, but
creating a whole new component just to be able to create Javascript
onClick handlers seems rather excessive.


To invoke a action on the server you need to have a component, because
the event is created inside the decode of the component.

On the client side you need the cliendId of this Component to do the
same thing as a onClick handler of a commandLink would do.


Hmm, OK, thanks; that makes sense. So, it's either time to start 
wrapping Dojo widgets with JSF components, or time to learn about 
Shale's remoting features ;-)


L.



Re: {ANN] Oracle JDeveloper 10.1.3 Production Released

2006-02-02 Thread Legolas Woodland




Jonas Jacobi wrote:

  
In case you wonder why I have been quite ;)
  
Today we released Oracle JDeveloper 10.1.3 Studio production release -
you can download it from here with plenty of tutorials and other
goodies. There is also improved doc on ADF Faces.
  

Re post
Hi , it is very good news 
I will get the IDE asap , but when i get the EA1 version i find that
its editor is not as smart as Eclipse ones.
is there improvement for Editor ?
*more important item for me is JSF portlets , does Jdeveloper support
developing jsf portlet that are deployable inside JSR-168 portals like
Jetspeed 2 ?*
I will be happy to find answer to second question , right now i use
Creator studio to develop jsf portlet , i like to use ADF faces too .so
if JDEV can develop jsr portlet then i can go with Jdeveloper for next
portlet in this project.

Thank you
http://otn.oracle.com/jdev
  
Thanks,
Jonas
  -- 
  Author: Pro JSF and
Ajax: Building Rich Internet Components
  Blog: 
http://www.orablogs.com/jjacobi
  
  
  







selectOneMenu , validator and Required attribut

2006-02-02 Thread Dyego Pessoal

Hello guys 

I have a problem with this code:


   
   
  value="#{webeugUsuario.formbean.tipocadastro}" onchange="submit()">

 
  
   

   rendered="#{webeugUsuario.formbean.cadastroInstituicao}"/>
 rendered="#{webeugUsuario.formbean.cadastroInstituicao}" 
value="#{webeugUsuario.formbean.cnpjInstituicao}"/>
   rendered="#{webeugUsuario.formbean.cadastroInstituicao}" 
styleClass="error"/>


   
   value="#{webeugUsuario.formbean.nome}"/>

   

If the user select the "type 2" , the field "cnpj" has displayed , BUT , 
if the user select one item in SelectOneMenu , the validator for id 
"nome" display:


"the value is required"

After add the "immediate="true"" , the message persists...

Exists a possibility to "no validate" if the selectOneMenu has changed ?

The concept of immediate is "no validade" , why does't work ?

is a MyFaces bug ?

--



-
++  Dyego Souza Dantas Leal   ++   Dep. Desenvolvimento   
-
  E S C R I B A   I N F O R M A T I C A
   ***http://javacoffe.blogspot.com***
-
The only stupid question is the unasked one (somewhere in Linux's HowTo)
Linux registred user : #230601
--ICQ   : 1647350
$ look into "my eyes" Phone : +55 041 2106-1212


look: cannot open my eyes Fax   : +55 041 3296-6640 
-
Reply: [EMAIL PROTECTED] 



Trouble with Sorting DataTable

2006-02-02 Thread James Reynolds



Hello all,
 
I'm attempting to create a sortable dataTable based 
on the simpleCarList example in the source code. The dataTable builds correctly, 
but it just won't sort for me.  I've read through the similar posts on the 
mailing list, but I can't see anything significantly different from what I'm 
doing (other than property names).  One curious thing is that the sorting 
arrow (of the commandSortHeader) only show up in my first column.  I hope 
one of the many accomplished programmers on this list can point out what I'm 
missing.  Here's my code so far:
 
JSP:...   
var="data" 
rowClasses="evenrow, oddrow" 
value="#{RfpList.rfps}" 
sortColumn="#{RfpList.sort}" 
sortAscending="#{RfpList.ascending}" 
preserveDataModel="true" 
preserveSort="true">
 
  
 
  
 

 
  ...  
End JSP
 
SortableRfpList.java:public class 
SortableRfpList extends SortableList {    dbConnectionInfo db 
= new dbConnectionInfo();    private List 
_rfps;    String allRfps = "Select * from " + 
db.getOracleOwner() + ".RFP";
 
    public SortableRfpList() 
{    
super("title");    try 
{    
Connection conn = 
db.getConnection();    
PreparedStatement ps = 
conn.prepareStatement(allRfps);    
ResultSet rs = 
ps.executeQuery();    
_rfps = new 
ArrayList();    
while (rs.next()) 
{    
_rfps.add(new Rfp(rs.getInt("ID"), rs.getString("title"), 
rs.getDate("end_date")));    
}    } catch (SQLException sqle) 
{    
System.out.println("Sql exception in constructor: "+ 
sqle.getMessage());    
sqle.printStackTrace();    } catch 
(Exception 
e){    
System.out.println("Exception in constructor: " + 
e.getMessage());    
e.printStackTrace();    
}    }
 
    public List 
getRfps(){    
try{    sort(getSort(), 
isAscending());    } catch (Exception 
e){    
System.out.println("problem in getRfps: " 
+e.getMessage());    
e.printStackTrace();    
}    return 
_rfps;    }
 
    protected boolean 
isDefaultAscending(String 
sortColumn){    return 
true;    }
 
    protected void sort(final String 
column, final boolean ascending){    
Comparator comparator = new 
Comparator(){    
public int compare(Object o1, Object 
o2){    
Rfp rfp1 = 
(Rfp)o1;    
Rfp rfp2 = 
(Rfp)o2;    
if (column == null) 
{    
return 
0;    
}    
if 
(column.equals("title")){    
return ascending ? 
rfp1.getTitle().compareTo(rfp2.getTitle()):    
rfp2.getTitle().compareTo((rfp1.getTitle()));    
} else if (column.equals("closeDate")) 
{    
return ascending ? 
rfp1.getCloseDate().compareTo(rfp2.getCloseDate()):    
rfp2.getCloseDate().compareTo((rfp1.getCloseDate()));    
}    
else return 
0;    
}    
};    Collections.sort(_rfps, 
comparator);    }}End 
SortableRfpList.java
 
SortableList.java:public abstract class 
SortableList {    private String _sort;    
private boolean _ascending;
 
    protected SortableList(String 
defaultSortColumn)    
{    _sort = 
defaultSortColumn;    _ascending = 
isDefaultAscending(defaultSortColumn);    }
 
    /** 
* Sort the list. */    protected 
abstract void sort(String column, boolean ascending);
 
    /** 
* Is the default sort direction for the given column "ascending" 
? */    protected abstract 
boolean isDefaultAscending(String sortColumn);
 
    public void sort(String 
sortColumn)    
{    if (sortColumn == 
null)    
{    throw 
new IllegalArgumentException("Argument sortColumn must not be 
null.");    }
 
    if 
(_sort.equals(sortColumn))    
{    
//current sort equals new sortColumn -> reverse sort 
order    
_ascending = !_ascending;    
}    
else    
{    //sort 
new column in default 
direction    
_sort = 
sortColumn;    
_ascending = 
isDefaultAscending(_sort);    }
 
    sort(_sort, 
_ascending);    }
 
    public String getSort()    
{    return 
_sort;    }
 
    public void setSort(String sort)    
{    _sort = 
sort;    }
 
    public boolean isAscending()    
{    return 
_ascending;    }
 
    public void setAscending(boolean 
ascending)    {    
_ascending = ascending;    }}End 
SortableList.java
 
This is the Exception that is thrown in the getRfps() method of 
SortableRfpList.java
 
java.lang.NullPointerException at 
java.lang.String.compareTo(String.java:997) at 
npp.admin.SortableRfpList$1.compare(SortableRfpList.java:69) at 
java.util.Arrays.mergeSort(Arrays.java:1284) at 
java.util.Arrays.mergeSort(Arrays.java:

selectOneMenu , validator and Required attribut

2006-02-02 Thread Dyego Souza Dantas Leal

Hello guys 

I have a problem with this code:


  
  
 value="#{webeugUsuario.formbean.tipocadastro}" onchange="submit()">


 
  

  rendered="#{webeugUsuario.formbean.cadastroInstituicao}"/>
rendered="#{webeugUsuario.formbean.cadastroInstituicao}" 
value="#{webeugUsuario.formbean.cnpjInstituicao}"/>
  rendered="#{webeugUsuario.formbean.cadastroInstituicao}" 
styleClass="error"/>


  
  value="#{webeugUsuario.formbean.nome}"/>

  

If the user select the "type 2" , the field "cnpj" has displayed , BUT , 
if the user select one item in SelectOneMenu , the validator for id 
"nome" display:


"the value is required"

After add the "immediate="true"" , the message persists...

Exists a possibility to "no validate" if the selectOneMenu has changed ?

The concept of immediate is "no validade" , why does't work ?

is a MyFaces bug ?

--




-
++  Dyego Souza Dantas Leal   ++   Dep. Desenvolvimento   
-
  E S C R I B A   I N F O R M A T I C A
   ***http://javacoffe.blogspot.com***
-
The only stupid question is the unasked one (somewhere in Linux's HowTo)
Linux registred user : #230601
--ICQ   : 1647350
$ look into "my eyes" Phone : +55 041 2106-1212


look: cannot open my eyes Fax   : +55 041 3296-6640 
-
Reply: [EMAIL PROTECTED] 



Re: JSF+Hibernate

2006-02-02 Thread Mario Ivankovits
Hi!
> session.lock(object, LockMode.NONE)
This might also fail if the object already exists in the current
session, no?

You can safely reattach the object using

object = session.merge(object)

Though, you really should discard the old object then and work further
with the new one.

Ciao,
Mario



Re: JSF+Hibernate

2006-02-02 Thread Enrique Medina
Ok. Then the problem is clear. As the pattern creates for you a new session in each request, the object you are trying to update is DETACHED, so unless you associate to a PERSISTENT instance in the current session, you will get the error. But as I can imagine this is not possible, you will have just to reattach the object to the current session, by using:
session.lock(object, LockMode.NONE)in your backing bean.But I would suggest to make your backing bean session-scoped, and also to enable the second-level cache ;-)
2006/2/2, ::SammyRulez:: <[EMAIL PROTECTED]>:
1) yes2) request-scoped2006/2/2, Enrique Medina <[EMAIL PROTECTED]>:> Some questions:>> 1) Do you use the Open Session in View filter pattern?
>> 2) Is your backing bean request-scoped or session-scoped or> application-scoped?>> 2006/2/2, ::SammyRulez:: < [EMAIL PROTECTED]>:
> > Hi all> >> > I have a form for some data entry and a data table displaying the rows> > already entered in the same view.> >> > Everything works great except update. Since the restore view phase
> > occurs data is loaded and is I try to update I have an Hibernate> > exception since there is another object in the session with the same> > type and ID.(witch is correct.)> >
> > Is there any good approach to this problem without scrolling the list> > update the values and flushing the session?> >> > BTW form validation is required :-(> >> > --
> > ::SammyRulez::> > http://sammyprojectz.blogspot.com> >>>--::SammyRulez::
http://sammyprojectz.blogspot.com


Re: JSCookMenu and Facelets issue

2006-02-02 Thread Matt Fury
Ok, apparently I had it working yesterday but there
was server troubles. When I got in this morning and
restarted, everything appeared as it was supposed to.

Thomas, you are correct, the extension filter mapping
and this
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk?highlight=%28jscookmenu%29%7C%28tomahawk%29
are what should get it working with Facelets. 

The only problem I am having now is I can't seem to
use a customized css and theme. It appears to only
know the ThemeIE, ThemePanel, etc that come with
myFaces by default. Last project we used 1.0.9 and now
we're using the 1.1.1 version. Is this something that
changed or did I overlook some configuration?

-Matt

--- Mikael Andersson <[EMAIL PROTECTED]> wrote:

> Hi Matt,
> I have the exact same problem you do, if you manage
> to sort it out please
> make a post about how you did it.
> 
> Cheers,
> Mikael
> 
> On 02/02/06, Matt Fury <[EMAIL PROTECTED]> wrote:
> >
> > Hi All,
> >
> > I've searched through the archives of the mailing
> list
> > and could only find a few questions and few
> answers
> > about jscookmenu with facelets. I've appeared to
> have
> > gotten it at least rendering now but for some
> reason
> > it renders a "Submit Query" button? I've seen a
> couple
> > of posts about that but did not seem to get a
> solid
> > resolution. Anyone know why it might do that? I've
> set
> > up the pages with the Tomahawk Taglibary files.
> >
> > Thanks.
> >
> > -Matt
> >
> 



Re: JSF+Hibernate

2006-02-02 Thread ::SammyRulez::
1) yes

2) request-scoped

2006/2/2, Enrique Medina <[EMAIL PROTECTED]>:
> Some questions:
>
> 1) Do you use the Open Session in View filter pattern?
>
> 2) Is your backing bean request-scoped or session-scoped or
> application-scoped?
>
> 2006/2/2, ::SammyRulez:: < [EMAIL PROTECTED]>:
> > Hi all
> >
> > I have a form for some data entry and a data table displaying the rows
> > already entered in the same view.
> >
> > Everything works great except update. Since the restore view phase
> > occurs data is loaded and is I try to update I have an Hibernate
> > exception since there is another object in the session with the same
> > type and ID.(witch is correct.)
> >
> > Is there any good approach to this problem without scrolling the list
> > update the values and flushing the session?
> >
> > BTW form validation is required :-(
> >
> > --
> > ::SammyRulez::
> > http://sammyprojectz.blogspot.com
> >
>
>


--
::SammyRulez::
http://sammyprojectz.blogspot.com


Re: JSF+Hibernate

2006-02-02 Thread Enrique Medina
Some questions:1) Do you use the Open Session in View filter pattern?2) Is your backing bean request-scoped or session-scoped or application-scoped?2006/2/2, ::SammyRulez:: <
[EMAIL PROTECTED]>:Hi allI have a form for some data entry and a data table displaying the rows
already entered in the same view.Everything works great except update. Since the restore view phaseoccurs data is loaded and is I try to update I have an Hibernateexception since there is another object in the session with the same
type and ID.(witch is correct.)Is there any good approach to this problem without scrolling the listupdate the values and flushing the session?BTW form validation is required :-(--::SammyRulez::
http://sammyprojectz.blogspot.com


JSF+Hibernate

2006-02-02 Thread ::SammyRulez::
Hi all

I have a form for some data entry and a data table displaying the rows
already entered in the same view.

Everything works great except update. Since the restore view phase
occurs data is loaded and is I try to update I have an Hibernate
exception since there is another object in the session with the same
type and ID.(witch is correct.)

Is there any good approach to this problem without scrolling the list
update the values and flushing the session?

BTW form validation is required :-(

--
::SammyRulez::
http://sammyprojectz.blogspot.com


Re: Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Enrique Medina
Well, you can always complete the missing childs with:2006/2/2, Matthias Kahlau <[EMAIL PROTECTED]>:
Hi!Is it legal to use HtmlPanelGrid with an odd amount of children? I canrecall some warnings shown in the logging output when not all possible cellsare used, but it's "only" a warning - the rendered grid looks correct.
Will the warning behaviour change to legal in the future, or shouldn't I usean odd number, but use invisible fillers?Regards,Matthias


Using HtmlPanelGrid with an odd amount of children?

2006-02-02 Thread Matthias Kahlau
Hi!


Is it legal to use HtmlPanelGrid with an odd amount of children? I can
recall some warnings shown in the logging output when not all possible cells
are used, but it's "only" a warning - the rendered grid looks correct.

Will the warning behaviour change to legal in the future, or shouldn't I use
an odd number, but use invisible fillers?


Regards,

Matthias



Re: Tobago sheet sorting

2006-02-02 Thread Volker Weber
Hi Olexandr,

First: please don't use SortableByApplication, this will be removed.
We are thinking about to allow applications to register a eventListener
to recieve sort events and do the sorting there.

Now to your problem:
Currently sorting of links should work if you use a t:label tag inside
the t:link instead of the label attribute.
I think the sorting code is older than the label attibute on the link tag.
Please oben a jira issue to support this.

Regards,
  Volker

Olexandr Zakordonskyy wrote:
> Hi Tobago Team.
> 
> Help me with sorting column which contains t:link component.
> In sorter there is a todo:
> 
>   // TODO: locale / comparator parameter?
>   // don't compare numbers with Collator.getInstance() comparator
> //Comparator comparator = Collator.getInstance();
> //  comparator = new RowComparator(ascending, method);
> 
> 
> It may be possible to use SortableByApplication, but 
> Line 156 is commented
> 
> Please, help.
> 
> Thanks,
> Olexandr.
> 

-- 
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: Integration of jsp and jsf

2006-02-02 Thread Volker Weber
Hi Vladimir,

maybe i don't understand what you want!

Would you say that the following did not work on your system?

-Begin JSP code--
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>

<%
  session.setAttribute("test", "TestString in session");
%>



  


  


  



-End JSP code--

Regards,
  Volker



Vladimir Coutinho wrote:
> How do I put the object disponible to JSF? I tried to put the object in
> the session, but I could not access in JSF like other JSF beans.
> 
> On 2/2/06, *Pierpaolo Follia * <[EMAIL PROTECTED]
> > wrote:
> 
> You can get the object from the facescontext using
> 
> FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("YOUR_OBJECT")
> 
> bye
> 
> 
> Vladimir Coutinho wrote:
> 
>> There is a way to put this object disponible in facescontext?
>>
>> On 2/1/06, *Pierpaolo Follia* <[EMAIL PROTECTED]
>> > wrote:
>>
>> use an expression like
>> #{sessionScope.YOUR_OBJECT_HERE.YOUR_PROPERTY_HERE}
>>
>> bye
>>
>> Vladimir Coutinho wrote:
>>> How to use in a jsf page a session object created in a jsp page?
>>>
>>>
>>> --
>>> Vladimir M Coutinho
>>
>> --
>> Pierpaolo Follia
>> Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
>> Telefono: +39 030 687561
>> Fax: +39 030 6875690
>>
>>
>>
>>
>> -- 
>> Vladimir M Coutinho 
> 
> 
> -- 
> Pierpaolo Follia
> Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
> Telefono: +39 030 687561
> Fax: +39 030 6875690
> 
> 
> 
> 
> -- 
> Vladimir M Coutinho

-- 
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.


Tobago sheet sorting

2006-02-02 Thread Olexandr Zakordonskyy
Hi Tobago Team.

Help me with sorting column which contains t:link component.
In sorter there is a todo:

  // TODO: locale / comparator parameter?
  // don't compare numbers with Collator.getInstance() comparator
//Comparator comparator = Collator.getInstance();
//  comparator = new RowComparator(ascending, method);


It may be possible to use SortableByApplication, but 
Line 156 is commented

Please, help.

Thanks,
Olexandr.



Re: Page.IsPostBack in JSF

2006-02-02 Thread Cagatay Civici
Hi Martin,That's right, in our project that code is used and worked in all cases but I realize now that in all those cases valueChangeListeners calling renderResponse were also used.Regards,Cagatay,
On 2/2/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
Hi Catagay,the code you are referring to (I attach it further down) is very oftenright - but not always. You might also have a valueChangeListenerswhich call renderResponse...regards,Martin
 public boolean isPostBack( ) {  if( getFacesContext().getRenderResponse() )   return false;  else   return true;  }On 2/2/06, Cagatay Civici <
[EMAIL PROTECTED]> wrote:> Hi,>> Yes there is, I have written an entry on jsf ispostback, should be what you> are looking for;>
> http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf>> Best Regards,>> Cagatay Civici>
>> On 1/31/06, Arshad Ali <[EMAIL PROTECTED]> wrote:> > In Dot.Net there is a method to check if the page is posted back> (Page.IsPostBack), in JSF is there anything for that??
> >> > regards,> > Arshad Ali.> >>>--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development and
Courses in English and GermanProfessional Support for Apache MyFaces


Re: Page.IsPostBack in JSF

2006-02-02 Thread Martin Marinschek
Hi Catagay,

the code you are referring to (I attach it further down) is very often
right - but not always. You might also have a valueChangeListeners
which call renderResponse...

regards,

Martin


 public boolean isPostBack( ) {
  if( getFacesContext().getRenderResponse() )
   return false;
  else
   return true;
  }

On 2/2/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes there is, I have written an entry on jsf ispostback, should be what you
> are looking for;
>
> http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf
>
> Best Regards,
>
> Cagatay Civici
>
>
> On 1/31/06, Arshad Ali <[EMAIL PROTECTED]> wrote:
> > In Dot.Net there is a method to check if the page is posted back
> (Page.IsPostBack), in JSF is there anything for that??
> >
> > regards,
> > Arshad Ali.
> >
>
>


--

http://www.irian.at

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

Professional Support for Apache MyFaces


Re: Page.IsPostBack in JSF

2006-02-02 Thread Matthias Wessendorf
The Shale ViewController provides a isPostback() method for your backing beans.



On 2/2/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes there is, I have written an entry on jsf ispostback, should be what you
> are looking for;
>
> http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf
>
> Best Regards,
>
> Cagatay Civici
>
>
> On 1/31/06, Arshad Ali <[EMAIL PROTECTED]> wrote:
> > In Dot.Net there is a method to check if the page is posted back
> (Page.IsPostBack), in JSF is there anything for that??
> >
> > regards,
> > Arshad Ali.
> >
>
>


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


Re: Page.IsPostBack in JSF

2006-02-02 Thread Cagatay Civici
Hi,Yes there is, I have written an entry on jsf ispostback, should be what you are looking for;http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf
Best Regards,Cagatay CiviciOn 1/31/06, Arshad Ali <[EMAIL PROTECTED]> wrote:
In Dot.Net there is a method to check if the page is posted back
(Page.IsPostBack), in JSF is there anything for that??regards,Arshad Ali.




Page.IsPostBack in JSF

2006-02-02 Thread Arshad Ali
In Dot.Net there is a method to check if the page is posted back(Page.IsPostBack), in JSF is there anything for that??regards,Arshad Ali.


Re: Make all components ReadOnly

2006-02-02 Thread Nikita Shah
Hi Martin I also have a similar requirement, where if a user is under a  "Readonly" role then all the views/pages must be in "Readonly" mode.  So the check is made during authentication depending on the user role.  Can you please provide some example or a code snippet elaborating your  point.? How do we set 'displayValueOnly' on container-component .. ?TIA  Nikita  Martin Marinschek <[EMAIL PROTECTED]> wrote:  There is the attribute: displayValueOnly on Tomahawk componentswhich you can set on a component (or also on a container-component, inwhich case it will be inherited down the tree).You can of course go through the tree and set the attributes yourself- this will only work for the current view, though.regards,MartinOn
  2/1/06,
 Ravi Gidwani  wrote:> Hi Experts:>i was wondering if there was Quick way of making all the> components under a view or all the views or all pages readonly/Disabled.>> Or Is there a way i can do that from code (i mean manipulating the> components using the component tree ) ?>>> Thanks> ~Ravi>>--http://www.irian.atYour JSF powerhouse -JSF Consulting, Development andCourses in English and GermanProfessional Support for Apache MyFaces
		Bring words and photos together (easily) with 
PhotoMail  - it's free and works with Yahoo! Mail.

Re: Integration of jsp and jsf

2006-02-02 Thread Vladimir Coutinho
How do I put the object disponible to JSF? I tried to put the object in the session, but I could not access in JSF like other JSF beans.On 2/2/06, Pierpaolo Follia
 <[EMAIL PROTECTED]> wrote:



  
  


You can get the object from the facescontext using
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("YOUR_OBJECT")

bye

Vladimir Coutinho wrote:
There is a way to put this object disponible in
facescontext?
  
  On 2/1/06, Pierpaolo
Follia <[EMAIL PROTECTED]>
wrote:
  use
an _expression_ like #{sessionScope.YOUR_OBJECT_HERE.YOUR_PROPERTY_HERE}

bye

Vladimir Coutinho wrote:

> How to use in a jsf page a session object created in a jsp page?
>
>
> --
> Vladimir M Coutinho

--
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561

Fax: +39 030 6875690

  
  
  
  
  
-- 
Vladimir M Coutinho 

-- Pierpaolo FolliaWave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)Telefono: +39 030 687561Fax: +39 030 6875690



-- Vladimir M Coutinho


Re: Integration of jsp and jsf

2006-02-02 Thread Pierpaolo Follia




You can get the object from the facescontext using
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("YOUR_OBJECT")

bye

Vladimir Coutinho wrote:
There is a way to put this object disponible in
facescontext?
  
  On 2/1/06, Pierpaolo
Follia <[EMAIL PROTECTED]>
wrote:
  use
an _expression_ like #{sessionScope.YOUR_OBJECT_HERE.YOUR_PROPERTY_HERE}

bye

Vladimir Coutinho wrote:

> How to use in a jsf page a session object created in a jsp page?
>
>
> --
> Vladimir M Coutinho

--
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561

Fax: +39 030 6875690

  
  
  
  
  
-- 
Vladimir M Coutinho 

-- 
Pierpaolo Follia
Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
Telefono: +39 030 687561
Fax: +39 030 6875690




Master detail

2006-02-02 Thread Vladimir Coutinho
I has a bean to represent a worker.   When the worker is a manager of a department , the property departmentWorkers lists the workers of that department.  When I chose one department worker, how can I go back to the manager choosed in the first page?
-- Vladimir M Coutinho


Tobago t:tree : visual indicator for the current node.

2006-02-02 Thread Iryna Stetska
I'm using t:tree. I would like to have some visual indicator
(different backgroung, color or style) for the tree node currently
selected (which is changed when
TreeState.setMarker(DefaultMutableTreeNode node) is called).

Is it possible??




How to update fields from ValueChangeEvent

2006-02-02 Thread andreas.mitter
Title: How to update fields from ValueChangeEvent






Hi!

This question seems to be very stupid, but I can't achieve to update inputText Components within a ValueChangeEvent when this inputTextComponents have a binding attribute.

If I remove the binding attribute, then the fields are updated...

In the ValueChangeMethod I get records from Database depending on the Input of the first inputtext component and write the records into the other inputtext COmponents with their setter Methods.

Then the page is loaded new but the inputtextfields arenot updated

What can I do to achieve this?


Here is my JSF Page:

"td" rendered="#{showTags.showLfnr}">
    "#{beziehungsDto.ITlfnr}"  id="lfnr"
        value="#{beziehungsDto.lfnr}" styleClass="mustfield" required="true"
        size="35" rendered="#{showTags.showLfnr}" immediate="true"
        valueChangeListener="#{querySelectHelper.selectSamData}"
        >"submit()">
        "35">
    

 
In this second field some data should be written. If I remove the binding attribute, it works, if I leave it, the field isn't updated...
"td">
    "#{beziehungsDto.ITpartnername}" id="partnernameneu" value="#{beziehungsDto.namepartner}"
    styleClass="mustfield" required="true" size="35">
        "35">
    




Regards,

Andy



__

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
__



[ANN] FINAL CALL: Java Web User Group / BOF XV / Oracle City of L ondon / Friday 3rd February 2006 @ 19:00

2006-02-02 Thread Pilgrim, Peter

 THIS IS THE FINAL CALL


Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the fifteenth Birds-of-Feather (Meet up) at the 
``Oracle City of London'' offices on Friday, 3rd January 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers, in alphabetically order, are:


Duncan Mills
``Java ServerFaces Security''

Emmanuel Okeyere
``RIFE framework''

Peter Pilgrim
``Experiences with AJAX''




Afterwards members can retire to the nearby ``Red Lion'' pub or 
the ``All Bar One'' pub/restaurant for more in depth 
discussion dinner, food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

If you would like to attend 

1) Join the JAVAWUG at Google Groups 
http://groups.google.com/group/javawug/manage_members
Send a mail to the list you are attending.
2) Send mail directly to `` duncan dot mills at oracle.com ''
or to me `` peter dot pilgrim at credit-suisse.com ''

Here is some relevant travel information 

By Underground: -

Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place

Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has graciously been organised by Duncan Mills of Oracle. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - "One Bank",
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==



Re: JSCookMenu and Facelets issue

2006-02-02 Thread Mikael Andersson
Hi Matt,
I have the exact same problem you do, if you manage to sort it out please make a post about how you did it.

Cheers,
MikaelOn 02/02/06, Matt Fury <[EMAIL PROTECTED]> wrote:
Hi All,I've searched through the archives of the mailing listand could only find a few questions and few answersabout jscookmenu with facelets. I've appeared to havegotten it at least rendering now but for some reason
it renders a "Submit Query" button? I've seen a coupleof posts about that but did not seem to get a solidresolution. Anyone know why it might do that? I've setup the pages with the Tomahawk Taglibary files.
Thanks.-Matt


org.apache.myfaces.util.LocaleUtils toLocale, SEVERE: Locale name null or empty, ignoring

2006-02-02 Thread Yogesh Chaudhari
Hi,

I am receiving following error message when I configurated my
application to use myface implementation 1.1.1.

INFO: Reading config /WEB-INF/faces-config.xml
Feb 2, 2006 5:53:05 AM org.apache.myfaces.util.LocaleUtils toLocale
SEVERE: Locale name null or empty, ignoring

Same error message appear in tomcat 5.5.9 and oc4j.

What entry it is expecting in faces-config.xml.

web.xml entry


javax.faces.CONFIG_FILES

/WEB-INF/faces-config.xml



Thanks, Yogesh


Re: 'Simulating' commandLink from Javascript

2006-02-02 Thread Volker Weber
Hi Laurie,

Laurie Harper wrote:
> 
> Thanks for the response, but that's not what I'm trying to do. I don't
> need to locate and invoke an existing command link; I don't have a
> command link to invoke. I need to achieve the same effect as clicking a
> command link would give.
> 
> In other words, I need to write a Javascript function which, when
> invoked, does the same thing the onClick handler a commandLink generates
> would do.
> 
> The best I can come up with so far is to create a custom component which
> extends HtmlCommandLink and overrides the encode/decode methods, but
> creating a whole new component just to be able to create Javascript
> onClick handlers seems rather excessive.

To invoke a action on the server you need to have a component, because
the event is created inside the decode of the component.

On the client side you need the cliendId of this Component to do the
same thing as a onClick handler of a commandLink would do.

Regards,
  Volker

> 
> L.
> 

-- 
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: AW: How to use the HtmlTag component when programmatically building the UI?

2006-02-02 Thread Volker Weber
Hi Matthias,

i don't know anything about the Tomahawk HtmlTag component, but
you can allways create a verbatim component programmatically.

This is just a UIOutput with escape=false.

With this you can render anything you want.

Regards,
  Volker

Matthias Kahlau wrote:
> Hi!
> 
> 
> Is there nobody else who had the requirement to programmatically render HTML
> elements like H1, H2 etc.?
> 
> This is an important requirement when creating Web pages which have to
> follow accessibility guidelines...
> 
> 
> Regards,
> 
> Matthias
> 
> 
>>-Ursprüngliche Nachricht-
>>Von: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Auftrag
>>von Matthias Kahlau
>>Gesendet: Dienstag, 31. Januar 2006 23:10
>>An: Users MyFaces
>>Betreff: How to use the HtmlTag component when programmatically building
>>the UI?
>>
>>
>>Hi!
>>
>>
>>Is it possible to use the Tomahawk HtmlTag component when programmatically
>>building the UI. I know I can use setValue() to set the HTML
>>element name to
>>render, e. g. h1. But can I programmatically set the body content?
>>
>>If this is not possible, do you know alternatives to render arbitrary HTML
>>elements?
>>
>>
>>Regards,
>>
>>Matthias
>>
> 
> 

-- 
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: Managed beans not being instantiated - No resolution?

2006-02-02 Thread Volker Weber
Hi John,

as someone posted before. it is pretty unlikely that there is a problem
with managed beans in myfaces, so there must be something wrong with
your setup.

But i can't see any other problems, than i had mentioned before, in your
postet code.

So the only thing i can further do is waiting for a war to reproduce the
problem on my machine, as i had offered before.


Regards,
  Volker

-- 
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: panelNavigation2 Separator Problem

2006-02-02 Thread Christian Bohn

I opened a issue for this (MYFACES-1090).

Does anybody know a workaround until it is fixed?


Christian


Thomas Spiegl wrote:

Christian,

please open a jira issue for this http://myfaces.apache.org/issue.html

regards
Thomas

 


--
Christian Bohn, Softwareentwicklung   Tel.(+49) 6221 - 18079-10
CHILI GmbHFax.(+49) 6221 - 18079-11
Burgstrasse 61 e-mail:   [EMAIL PROTECTED]
D-69121 Heidelberg, Germany  http://www.chili-radiology.com



Exception outcome

2006-02-02 Thread Arash Bijanzadeh
Hi,
Is there a way to bind apecific outcome for an Exception type? For
example  I want to redirect to an access denied page when a
javax.ejb.EJBAccessException was thrown
-- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individual or group, as other distributions of Linux have been developed in the
 past, Debian is being developed openly in the spirit of Linux and GNU. 


necessary libraries for 1.1.2 snapshot

2006-02-02 Thread Pierre Moermans
Hello,

To use the 1.1.2 snapshot instead of the 1.1.1 libraries of MyFaces, I
just replaced myfaces-all.jar with the 3 following jar files I got from
the nightly snapshot:
  myfaces-api-1.1.2-SNAPSHOT.jar
  myfaces-commons-1.1.2-SNAPSHOT.jar
  myfaces-impl-1.1.2-SNAPSHOT.jar


But then, I get the IllegalStateException (No Factories for...).

Is this change of jar files correct ?
What else do I need to change for it to work ?

In case it has an inpact, I use Tomcat 5.5.15

Many thanks,

Pierre


Re: JSCookMenu and Facelets issue

2006-02-02 Thread Thomas Gaudin
I had the same problem and I think it was related to the extension 
filter mapping.
If you really can't fix it you could have a look at this sample app : 
http://www.thogau.net/appfuse-facelets
it uses a JSCookmenu with facelets so you can check the difference 
between the 2 configurations.

hope it helps,

Thomas

Matt Fury a écrit :

Hi All,

I've searched through the archives of the mailing list
and could only find a few questions and few answers
about jscookmenu with facelets. I've appeared to have
gotten it at least rendering now but for some reason
it renders a "Submit Query" button? I've seen a couple
of posts about that but did not seem to get a solid
resolution. Anyone know why it might do that? I've set
up the pages with the Tomahawk Taglibary files.

Thanks.

-Matt
---
Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
Aucun virus connu a ce jour par nos services n'a ete detecte.