Re: [xwiki-users] Problem in displaying with albatross skin.

2007-12-02 Thread Ngo Thi Hong Nga
Thank Sergiu. I clear the cache, it really works !

On Dec 2, 2007 9:51 PM, Sergiu Dumitriu [EMAIL PROTECTED] wrote:

 Hi,

 There is no difference between them. The only reason for this behavior
 could be that there were some cached documents from an older install, so
 try to fully refresh the page, using something like shift+ click on the
 refresh button, or clear the browser cache.

 Sergiu

 Ngo Thi Hong Nga wrote:
  I download xwiki1.1.2.war and put it in tomcat/webapps. When I put:
  http://localhost:8080/xwiki in the browser, it directs to
  http://localhost:8080/xwiki/*bin*/view/Main/WebHome
  http://localhost:8080/xwiki/bin/view/Main/WebHome, I don't know why
  this page show a wrong albatross skin. When I change to:
  http://localhost:8080/xwiki/ *xwiki*/view/Main/WebHome
  http://localhost:8080/xwiki/xwiki/view/Main/WebHome, this page show a
  right albatross skin. All page are ok with dodo and finch skin. what is
  the difference between these 2 pages ? How can I solve this problem ?
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem using Xwiki with Tomcat 6.0

2008-02-16 Thread Ngo Thi Hong Nga
Hi, when changing from Tomcat 5.5 to Tomcat 6.0, I met a problem when
loading http://localhost:8080/xwiki/bin/view/Main/WebHome
The page is displayed with 3 lines:

#template(startpage.vm)
 #template(contentview.vm) #template(docextra.vm)
#template(endpage.vm)

Anyone can tell me how to fix this problem ? Thank in advance.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem using Xwiki with Tomcat 6.0

2008-02-16 Thread Ngo Thi Hong Nga
I don't know why but this morning when re-loading this page, everything is
ok :)

On Feb 16, 2008 10:24 PM, Ngo Thi Hong Nga [EMAIL PROTECTED] wrote:

 Hi, when changing from Tomcat 5.5 to Tomcat 6.0, I met a problem when
 loading http://localhost:8080/xwiki/bin/view/Main/WebHome
 The page is displayed with 3 lines:

 #template(startpage.vm)
  #template(contentview.vm) #template(docextra.vm)
 #template(endpage.vm)

 Anyone can tell me how to fix this problem ? Thank in advance.





-- 
Ngô Thị Hồng Nga
Home: 0511 3 242519
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XE 1.1.2 can use with XwikiSqlPlugin version ?

2008-02-17 Thread Ngo Thi Hong Nga
Hi, I am using XE 1.1.2 with JDK 1.5 and Tomcat 5.5.20. I have been try
using XE with both Xwiki SQL plugin version 1.0 and 1.1 but there's a error:

java.lang.UnsupportedClassVersionError: Bad version number in .class file

Is Xwiki SQL plugin only used with XE 1.2 and above ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
I use Bulletin Board application with XE 1.1.2. I import the xar file, I add
a new topic, enter title and first post, then make some reply. Every thing
is displayed properly (author, post reply,..), except for the topic title
and topic first post always be the empty string , although they are not
empty !?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
The screenshot is here:
http://farm3.static.flickr.com/2411/2274127483_df5296912f_o.jpg
In the left is view mode and the right is edit mode.
I check the contents of the TopicClass object in my topic page, both the
properties title and post is empty, when I enter something in these 2
properties, everything is displayed properly.
I view the code in BBCode.TopicClassSheet, I don't see any code assign the
value for this 2 properties, I don't know the Bulletin_Board.xar I
downloaded is the same as yours.

#if ($context.action == 'inline'  $doc.isNew() == 'true')
$msg.bb_entertopictitlebr / $doc.display('topictitle')
$msg.bb_entertopicpostbr / $doc.display('topicpost')
#set($newtopictitle = $request.topictitle)
#if($newtopictitle)
#set($newtopictitle = $newtopictitle.replaceAll('','))
script type=text/javascript
var topictitle = ${newtopictitle};
{pre}
document.forms.inline[BBCode.TopicClass_0_topictitle].value = topictitle;
{/pre}
/script
#end
#elseif..
#end
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-18 Thread Ngo Thi Hong Nga
I have already entered a title and the first post for the new topic, then
click Save and View and the result is what you see in the left of the
screenshot. That's the reason why I post this problem here.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-19 Thread Ngo Thi Hong Nga
http://rapidshare.com/files/93105012/XwikiBulletionBoard.avi.html
You can download my screen recorder to see what I have done. The category
name, category description, topic title and topic first post all empty.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-19 Thread Ngo Thi Hong Nga
I use XE 1.1.2
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Bulletin Board cannot display topic title and first post !?

