Aridany, I think it would be great if you could write a HOWTO in AppFuse's website on how to setup dojo...

Aridany Ramirez wrote:
You need to copy the files inside "org/apache/struts2/static" folder, from struts2-core-2.0.6.jar to /scripts/dojo. Then make an include with dojo.js in the body of the jsp where you want to use dojo widgets. This way Prototype and Scriptaculous won´t be a problem with default configuration in appfuse.

2007/4/19, Will Berger <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:


    Cancel that

    It can't find dojo apparently.

    dojo undefined javascript error message.  I did try commenting out
    prototype, scriptaculous.

    Will


    Will Berger wrote:
    >
    > no javascript errors.
    >
    > will
    >
    >
    >
    > Aridany Ramirez wrote:
    >>
    >> Are you getting any javascripts errors??? Maybe is a problem
    with dojo
    >> includes.
    >>
    >>
    >>
    >> 2007/4/18, Matt Raible <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>:
    >>>
    >>> If you disable SiteMesh for your app, or exclude this JSP,
    does it work?
    >>>
    >>> On 4/18/07, Will Berger <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    >>> >
    >>> > I was wondering if anyone has run into this.  I am trying to
    use the
    >>> > datepicker and it doesn't seem to render in the html
    page.  When I go
    >>> to
    >>> the
    >>> > struts cookbook demo site.  The datepicker generates just
    fine.  I
    >>> took
    >>> the
    >>> > example page and tried running it in appfuse.  It also did not
    >>> run.  Anyone
    >>> > have any suggestions?
    >>> >
    >>> > Any help much appreciated.
    >>> >
    >>> > Will
    >>> >
    >>> > Here is the jsp that does not work.
    >>> >
    >>> > <%@ page contentType="text/html;charset=UTF-8"
    language="java" %>
    >>> > <%@ taglib prefix="s" uri="/struts-tags" %>
    >>> > <html>
    >>> > <head>
    >>> >     <title>UI Tags Example</title>
    >>> >      <s:head />
    >>> > </head>
    >>> >  <body>
    >>> > <table>
    >>> >  <s:datetimepicker label="toggleType='wipe'" value="2006-10-31"
    >>> > toggleType="wipe" toggleDuration="300" name="test"/>
    >>> >  <s:datetimepicker label="toggleType='explode'"
    value="2006-07-22"
    >>> > toggleType="explode" toggleDuration="500"/>
    >>> >  </body>
    >>> > </table>
    >>> > --
    >>> > View this message in context:
    >>>
    
http://www.nabble.com/datepicker-problems-in-appfuse-2m4-tf3603239s2369.html#a10066449
    >>> > Sent from the AppFuse - User mailing list archive at
    Nabble.com <http://Nabble.com>.
    >>> >
    >>> >
    ---------------------------------------------------------------------
    >>> > To unsubscribe, e-mail:
    [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >>> > For additional commands, e-mail:
    [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >>> >
    >>> >
    >>>
    >>>
    >>> --
    >>> http://raibledesigns.com
    >>>
    >>>
    ---------------------------------------------------------------------
    >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >>> For additional commands, e-mail:
    [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >>>
    >>>
    >>
    >>
    >
    >

    --
    View this message in context:
    
http://www.nabble.com/datepicker-problems-in-appfuse-2m4-tf3603239s2369.html#a10069953
    Sent from the AppFuse - User mailing list archive at Nabble.com
    <http://Nabble.com>.

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to