PPRPanelGroup

2007-02-22 Thread Oellien, F \(Frank\)
I have a question regarding the PPRPanelGroup.
When I use the Sandbox-example.war file I can use the PPRPanelGroup
example as expected. However when I implement the corresponding jsp file
and the backing bean in my own application every action like pressing a
commandlink or a commandbutton will be followed by a request and a
complete side refresh.

What I have to keep in mind when working with the Ajax functionilities?
By reading the source code it is also unclear for me why PPRSubmit
button will not led to a whole page refresh and the button in the
secondform does.

Regards
Frank
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: PPRPanelGroup

2007-02-26 Thread Oellien, F \(Frank\)
Hello,

That is what I have done so far.
I have tried both 1.1.4 and 1.1.5 in a new web application that only contains 
the original JSP file and the corresponding Backing Bean.

And these are the results:

PPRSumit button -> Request/Page Refresh
ConfiguredSubmit Button -> Request/Page Refresh
Update first group partially checkbox -> Request/Page Refresh
testAction Button -> Request/Page Refresh
Partial testAction button -> Request/Page Refresh
Partially submit by change combobox -> OK, Ajax
Partially submit by change checkbox -> OK, Ajax
Command link -> OK, Ajax
Second PPRPanelGroup Button -> Request/Page Refresh

Any explanation for that?

Frank