2008-02-19 Thread Ngo Thi Hong Nga
I use Windows Media Player 11 with K-lite Codec Pack to view this avi. You
can download K-lite Codec Pack here:
http://rapidshare.com/files/93178779/klcodec362f.exe.html ;)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to attach and deattach file by code

2008-02-21 Thread Ngo Thi Hong Nga
I have a document with a input type=file and a submit button. After I
click submit button, the following action is performed:
- attach the file to the document
- do something with the file content...
- deattach the file out of the document

Can I reuse the action /xwiki/bin/upload/.. to write my action ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to attach and deattach file by code

2008-02-21 Thread Ngo Thi Hong Nga
I have already known how to do that. I have another question:
I have a form with 3 file inputs and an Attach button. After click this
button, 3 files are attached to the current document. How can I do this
using the XWiki action /xwiki/bin/upload ?. I tried but only 1 file is
allowed.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to attach and deattach file by code

2008-02-22 Thread Ngo Thi Hong Nga
My solution sounds silly but it works :)
Assume that the upload document is named XWiki.Upload. In this document, I
change the value of the hidden field xredirect to XWiki.DoSomething. I
create another document named XWiki.DoSomething, in it, write some code
to deal with the file content, blah ... , finally, redirect back to
XWiki.Upload.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to add attachments ?

2008-02-25 Thread Ngo Thi Hong Nga
Hi, how to add attachments using one of 2 methods:
addAttachments(java.lang.String fieldName) and
addAttachment(java.lang.String fileName, java.io.InputStream iStream)
of com.xpn.xwiki.api.Document class ? I tried using them but don't
know the right way to use. Please give me an example using these 2
methods.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to add attachments ?

2008-02-25 Thread Ngo Thi Hong Nga
Sorry for my keep asking but I really don't know what the value of argument
fieldName in addAttachments(fieldName) is.
Is it related to the value of file input ??
form action=  enctype=multipart/form-data method=post
input type=file name=file/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to add attachments ?

2008-02-26 Thread Ngo Thi Hong Nga
Hi, anyone can help me with using the method addAttachments(fieldName) ?
Please give me a small code snippet using this method if you have time.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to add attachments ?

2008-02-26 Thread Ngo Thi Hong Nga
I viewed the XE core 1.1.2 source code but did not understand, so I
post the question here :) Anyway, thank you.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Cannot use FileUploadPlugin !?

2008-02-27 Thread Ngo Thi Hong Nga
Hi, I want to create a page allowed to upload more files together
using FileUploadPlugin. I created 2 documents but the FileUploadPlugin
seems not work, the data return is null and the document
MySpace.Upload is attached with a file 0KB. Anyone can explain me why
this happens ? And how to fix ?

1. MySpace.doc:
form action=/xwiki/bin/view/MySpace/Upload
enctype=multipart/form-data method=post
input type=file name=filepath value= size=40 /
input type=submit value=Save /
/form
2. MySpace.Upload
%
import com.xpn.xwiki.plugin.fileupload.FileUploadPlugin;
import com.xpn.xwiki.doc.XWikiDocument;
import com.xpn.xwiki.doc.XWikiAttachment;

print Start upload... ;
def docu=doc.getDocument();
FileUploadPlugin fileupload = (FileUploadPlugin)
context.getContext().get(fileuploadplugin);
byte[] data = fileupload.getFileItemData(filepath, context.getContext());
def filename = myfile;
def attachment = docu.getAttachment(filename);

print data;
if (!attachment) {
   attachment = new XWikiAttachment(docu, filename);
   docu.getAttachmentList().add(attachment);
}
attachment.setContent(data);
docu.saveAttachmentContent(attachment, context.getContext());
doc.save()

println done
%
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem display albatross skin with XE 1.2.2

2008-02-28 Thread Ngo Thi Hong Nga
Hi, when change from XE 1.1 to XE 1.2, I met a displaying problem with skin
albatross. You can view a screenshot here:
http://farm4.static.flickr.com/3250/2298512208_55ab8aab03_o.jpg.
Skin dodo and finch are ok. I tried clearing the cache but it doesn't work.
What should I do?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.3 RC1 Released

2008-02-28 Thread Ngo Thi Hong Nga
Hi, where can I download xwiki-core-1.3-rc-1-sources.jar ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise 1.3 RC1 Released

