You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nicolas Duroc <ni...@free.fr> on 2006/07/17 13:35:21 UTC

widget non interpreted

Hi,

I have a form to edit a XML Files. For that, i have a binding document, a 
model document, a data document, and a template document. In the result page, 
some widget are non interpreted, and when I look the source code, I see the 
<ft-widget...>.

In fact, the non-interpreted widget comes from a list, and only the first 
widget are interpreted.

More explainations with the XML data document :

...
<entity number="1">entity1</entity>
<entity number="2">entity2</entity>
<entity number="3">entity3</entity>
<entity number="4">entity4</entity>
<entity number="5">entity5</entity>
<entity number="6">entity6</entity>
...

In my XML binding document :

...
<fb:value id="entity1" path="entity[attribute::number=1]" />
<fb:value id="entity2" path="entity[attribute::number=2]" />
<fb:value id="entity3" path="entity[attribute::number=3]" />
<fb:value id="entity4" path="entity[attribute::number=4]" />
<fb:value id="entity5" path="entity[attribute::number=5]" />
<fb:value id="entity6" path="entity[attribute::number=6]" />
...

I know that a repeater would be the solution, but the graphical interface 
isn't a table or a list, and the "repeated-rows" isn't laid out according 
a "template", So i can't repeat it for each element.

As I said upper, only the first widget (entity1) is interpreted and displayed, 
the others stay as "<ft:widget...>".

If anyone has a solution ? the XPath syntax seems correct...

Thanks in advance

Regards

Nicolas Duroc


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: widget non interpreted

Posted by Nicolas Duroc <ni...@free.fr>.
Nicolas Duroc <nicolas.duroc <at> free.fr> writes:

> As I said upper, only the first widget (entity1) is interpreted and 
displayed, 
> the others stay as "<ft:widget...>".

oops, I made a mistake, I put ft-widget instead of ft:widget... (when will the 
copy/paste correct the mistakes ? :p) that's why it wasn't interpreted...





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


please help

Posted by dee <go...@yahoo.com>.
hi,
   
  i am new to using cocoon.I am trying to configure the cocoon portal fand use it as our company portal. but i am having problems doing that. could someone please spend two min and answer my simple query regarding the different profile views.
   
  At the moment I have a global profile in each of those folders 
(portal.xml) and also an additional portal-role-admin.xml. However, if I 
log on with a user (e.g. the sample-portal user "cocoon") that has admin 
privileges (it's role is admin), the profile loaded is always the global 
one. The role of that user is defined in a file called sunrise-user.xml
      could someone please tell me if  the role based profile view works . i have followed the steps given in the cocoon website. if i need to do something more please tell me.
   
   
  
 



 			
---------------------------------
See the all-new, redesigned Yahoo.com.  Check it out.