> -Original Message-
> From: Gerald Müllan [mailto:[EMAIL PROTECTED] 
> Sent: Donnerstag, 22. Februar 2007 17:26
> To: MyFaces Discussion
> Subject: Re: PPRPanelGroup
> 
> Hi,
> 
> you have to register every component which should fire a ppr-request.
> This can be done in an exactly manner via the "partialTriggers"
> attribute:
> 
> E.g. id of a commandButton is "nextWizardStep"; Consequently 
> if going to the next wizard step should occur via a 
> ppr-request (the whole wizard page is embedded in the 
> s:pprPanelGroup) "partialTriggers" has to be set to "nextWizardStep".
> 
> The other possibility is to use the "partialTriggerPattern" attribute:
> 
> E.g. if you want to use "nextWizardStep" and "previousWizardStep"
> buttons, just write "*WizardStep" as the "partialTriggerPattern"
> attribute.
> 
> Every component which is registered via one of the above 
> attributes should fire a ppr-request, because of the 
> interception point before the regular form post.
> 
> If it does not, there maybe a bug or another problem. E.g. 
> you cannot use aliasBeans in combination with ppr because of 
> the scoping. But please post the corresponding code, maybe we 
> can then say something more on that.
> 
> Regarding the sandbox examples:
> 
> You are right, the secondFormButton does one time a 
> ppr-request and the other time a regular submit. It seems to 
> steem from the fact that the value of the button is changing 
> after activating a command component from the first form.
> 
> But don`t waste time on this, your problem should be another one..
> 
> cheers,
> 
> Gerald
> 
> On 2/22/07, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > I have a question regarding the PPRPanelGroup.
> > When I use the Sandbox-example.war file I can use the PPRPanelGroup 
> > example as expected. However when I implement the corresponding jsp 
> > file and the backing bean in my own application every action like 
> > pressing a commandlink or a commandbutton will be followed by a 
> > request and a complete side refresh.
> >
> > What I have to keep in mind when working with the Ajax 
> functionilities?
> > By reading the source code it is also unclear for me why PPRSubmit 
> > button will not led to a whole page refresh and the button in the 
> > secondform does.
> >
> > Regards
> > Frank
> > --
> > This message, including attachments, is confidential and 
> may be privileged.
> > If you are not an intended recipient, please notify the sender then 
> > delete and destroy the original message and all copies. You 
> should not 
> > copy, forward and/or disclose this message, in whole or in part, 
> > without permission of the sender.
> > --
> >
> 
> 
> --
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: PPRPanelGroup - Additional Info

2007-02-26 Thread Oellien, F \(Frank\)
I have just figured out, that the PPRPanelGroup shows only this strange 
behavior, if used with Sun Standard implementation. When I use myfaces instead 
the resukts are different:
Now I receive an alert window with the message: 'an error occurred during the 
ajax-request XMLHttpTransport Error: 500 Internal Server Error

Frank

> -Original Message-
> From: Oellien, F (Frank) [mailto:[EMAIL PROTECTED] 
> Sent: Montag, 26. Februar 2007 13:27
> To: MyFaces Discussion
> Subject: RE: PPRPanelGroup
> 
> Hello,
> 
> That is what I have done so far.
> I have tried both 1.1.4 and 1.1.5 in a new web application 
> that only contains the original JSP file and the 
> corresponding Backing Bean.
> 
> And these are the results:
> 
> PPRSumit button -> Request/Page Refresh
> ConfiguredSubmit Button -> Request/Page Refresh Update first 
> group partially checkbox -> Request/Page Refresh testAction 
> Button -> Request/Page Refresh Partial testAction button -> 
> Request/Page Refresh Partially submit by change combobox -> 
> OK, Ajax Partially submit by change checkbox -> OK, Ajax 
> Command link -> OK, Ajax Second PPRPanelGroup Button -> 
> Request/Page Refresh
> 
> Any explanation for that?
> 
> Frank
> 
> > -Original Message-
> > From: Gerald Müllan [mailto:[EMAIL PROTECTED]
> > Sent: Donnerstag, 22. Februar 2007 17:26
> > To: MyFaces Discussion
> > Subject: Re: PPRPanelGroup
> > 
> > Hi,
> > 
> > you have to register every component which should fire a 
> ppr-request.
> > This can be done in an exactly manner via the "partialTriggers"
> > attribute:
> > 
> > E.g. id of a commandButton is "nextWizardStep"; 
> Consequently if going 
> > to the next wizard step should occur via a ppr-request (the whole 
> > wizard page is embedded in the
> > s:pprPanelGroup) "partialTriggers" has to be set to 
> "nextWizardStep".
> > 
> > The other possibility is to use the "partialTriggerPattern" 
> attribute:
> > 
> > E.g. if you want to use "nextWizardStep" and "previousWizardStep"
> > buttons, just write "*WizardStep" as the "partialTriggerPattern"
> > attribute.
> > 
> > Every component which is registered via one of the above attributes 
> > should fire a ppr-request, because of the interception point before 
> > the regular form post.
> > 
> > If it does not, there maybe a bug or another problem. E.g. 
> > you cannot use aliasBeans in combination with ppr because of the 
> > scoping. But please post the corresponding code, maybe we 
> can then say 
> > something more on that.
> > 
> > Regarding the sandbox examples:
> > 
> > You are right, the secondFormButton does one time a ppr-request and 
> > the other time a regular submit. It seems to steem from the 
> fact that 
> > the value of the button is changing after activating a command 
> > component from the first form.
> > 
> > But don`t waste time on this, your problem should be another one..
> > 
> > cheers,
> > 
> > Gerald
> > 
> > On 2/22/07, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > > I have a question regarding the PPRPanelGroup.
> > > When I use the Sandbox-example.war file I can use the 
> PPRPanelGroup 
> > > example as expected. However when I implement the 
> corresponding jsp 
> > > file and the backing bean in my own application every action like 
> > > pressing a commandlink or a commandbutton will be followed by a 
> > > request and a complete side refresh.
> > >
> > > What I have to keep in mind when working with the Ajax
> > functionilities?
> > > By reading the source code it is also unclear for me why 
> PPRSubmit 
> > > button will not led to a whole page refresh and the button in the 
> > > secondform does.
> > >
> > > Regards
> > > Frank
> > > --
> > > This message, including attachments, is confidential and
> > may be privileged.
> > > If you are not an intended recipient, please notify the 
> sender then 
> > > delete and destroy the original message and all copies. You
> > should not
> > > copy, forward and/or disclose this message, in whole or in part, 
> > > without permission of the sender.
> > > --
> > >
> > 
> > 
> > --
> > http://www.irian.at
> > 
> > Your JSF powerhouse -
> > JSF Consulting, D

RE: PPRPanelGroup

2007-03-01 Thread Oellien, F \(Frank\)
thod.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

Clicking a partial Trigger lead to the following message:
01.03.2007 12:35:12 org.apache.myfaces.application.jsp.JspStateManagerImpl 
restoreComponentState
SCHWERWIEGEND: No serialized component state found in client request!

In the next step, I have copied the web.xml file of the example war file to my 
application replacing the old web.xml file.
Now the application is working as expectet. Only the 'Update first group 
partially' checkbox will force a request.
All error messages except the resource error messages from the beginning of 
this mail have disappeared. Which kind of configuration changes in the web.xml 
file have this influence?

Frank


> -Original Message-
> From: Gerald Müllan [mailto:[EMAIL PROTECTED] 
> Sent: Mittwoch, 28. Februar 2007 11:33
> To: MyFaces Discussion
> Subject: Re: PPRPanelGroup
> 
> Hi,
> 
> i think you mean the examples from the following url:
> 
> http://example.irian.at/example-sandbox-20070228/pprPanelGroup.jsf
> 
> To me all the links and buttons are working fine with a ppr-request.
> Have you tried out this latest build?
> 
> cheers,
> 
> Gerald
> 
> On 2/26/07, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > That is what I have done so far.
> > I have tried both 1.1.4 and 1.1.5 in a new web application 
> that only contains the original JSP file and the 
> corresponding Backing Bean.
> >
> > And these are the results:
> >
> > PPRSumit button -> Request/Page Refresh ConfiguredSubmit Button -> 
> > Request/Page Refresh Update first group partially checkbox -> 
> > Request/Page Refresh testAction Button -> Request/Page 
> Refresh Partial 
> > testAction button -> Request/Page Refresh Partially submit 
> by change 
> > combobox -> OK, Ajax Partially submit by change checkbox -> 
> OK, Ajax 
> > Command link -> OK, Ajax Second PPRPanelGroup Button -> 
> Request/Page 
> > Refresh
> >
> > Any explanation for that?
> >
> > Frank
> >
> > > -Original Message-
> > > From: Gerald Müllan [mailto:[EMAIL PROTECTED]
> > > Sent: Donnerstag, 22. Februar 2007 17:26
> > > To: MyFaces Discussion
> > > Subject: Re: PPRPanelGroup
> > >
> > > Hi,
> > >
> > > you have to register every component which should fire a 
> ppr-request.
> > > This can be done in an exactly manner via the "partialTriggers"
> > > attribute:
> > >
> > > E.g. id of a commandButton is "nextWizardStep"; Consequently if 
> > > going to the next wizard step should occur via a ppr-request (the 
> > > whole wizard page is embedded in the
> > > s:pprPanelGroup) "partialTriggers" has to be set to 
> "nextWizardStep".
> > >
> > > The other possibility is to use the 
> "partialTriggerPattern" attribute:
> > >
> > > E.g. if you want to use "nextWizardStep" and "previousWizardStep"
> > > buttons, just write "*WizardStep" as the "partialTriggerPattern"
> > > attribute.
> > >
> > > Every component which is registered via one of the above 
> attributes 
> > > should fire a ppr-request, because of the interception 
> point before 
> > > the regular form post.
> > >
> > > If it does not, there maybe a bug or another problem. E.g.
> > > you cannot use aliasBeans in combination with ppr because of the 
> > > scoping. But please post the corresponding code, maybe we 
> can then 
> > > say something more on that.
> > >
> > > Regarding the sandbox examples:
> > >
> > > You are right, the secondFormButton does one time a 
> ppr-request and 
> > > the other time a regular submit. It seems to steem from the fact 
> > > that the value of the button is changing after activating 
> a command 
> > > component from the first form.
> > >
> > > But don`t waste time on this, your problem should be another one..
> > >
> > > cheers,
> > >
> > > Gerald
> > >
> > > On 2/22/07, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > > > I have a question regarding the PPRPanelGroup.
> > > > When I use the Sandbox-example.war file I can use the 
> > > > PPRPanelGroup example as expected. However when I implement the 
> > > > corresponding jsp file and the backing bean in my own 
> application 

RE: PPRPanelGroup

2007-03-02 Thread Oellien, F \(Frank\)
I have used a standard faces-config.xml with not myfaces specific parameters.
The reason is that I have also not used the MyFaces API but the JSF RI jar 
files.
I think that the PPRPanelGroup can only work with the Myfaces package and not 
with the JSF RI.



Frank Oellien
Scientist
Intervet Innovation GmbH
Zur Propstei
55270 Schwabenheim, Germany

E-Mail: [EMAIL PROTECTED]
Phone:  +49 (6130) 948 365  
Fax:+49 (6130) 948 517  
 
Homehttp://www.intervet.com

Intervet Innovation GmbH is an Akzo Nobel company

Sitz der Gesellschaft: Schwabenheim  Amtsgericht Mainz, HRB 23 166  
  Geschäftsführer: Dr. Peter Schmid
 

> -Original Message-
> From: Gerald Müllan [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 2. März 2007 09:32
> To: MyFaces Discussion
> Subject: Re: PPRPanelGroup
> 
> Have you set the parameter
> "org.apache.myfaces.SERIALIZE_STATE_IN_SESSION" before to 
> false? The default is true by the way. Maybe the example bean 
> requires to be serialized.
> 
> The above three "SCHWERWIEGEND" error logs don`t matter, they 
> are common since a few months.
> 
> cheers,
> 
> Gerald
> 
> On 3/1/07, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > Hello Gerald,
> >
> > I have now tested the jar files from the nightly build and 
> observed the following:
> > Obviously all action components (buttons, links, etc) in 
> the page that have been configured as partialTrigger will 
> fire a partialRequest. I can see this, because the text of 
> the 'Pattern Matching PPRPanelGroup:' is changing to 
> 'Loading...'. However, that's all. The label does not change 
> again and also all fields that should be updated like 
> Message, First PPRPanelGroup will not be updated.
> > The tomcat server throws several errors:
> > When I start the page the first time I get the following message:
> >
> > 01.03.2007 12:34:25 
> > org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader 
> > serveResource
> > SCHWERWIEGEND: Unable to find resource 
> src/dom/__package__.js for component dojo.DojoResourceLoader. 
> Check that this file is available in the classpath in 
> sub-directory /resource of the package-directory.
> > 01.03.2007 12:34:25 
> > org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader 
> > serveResource
> > SCHWERWIEGEND: Unable to find resource src/__package__.js 
> for component dojo.DojoResourceLoader. Check that this file 
> is available in the classpath in sub-directory /resource of 
> the package-directory.
> > 01.03.2007 12:34:25 
> > org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader 
> > serveResource
> > SCHWERWIEGEND: Unable to find resource __package__.js for 
> component dojo.DojoResourceLoader. Check that this file is 
> available in the classpath in sub-directory /resource of the 
> package-directory.
> >
> > And also
> >
> > 01.03.2007 12:38:28 org.apache.catalina.session.StandardSession 
> > writeObject
> > WARNUNG: Cannot serialize session attribute 
> > 
> org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager for 
> > session D0B469D072F4BC3530FEA91193D62CE9
> > java.io.NotSerializableException: test.PPRExampleBean
> > at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
> > at 
> java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
> > at java.util.TreeMap.writeObject(TreeMap.java:1475)
> > at 
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> > at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at 
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.
> java:917)
> > at 
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.
> java:1339)
> > at 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStr
> eam.java:1290)
> > at 
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
> > at 
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStre
> am.java:1375)
> > at 
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.
> java:1347)
> > at 
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStr
> eam.java:1290)
> > at 
> j

