Re: Problem with Script file (Migration from Tapestry 4.0.2 to 4.1.5 )

2008-03-24 Thread Damian Krzeminski

Sumanth Dupuguntla wrote:

Hi all,

I'm using a script component , which was working fine with tapestry 4.0.2,
when I changed the jar files (Tapesrtry 4.1.5 jars(
tapestry-annotations-4.1.5.jar , tapestry-contrib-4.1.5.jar,
tapestry-framework-4.1.5.jar,  tapestry-portlet-4.1.5.jar and
ognl-2.7.2.jar) I'm getting null pointer exception at
org.apache.tapestry.html.Script.getParsedScript(Script.java:129).

I' have the script files and the component html files in WEB-INF/  .


context:/WEB-INF/EditAddress.html, line 47

   

<...>

I had the same problem. I think it stopped working in 4.1. Did not have 
time to get to the bottom of the issue.


What worked for me was declaring scripts as assets (use 
context:/WEB-INF/EditAddress.script as the path) and using


 scriptAsset="asset:script"

binding instead of 'script' parameter.

D.


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



plane issues

2007-07-12 Thread Damian Krzeminski

http://track.sipfoundry.org/browse/XCF-1795
UI prototype for: http://track.sipfoundry.org/browse/XCF-1790
UI prototype for: http://track.sipfoundry.org/browse/XCF-1605



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



Clearone support in sipXconfig

2007-01-19 Thread Damian Krzeminski

Jeff:
I believe sipXconfig is now capable of configuring Max IP and I'd like to add that information on 
sipX wiki, but I did not have a chance to test it since SIPit. Did you have an opportunity to use 
3.7 build to test it?


I am also asked if plugin is mature enough to be part of commercial version of sipXconfig 
distributed by Pingtel. This is not possible unless we have a unit/firmware to certify: I was 
wondering if you can give me a contact that Pingtel business people can use to talk about 
certification with sipX.


Thanks,
Damian


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



Re: Securing URL Parameters

2006-12-07 Thread Damian Krzeminski

Dennis Sinelnikov wrote:

Dear Fellow Tapestriers :),

I need to implement an EngineService that will return a specific file 
living on a filesystem.  I need to pass a parameter in the url that 
specifies which file to return.  I've searched the tapestry list serve 
archives for an elegant solution, but nothing really caught my eye.  My 
initial thought was to do a one-way hash of the file and pass it via the 
parameter in the url; when the url comes back the service would 
"replicate" the process by comparing the hashes of all the files and see 
which one matches; the one matches return to the user.


I'm curious to see what others are doing in securing urls from malicious 
users.  Sample code or any suggestions are greatly appreciated.


Thanks,
Dennis


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




I was looking for elegant solution for that problem as well. I ended up doing something similar to 
AssetService, which is I guess what you are trying to do as well.


The code is here:
http://scm.sipfoundry.org/rep/sipX/main/sipXconfig/web/src/org/sipfoundry/sipxconfig/components/DownloadService.java
http://scm.sipfoundry.org/rep/sipX/main/sipXconfig/web/src/org/sipfoundry/sipxconfig/components/DownloadLink.java

It's in subversion repository - you can get entire project from here: 
http://scm.sipfoundry.org/rep/sipX/main/sipXconfig


If anybody comes up with something better I'd like to know that.
Damian


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



Re: Which Tapestry version to use ?

2006-11-26 Thread Damian Krzeminski

Cyrille37 wrote:
Thanks for your help. Seems Ajax to be the difference... I thinks not at 
all ;o)

I think I'll run with Tapestry 4.0.2

By the  way, do you know open source project done with Tapestry 4.0.x ?
I would like to have a look on a bigger project's structure than an 
tutorial/example.


Cyrille



Check out: http://sipx-wiki.calivia.com/index.php/SipX_Configuration_Server
Tapestry 4.0.2 + Tacos + Spring + Hibernate
SVN repo: http://scm.sipfoundry.org/rep/sipX/main/sipXconfig/

Damian



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