You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Gurram, Srinivas" <sr...@logicacmg.com> on 2006/05/09 06:19:07 UTC

creating a new document in cms publications.


Hi

     I am srinivas, new to lenya.............could any one help me.

     Actually my application is like this.  

      when ever we are creating a new document it asks for two dates one is startdate and another one is enddate. While creating a new document the system searches for the files in other publications which were modified or created in between the start and end dates entered by cms editor.Those searched results will be displayed as a content of this new document.

              This is my actual application.


              in this process, editor clicks on create document in lenya menu. the control goes through the following pages in lenya.
    
                         1. create.xsp ( helps in the creation of new document at the selected node position)
                         2. Create.xsl  ( helps in the creation of look and feel at the creation of new node.)  
                         3. xhtml.xml   ( This is template for the creation of new page.)
                         4. page2xhtml.xsl ( This is used to generation of the page)    
                         5. xhtml2xhtml.xsl. (Helps in the creation of the body of the page).


             so, my question is where can i modify in the above pages
  
                   1. Provide the interface for taking the dates from the editor.  ( this should be implemented in create.xsl) after this the control is going to which page?
                          how can i retrieve the dates for searching. 
                   2. where should i implement the seaching logic basing on those dates.
                   3. where the results are stored. where can i display the results.


            kindly help me.............urgent..............



Thanks and Regards,
Srinivas Gurram.







Thanks and Regards,
Srinivas Gurram.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Problem Formatting time

Posted by so...@apache.org.
On 5/9/06, Mario Rometsch <ro...@uni-ulm.de> wrote:
> I need to modify the format of the timestamp saved in
> <dcterms:created> (it looks like Tue May 09 08:16:02 CEST 2006).
> Where is this string generated?

Do you really need to change how the date is stored?  Or just how it
is displayed?

Changing how it is stored will probably break Lenya.  Any function
retrieving the date will expect it in the current format.

For formatting dates for display, see the i18n Transformer:
http://cocoon.apache.org/2.1/userdocs/i18nTransformer.html

You can reformat dates to your own format, or have the dates appear
based on the visitor's language choice.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Problem Formatting time

Posted by Mario Rometsch <ro...@uni-ulm.de>.
Hi,
I need to modify the format of the timestamp saved in
<dcterms:created> (it looks like Tue May 09 08:16:02 CEST 2006).
Where is this string generated?

Thanks

Mario Rometsch

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org