Tree2 and PPRPanelGroup

2007-03-07 Thread Oellien, F \(Frank\)
Hello,

Is it possible to create a Ajax-enabled version of tree2 by putting the 
component within a pprPanelGroup?
I have tried but obviously it does not work as expected:
The tree will be rerendered through the Ajax request by pressing a node in the 
tree. However, the branches will not be expanded if clicking on the crosses. 
Why?

Regards
Frank


Frank Oellien
Scientist
Intervet Innovation GmbH
Zur Propstei
55270 Schwabenheim, Germany

E-Mail: [EMAIL PROTECTED]
Phone:  +49 (6130) 948 365  
Fax:+49 (6130) 948 517  
 
Homehttp://www.intervet.com

Intervet Innovation GmbH is an Akzo Nobel company

Sitz der Gesellschaft: Schwabenheim  Amtsgericht Mainz, HRB 23 166  
  Geschäftsführer: Dr. Peter Schmid

--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


CommandLink and Tree2

2006-12-11 Thread Oellien, F \(Frank\)
Hello,

I have a problem with commandLink and Tree2 in a multi-frames
environment. My application has a left frame containing the tree2 and a
right frame (name=workspaceContentFrame) which should represent the
results of the commandLink action. I have set the target attribute in
the commandLink. From reading several postings on mailing lists I have
learned that setting target will not solve my problem and I have to add
some Javascript to the commandLink to set the target on the form.
This workaround works with Firefox (2) but not with IE6 or IE7. Has
anybody a solution for this issue?
Is there another way to solve the target problem with commandLink/Tree2?

