enabling keyword search in the repository

2009-04-18 Thread far4ever
hi i am having an application where the data is stored in the jackrabbit repository. i need to enable the system to do keyword searching. but if i use the XPATH i will be able to search with in the node in that certain path. I don't have a clear idea on how to implement it. will i be able to do

WordNet Synonym Provider implementation

2009-04-16 Thread far4ever
hi do any of u have the jar or a link from where i can get the jar that is mention as 'WordNet Synonym Provider implementation' and some examples on using the library to do searching in the repository that is being mention in http://svn.apache.org/repos/asf/jackrabbit/sandbox/wordnet-synonyms

creating Referenceable Nodes in jackrabbit

2009-04-10 Thread far4ever
Hi I want to know does the jackrabbit support the UUID. If it is supported can anyone give me an example of how to create the nodes with the - jcr:uuid property in it. Because I created a simple node (in the way as - nodename. addNode(“name_of_the_child_node) ) structure and tried to access its

indexing support in jackrabbit

2009-04-07 Thread far4ever
hi, i am new to jackrabbit. i have developed my repository using jackrabbit. i need the functionality of indexing with in my repository (also to support keyword search within ) . but i don't have any clue of how to do this. can anyone please help by giving some learning materials or links in thi

saving a user defined object

2008-12-12 Thread far4ever
hi i want to know is there any mechanism in jackrabbit where i can save a user defined object as a property of a node. and i want to know a bit on nodeName.setProperty(String arg0, Value arg1) is what sort of the object does this 'Value' represent. can i cast by object in to a valu

Re: ordering the node according to the date

2008-12-12 Thread far4ever
Jukka Zitting wrote: > > > You can either explicitly order the nodes if the node type of the > parent supports orderable child nodes, or use the "order by" clause in > a query. > > BR, > > Jukka Zitting > > hi since i am new to this area can you please describe the solution a bit further

ordering the node according to the date

2008-12-09 Thread far4ever
hi. i want the retrieved node to be ordered according property date( the calendar object) rather that giving it in the order that it is added.. do any of you have any idea on how to get an ordered list of these nodes.. thanks in advance -- View this message in context: http://www.nabble.com/o

Re: displaying the image using JSP

2008-11-30 Thread far4ever
sorry this is the code used to display the image IMG src = <%=response.encodeURL(request.getContextPath() (it s not being shown in the above post :( ) -- View this message in context: http://www.nabble.com/displaying-the-image-using-JSP-tp20766990p20767013.html Sent from the Jackrabbit -

displaying the image using JSP

2008-11-30 Thread far4ever
hi i have extracted the image from the repository ( as Inputstram) in a servlet and now i need to pass it to the JSP and make it display but with some other text fields as well . but when i use my below code it displays the object but not the text... and also it throws a exception as well ( when

Re: reference inbetween the nodes

2008-11-25 Thread far4ever
hi i have a node structure as bellow... treatment ---> complaints, diagnosis, prescription complaints --> (contains many nodes) diagnosis --> (contains many nodes) prescription --> (contains many nodes) here i would like to have reference between nodes in each of this child nodes (one child

reference inbetween the nodes

2008-11-25 Thread far4ever
-- View this message in context: http://www.nabble.com/reference-inbetween-the-nodes-tp20681516p20681516.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

how to get the index of the node

2008-11-23 Thread far4ever
hi i want to get the node name along with its index(the one with square bracket) but getName() gives the name with out the index. is there any mechanism where i can get the index along with its name thanks in advance -- View this message in context: http://www.nabble.com/how-to-get-the-index-o

Re: reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
thanks a lot for your kind responses . i was able to find out what went wrong. the thing was as id i was passing the same name (hard coded) and when evert time i run the adding part that new node were created( with indexes) but when reading it is just looking in to the node(with out that index).

Re: reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
hi .. found out what has happended... it s thowing a javax.jcr.PathNotFoundException: when it is calling this line.. Node picture = user.getNode("pictute"); but it is the name is same as the one given for the created on. couldn understand why it is thowing such an exception... -- V

Re: reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
but the checking statement with in the method does not return a null value -- the code spinet snipet if(picture == null) System.out.println("errorr in reading the file"); } is not being executed.. -- View this message in context: http://www.nabble.com/reading-a-

Re: reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
yes. InputStream pic = s.getImage("farhath"); // this is the line where this method is invoked if(pic == null) System.out.println(" the file read is null"); and the code in the if condition get executed.. -- View this message in context: http://www.nabble.com/rea

Re: reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
actually i'm not getting an exception at this point. it s affected in another method when i try to read the inputStream, it throws a nullPointerException -- View this message in context: http://www.nabble.com/reading-a-file-from-the-jacrabbit-repository-tp20645363p20645582.html Sent from the Ja

reading a file from the jacrabbit repository

2008-11-23 Thread far4ever
hi i added an image to the repository but when i tried to get it back i wont get it. instead i seems to be null.. is it a mistake is reading the repository or isn't the file is getting save ( because there is no way of checking if the file is loaded by using the file explorer ) please help. the

Re: displaying an image saved in jackrabbit repo

2008-11-21 Thread far4ever
thanks for the response. if u can can u please give me example code snippet. because i'm new for both the areas. -- View this message in context: http://www.nabble.com/displaying-an-image-saved-in-jackrabbit-repo-tp20623401p20632602.html Sent from the Jackrabbit - Users mailing list archive at

displaying an image saved in jackrabbit repo

2008-11-21 Thread far4ever
dear all, i want to get an image that is stored in the jackrabbit repository and make it display on my web application . do any of you have any idea about it... Thanks in advance -- View this message in context: http://www.nabble.com/displaying-an-image-saved-in-jackrabbit-repo-tp20623401p

Re: issue with the firstHop tuutorial

2008-10-19 Thread far4ever
the > name. > > > > - Original Message - > From: "far4ever" <[EMAIL PROTECTED]> > To: > Sent: Saturday, October 18, 2008 2:17 PM > Subject: issue with the firstHop tuutorial > > >> >> i just started to follow the first hop

issue with the firstHop tuutorial

2008-10-18 Thread far4ever
i just started to follow the first hop tutorial (using netbeans IDE) when i run the project it gave the following set of exception along with the expected output. i wonder is it a problem or a normal situation. please help me. init: deps-jar: compile-single: run-single: 172 [main] INFO org.apache

gatting started with jackrabbit

2008-10-17 Thread far4ever
hi all i am new to the field of CMS. i want to develop a system where i need to store data in the database and the file structure as well( basically it s a electronic health record system). but i lack knowledge on using jackrabbit and how to use it to make my work done. plz help me ... -- View th