2008-02-28 Thread Ngo Thi Hong Nga
Hi, I install XE 1.3 and log in as user/pass: admin/admin, then click Log
out, the page is displayed the same, I cannot log out !?
I tested in IE and Firefox, both cannot log out.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Macro works in Groovy code |?

2008-03-01 Thread Ngo Thi Hong Nga
So,setting document's content with macro using Groovy is impossible and I
must use Velocity to do this. Is there another way ?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Macro works in Groovy code |?

2008-03-01 Thread Ngo Thi Hong Nga
Thank you very much. And there's a little problem I want to ask you. I
install XE 1.3-rc-1.8082, everything is ok except that once logged in, I
cannot log out. Clicking Log out may not change anything. I tried clear
the cache and internet temp files but doesn't solve this problem. I only can
re-log in when restart my computer.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] ERROR: could not insert: xpn.xwiki.objects.Large String Property !?

2008-03-06 Thread Ngo Thi Hong Nga
Hi, I have a class named MyClass with content property with type TextArea.
I write some Groovy code to read a text file (*.txt) with encoding UTF-8,
and print each line in the screen (code snippet 1) , no errors.
but when I replace code snippet (1) with (2), the following error occurs:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document ..Wrapped Exception: could not insert: xpn.xwiki.objects.Large
String 
Property?http://localhost:8080/xwiki/bin/edit/com.xpn.xwiki.objects/LargeStringProperty?parent=Nga.ImportCorpuseditor=wysiwyg

I try text files with encoding Unicode, replace UTF-8 with UNICODE, execute
code snippet (1) and (2), both are ok.
Anyone can explain me why I'm getting error with UTF-8 and how to solve this
problem ?
My code here:

*byte[] bytes=...
String[] lines=new String(bytes,UTF-8).split(\n);

list=mydoc.getObjects(XWiki.MyClass);

for (i in 0..lines.length)
{
(1)
println lines[i];

(2)
newobj=mydoc.newObject(XWiki.MyClass);
newobj.set(content, lines[i]);
list.add(newobj);
}
mydoc.save();*

-- 
Ngô Thị Hồng Nga
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to export a number of documents to xar?

2008-03-09 Thread Ngo Thi Hong Nga
Hi, I want to export some documents to xar. I go to Administration\Export,
enter package name,.. and click Export, then all of my documents are
exported. Is there any way allowed me to export only documents that I want?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Enterprise 1.3 MS-SQL

2008-04-01 Thread Ngo Thi Hong Nga
You must uncomment MySQL Configuration in WEB-INF\hibernate.cfg.xml

On Tue, Apr 1, 2008 at 9:43 PM, Helmut Lehner [EMAIL PROTECTED] wrote:

 Hi,

 i tried to install xwiki 1.3 with a mssql databas following the
 instructions the documentation.

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL

 When i try to connect i get the following error.

 javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
 number 3 in 0: Could not
 initialize main XWiki context
 Wrapped Exception: Error number 3001 in 3: Cannot load class
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManagerfrom 
 param
 xwiki.store.migration.manager.class
 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
 Wrapped Exception: Could not find a getter for archive in class
 com.xpn.xwiki.doc.XWikiDocumentArchive
org.apache.struts.action.RequestProcessor.processException(
 RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(
 RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(
 RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java
 :1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
 :414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
 SetCharacterEncodingFilter.java:117)


 root cause

 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 3001 in 3: Cannot load class
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManagerfrom 
 param
 xwiki.store.migration.manager.class
 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
 Wrapped Exception: Could not find a getter for archive in class
 com.xpn.xwiki.doc.XWikiDocumentArchive
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:302)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)
org.apache.struts.action.RequestProcessor.processActionPerform(
 RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(
 RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java
 :1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java
 :414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
 SetCharacterEncodingFilter.java:117)

 I couldnt find the class com.xpn.xwiki.doc.XWikiDocumentArchive in the
 xwiki.hbm.xml
 provided with xwiki 1.3 but in the xwiki.mssql.hbm.xml i downloaded
 following the
 documentation.

 Is the version in the documentation not compatible with xwiki 1.3??
 Is there a updated version somewhere??
 Is there a nother reason/solution for our problem??

 Hope anybody can help.
 Thanks
 Helmut





 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem with Groovy code

2008-04-03 Thread Ngo Thi Hong Nga
Hi, I want to split the words seperated by character |.

%
String[] sources=new String(hello|world).split(|);
for (i in 0..sources.length)
{
print sources[i]+br/
}
%

but the result is:
h
e
l
l
o
|
w
o
r
l
d
I tried using String[] sources=new String(hello|world).split(\|); but it
gives me error.
How to solve this problem?
-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with Groovy code

2008-04-03 Thread Ngo Thi Hong Nga
Thank you very much.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Edit PagedViewLinks Macro

2008-04-04 Thread Ngo Thi Hong Nga
Hi, I want to modify PagedViewLinks Macro but I don't know where it is. Any
help would be appreciated.

-- 
Ngô Thị Hồng Nga
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Get sources of Xwiki ??

2008-04-08 Thread Ngo Thi Hong Nga
You can get it here:
http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.3.1/


 Unfortunately, I can't get it from the SVN repository...  I can't find the
 files that I need.


 Where could I find all the sources files of the 1.3.1 version?


 Can anyone upload it anywhere or send it to me?


 Thanks !


 Philippe

 --
 View this message in context:
 http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error while configuring ua.gradsoft.xwikisql.SqlPlugin

2008-04-18 Thread Ngo Thi Hong Nga
Hi, I'm using XE 1.3 with xwiki-plugin-sql-1.3.jar. I put the jar in
WEB-INF\lib, append ua.gradsoft.xwikisql.SqlPlugin to xwiki.cfg and restart
Tomcat.
When I run XWiki, the following error is thrown:

*exception*

javax.servlet.ServletException: Servlet execution threw an exception

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)