Thank you
Frank




...
















--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


CommandLink and Tree2 - addendum

2006-12-11 Thread Oellien, F \(Frank\)
Obviously, action and actionListener are not fired with IE6/7, if the
onmouseup event is present!? 

> -Original Message-
> From: Oellien, F (Frank) [mailto:[EMAIL PROTECTED] 
> Sent: Montag, 11. Dezember 2006 09:45
> To: MyFaces Discussion
> Subject: CommandLink and Tree2
> 
> Hello,
> 
> I have a problem with commandLink and Tree2 in a multi-frames 
> environment. My application has a left frame containing the 
> tree2 and a right frame (name=workspaceContentFrame) which 
> should represent the results of the commandLink action. I 
> have set the target attribute in the commandLink. From 
> reading several postings on mailing lists I have learned that 
> setting target will not solve my problem and I have to add 
> some Javascript to the commandLink to set the target on the form.
> This workaround works with Firefox (2) but not with IE6 or 
> IE7. Has anybody a solution for this issue?
> Is there another way to solve the target problem with 
> commandLink/Tree2?
> 
> Thank you
> Frank
> 
> 
>  onsubmit="alert('OnSubmit: ' +
> document.forms['workflowTreeForm'].target)">
>  value="#{workflowsBean.workflowTree}" var="node" varNodeToggler="t"
> clientSideToggle="false" showRootNode="false"> ...
> 
>  cellpadding="2"
> cellspacing="0">
>  rendered="#{!node.iconSet}" border="0"/>
>  rendered="#{node.iconSet}" border="0"/>
> 
> 
>  id="LoadTest" target="workspaceContentFrame" 
>  
> action="#{workflowsBean.loadWorkflow}"
> actionListener="#{workflowsBean.selectTemplateID}"
>  
> onmouseup="document.forms['workflowTreeForm'].target = this.target">
>  styleClass="nodeFolder"/>
>  value="#{node.identifier}"/>
> 
> 
> 
> 
> 
> 
> 
> --
> This message, including attachments, is confidential and may 
> be privileged.
> If you are not an intended recipient, please notify the 
> sender then delete and destroy the original message and all 
> copies. You should not copy, forward and/or disclose this 
> message, in whole or in part, without permission of the sender.
> --
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: CommandLink and Tree2

