You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by raveendra varma <ra...@gmail.com> on 2008/04/30 13:44:38 UTC
dojo problem
Hi all,
I am upgrading my tapestry project from 4.0.2 to 4.1.5.I made all the java
related changes.But i have a problem with dojo generated
javascript.As<http://javascript.as/>4.1 version of tapestry dojo comes
in built with tapestry jars , dojo
generated script has some errors like below
<input type="text" name="textSearch4" value="" id="textSearch4" size="7"
onkeypress="return noenter()" />
<script language="javascript">
function noenter() {
<span>
return true;
</span>
}
</script>
The </span> tags are getting generated which is causing ErroronPage.Onemore
error is
<script type="text/javascript"><!--
tapestry.addOnLoad(function(e) {
dojo.require("tapestry.form");tapestry.form.registerForm("searchForm");
calendar_Start Date = new Calendar();
The space between calendar_Start and Date.It <http://date.it/> should be
calendar_StartDate ,which makes sense.
give me a solution.
ravindra
T5: Problem with tap-acegi accessDenied redirect
Posted by Andreas Pursian <dg...@gmx.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi List,
i'm using the tapestry-acegi component in version 1.0.4-SNAPSHOT in my
project (T5.0.11) to manage access control. While securing of listener
methods is working since this Snapshot release, i receive a 404 Error
| The requested resource (/ccm/general/loginpage) is not available.
instead of the suspected login page. I configured the appropiate
acegi.accessDenied.url symbol in my appModule as follows:
public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
configuration) {
configuration.add("acegi.failure.url","/general/loginpage/failed");
~ configuration.add("acegi.loginform.url", "/general/loginpage");
configuration.add("acegi.accessDenied.url","/general/loginpage");
~ .....
The mentioned page resource (/ccm/general/loginpage) exists and for all
other redirecting events things are working properly. I'm using Tomcat 6.
many thanks in advance ...
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIGIHSM14O/Esx/74RAmkkAJ4rjfQBLvOC7jSDa/GoIRCU+F/94gCg0+F7
tlHh7zPu/pN0jORvYUVxB2A=
=qqmE
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: dojo problem
Posted by Andreas Andreou <an...@gmail.com>.
For the first issue, you're probably using @If, @Else or @For somewhere...
Take a look at their renderTag parameter, you'll probably want to set
it to false
http://tapestry.apache.org/tapestry4.1/components/general/if.html
For the second problem, how are you declaring your DatePicker component?
You must have an extra space somewhere there, so just remove it.
On Wed, Apr 30, 2008 at 2:44 PM, raveendra varma <ra...@gmail.com> wrote:
> Hi all,
>
> I am upgrading my tapestry project from 4.0.2 to 4.1.5.I made all the java
> related changes.But i have a problem with dojo generated
> javascript.As<http://javascript.as/>4.1 version of tapestry dojo comes
> in built with tapestry jars , dojo
> generated script has some errors like below
>
> <input type="text" name="textSearch4" value="" id="textSearch4" size="7"
> onkeypress="return noenter()" />
> <script language="javascript">
> function noenter() {
> <span>
> return true;
> </span>
> }
> </script>
>
>
> The </span> tags are getting generated which is causing ErroronPage.Onemore
> error is
>
> <script type="text/javascript"><!--
> tapestry.addOnLoad(function(e) {
> dojo.require("tapestry.form");tapestry.form.registerForm("searchForm");
> calendar_Start Date = new Calendar();
>
> The space between calendar_Start and Date.It <http://date.it/> should be
> calendar_StartDate ,which makes sense.
>
>
> give me a solution.
>
> ravindra
>
--
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org