Marc,
Yes the panel layout wizard is a little temperamental (frustrating) - if
you're patient you can usually get the panel display that you want, but if
you can find out how to code it directly then I'd be interested!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Lijour, Marc (EDU)
Sent: 30 May 2008 20:44
To: XWiki Users
Subject: [xwiki-users] Panel Wizard layout issue
Hi
Am I the only one having trouble with the Panel Wizards?
I am using newest XE 1.4.9828
I created some Panels and I want to display them. With current skin I
only have a right column.
Panel Wizard
(http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels
=1&forceRightPanels=1&language=en)
Shows in "Information" a 3-column layout where I can't drag and drop
anything (it goes back to its original position).
In "Navigation" (where my panels should be), there is only one column,
the frame is truncated and the panels are one over the other. When I
drag and drop them, they disappear. The layout stays unchanged. What
could be the problem?
Can I solve this with some code (bypassing the wizard)?
Can I define a layout per space?
Thank you
Marc
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi,
for example take a look at XWiki.Treeview page (http://.../XWiki/Treeview?xpage=code [http://.../XWiki/Treeview?xpage=code]).
There is seen how to handle "hiddenSpaces" or "hiddenPages" in a loop over documents.
Maybe choose an other API function instead of $xwiki.getSpaceDocsName or extract unwanted spaces before using this function like:
#set($hiddenSpaces = ["XWiki","Main"])
#if (!$hiddenSpaces.contains($doc.web))
#foreach($page in $xwiki.getSpaceDocsName($doc))
## ...your code here...
#end
#end
>Hello
>I know that this code retrieves all the documents: $xwiki.getSpaceDocsName($doc)
>my question is this: is it possible to specify which documents can be left unwritten in the list?
>for instance if i have these spaces: Website1, Website2, XWiki, Main etc and i don't wanna show "XWiki, Main", how can i approach this in velocity code?
>Thanks
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! *http://unddu.de/?kid=kid@mf2* [http://unddu.de/?kid=kid@mf2]
Couldn't find an answer to the last comment in the "Creating a virtual XWiki
environment" page in the documentation, so i post it here again:
"The examples above show adding multipe virtual servers under one domain
name (*.yourdomain.com); instead can we utilize virtual domains using
different domain names (i.e., www.yourdomain.com and www.mydomain.com)?"
Thanks
Helmut
--
View this message in context: http://www.nabble.com/Virtual-wikis-tp17567531p17567531.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I use tomcat and mysql to install xwiki. I choose war file to deploy. But
after I finish the configure and visit the link(http://localhost:8080/xwiki/
).
The error occur. I think maybe because I do not import the database
schema. But I can't find it in the war file.
Below is trace.
please help me, thank you very much.
using driver: com.mysql.jdbc.Driver at URL:
jdbc:mysql://localhost:3306/xwiki
connection properties: {user=xwiki, password=****}
RDBMS: MySQL, version: 5.0.18
JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 (
Revision: ${svn.Revision} )
Using dialect: org.hibernate.dialect.MySQLDialect
Using default transaction strategy (direct JDBC transactions)
No TransactionManagerLookup configured (in JTA environment, use of
read-write or transactional second-level cache is not recommended)
Automatic flush during beforeCompletion(): disabled
Automatic session close at end of transaction: disabled
JDBC batch size: 15
JDBC batch updates for versioned data: disabled
Scrollable result sets: enabled
JDBC3 getGeneratedKeys(): enabled
Connection release mode: auto
Maximum outer join fetch depth: 2
Default batch fetch size: 1
Generate SQL with comments: disabled
Order SQL updates by primary key: disabled
Order SQL inserts for batching: disabled
Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Using ASTQueryTranslatorFactory
Query language substitutions: {}
JPA-QL strict compliance: disabled
Second-level cache: enabled
Query cache: disabled
Cache provider: org.hibernate.cache.NoCacheProvider
Optimize cache for minimal puts: disabled
Structured second-level cache entries: disabled
Statistics: disabled
Deleted entity synthetic identifier rollback: disabled
Default entity-mode: pojo
Named query checking : enabled
building session factory
Not binding factory to JNDI, no JNDI name configured
Updating schema update for wiki [xwiki]...
Using dialect: org.hibernate.dialect.MySQLDialect
Failed updating schema while executing query [update xwikidoc set
xwd_translation=0 where xwd_translation is null]
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'xwiki.xwikidoc'
doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1026)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1564)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1485)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:451)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:310)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:258)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:520)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:995)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:63)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:855)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:794)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:731)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:514)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Schema update for wiki [xwiki] done
Current storage version = [0]
List of migrations that will be executed:
R4340XWIKI883 - See http://jira.xwiki.org/jira/browse/XWIKI-883
R4359XWIKI1459 - See http://jira.xwiki.org/jira/browse/XWIKI-1459
R7345XWIKI2079 - See http://jira.xwiki.org/jira/browse/XWIKI-2079
Running migration [R4340XWIKI883] with version [4340]
Failed to migrate main database...
com.xpn.xwiki.XWikiException: Error number 3005 in 3: Migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: BaseObject is not mapped [select s from BaseObject o,
StringProperty s where o.className like 'XWiki.XWiki%Rights' and o.id=s.idand (
s.name='users' or s.name='groups')]
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrationsForDatabase(AbstractXWikiMigrationManager.java:198)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrations(AbstractXWikiMigrationManager.java:140)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:731)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:514)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: BaseObject is not mapped [select s from BaseObject o,
StringProperty s where o.className like 'XWiki.XWiki%Rights' and o.id=s.idand (
s.name='users' or s.name='groups')]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1005)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1055)
at
com.xpn.xwiki.store.migration.hibernate.R4340XWIKI883Migrator.migrate(R4340XWIKI883Migrator.java:71)
at
com.xpn.xwiki.store.migration.hibernate.AbstractXWikiHibernateMigrator.migrate(AbstractXWikiHibernateMigrator.java:39)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrations(AbstractXWikiMigrationManager.java:288)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrationsForDatabase(AbstractXWikiMigrationManager.java:196)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrations(AbstractXWikiMigrationManager.java:140)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:798)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:731)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:514)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.hql.ast.QuerySyntaxException: BaseObject is not mapped [select
s from BaseObject o, StringProperty s where o.className like
'XWiki.XWiki%Rights' and o.id=s.id and (s.name='users' or s.name='groups')]
at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
at
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
at
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
at
org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
Hi
Am I the only one having trouble with the Panel Wizards?
I am using newest XE 1.4.9828
I created some Panels and I want to display them. With current skin I
only have a right column.
Panel Wizard
(http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels
=1&forceRightPanels=1&language=en)
Shows in "Information" a 3-column layout where I can't drag and drop
anything (it goes back to its original position).
In "Navigation" (where my panels should be), there is only one column,
the frame is truncated and the panels are one over the other. When I
drag and drop them, they disappear. The layout stays unchanged. What
could be the problem?
Can I solve this with some code (bypassing the wizard)?
Can I define a layout per space?
Thank you
Marc
Hello guys,
I need to send emails and notifcations from the XWiki. Problem is that xwiki can't configure password for SMTP user. This is impossible in my case to cancel the passsword for the SMTP server.
Will I need to write my own plugin for that or its possible to do that in someway?
Cheers,
Hosam
Hi XWiki users,
I have encountered a problem where after running XWiki on my tomcat server for a week, i get an java.lang.OutOfMemoryError: PermGen space error. It appears that xwiki consumed all the java heap space. I believe the problem may be related to unreleased DB connections because, I noticed that everytime I try to shutdown tomcat, it hangs with xwiki deployed, also by running "ps aux" i see the postgresql connection processes belonging to xwiki still running. I tried deploying another application that uses hibernate + postgresql on the same tomcat running xwiki, and upon shutting down the server, all db connection processes from the other application gracefully terminate but not the ones from xwiki.
My question is does anyone ever had this problem before? If so what is the solution?
Solutions that I have tried but did NOT work:
1- Increase java heap with -Xmx512m
2- Reduce the maximum and minimum idle DB connections
My system specs:
OS: Linux ubuntu kernel 2.6.20
Java: 1.6.0_05-13
Xwiki: 1.4 (binary distribution)
Posgresql: 8.2.6
Total RAM: 1Gb
Any help will be very much appreciated.
Richard
_________________________________________________________________
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
Hello,
I have a question about the displaying of filenames for files attached
to pages. There seems to be a limit of 25 characters in the body of the
filename before the filename is truncated, and the filename is shown as
ReallyLongAttachedFilenam~.ext on the page.
Long filenames are pretty important for the users of my wiki, and I
would like to know how I could go about changing the display name
formatting. I have looked through the XWiki attachment, document, and
URL generation source code in search of the code that controls this, but
I was not successful in finding it.
Is there a configurable option somewhere that I have missed, or do I
need to alter the source code (if so, which classes/methods)?
Thanks,
-Daniel Selifonov
Hello,
I have a recursive velocity macro that calls the Image macro provided by
XWiki. Weirdly, the call doesn't work only for the first call of this
recursive function. All the subsequent ones (the really "recursive" calls)
render the image perfectly. For the first call what's rendered is the code
that calls the image macro, with the brackets and everything, as if I had
escaped it somehow.
Does anyway has any idea of what is happening?
Maybe it helps if you can see the code, so here it goes. The calls to my
macro and to the image macro are in bold:
#macro (createChildrenNodes $parentNodeName $childrenSkillList)
#foreach ($skill in $childrenSkillList)
#set ($iconStyleClass = "ygtv")
#if($velocityCount == $childrenSkillList.size())
#set($iconStyleClass = $iconStyleClass + "l")
#else
#set($iconStyleClass = $iconStyleClass + "t")
#end
#if ($skill.hasChildren)
#set($iconStyleClass = $iconStyleClass + "p")
#else
#set($iconStyleClass = $iconStyleClass + "n")
#end
var node$skill.id = new YAHOO.widget.HTMLNode('<table border=0
cellpadding=0 cellspacing=0><tr><td><div
class="$iconStyleClass"></div></td><td><a href="./EditSkill?skillId=$
skill.id">$skill.name</a> <a
href="./DefiningExistentSkills?do=delete&skillId=$skill.id">*{image:supprimer.bmp|13|alt=Click
to delete skill $skill.name}*</a></td></tr></table>', $parentNodeName,
true);
*#createChildrenNodes("node$skill.id" $skill.children)*
#end
#end
function treeInit()
{
var tree = new YAHOO.widget.TreeView("treeview");
var root = tree.getRoot();
*#createChildrenNodes('root' $xwiki.cartography.getSkillTree())*
tree.draw();
}
treeInit();
Thanks,
--
Tiago Rinck Caveden
http://caveden.multiply.com
Hi,
What should be done to get the top menu items in a single line?
We are using menuitem to create the menu items which we get in multiple lines.
Can you provide us the way in which the menu should be created in a single line.
Thanks,
Sara