2006-12-11 Thread Oellien, F \(Frank\)
Hello,

I am not very familiar with the facelet approach. However, as I
understand the conecept you can use facelets to design layouts and to
combine different components. But, I am not sure how this can solve the
target problem of the tree2/commandLink framework.
However, I have tried your advice to save the tree state in the backing
bean. And finally this solves the problem. If you save the tree state in
the backing bean, no problem with frames, commandLink and tree2 will
occur.

Thank you
Frank

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of David Chandler
> Sent: Montag, 11. Dezember 2006 13:36
> To: MyFaces Discussion
> Subject: Re: CommandLink and Tree2
> 
> As an alternative to frames, I've had good success with Tree2 
> and command links using a Facelets template with Tree2 in the 
> template.
> You have to keep the tree state in a managed bean property 
> for this to work (as described on the Tree2 wiki).
> 
> /dmc
> 
> On 12/11/06, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I have a problem with commandLink and Tree2 in a multi-frames 
> > environment. My application has a left frame containing the 
> tree2 and 
> > a right frame (name=workspaceContentFrame) which should 
> represent the 
> > results of the commandLink action. I have set the target 
> attribute in 
> > the commandLink. From reading several postings on mailing 
> lists I have 
> > learned that setting target will not solve my problem and I have to 
> > add some Javascript to the commandLink to set the target on 
> the form.
> > This workaround works with Firefox (2) but not with IE6 or IE7. Has 
> > anybody a solution for this issue?
> > Is there another way to solve the target problem with 
> commandLink/Tree2?
> >
> > Thank you
> > Frank
> >
> >
> > > onsubmit="alert('OnSubmit: ' +
> > document.forms['workflowTreeForm'].target)">
> > > value="#{workflowsBean.workflowTree}" var="node" varNodeToggler="t"
> > clientSideToggle="false" showRootNode="false"> ...
> >
> > cellpadding="2"
> > cellspacing="0">
> > value="/images/module.gif"
> > rendered="#{!node.iconSet}" border="0"/>
> > > rendered="#{node.iconSet}" border="0"/>
> >
> >
> > > id="LoadTest" target="workspaceContentFrame"
> >
> > action="#{workflowsBean.loadWorkflow}"
> > actionListener="#{workflowsBean.selectTemplateID}"
> >
> > onmouseup="document.forms['workflowTreeForm'].target = this.target">
> > value="#{node.name}"
> > styleClass="nodeFolder"/>
> > > value="#{node.identifier}"/>
> >
> >
> >
> >
> >
> >
> >
> > --
> > This message, including attachments, is confidential and 
> may be privileged.
> > If you are not an intended recipient, please notify the sender then 
> > delete and destroy the original message and all copies. You 
> should not 
> > copy, forward and/or disclose this message, in whole or in part, 
> > without permission of the sender.
> > --
> >
> 
> 
> --
> David Chandler
> Development Coach
> learnjsf.com
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


TabPanel with unknown number of initial tabs

2006-12-11 Thread Oellien, F \(Frank\)
Hello,

I am wondering, if it is possible to define a Tabpanel (by using
standard components) that contains a undefined number of tabs? Usually,
you have to define each tab in the JSF page.
I think that this requirement should occur quite often, because a lot of
applications (IE7, Firefox, Eclipse, Netbeans...) also use this kind of
tabbing.

Regards
Frank
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: SplitPane in Webapp

2006-12-11 Thread Oellien, F \(Frank\)
I am not aware of a specific JSF component. However, you can use the
Dojo Splitpane and include your JSF components in the div tags.

Regards
Frank

