List Info

Thread: renderedPartially is a great function, it could have more framework support




renderedPartially is a great function, it could have more framework support
user name
2007-10-04 04:53:25
Hi,
 
I decided to focus on all my renderedPartially my attributes to make them work. And I understood they doesn't work with tc:cell, tc:tab, tc:tabgroup and maybe others. In addition, when pointed to tc:tab, tc:tabgroup javascript errors are generated and doesn't let the job done.
 
I think a sort of "tree view building-time compiler" could be of good help to community saying: component with id:"xx" of type "xx" can't be rendered partially.
 
Otherwise, a very minor bug when the renderedPartially value is null (I think this business case is similar to an empty string value rather than an unallowed value):
java.lang.NullPointerException
at org.apache.myfaces.tobago.renderkit.html.CommandRendererHelper.initOnclick(CommandRendererHelper.java:100)
at org.apache.myfaces.tobago.renderkit.html.CommandRendererHelper .<init>;(CommandRendererHelper.java:61)
at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeOldRenderer.getTreeNodeCommandVar(TreeOldRenderer.java:292)
at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeOldRenderer.createJavascript (TreeOldRenderer.java:251)
this happens on templating such as:

< tc:attribute

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; name= "renderedPartially"

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; value="#{ajaxScope}&quot; />



Regards,
Zied
Re: renderedPartially is a great function, it could have more framework support
country flaguser name
Germany
2007-10-04 08:25:44
Hello Zied,

please add jira issues for your requests.

Regards

Bernd

Zied Hamdi wrote:
> Hi,
> 
> I decided to focus on all my renderedPartially my
attributes to make them
> work. And I understood they doesn't work with tc:cell,
tc:tab, tc:tabgroup
> and maybe others. In addition, when pointed to tc:tab,
tc:tabgroup
> javascript errors are generated and doesn't let the job
done.
> 
> I think a sort of "tree view building-time
compiler" could be of good help
> to community saying: component with id:"xx"
of type "xx" can't be rendered
> partially.
> 
> Otherwise, a very minor bug when the renderedPartially
value is null (I
> think this business case is similar to an empty string
value rather than an
> unallowed value):
> java.lang.NullPointerException
> at
>
org.apache.myfaces.tobago.renderkit.html.CommandRendererHelp
er.initOnclick(
> CommandRendererHelper.java:100)
> at
org.apache.myfaces.tobago.renderkit.html.CommandRendererHelp
er.<init>(
> CommandRendererHelper.java:61)
> at
>
org.apache.myfaces.tobago.renderkit.html.scarborough.standar
d.tag.TreeOldRenderer.getTreeNodeCommandVar
> (TreeOldRenderer.java:292)
> at
>
org.apache.myfaces.tobago.renderkit.html.scarborough.standar
d.tag.TreeOldRenderer.createJavascript
> (TreeOldRenderer.java:251)
> this happens on templating such as:
> 
> <tc:attribute
> 
>                             
name="renderedPartially"
> 
>                             
value="#" />
> 
> 
> Regards,
> Zied
> 

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )