You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@yam.com> on 2005/02/10 04:31:47 UTC

portal and cform integrate

Hi phil!

I solve most problem,except anchor position is wrong. 
it'll show the calendar at the top of the page I'll try to solve it later. or may you can teach me,tks.
The step I said before just need to add some lines to pipeline before  <map:match pattern=""> and copy all javascript to the location

         <map:match pattern="resources/mattkruse-lib/*.js">
             <map:read mime-type="text/javascript" src="{global:skin}resources/mattkruse-lib/{1}.js"/>
         </map:match>

to  Reinhard

it a problem to have two instance in a page, not only the id but also div
so it's not a good idea to have two same cform instances in one page I think ,if you want to,try use frame to sep them

best regards

johnson

Re: portal and cform integrate

Posted by Philippe Guillard <pg...@soociety.com>.
Johnson wrote:

>Hi phil!
>
>I solve most problem,except anchor position is wrong. 
>it'll show the calendar at the top of the page I'll try to solve it later. or may you can teach me,tks.
>The step I said before just need to add some lines to pipeline before  <map:match pattern=""> and copy all javascript to the location
>
>         <map:match pattern="resources/mattkruse-lib/*.js">
>             <map:read mime-type="text/javascript" src="{global:skin}resources/mattkruse-lib/{1}.js"/>
>         </map:match>
>
>to  Reinhard
>
>it a problem to have two instance in a page, not only the id but also div
>so it's not a good idea to have two same cform instances in one page I think ,if you want to,try use frame to sep them
>
>best regards
>
>johnson
>
>  
>
Good. Sure in portal you need a pipeline to get js, css, gif, jpeg etc...

For anchor position i remember i put <div id="forms_calendar_div"/> on 
top of my coplet or in the CForm template, next to the date field: 
                                
<fi:items>
       <div id="forms_calendar2Div"/> 
</fi:items>

Phil

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