> -Original Message-
> From: Strittmatter, Stephan 
> [mailto:[EMAIL PROTECTED] 
> Sent: Montag, 11. Dezember 2006 15:22
> To: MyFaces Discussion
> Subject: SplitPane in Webapp
> 
> Hello together,
> 
> I create a webapp wich is more an application than a webpage 
> and I search for a feature like a Jsplitpane. I only know 
> this feature with framesets, but I can not use frames.
> 
> Does anybody has an idea? Probably this could be also a 
> useful component for MyFaces Tomahawk?
> 
> Regards, Stephan
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


Problem with dataTable and newspaperOrientation

2006-12-12 Thread Oellien, F \(Frank\)
Hello,

I have just setup a dataTable with newspaper functionalitry like
described in http://www.irian.at/myfaces/newspaperTable.jsp.source

However my application gives the error message:
org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) Attribute
newspaperOrientation invalid for tag dataTable according to TLD

<%@ page contentType="text/html" %>
<%@ 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"%>



  







--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: Problem with dataTable and newspaperOrientation

2006-12-12 Thread Oellien, F \(Frank\)
Hello Paul,

I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
I thought that tomahawk should also work with Suns reference
implementation.

Frank 

> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 12. Dezember 2006 15:06
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
> 
> Frank,
> I suspect you are not running the same version of MyFaces and 
> Tomahawk as www.irian.at.  They are running a recent 
> 1.1.5-SNAPSHOT.  For more information on building the current 
> snapshot see:
>   http://wiki.apache.org/myfaces/Building_With_Maven
> 
> Paul Spencer
> 
> 
> 
> Oellien, F (Frank) wrote:
> > Hello,
> > 
> > I have just setup a dataTable with newspaper functionalitry like 
> > described in http://www.irian.at/myfaces/newspaperTable.jsp.source
> > 
> > However my application gives the error message:
> > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) 
> > Attribute newspaperOrientation invalid for tag dataTable 
> according to 
> > TLD
> > 
> > <%@ page contentType="text/html" %>
> > <%@ 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"%>
> > 
> > 
> > 
> >   
> >  > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}" 
> >  newspaperOrientation="horizontal"
> >  styleClass="standardTable"
> >  headerClass="standardTable_Header"
> >  footerClass="standardTable_Header"
> >  
> rowClasses="standardTable_Row1,standardTable_Row2"
> >  
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> >  var="workflow"
> >  value="#{workflowsBean.activeWorkflowsModel}">
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > This message, including attachments, is confidential and 
> may be privileged.
> > If you are not an intended recipient, please notify the sender then 
> > delete and destroy the original message and all copies. You 
> should not 
> > copy, forward and/or disclose this message, in whole or in part, 
> > without permission of the sender.
> > --
> > 
> 
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: Problem with dataTable and newspaperOrientation

2006-12-12 Thread Oellien, F \(Frank\)
Hello Paul,

I have downloaded the 1.1.5-SNAPSHOT and indeed Netbeans reports no dependency 
error with the taglib reference. However, when I start the web page I receive 
another critical error instead:

org.apache.jasper.JasperException: Parameter-Fehler: Ein oder mehrere Parameter 
könnten Null sein.

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

Do I have to set some additional parameters in my config files to work with the 
snapshot version?

Regards
Frank 

> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 12. Dezember 2006 15:06
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
> 
> Frank,
> I suspect you are not running the same version of MyFaces and 
> Tomahawk as www.irian.at.  They are running a recent 
> 1.1.5-SNAPSHOT.  For more information on building the current 
> snapshot see:
>   http://wiki.apache.org/myfaces/Building_With_Maven
> 
> Paul Spencer
> 
> 
> 
> Oellien, F (Frank) wrote:
> > Hello,
> > 
> > I have just setup a dataTable with newspaper functionalitry like 
> > described in http://www.irian.at/myfaces/newspaperTable.jsp.source
> > 
> > However my application gives the error message:
> > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) 
> > Attribute newspaperOrientation invalid for tag dataTable 
> according to 
> > TLD
> > 
> > <%@ page contentType="text/html" %>
> > <%@ 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"%>
> > 
> > 
> > 
> >   
> >  > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}" 
> >  newspaperOrientation="horizontal"
> >  styleClass="standardTable"
> >  headerClass="standardTable_Header"
> >  footerClass="standardTable_Header"
> >  
> rowClasses="standardTable_Row1,standardTable_Row2"
> >  
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> >  var="workflow"
> >  value="#{workflowsBean.activeWorkflowsModel}">
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > This message, including attachments, is confidential and 
> may be privileged.
> > If you are not an intended recipient, please notify the sender then 
> > delete and destroy the original message and all copies. You 
> should not 
> > copy, forward and/or disclose this message, in whole or in part, 
> > without permission of the sender.
> > --
> > 
> 
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: Problem with dataTable and newspaperOrientation

2006-12-12 Thread Oellien, F \(Frank\)
Yep. I have downloaded the 1.1.4 version halh an Hour ago and it works fine.