*root cause*

java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)

org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)

org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
java.lang.ClassLoader.loadClassInternal(Unknown Source)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Unknown Source)

com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:70)

com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:107)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:853)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:785)
com.xpn.xwiki.XWiki.init(XWiki.java:721)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)

How to solve this problem? Any help would be high appreciated.
-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error while configuring ua.gradsoft.xwikisql.SqlPlugin

2008-04-18 Thread Ngo Thi Hong Nga
No, I'm running XE 1.3 with JDK 1.5.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Convert String to Integer in Velocity

2008-04-25 Thread Ngo Thi Hong Nga
thanks

On Sat, Apr 26, 2008 at 7:09 AM, Sergiu Dumitriu [EMAIL PROTECTED] wrote:

 Vincent Massol wrote:
  Hi,
 
  Yes you can use the velocity Math tool:
  http://velocity.apache.org/tools/devel/generic/MathTool.html
 
  It's configured by default in XE 1.4M2 (being released right now) so
  you'll only have to do:
 
  $mathtool.toInteger(10)
 

 Or the older $xwiki.parseInt(42) or the newer $util.parseInt(007).

 Looking at com.xpn.xwiki.api.Util, there's also parseDouble, parseFloat,
 parseLong and parseInteger (returns an Integer object, not a primitive).

  -Vincent
 
  On Apr 25, 2008, at 7:20 PM, Ngo Thi Hong Nga wrote:
 
  Hi, is it possible to convert a String to Integer in Velocity? I
  tried with
  Groovy but I don't know how to do with Velocity.


 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to remove all documents in recycle bin

2008-04-28 Thread Ngo Thi Hong Nga
Thank Artem.
-- 
Ngô Thị Hồng Nga
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem with link target=blank

2008-05-10 Thread Ngo Thi Hong Nga
I have 2 documents in XE 1.3.1:
- Main.test1 with a link: [Test2Main.test2blank]
- Main.test2 with a link: [HomeMain.WebHomeblank]
I do 2 test cases with Firefox 2.0:
- TC1: Open Main.test2 and click Home, the Main.WebHome is opened in a new
tab -- OK
- TC2: Open Main.test1 and click Test2, the Main.test2 is opened in a new
tab. Then I click Home, the Main.WebHome is opened in current tab !???
Is it a bug? Please tell me how to fix. Thank you in advance.

-- 
Ngô Thị Hồng Nga
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Executing code - Difference between Register page and others ?

2008-06-07 Thread Ngo Thi Hong Nga
Hi, I put some code in space.vm to retrieve my data:

#set($mydb=$xwiki.sql.getDatabase(myDB))
#foreach($row in $mydb.executeQuery(select name from mytable))
$row.getString(0)
#end

When I open Home page or any page but Log in and Register page, it's all ok.
I don't know there's difference between these 2 page and others?
Any tell me how to fix this problem? Thank you.


-- 
Ngô Thị Hồng Nga
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Code doesn't work in Register page??

2008-06-10 Thread Ngo Thi Hong Nga
Hi, I put some code in space.vm to retrieve my data:

#set($mydb=$xwiki.sql.getDatabase(myDB))
#foreach($row in $mydb.executeQuery(select name from mytable))
$row.getString(0)
#end

When I open Home page or any page but Log in and Register page, it's all ok.
I don't know there's difference between these 2 page and others?
Any tell me how to fix this problem? Thank you.



-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users