You are not logged in.
Pages: 1
I want to devide my problem into smaller problems.
First:
I want to have a form with an inputbox and a submit button,when user type a word in inputbox and press submit button show a message like
Hello [enterred word] to user
in sitemap-front.xmap file,I add this codes
<map:match pattern="service/search/concordance.html">
<map:generate src="service:web://concordance/interface.xml"/>
<map:transform src="service:web://concordance/transform.xsl"/>
<map:serialize/>
</map:match>
it's correct and show me my form,transform.xsl file is
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>
My Test Form
</title>
</head>
<body>
<form action="service/search/concordance" method="post">
<input type="textbox" name="keyword"/>
<input type="submit" value="submit"/>
</form>
</body>
</html>
</xsl:template>
now I must add a pipeline for form action,in sitemap-front.xmap file,I add this codes
<map:match pattern="*/service/search/concordance">
<map:generate src="service:web://concordance/interface.xml"/>
<map:transform src="service:web://concordance/results.xsl"/>
<map:serialize/>
</map:match>
but when I press submit button I have error
org.apache.cocoon.ResourceNotFoundException : No pipeline matched request test1/en/service/search/concordance
after show this error,the page is redirecting to index page that I've add my service
how can I solve error?
thanks in advance
I deleted old web project from Eclipse,then export in web folder (I've attached screenshots of my folders)
then I edited <property name="common-build" location="../deliver/common-build.xml"/> in build.xml file,because my deliver project and web project are in the same level.
after that I build web project with command prompt ant tool and add it as a new java project to Eclipse
my computer is connected to internet, I deleted manually "cocoon-2.2.0" jars and now I have errors like 'org.apache can not be resolved'
I've attached my screenshots and .classpath file
thanks in advance
Hi,
ا've attached my Eclipse screenshots to this post,
thanks in advance
Hi dear Raphael Franchet,
with help of you,I can create service interface.
getting user inputs, search and returning results are another important jobs which I must do.
I examin file and see getQuery,_addTextFieldQuery and ... functions that seem to be used for create query, but I don't know how execution is getting here because form action in Search service doesn't show a url for processing user inputs. url is something like ...index.html#nav
I want to get user input (keyword or reqular expression) and search in content of files that I added to resource explorer then show all sections of file content (for example two words after and two words before keyword) that keyword is found as a result in table.
I need some help,please help me.
thanks in advance
Thanks for your reply.
I can't add my screenshots to post,img icon in toolbar just add a tag and don't show browse window
I exported ivyrep from svn and my ivysettings.xml file is exactly
I exported web component from ,so my ivy.xml file is exactly
when I build web component with command:
$ ant -Divy.settings=/path/to/locally/checked-out/ivyrep/ivysettings.xml
build is successful,
then I add builded web component as a new Java project in eclipse,then right click on the ivy.xml file in the component's project and choose Add Ivy Library.in this step I get reported error.
Thank you very much,
Hi,
I followed exactly steps in "Using an Ametys component in the Eclipse IDE" of
1. I exported
and do setting in Window > Preferences menu of eclipse
2.I exported , for compile web component
but when I right click on the ivy.xml file in the component's project and choose Add Ivy Library
eclipse get this error:
'IvyDE resolve' has encountered a problem.
Some projects fail to be resolved
Impossible to resolve dependencies of org.ametys.web#web#3.6.x;working@fahime-EX460-EX461
unresolved dependency: org.ametys.tools#tools;1.1.8: not found
unresolved dependency: org.ametys.plugins#explorer#2.6.x;2.6.0.20140625-0347-b1093-SNAPSHOT: not found
unresolved dependency: org.ametys.plugins#repository#2.6.x;2.6.0.20140625-0300-b1159-SNAPSHOT: not found
unresolved dependency: org.ametys.plugins#workflow#1.3.x;1.3.0: not found
thank you dear Raphael Franchet,
your help was very very good
when I examin ametys .xmap files, I see tags like <map:transform src="service://@xslt" type="xslt"/>
what does service://@xslt mean?
thanks in advance
thank you dear Raphael Franchet,
How can I see and examine writen codes for Search service and create a new service like it but with my own functionalities?
in cms/WEB-INF/lib path, I can't find any jar file for Search service,,
Hi
I want to create a service that search a keyword in content of specific files.
for first version, I want to use Ametys file explorer and upload my files and then search a keyword in content of them
how can I access to files that uploaded with Ametys file explorer?
where are these files?
thanks
thank you very much
thanks dear Raphaël , you explained very well.
According to your response;if I have one site app,Can I have two sites with addresses like: test1.ametys.com,test2.ametys.com
Best Regards.
hello and thanks for Ametys CMS
I downloded Ametys and deployed CMS directory just like the tutorial in :
Now I can create websites and add new pages to them and use services.it's great
for example I created sites: test1,test2,test3
what is the url address for visit this sites? how my visitors can see my test websites?
there is a publication section in riboon,should I use them and publish every pages of my websites?
and for last question , when I downloaded Ametys,there is a site directory in it,I deployed it just like the tutorial above.
but I can't understand relationship between created sites(test1,test2,test3) and that site directory.
I'm waiting for your help,thanks a lot
Thanks Dear Raphaël
hello
in page (french wiki)
and in section applicatif, there are three line as fallow:
Cache : file:///home/cms/Ametys_CMS/data/cache
URL du CMS : http://<nom de domaine>:8080
Valeur utilisée en accès interne par l'application.
Destination des uploads : /home/cms/Ametys_CMS/data/uploads
but I can't find any place for setting cache and upload. how can I do that?
thanks
Pages: 1