Thank you
Frank 

> -Original Message-
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 12. Dezember 2006 17:13
> To: MyFaces Discussion
> Subject: Re: Problem with dataTable and newspaperOrientation
> 
> Another possiblity is the 1.1.4 Tomahawk candidate release.  
> I'm pretty sure that newspaper support for datatable was 
> added before the
> 1.1.4 release
> 
> > Parameter-Fehler: Ein oder mehrere Parameter könnten Null sein.
> 
> Note that alta vista translates this as:  Parameter error: 
> One or more parameters could be zero.
> 
> Not sure what causes that error.   Try posting your web.xml file
> entries for tomahawk.
> 
> On 12/12/06, Oellien, F (Frank) <[EMAIL PROTECTED]> wrote:
> > Hello Paul,
> >
> > I have downloaded the 1.1.5-SNAPSHOT and indeed Netbeans 
> reports no dependency error with the taglib reference. 
> However, when I start the web page I receive another critical 
> error instead:
> >
> > org.apache.jasper.JasperException: Parameter-Fehler: Ein 
> oder mehrere Parameter könnten Null sein.
> > 
> > 
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServ
> > letWrapper.java:510)
> >
> > Do I have to set some additional parameters in my config 
> files to work with the snapshot version?
> >
> > Regards
> > Frank
> >
> > > -Original Message-
> > > From: Paul Spencer [mailto:[EMAIL PROTECTED]
> > > Sent: Dienstag, 12. Dezember 2006 15:06
> > > To: MyFaces Discussion
> > > Subject: Re: Problem with dataTable and newspaperOrientation
> > >
> > > Frank,
> > > I suspect you are not running the same version of MyFaces and 
> > > Tomahawk as www.irian.at.  They are running a recent 
> 1.1.5-SNAPSHOT.  
> > > For more information on building the current snapshot see:
> > >   http://wiki.apache.org/myfaces/Building_With_Maven
> > >
> > > Paul Spencer
> > >
> > >
> > >
> > > Oellien, F (Frank) wrote:
> > > > Hello,
> > > >
> > > > I have just setup a dataTable with newspaper 
> functionalitry like 
> > > > described in 
> http://www.irian.at/myfaces/newspaperTable.jsp.source
> > > >
> > > > However my application gives the error message:
> > > > org.apache.jasper.JasperException: /workspaceContent.jsp(24,8) 
> > > > Attribute newspaperOrientation invalid for tag dataTable
> > > according to
> > > > TLD
> > > >
> > > > <%@ page contentType="text/html" %> <%@ 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"%>
> > > >
> > > > 
> > > >
> > > >   
> > > >  > > > newspaperColumns="#{workflowsBean.noOfActiveWorkflows}"
> > > >  newspaperOrientation="horizontal"
> > > >  styleClass="standardTable"
> > > >  headerClass="standardTable_Header"
> > > >  footerClass="standardTable_Header"
> > > >
> > > rowClasses="standardTable_Row1,standardTable_Row2"
> > > >
> > > > 
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > >  var="workflow"
> > > >  
> value="#{workflowsBean.activeWorkflowsModel}">
> > > > 
> > > >  value="#{workflow.userDefinedName}" />
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > This message, including attachments, is confidential and
> > > may be privileged.
> > > > If you are not an intended recipient, please notify the sender 
> > > > then delete and destroy the original message and all copies. You
> > > should not
> > > > copy, forward and/or disclose this message, in whole or 
> in part, 
> > > > without permission of the sender.
> > > > --
> > > >
> > >
> > >
> > --
> > This message, including attachments, is confidential and 
> may be privileged.
> > If you are not an intended recipient, please notify the sender then 
> > delete and destroy the original message and all copies. You 
> should not 
> > copy, forward and/or disclose this message, in whole or in part, 
> > without permission of the sender.
> > --
> >
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


Dynamically changing newspaperColumns in dataTable

2006-12-15 Thread Oellien, F \(Frank\)
Hello,

I am using dataTable to define a tabular layout in my page.
The dataTable contains the same class as value. So I use the newspaper
option to display the tabular data.
My problem is that the tabular layout can change between each request
which means that the table can have x columns and y rows depending on
the layout.
I thought that I can influence the number of columns by binding the
newspaperColumns value to a function in the backing bean. However, this
value will obviously only be read during the initialization of
dataTable. If the number changes during further request, it has no
influence on the number of columns. I have also tried to set
preserveDataModel to false.

With regards

Frank Oellien
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: Sanbox: DojoSplitPane error - Some more Info

2006-12-20 Thread Oellien, F \(Frank\)
Some of the methods in DojoSplitPane and DojoSplitPaneRenderer are
misspelled: get/setSplitOrientanation instead of
get/setSplitOrientation.
 
Furthermore, the Orientation part in the setProperties funtion of the
DojoContentPaneTag has to be changed from setIntegerProperty to
setStringProperty.
 
After all these changes, orientation can be set in the DojoSplitPane
component.
 
Regards
 
Frank




From: Oellien, F (Frank) 
Sent: Mittwoch, 20. Dezember 2006 17:12
To: 'MyFaces Discussion'
Subject: Sanbox: DojoSplitPane error


The DojoSplitPane component in the sandbox package seems to have
an error in DojoSplitPaneTag.java.
 
I receive an error set the setter method vor set
SplitOrientatation is not set in the tag file. Indeed when I look to the
DojoSplitPaneTag.java class the setter method is called setOrientation
instead of setSplitOrientation. This true for sandbox 1.1.4 and 1.1.5
 
Furthermore I can not set the styleClass attribute for the
layoutContentPane component: Everytime I receive an error that one of
the attributes can be null.
 
 
Regards
Frank


--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--

Sanbox: DojoSplitPane error

2006-12-20 Thread Oellien, F \(Frank\)
The DojoSplitPane component in the sandbox package seems to have an
error in DojoSplitPaneTag.java.
 
I receive an error set the setter method vor set SplitOrientatation is
not set in the tag file. Indeed when I look to the DojoSplitPaneTag.java
class the setter method is called setOrientation instead of
setSplitOrientation. This true for sandbox 1.1.4 and 1.1.5
 
Furthermore I can not set the styleClass attribute for the
layoutContentPane component: Everytime I receive an error that one of
the attributes can be null.
 
 
Regards
Frank

--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--

JSTL functions and JSF EL

2007-01-02 Thread Oellien, F \(Frank\)
Has anybody an idea why I get a IllegalArgumentException when I try to
use JSTL functions in JSF EL?
 


--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--

Dojo Menu2 and JSF

2007-01-11 Thread Oellien, F \(Frank\)
How can I connect onClick Events like in Dojo Menu2 or Dojo Button to my
JSF environment.
At least I want to communicate with my BackingBeans. Is there a way to
solve this with Javascript?

I tried to understand the behavior of the JSCookMenu example but it is
not very clear to me what happens there.

Regards

Frank
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


RE: Re: Dojo Menu2 and JSF

2007-01-11 Thread Oellien, F \(Frank\)
In the end I only want to call functions in my backing beans.
For example selecting menuitems in the view menu should call functions
in the layoutBean.
Or clicking on a start-toolbar-button should call a start method in the
workingBean.
Usually I do this with the JSF components by using action and
actionListener. However in the case of the Dojo menu there are no JSF
components to use and I have to implement a way that will call a bean
function by using the onClick Javascript method.

One way is to embedd a h:inputHidden component which is bind to a bean
function, modify it with Javascript by clicking the onClick function in
the dojo component and finally sending the form to the server.

Is there also an alternative which maybe does not require a JSF
component to call the backing bean functions?

Currently I do not use ajax functionalities in my application. However,
this should happen in the near future, because every action in the page
leads to a reload of the page which can take quite long (more precise
the layout calculation) depending on the Dojo components implemented.



> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz
> Sent: Donnerstag, 11. Januar 2007 10:52
> To: users@myfaces.apache.org
> Subject: Re: Dojo Menu2 and JSF
> 
> Oellien, F (Frank) schrieb:
> > How can I connect onClick Events like in Dojo Menu2 or Dojo 
> Button to 
> > my JSF environment.
> > At least I want to communicate with my BackingBeans. Is 
> there a way to 
> > solve this with Javascript?
> > 
> > I tried to understand the behavior of the JSCookMenu 
> example but it is 
> > not very clear to me what happens there.
> > 
> yes there is a way, you can use forceId in the jsf tomahawk 
> tags to have clearly identifyable ids on the components and 
> then you can use them as normal html dom tree objects the way 
> you are used to.
> 
> The rest is dojo javascript scripting.
> As for the backing beans what do you want to achieve? The 
> backing bean values are set and get during page refreshes, 
> ajax might be the way to go if you want to avoid that or 
> partial page rendering.
> 
> 
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--


Div tag and action

2007-01-17 Thread Oellien, F \(Frank\)
Hello,

Is there somewhere a JSF div component available that can be used like
t:commandLink?
The component should provide the definition of different style classes
for diefferent mouse events (over, clicked,..) and also the action and
actionListener methods like in the case of the commandLink component.

Is there a way to solve this issue by using div + Javascript +
t:commandLink ?

Regards
Frank
--
This message, including attachments, is confidential and may be privileged.
If you are not an intended recipient, please notify the sender then delete
and destroy the original message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without permission of
the sender.
--