Re: OFBiz track at ApacheCon Europe in 2 weeks
Hi *, I would like to share my experiences from the ApacheCon EU in Sinsheim with you. The conference was fully booked and most of the people where interested in topics like BigData, Search or Databases. The OFBiz talks were also well attended. It turned out that many of the listeners are evaluating the system at the moment and they took this chance to ask questions. One point, which we had to discuss several times, is the complexity of the backend and the missing marketing. We had a really great time in Sinsheim, pretty good food and a lot of interesting discussions. Many thanks to Sebastian, Paul, Olivier, Nicolas for your talks. We should upload our slides and the photos von Christian ASAP. Best regards Sascha 2012/11/11 Jacopo Cappellato > Any news from the conference (OFBiz people who attended etc...)? > > Thanks > > Jacopo > > On Oct 23, 2012, at 12:47 PM, Christian Geisert wrote: > > > Am 22.10.2012 18:24, schrieb olivier Heintz: > >> Hi, > >> > >> ApacheCon Europe will be from Monday 5th November to Thursday 8th at > >> Rhein-Neckar-Arena, Sinsheim, Germany. http://www.apachecon.eu/ > > > > [..] > > > >> I proposed to organize 2 or 3 meeting for all present people, to have > >> time to discuss on main OFBiz subject : slim-down, ofbiz-extra, > >> ofbizAlliance, increase collaboration, contribution, > >> - Tuesday 6th evening > >> - Wednesday 7th lunch Time > >> - Wednesday 7th evening > >> These meeting could be discussion or if needed some training of > >> technical point, agenda will be done at the beginning depending on who > >> is present. > >> Say me (directly or on this mailing list) who will be attendee and which > >> subject would be interesting and/or important. > > > > I'll be at ApacheCon (probably not on Monday but I don't know the > > details yet) and looking forward to meet you. > > > > Christian > > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: JNDI bind in Test
To complete my previous thoughts: The port 1099 is hard coded in the jndiservers.xml and jndi.properties. That means when changing the RMI and JNDI port in the *-containers.xml file the jndiservers.xml and jndi.properties should also be changed. 2012/4/26 Sascha Rodekamp : > Ok got it. When i use the default portand add the host in the test > configuration (0.0.0.0:1099) everything works as expected. > > Is it ok to configure JNDI/ RMI in test with port 1099 ? > > > 2012/4/26 Sascha Rodekamp : >> Hm yes i also read this post (first google entry) :-) But i didn't >> found an explanation why it works for the "normal" ofbiz start and not >> for a test run. >> IMHO it's not an general issue, it's related to the test-container >> configuration. >> >> 2012/4/26 Pierre Smits : >>> Sascha, >>> >>> I found this thread that deals with the same issue: >>> http://forum.springsource.org/showthread.php?33711-RMI-invocation-attempts-connecting-to-127-0-0-1 >>> >>> And explanation on the subject via this thread: >>> http://docs.oracle.com/javase/1.4.2/docs/guide/rmi/faq.html#nethostname >>> >>> I trust this will help. >>> >>> Regards, >>> >>> Pierre >>> >>> >>> Op 26 april 2012 09:57 schreef Sascha Rodekamp < >>> sascha.rodekamp.lynx...@googlemail.com> het volgende: >>> >>>> I have problems binding objects to JNDI during a unit test. Seems that >>>> the jndi server is not running correctly. >>>> This error occurs when i run a single unit test suite. >>>> >>>> Does someone have an idea? The configuration seems similar to a normal run. >>>> >>>> Exception: javax.naming.ServiceUnavailableException >>>> Message: null >>>> cause >>>> - >>>> Exception: java.rmi.ConnectException >>>> Message: Connection refused to host: 127.0.0.1; nested exception is: >>>> java.net.ConnectException: Connection refused: connect >>>> cause >>>> - >>>> Exception: java.net.ConnectException >>>> Message: Connection refused: connect >>>> stack trace >>>> --- >>>> java.net.ConnectException: Connection refused: connect >>>> -- >>>> >> >> >> >> -- >> >> Sascha Rodekamp >> Visit the new german OFBiz Blog: http://www.ofbiz.biz >> Lynx-Consulting GmbH >> Johanniskirchplatz 6 >> D-33615 Bielefeld >> http://www.lynx.de > > > > -- > > Sascha Rodekamp > Visit the new german OFBiz Blog: http://www.ofbiz.biz > Lynx-Consulting GmbH > Johanniskirchplatz 6 > D-33615 Bielefeld > http://www.lynx.de -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: JNDI bind in Test
Ok got it. When i use the default portand add the host in the test configuration (0.0.0.0:1099) everything works as expected. Is it ok to configure JNDI/ RMI in test with port 1099 ? 2012/4/26 Sascha Rodekamp : > Hm yes i also read this post (first google entry) :-) But i didn't > found an explanation why it works for the "normal" ofbiz start and not > for a test run. > IMHO it's not an general issue, it's related to the test-container > configuration. > > 2012/4/26 Pierre Smits : >> Sascha, >> >> I found this thread that deals with the same issue: >> http://forum.springsource.org/showthread.php?33711-RMI-invocation-attempts-connecting-to-127-0-0-1 >> >> And explanation on the subject via this thread: >> http://docs.oracle.com/javase/1.4.2/docs/guide/rmi/faq.html#nethostname >> >> I trust this will help. >> >> Regards, >> >> Pierre >> >> >> Op 26 april 2012 09:57 schreef Sascha Rodekamp < >> sascha.rodekamp.lynx...@googlemail.com> het volgende: >> >>> I have problems binding objects to JNDI during a unit test. Seems that >>> the jndi server is not running correctly. >>> This error occurs when i run a single unit test suite. >>> >>> Does someone have an idea? The configuration seems similar to a normal run. >>> >>> Exception: javax.naming.ServiceUnavailableException >>> Message: null >>> cause >>> - >>> Exception: java.rmi.ConnectException >>> Message: Connection refused to host: 127.0.0.1; nested exception is: >>> java.net.ConnectException: Connection refused: connect >>> cause >>> --------- >>> Exception: java.net.ConnectException >>> Message: Connection refused: connect >>> stack trace >>> ------- >>> java.net.ConnectException: Connection refused: connect >>> -- >>> > > > > -- > > Sascha Rodekamp > Visit the new german OFBiz Blog: http://www.ofbiz.biz > Lynx-Consulting GmbH > Johanniskirchplatz 6 > D-33615 Bielefeld > http://www.lynx.de -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: JNDI bind in Test
Hm yes i also read this post (first google entry) :-) But i didn't found an explanation why it works for the "normal" ofbiz start and not for a test run. IMHO it's not an general issue, it's related to the test-container configuration. 2012/4/26 Pierre Smits : > Sascha, > > I found this thread that deals with the same issue: > http://forum.springsource.org/showthread.php?33711-RMI-invocation-attempts-connecting-to-127-0-0-1 > > And explanation on the subject via this thread: > http://docs.oracle.com/javase/1.4.2/docs/guide/rmi/faq.html#nethostname > > I trust this will help. > > Regards, > > Pierre > > > Op 26 april 2012 09:57 schreef Sascha Rodekamp < > sascha.rodekamp.lynx...@googlemail.com> het volgende: > >> I have problems binding objects to JNDI during a unit test. Seems that >> the jndi server is not running correctly. >> This error occurs when i run a single unit test suite. >> >> Does someone have an idea? The configuration seems similar to a normal run. >> >> Exception: javax.naming.ServiceUnavailableException >> Message: null >> cause >> - >> Exception: java.rmi.ConnectException >> Message: Connection refused to host: 127.0.0.1; nested exception is: >> java.net.ConnectException: Connection refused: connect >> cause >> - >> Exception: java.net.ConnectException >> Message: Connection refused: connect >> stack trace >> --- >> java.net.ConnectException: Connection refused: connect >> -- >> -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
JNDI bind in Test
I have problems binding objects to JNDI during a unit test. Seems that the jndi server is not running correctly. This error occurs when i run a single unit test suite. Does someone have an idea? The configuration seems similar to a normal run. Exception: javax.naming.ServiceUnavailableException Message: null cause - Exception: java.rmi.ConnectException Message: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect cause - Exception: java.net.ConnectException Message: Connection refused: connect stack trace --- java.net.ConnectException: Connection refused: connect --
Re: Mysql problems
Hm ok I had similar issues when there where old corrupted jobs in the sandbox. Am 22.02.2012 um 12:20 schrieb Dean Pullen : > Thanks for the reply, but still seeing the same exceptions. > > [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; > this stack trace shows where this is happening: > [java] Exception: java.lang.Exception > [java] Message: Failure in storeByCondition operation for entity > [JobSandbox]: org.ofbiz.entity.GenericDataSourceException: Generic Entity > Exception occured in updateByCondition (SQL Exception while executing the > following:UPDATE JOB_SANDBOX SET RUN_BY_INSTANCE_ID = ?, STATUS_ID = ? WHERE > ((RUN_TIME <= '2012-02-22 11:19:04.663' AND START_DATE_TIME IS NULL AND > CANCEL_DATE_TIME IS NULL AND RUN_BY_INSTANCE_ID IS NULL) AND (POOL_ID IS NULL > OR POOL_ID = 'pool')) (Cannot execute statement: impossible to write to > binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a > storage engine limited to row-based logging. InnoDB is limited to row-logging > when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.)). > Rolling back transaction. > > > > On 22/02/2012 11:02, Sascha Rodekamp wrote: >> Hey >> Try to empty the Job_Sandbox table. That should solve the problem. >> >> Have a good day >> Sascha >> >> Am 22.02.2012 um 11:23 schrieb Dean Pullen: >> >>> After restarting my dev machine, where upon Ofbiz was previously working, >>> I'm now getting these errors for every DB call from ./ant run >>> >>> >>> java.lang.Exception: Failure in storeByCondition operation for entity >>> [JobSandbox]: org.ofbiz.entity.GenericDataSourceException: Generic Entity >>> Exception occured in updateByCondition (SQL Exception while executing the >>> following:UPDATE JOB_SANDBOX SET RUN_BY_INSTANCE_ID = ?, STATUS_ID = ? >>> WHERE ((RUN_TIME<= '2012-02-22 10:16:46.439' AND START_DATE_TIME IS NULL >>> AND CANCEL_DATE_TIME IS NULL AND RUN_BY_INSTANCE_ID IS NULL) AND (POOL_ID >>> IS NULL OR POOL_ID = 'pool')) (Cannot execute statement: impossible to >>> write to binary log since BINLOG_FORMAT = STATEMENT and at least one table >>> uses a storage engine limited to row-based logging. InnoDB is limited to >>> row-logging when transaction isolation level is READ COMMITTED or READ >>> UNCOMMITTED.)). Rolling back transaction. >>> [java] >>> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:370) >>> [java] >>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:312) >>> [java] >>> org.ofbiz.entity.GenericDelegator.storeByCondition(GenericDelegator.java:1300) >>> [java] >>> org.ofbiz.entity.GenericDelegator.storeByCondition(GenericDelegator.java:1261) >>> [java] org.ofbiz.service.job.JobManager.poll(JobManager.java:157) >>> [java] org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) >>> [java] java.lang.Thread.run(Thread.java:680) >>> >>> Can anyone help me with this please? >>> >>> Many thanks, >>> >>> Dean.
Re: Mysql problems
Hey Try to empty the Job_Sandbox table. That should solve the problem. Have a good day Sascha Am 22.02.2012 um 11:23 schrieb Dean Pullen : > After restarting my dev machine, where upon Ofbiz was previously working, I'm > now getting these errors for every DB call from ./ant run > > > java.lang.Exception: Failure in storeByCondition operation for entity > [JobSandbox]: org.ofbiz.entity.GenericDataSourceException: Generic Entity > Exception occured in updateByCondition (SQL Exception while executing the > following:UPDATE JOB_SANDBOX SET RUN_BY_INSTANCE_ID = ?, STATUS_ID = ? WHERE > ((RUN_TIME <= '2012-02-22 10:16:46.439' AND START_DATE_TIME IS NULL AND > CANCEL_DATE_TIME IS NULL AND RUN_BY_INSTANCE_ID IS NULL) AND (POOL_ID IS NULL > OR POOL_ID = 'pool')) (Cannot execute statement: impossible to write to > binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a > storage engine limited to row-based logging. InnoDB is limited to row-logging > when transaction isolation level is READ COMMITTED or READ UNCOMMITTED.)). > Rolling back transaction. > [java] > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:370) > [java] > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:312) > [java] > org.ofbiz.entity.GenericDelegator.storeByCondition(GenericDelegator.java:1300) > [java] > org.ofbiz.entity.GenericDelegator.storeByCondition(GenericDelegator.java:1261) > [java] org.ofbiz.service.job.JobManager.poll(JobManager.java:157) > [java] org.ofbiz.service.job.JobPoller.run(JobPoller.java:90) > [java] java.lang.Thread.run(Thread.java:680) > > Can anyone help me with this please? > > Many thanks, > > Dean.
Re: Ofbiz shutdows at start time : JCR / RMI
ackrabbit.JCRFactoryImpl.start(JCRFactoryImpl.java:100) >> org.ofbiz.jcr.loader.JCRContainer.start(JCRContainer.java:129) >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230) >> org.ofbiz.base.start.Start.startStartLoaders(Start.java:310) >> org.ofbiz.base.start.Start.start(Start.java:289) >> org.ofbiz.base.start.Start.main(Start.java:119) >> ... >> >> >> Configuration on Derby doesn't load RMI service. >> >> ... >> 14814 [main] INFO org.apache.jackrabbit.core.TransientRepository - >> Transient repository initialized >> 14817 [main] INFO org.ofbiz.service.GenericDispatcher - Creating new >> dispatcher [auth-dispatcher] (main) >> 14891 [main] INFO org.apache.jackrabbit.core.TransientRepository - >> Session opened >> 14893 [main] INFO >> org.apache.jackrabbit.ocm.nodemanagement.impl.RepositoryUtil - Setup Jcr >> session setup ... >> 14900 [main] INFO >> org.apache.jackrabbit.ocm.nodemanagement.impl.RepositoryUtil - Jcr >> session setup successfull. >> 14981 [main] INFO org.ofbiz.jcr.loader.JCRContainer - Repository bound >> to JNDI as jcr/local >> ... >> >> >> Why RMI service loads here ? >> User login "system" isn't valid !!! (Jackrabbit service or RMI >> service ?) >> >> Do you have a line of thought ? >> >> Thank you very much >> >> Eric >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Latest TRUNK rev 1231656 doesn't seem to work
gt;> at >>> org.apache.jackrabbit.core.**config.RepositoryConfig.**getQueryHandler(** >>> RepositoryConfig.java:1037) >>> at >>> org.apache.jackrabbit.core.**SearchManager.(** >>> SearchManager.java:170) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.**getSystemSearchManager(** >>> RepositoryImpl.java:607) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.access$100(** >>> RepositoryImpl.java:124) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> getSearchManager(**RepositoryImpl.java:1855) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> doPostInitialize(**RepositoryImpl.java:2091) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> initialize(RepositoryImpl.**java:1996) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.**initStartupWorkspaces(** >>> RepositoryImpl.java:510) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.(** >>> RepositoryImpl.java:318) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.create(** >>> RepositoryImpl.java:582) >>> at >>> org.apache.jackrabbit.core.**TransientRepository$2.**getRepository(** >>> TransientRepository.java:232) >>> at >>> org.apache.jackrabbit.core.**TransientRepository.**startRepository(** >>> TransientRepository.java:280) >>> at >>> org.apache.jackrabbit.core.**TransientRepository.login(** >>> TransientRepository.java:376) >>> at >>> org.apache.jackrabbit.commons.**AbstractRepository.login(** >>> AbstractRepository.java:123) >>> at >>> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >>> createSession(JCRFactoryImpl.**java:146) >>> at >>> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >>> start(JCRFactoryImpl.java:100) >>> at org.ofbiz.jcr.loader.**JCRContainer.start(** >>> JCRContainer.java:129) >>> at >>> org.ofbiz.base.container.**ContainerLoader.start(** >>> ContainerLoader.java:230) >>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**310) >>> at org.ofbiz.base.start.Start.**start(Start.java:289) >>> at org.ofbiz.base.start.Start.**main(Start.java:119) >>> >>> -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: WYSIWYG editor
Hi, do you had a look at the CMS WebSite: https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite There you can create text using the WYSIWYG editor and store the content with tag information in the DB (ElectronicText). 2012/1/9 Foo Shyn Chung : > Hi all, > > I'm wondering is there any WYSIWYG panel to be used within ofbiz. What i > meant is something like the administrator panel for a website, where the > content show will be exactly like the one displayed, with bold or > underlined Text for example. > > Since ofbiz contains a ecommerce module, is there any such method exists? I > tried briefly the Content Module but can't find anything related in there. > > Thanx > FooShyn -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: who is going to land Best-Buy
Interesting, do you have any details? Am 22.12.2011 um 22:43 schrieb BJ Freeman : > Best-Buy over sold between online and B/M. > perfect time to pitch them for ofbiz.
Re: OFBiz Blog, Integration 3rd party tools
Hi Scott, nope we went another way. Roller doesn't fit to our needs, so i give up investigating on this task. The reason was we need more than only the blog functionality and we had to create an ofbiz based CMS System. Cheers Sascha 2011/7/21 ScottA > Sascha, sorry to revive such an old post but we were just looking for a > similar option and we also found Roller. It does look like it would > accomplish everything we need. Did you have any success with it? Cheers. > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/OFBiz-Blog-Integration-3rd-party-tools-tp1415270p3684820.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: ofbiz "mavenizer"
gt; >>>>> 2. Generates the SHA1 hash of each jar, and uses a Nexus API to > determine whether that jar already exists in Nexus as a known artifact. > >>>>> 3. If it does not, it takes a random sample of the classes in each > jar, and queries Nexus to see can it figure out a reasonable groupId & > artifactId. > >>>>> 4. For artifacts not already in Nexus, it synthesizes a mvn > deploy:deploy-file for each jar and each possible groupId/artifactId/version > it decides might be useful, and lets you decide which commands to run to get > all the dependency jars in Nexus. > >>>>> 5. After all the external dependencies are in Nexus, it looks through > $OFBIZ_HOME again, and determines all the transitive dependencies between > ofbiz modules > >>>>> 6. Next it synthesizes a pom for each module, that captures both the > dependencies in that module's lib directory, as well as the simplest > transitive graph of dependencies on other modules. > >>>>> 7. Finally it prints out mvn deploy:deploy-file commands which can be > run separately to put each ofbiz module's jar file into Nexus, along with > its pom. > >>>>> > >>>>> If you are using maven, this is pretty nice -- this way you don't > have to worry about declaring dependencies against all the jars in the ofbiz > directory; it figures all that out, and leverages maven's transitive > dependency resolution to make a clean build. > >>>>> > >>>>> Obviously it doesn't solve other problems, like how to deploy an > ofbiz server in a maveny way, but that may follow. > >>>>> > >>>>> If you're interested in seeing this open sourced, perhaps you can > reply off-list; if there is enough interest I'll put this on github. And > maybe even if there isn't. :) > >>>>> > >>>>> Cheers, > >>>>> Eric Bowman > >>>>> > >>>> > >>> > >> > > > > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: jQuery validator defaults
Hi Jonatan, you can't put label tags in js files, because they are interpreted by the freemarker parser, which don't parse js files. Some month ago, i created a JS function which can resolve ui Label tags. You can find it in the selectall.js There are two functions, one which takes an JSON array with ui label information and one which only takes a resource and one label. /** * Reads the requiered uiLabels from the uiLabelXml Files * @param requiredLabels JSON Object {resource : [label1, label2 ...], resource2 : [label1, label2, ...]} * @return JSON Object */ function getJSONuiLabels(requiredLabels) { /** * Read the requiered uiLabel from the uiLabelXml Resource * @param uiResource String * @param errUiLabel String * @returns String with Label */ function getJSONuiLabel(uiResource, errUiLabel) { Hope that helps. Have a good day Sascha 2011/7/12 Jonatan Soto > Hi all, > > I want to use the uiLabelMap variable in a .js I've created in order to set > the defaults of any sort for jQuery plugins like validator. To do that I > just included this in the main-decorator (CommonScreens.xml): > > global="true"/> > > In this file I put the code like that: > > jQuery.extend(jQuery.validator.messages, { > required: '${uiLabelMap.EcommerceRequired}' > }); > > > Of course, this is not properly rendered, so the question is: Would you put > all the javascript code in the header.ftl for example? > > Thanks in advance. > > Regards, > > Jonatan Soto > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: How to get a simple popup lookup window
Hi Adrian, when you say a "simple lookup" did you mean a static HTML Page (without forms) Than try the "New Example" Button : https://demo-trunk.ofbiz.apache.org/example/control/FindExample The difference is that the "simple lookup" which you can call within the screens do not support all the pagination / code loading stuff (it's smaller and faster). You can define a simple link which points to your FTL the simple lookup renders your code. Just a lightway alternative to the form lookups. If you need more help... just ask :) Have a good day Sascha 2011/6/2 Jacques Le Roux > Yes, at some point the default turned to be "layer", window gives a popup > > > Jacques > > From: "Adrian Crum" > >> Thanks Jacques! >> >> So, the answer to my question is: >> >> javascript:call_fieldlookup2(document.FormName.FieldName, >> 'LookupScreenViewName', 'window'); >> >> -Adrian >> >> On 6/2/2011 3:39 AM, Jacques Le Roux wrote: >> >>> Hi Adrian, >>> >>> In >>> https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples1st >>> of Lookup Fields (type popup) >>> >>> Jacques >>> >>> From: "Adrian Crum" >>> >>>> I need a simple popup lookup window that I can code from a Freemarker >>>> template. With all of the JQuery stuff added, it's hard to tell which JS >>>> function to call and what parameters to use. >>>> >>>> Is there any documentation on this? >>>> >>>> -Adrian >>>> >>>> >>> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: drag and drop in portal paga
Hi Pierre, hope you had good vacations. that sounds like a strange D'n'D behavior from jQuery related to the dragable area. I'll investigate this and fix the issue. Have a good day Cheers Sascha 2011/5/6 pierre.gaudin > Hi Sascha, > > Sorry for this late return, I was in vacations. > > I have just tested the modification and that works very well. I think > however that there is a problem because the copy on form is always disable. > Do you know how to fix it? > > Regards > > Pierre > > On 02/05/2011 19:31, Sascha Rodekamp wrote: > >> Hi Pierre, hi Bruno >> >> i committed the changes @Rev. 1098671 >> >> The portlets are now only dragable at the title bar. >> >> Have a good day >> Sascha >> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: how to Download content from SVN apache
Hey Hardik, have you tried https:// ( https://svn.apache.org/repos/asf/ofbiz/branches/release11.04<http://svn.apache.org/repos/asf/ofbiz/branches/release11.04> )? 2011/5/4 Hardik Handa > How to download content from > http://svn.apache.org/repos/asf/ofbiz/branches/release11.04 ??? I cannot > access the same from my tortoise svn client !! any options ?? > > Regards, > Hardik Handa > > > ::DISCLAIMER:: > > --- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > > --- > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: drag and drop in portal paga
Ok thanks Pierre, i'm back in the office next week. Have a good day. 2011/4/27 pierre.gaudin > Hi Sascha, > > I'm not an expert in js... but i'll try to propose a patch on this > feature. > > Good vacation !! > > Pierre > > > > On 27/04/2011 14:32, Sascha Rodekamp wrote: > >> Hi Pierre, >> yea i can do that. But not before next week (because i'm on vacation at >> the >> moment :-)) >> >> But if you like to implement ... feel free ;) >> >> Have a good day >> Sascha >> >> 2011/4/27 pierre.gaudin >> >> Hi Sacha, >>> >>> That's exactly what i was thinking about. I have a look at JIRA dashboard >>> and the drag and drop is available only on head line. >>> >>> I think that the better way is what you said : >>> >>> add only an icon which reacts on the event >>>> >>>> By this way there is no risk to move the form Involuntarily. >>> >>> Pierre >>> >>> On 27/04/2011 13:43, Sascha Rodekamp wrote: >>> >>> Hi Pierre, >>>> >>>> hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first >>>> implementation the widget was only dragable on the head line. So that >>>> mean >>>> we could change the area which reacts on the mouse "press& hold" >>>> event. >>>> >>>> We could also add only an icon which reacts on the event. The use can >>>> then >>>> only use the icon to "grab" the widget. >>>> >>>> Sascha >>>> >>>> >>>> 2011/4/27 pierre.gaudin >>>> >>>> Hi Sacha, >>>> >>>>> Thank you for your answer. >>>>> >>>>> In fact I wonder which feature is the most important, to allow the drag >>>>> and >>>>> drop or to allow the copy of one field. >>>>> >>>>> Is it possible to have both?? >>>>> >>>>> In my opinion the fact of not allowing to make a copy from a form is a >>>>> regression. >>>>> >>>>> Pierre >>>>> >>>>> >>>>> On 27/04/2011 11:10, Sascha Rodekamp wrote: >>>>> >>>>> Hi Pierre, >>>>> >>>>>> no that's correct the D'n'D function is also available on the user >>>>>> page >>>>>> not >>>>>> only on the admin page. >>>>>> But you can simply disable this by commanding out the myportal.js in >>>>>> the >>>>>> PortalPageScreens.xml#showPortalPage >>>>>> >>>>>> Hava a good day >>>>>> Sascha >>>>>> >>>>>> 2011/4/26 pierre.gaudin >>>>>> >>>>>> Hi all, >>>>>> >>>>>> I'm trying "my portal" page at " >>>>>>> >>>>>>> >>>>>>> >>>>>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>>>>> " >>>>>>> and i find a strange behaviour... When you try to copy a label or >>>>>>> something >>>>>>> on a widget you can't do it because it start dragging the form... >>>>>>> >>>>>>> May be I forget something but I do not understand why you can drag >>>>>>> forms >>>>>>> in >>>>>>> the final view. Should it be possible only in admin view ? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Pierre >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: drag and drop in portal paga
Hi Pierre, yea i can do that. But not before next week (because i'm on vacation at the moment :-)) But if you like to implement ... feel free ;) Have a good day Sascha 2011/4/27 pierre.gaudin > Hi Sacha, > > That's exactly what i was thinking about. I have a look at JIRA dashboard > and the drag and drop is available only on head line. > > I think that the better way is what you said : > >> add only an icon which reacts on the event >> > By this way there is no risk to move the form Involuntarily. > > Pierre > > On 27/04/2011 13:43, Sascha Rodekamp wrote: > >> Hi Pierre, >> >> hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first >> implementation the widget was only dragable on the head line. So that mean >> we could change the area which reacts on the mouse "press& hold" event. >> >> We could also add only an icon which reacts on the event. The use can then >> only use the icon to "grab" the widget. >> >> Sascha >> >> >> 2011/4/27 pierre.gaudin >> >> Hi Sacha, >>> >>> Thank you for your answer. >>> >>> In fact I wonder which feature is the most important, to allow the drag >>> and >>> drop or to allow the copy of one field. >>> >>> Is it possible to have both?? >>> >>> In my opinion the fact of not allowing to make a copy from a form is a >>> regression. >>> >>> Pierre >>> >>> >>> On 27/04/2011 11:10, Sascha Rodekamp wrote: >>> >>> Hi Pierre, >>>> >>>> no that's correct the D'n'D function is also available on the user page >>>> not >>>> only on the admin page. >>>> But you can simply disable this by commanding out the myportal.js in the >>>> PortalPageScreens.xml#showPortalPage >>>> >>>> Hava a good day >>>> Sascha >>>> >>>> 2011/4/26 pierre.gaudin >>>> >>>> Hi all, >>>> >>>>> I'm trying "my portal" page at " >>>>> >>>>> >>>>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>>>> " >>>>> and i find a strange behaviour... When you try to copy a label or >>>>> something >>>>> on a widget you can't do it because it start dragging the form... >>>>> >>>>> May be I forget something but I do not understand why you can drag >>>>> forms >>>>> in >>>>> the final view. Should it be possible only in admin view ? >>>>> >>>>> Regards, >>>>> >>>>> Pierre >>>>> >>>>> >>>>> >>>>> >>>>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: drag and drop in portal paga
Hi Pierre, hm maybe, i'm not sure why we use the hole widget for d'n'd. In my first implementation the widget was only dragable on the head line. So that mean we could change the area which reacts on the mouse "press & hold" event. We could also add only an icon which reacts on the event. The use can then only use the icon to "grab" the widget. Sascha 2011/4/27 pierre.gaudin > Hi Sacha, > > Thank you for your answer. > > In fact I wonder which feature is the most important, to allow the drag and > drop or to allow the copy of one field. > > Is it possible to have both?? > > In my opinion the fact of not allowing to make a copy from a form is a > regression. > > Pierre > > > On 27/04/2011 11:10, Sascha Rodekamp wrote: > >> Hi Pierre, >> >> no that's correct the D'n'D function is also available on the user page >> not >> only on the admin page. >> But you can simply disable this by commanding out the myportal.js in the >> PortalPageScreens.xml#showPortalPage >> >> Hava a good day >> Sascha >> >> 2011/4/26 pierre.gaudin >> >> Hi all, >>> >>> I'm trying "my portal" page at " >>> >>> https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt >>> " >>> and i find a strange behaviour... When you try to copy a label or >>> something >>> on a widget you can't do it because it start dragging the form... >>> >>> May be I forget something but I do not understand why you can drag forms >>> in >>> the final view. Should it be possible only in admin view ? >>> >>> Regards, >>> >>> Pierre >>> >>> >>> >>> >> > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: drag and drop in portal paga
Hi Pierre, no that's correct the D'n'D function is also available on the user page not only on the admin page. But you can simply disable this by commanding out the myportal.js in the PortalPageScreens.xml#showPortalPage Hava a good day Sascha 2011/4/26 pierre.gaudin > Hi all, > > I'm trying "my portal" page at " > https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt"; > and i find a strange behaviour... When you try to copy a label or something > on a widget you can't do it because it start dragging the form... > > May be I forget something but I do not understand why you can drag forms in > the final view. Should it be possible only in admin view ? > > Regards, > > Pierre > > > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Required validations are not working on Create Customer page.
Ups Force of Habit :-) Am 16.04.2011 um 20:55 schrieb "Jacques Le Roux" : > Hi Sascha, > > Ravindra reported on user ML ;o) > > Jacques > > From: "Sascha Rodekamp" >> Hi Ravindra, >> if fixed this issue. The patch is in trunk @Rev 1094007. >> When you found a bug next time it would be create if you can use Jira, that >> make it easier to track the bugs ( >> https://issues.apache.org/jira/browse/OFBIZ). >> Thanks for reporting and have a good day. >> Sascha >> -- >> Sascha Rodekamp >> Visit the new german OFBiz Blog: http://www.ofbiz.biz >> Lynx-Consulting GmbH >> Johanniskirchplatz 6 >> D-33615 Bielefeld >> http://www.lynx.de >> >
Re: Required validations are not working on Create Customer page.
Hi Ravindra, i'll check this ... thanks for reporting. 2011/4/15 Ravindra Mandre > Hi list, > > In partymgr when I am creating a person then on the form first name and > last > name are required fields but If I submit the form without passing the first > name and last name , form gets submitted , it means required validations > are > not working. so I am curious to know Is there any problem with Validations > ? > I tried for the following url > > > https://demo-trunk.ofbiz.apache.org/partymgr/control/editperson?create_new=Y > > > > > Regards > Ravindra Mandre > -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Issue with jQuery
Did you update your Trunk since then? Am 01.03.2011 um 16:14 schrieb Santosh Malviya : > Hi Jacques, > > I am using trunk on windows 7 and I took checkout around in mid of January. > > -- > Thanks and Regards > Santosh Malviya > > > On Tue, Mar 1, 2011 at 12:48 PM, Jacques Le Roux < > jacques.le.r...@les7arts.com> wrote: > >> Are you using a customized version, on which platform? >> >> The more you give details about your environment the better >> >> Jacques >> >> >> Santosh Malviya wrote: >> >>> Sorry for inconvenience, it is trunk not 10.04. >>> >>> Thanks and Regards >>> Santosh Malviya >>> >>> On Mon, Feb 28, 2011 at 5:21 PM, Erwan de FERRIERES < >>> erwan.de-ferrie...@nereide.fr> wrote: >>> >>> Le 28/02/2011 12:40, Santosh Malviya a écrit : Hello list, > > > > Is there any issue with jQuery on Firefox (3.6) and Chrome, it's working > on > IE8 but not on Firefox and Chrome, when I go to Catalog->Price > Rule->Test > Rule1, then value drop down of conditions does not show anything in it. > I > am > using 10.04 but it works on demo site for all three browsers. Any idea? > > Hi, > there is no jQuery in 10.04, it has been introduced later in the year. Cheers, -- Erwan de FERRIERES www.nereide.biz >>> >> >>
Re: Issue with jQuery
Hey guys, I tested your issue and it works fine for me. Have loaded all the seed demo data? I didn't found any JS errors in my browser. Can you give any further information? Have a good day Sascha Am 28.02.2011 um 12:10 schrieb Santosh Malviya : > Hello list, > > Is there any issue with jQuery on Firefox (3.6) and Chrome, it's working on > IE8 but not on Firefox and Chrome, when I go to Catalog->Price Rule->Test > Rule1, then value drop down of conditions does not show anything in it. I am > using 10.04 but it works on demo site for all three browsers. Any idea? > > -- > Thanks and Regards > Santosh Malviya > > > > > http://www.mindtree.com/email/disclaimer.html
Re: Excessive jQuery Scripts?
Yes Jonatan, your right, i only removed the references. The sources are needed in the backend as Jacques said :) 2011/2/24 Jonatan Soto > Sure.Note that it is WIP. http://test.japanflavour.com/ecomm/traditional > > If you navigate through the site you'll find that all the buttons, tabs, > accordions, dialogs, etc. have the same appearance . They can be changed > very easily just setting up the look and feel you prefer on the theme > rolling page (http://jqueryui.com/themeroller/< > http://jqueryui.com/themeroller/>), > I put the necessary files I've got in the jquery ui folder. Ex: > > > /framework/images/webapp/images/jquery/ui/css//jquery-ui-x.x.x.custom.min.css > > /framework/images/webapp/images/jquery/ui/js/jquery-ui-x.x.x.custom.min.js > (if the version is different) > > In common-screens for the ecommerce app, the main-decorator is defined the > js OOTB: > value="/images/jquery/ui/js/jquery-ui-x.x.x.custom.min.js" global="true"/> > > I added this record to the VISUAL_THEME_RESOURCE table: > || VT_STYLESHEET | 06 | > /images/jquery/ui/css/custom-theme/jquery-ui-x.x.x.custom.css | > NULL| NULL | NULL| > NULL| > > --- > > BTW, I think we are talking the same thing, as I understood you want to > remove this line because it is not used and I agree. What I don't think is > necessary is to delete the entire ui folder. > > It is very versatile since all the jQuery UI widgets have at the bottom of > each documentation page a guideline with the generated css classes. It is > good for override the normal behavior with a little effort. > > HTH > > > > On Thu, Feb 24, 2011 at 7:41 AM, Sascha Rodekamp googlemail.com> wrote: > > > Hey Joanatan of course it is, but it's not part of the OOTB Ecommerce App > > :-). Maybe you could provide an example implementation; I would love to > see > > it! > > But till then I prefer to remove all not needed JS Libs form the main > > decorator. When someone needs jQuery in the ecommerce app he can simply > add > > everything he wants but there is no overhead anymore. It's everytime > better > > to load JS Libs only in the screens where they are needed and not every > > library in the main decorator. :-) > > > > > > > > @Sam You're welcome. > > > > Have a good day > > Sascha > > > > > > 2011/2/24 Sam Hamilton > > > > > Many thanks Sascha! > > > > > > > > > On 24 Feb 2011, at 03:34, Sascha Rodekamp wrote: > > > > > > > Hey *, > > > > ok a checked the ecommerce up. And you're right we don't need all the > > > jQuery > > > > UI Stuff. I will remove and committ the changes. > > > > > > > > Thanks Guys > > > > Cheers > > > > Sascha > > > > > > > > 2011/2/23 Jonatan Soto > > > > > > > >> Hi, > > > >> > > > >> I remember I asked for a similar question some months ago. These are > > my > > > >> conclusions: > > > >> > > > >> AFAIK jQuery UI is not entirely used OOTB in Ofbiz. Those heavy js > and > > > css > > > >> files can be reduced a lot if you don't have plans to use all the > > > >> components > > > >> of jQuery UI. If you do, you can customize the theme roller with > every > > > >> components you would need such ui core, interactions, widgets and > > > effects. > > > >> It is pretty customizable and allows to select subcomponents of them > > > when > > > >> you finish to custom the theme. > > > >> In my case I've decided to use jQuery UI for theme rolling purposes > so > > > all > > > >> the widgets included in the library will be widely altered easily. I > > > just > > > >> added a record for the css to my custom ofbiz theme. I used the one > > I've > > > >> got > > > >> after customization from http://jqueryui.com/themeroller/ and > copied > > > into > > > >> ofbiz\framework\images\webapp\images\jquery\ui\css\"custom-theme". > If > > > the > > > >> version of the js file is different it's also recommendable to > change > > > it. > > > >> It > > > >> is located in ofbiz\framework\images\webapp\images\jquery\ui\js. > > > >> > &g
Re: Excessive jQuery Scripts?
Hey Joanatan of course it is, but it's not part of the OOTB Ecommerce App :-). Maybe you could provide an example implementation; I would love to see it! But till then I prefer to remove all not needed JS Libs form the main decorator. When someone needs jQuery in the ecommerce app he can simply add everything he wants but there is no overhead anymore. It's everytime better to load JS Libs only in the screens where they are needed and not every library in the main decorator. :-) @Sam You're welcome. Have a good day Sascha 2011/2/24 Sam Hamilton > Many thanks Sascha! > > > On 24 Feb 2011, at 03:34, Sascha Rodekamp wrote: > > > Hey *, > > ok a checked the ecommerce up. And you're right we don't need all the > jQuery > > UI Stuff. I will remove and committ the changes. > > > > Thanks Guys > > Cheers > > Sascha > > > > 2011/2/23 Jonatan Soto > > > >> Hi, > >> > >> I remember I asked for a similar question some months ago. These are my > >> conclusions: > >> > >> AFAIK jQuery UI is not entirely used OOTB in Ofbiz. Those heavy js and > css > >> files can be reduced a lot if you don't have plans to use all the > >> components > >> of jQuery UI. If you do, you can customize the theme roller with every > >> components you would need such ui core, interactions, widgets and > effects. > >> It is pretty customizable and allows to select subcomponents of them > when > >> you finish to custom the theme. > >> In my case I've decided to use jQuery UI for theme rolling purposes so > all > >> the widgets included in the library will be widely altered easily. I > just > >> added a record for the css to my custom ofbiz theme. I used the one I've > >> got > >> after customization from http://jqueryui.com/themeroller/ and copied > into > >> ofbiz\framework\images\webapp\images\jquery\ui\css\"custom-theme". If > the > >> version of the js file is different it's also recommendable to change > it. > >> It > >> is located in ofbiz\framework\images\webapp\images\jquery\ui\js. > >> > >> HTH > >> > >> On Wed, Feb 23, 2011 at 10:57 AM, Sam Hamilton wrote: > >> > >>> Hi Sascha & Jacques > >>> > >>> If you view the source of any of the /ecommerce/ pages you should see: > >>> > >>> > >>> Featured Products: OFBiz E-Commerce Store > >>> > >>> >>> src="/images/jquery/jquery-1.4.2.min.js"> > >>> >>> > >> > src="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en_US.js"> > >>> >>> > >> > src="/images/jquery/ui/development-bundle/ui/jquery.ui.datepicker.js"> > >>> >>> src="/images/jquery/plugins/validate/jquery.validate.min.js"> > >>> >>> src="/images/jquery/ui/js/jquery-ui-1.8.6.custom.min.js"> > >>> >>> > >> > src="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.9.3.min.js"> > >>> > >>> > >>> >> type="text/css"/> > >>> > >>> >>> type="text/css"/> > >>> > >>> I found the 404 because I was running www.webpagetest.org against the > >> home > >>> page and in the waterfall I spotted the 2 jquery files - test results > are > >>> here if you fancy a distraction for 2 mins > >>> http://www.webpagetest.org/result/110223_1A_1N7C/ > >>> > >>> Sam > >>> > >>> > >>> > >>> On 23 Feb 2011, at 17:19, Sascha Rodekamp wrote: > >>> > >>>> Hey Sam, hey Jacques, > >>>> i 'm also not sure. But i'll double check this tonight. And if it is > >>> really > >>>> obsolete i'll remove it :-) > >>>> > >>>> Cheers guys > >>>> > >>>> > >>>> 2011/2/23 Jacques Le Roux > >>>> > >>>>> From: "Sam Hamilton" > >>>>> > >>>>>> Afraid I don't know how to tell the difference when a script calls > >>> jquery > >>>>>> or jquery ui? > >>>>>> > >>>>> > >>>>> Honestly I think we don't use jQuery UI OOTB. You could try to remove > >&
Re: Excessive jQuery Scripts?
Hey *, ok a checked the ecommerce up. And you're right we don't need all the jQuery UI Stuff. I will remove and committ the changes. Thanks Guys Cheers Sascha 2011/2/23 Jonatan Soto > Hi, > > I remember I asked for a similar question some months ago. These are my > conclusions: > > AFAIK jQuery UI is not entirely used OOTB in Ofbiz. Those heavy js and css > files can be reduced a lot if you don't have plans to use all the > components > of jQuery UI. If you do, you can customize the theme roller with every > components you would need such ui core, interactions, widgets and effects. > It is pretty customizable and allows to select subcomponents of them when > you finish to custom the theme. > In my case I've decided to use jQuery UI for theme rolling purposes so all > the widgets included in the library will be widely altered easily. I just > added a record for the css to my custom ofbiz theme. I used the one I've > got > after customization from http://jqueryui.com/themeroller/ and copied into > ofbiz\framework\images\webapp\images\jquery\ui\css\"custom-theme". If the > version of the js file is different it's also recommendable to change it. > It > is located in ofbiz\framework\images\webapp\images\jquery\ui\js. > > HTH > > On Wed, Feb 23, 2011 at 10:57 AM, Sam Hamilton wrote: > > > Hi Sascha & Jacques > > > > If you view the source of any of the /ecommerce/ pages you should see: > > > > > > Featured Products: OFBiz E-Commerce Store > > > > > src="/images/jquery/jquery-1.4.2.min.js"> > > > > src="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en_US.js"> > > > > src="/images/jquery/ui/development-bundle/ui/jquery.ui.datepicker.js"> > > > src="/images/jquery/plugins/validate/jquery.validate.min.js"> > > > src="/images/jquery/ui/js/jquery-ui-1.8.6.custom.min.js"> > > > > src="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.9.3.min.js"> > > > > > > type="text/css"/> > > > > > type="text/css"/> > > > > I found the 404 because I was running www.webpagetest.org against the > home > > page and in the waterfall I spotted the 2 jquery files - test results are > > here if you fancy a distraction for 2 mins > > http://www.webpagetest.org/result/110223_1A_1N7C/ > > > > Sam > > > > > > > > On 23 Feb 2011, at 17:19, Sascha Rodekamp wrote: > > > > > Hey Sam, hey Jacques, > > > i 'm also not sure. But i'll double check this tonight. And if it is > > really > > > obsolete i'll remove it :-) > > > > > > Cheers guys > > > > > > > > > 2011/2/23 Jacques Le Roux > > > > > >> From: "Sam Hamilton" > > >> > > >>> Afraid I don't know how to tell the difference when a script calls > > jquery > > >>> or jquery ui? > > >>> > > >> > > >> Honestly I think we don't use jQuery UI OOTB. You could try to remove > it > > >> and see what happens... > > >> > > >> > > >> Sorry don't understand what you mean by "default and handled > internally" > > - > > >>> the page is pointing to a missing script which it might or might not > > need - > > >>> again not sure how to tell > > >>> > > >> > > >> How did you get this URL? The software should not send you there... > > >> > > >> Jacques > > >> > > >> > > >> Sam > > >>> > > >>> > > >>> > > >>> On 22 Feb 2011, at 15:43, Jacques Le Roux wrote: > > >>> > > >>> I did not check if we use jQuery UI in eCommerce. Indeed 205 913 > bytes > > >>>> is not negligible, but we should be sure before removing it that we > > are not > > >>>> using it OOTB, did you check? > > >>>> For jquery.ui.datepicker-en_US.js is not provided by jQuery UI > because > > >>>> it's the default and handled internally. > > >>>> > > >>>> Jacques > > >>>> > > >>>> From: "Sam Hamilton" > > >>>> > > >>>>> Was just running round the ecommerce site when I noticed that both > > >>>>> jquery-1.4.2.min.js and jquery-ui-1.8.6.custom.min.js are served > when > > >>>>> loading /ecommerce/ pages? Isn't that rather excessive and only > > >>>>> jquery-1.4.2.min.js should be called? > > >>>>> > > >>>>> On another note > > >>>>> > > > http://demo-trunk.ofbiz.apache.org/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en_US.jsis404ingout. > > >>>>> > > >>>>> Sam > > >>>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >> > > >> > > > > > > > > > -- > > > Sascha Rodekamp > > >Lynx-Consulting GmbH > > >Johanniskirchplatz 6 > > >D-33615 Bielefeld > > >http://www.lynx.de > > > > > > > -- > - > > Jonatan Soto > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Excessive jQuery Scripts?
Hey Sam, hey Jacques, i 'm also not sure. But i'll double check this tonight. And if it is really obsolete i'll remove it :-) Cheers guys 2011/2/23 Jacques Le Roux > From: "Sam Hamilton" > >> Afraid I don't know how to tell the difference when a script calls jquery >> or jquery ui? >> > > Honestly I think we don't use jQuery UI OOTB. You could try to remove it > and see what happens... > > > Sorry don't understand what you mean by "default and handled internally" - >> the page is pointing to a missing script which it might or might not need - >> again not sure how to tell >> > > How did you get this URL? The software should not send you there... > > Jacques > > > Sam >> >> >> >> On 22 Feb 2011, at 15:43, Jacques Le Roux wrote: >> >> I did not check if we use jQuery UI in eCommerce. Indeed 205 913 bytes >>> is not negligible, but we should be sure before removing it that we are not >>> using it OOTB, did you check? >>> For jquery.ui.datepicker-en_US.js is not provided by jQuery UI because >>> it's the default and handled internally. >>> >>> Jacques >>> >>> From: "Sam Hamilton" >>> >>>> Was just running round the ecommerce site when I noticed that both >>>> jquery-1.4.2.min.js and jquery-ui-1.8.6.custom.min.js are served when >>>> loading /ecommerce/ pages? Isn't that rather excessive and only >>>> jquery-1.4.2.min.js should be called? >>>> >>>> On another note >>>> http://demo-trunk.ofbiz.apache.org/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en_US.jsis >>>> 404ing out. >>>> >>>> Sam >>>> >>> >>> >>> >> >> > > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Help on scripting
Ok that's pretty easy. Just include the jQuery.min.js in your common-screens.xml. The error msg means the you don't load the jQuery lib before you load the slider stuff. Have a look to the global CommonScreen.xml there you find an example of how to include JS Libs. Have a good day Sascha 2011/2/11 Hardik Handa > Error: jQuery is not defined > Source File: > http://localhost:8080/images/js_HCL/spotlight_product_slider.js > Line : 327 > This is the error > > And the line number defined in the firefox i.e 327 says (jQuert); > > > -----Original Message- > From: Sascha Rodekamp [mailto:sascha.rodekamp.lynx...@googlemail.com] > Sent: 11 February 2011 PM 02:58 > To: user@ofbiz.apache.org > Subject: Re: Help on scripting > > Hi Hardik, > what do u import in you're common-screen.xml? The html file oder did you > create an ftl file? > Is the rest of the site is loaded properly? Did you se any JS Errors? > > Regards > Sascha > > 2011/2/11 Hardik Handa > > > I have been using this javascript for sliding effect jq_slider.js on my > > homepage although this same javascript is working on pure html , imported > > this in the commonscreens.xml > > But the effect isn't coming. Could someone tell me why is this happening > > and any solution for this. > > Thanx in advance > > > > Regards, > > Hardik Handa > > Software Engineer - CMHP-RETAIL-COE-eCommerce > > HCL Technologies Ltd. > > C-22A, Sector 57, NOIDA. 201301, UP. (India) > > Tel: +91-120-2586417-19 > > Mob: +91-9811671898 > > www.hcltech.com<http://www.hcltech.com> > > www.hcl.com<http://www.hcl.in/> > > > > > > > > > > ::DISCLAIMER:: > > > > > --- > > > > The contents of this e-mail and any attachment(s) are confidential and > > intended for the named recipient(s) only. > > It shall not attach any liability on the originator or HCL or its > > affiliates. Any views or opinions presented in > > this email are solely those of the author and may not necessarily reflect > > the opinions of HCL or its affiliates. > > Any form of reproduction, dissemination, copying, disclosure, > modification, > > distribution and / or publication of > > this message without the prior written consent of the author of this > e-mail > > is strictly prohibited. If you have > > received this email in error please delete it and notify the sender > > immediately. Before opening any mail and > > attachments please check them for viruses and defect. > > > > > > > --- > > > > > > -- > Sascha Rodekamp >Lynx-Consulting GmbH >Johanniskirchplatz 6 >D-33615 Bielefeld >http://www.lynx.de > > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Help on scripting
Hi Hardik, what do u import in you're common-screen.xml? The html file oder did you create an ftl file? Is the rest of the site is loaded properly? Did you se any JS Errors? Regards Sascha 2011/2/11 Hardik Handa > I have been using this javascript for sliding effect jq_slider.js on my > homepage although this same javascript is working on pure html , imported > this in the commonscreens.xml > But the effect isn't coming. Could someone tell me why is this happening > and any solution for this. > Thanx in advance > > Regards, > Hardik Handa > Software Engineer - CMHP-RETAIL-COE-eCommerce > HCL Technologies Ltd. > C-22A, Sector 57, NOIDA. 201301, UP. (India) > Tel: +91-120-2586417-19 > Mob: +91-9811671898 > www.hcltech.com<http://www.hcltech.com> > www.hcl.com<http://www.hcl.in/> > > > > > ::DISCLAIMER:: > > --- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > > --- > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: checkoutpayment.ftl problem
No problem, you're welcome. Have a nice day! 2011/1/5 Jonatan Soto > Hi Sacha, > > You're right, I was in a mistake. I forgot to compare this file with the > original. I am working with a copy of this app placed in the hot-deploy > dir, > so when I did the vendor drop the original ecommerce app was updated but > not > the custom ecommerce I'm really using. > > Sorry for that and thanks a lot for your help! > > On Wed, Jan 5, 2011 at 1:53 PM, Sascha Rodekamp googlemail.com> wrote: > > > Hi Jonatan, > > if 'checkoutInfoForm' is the id of the Form you've to add a #. > > 'jQuery("#checkoutInfoForm'')' That makes jQuery to return a jQuery Dom > > Object of the form (that's not the same as the normal DOM Object. To Get > > this 'normal' (classical) DOM Obejct try > 'jQuery("#checkoutInfoForm'')[0]'. > > > > But anyway, the solution to get the form via name is more common. > > But in which file do you found this bug, i searched for it but didn't get > a > > result. > > > > > > 2011/1/5 Jonatan Soto > > > > > Hi Sacha, > > > > > > Yes, I am working with a 2-3 weeks ago trunk version. I've upgraded my > > > custom Ofbiz 2 or 3 days after the jQuery branch was merged. > > > > > > I was wrong, it is not related to freemarker. I just tried what you > said > > > and > > > still not working. It takes the first parameter > > > 'jQuery(''checkoutInfoForm'')' as a string. If I use > > > 'document.checkoutInfoForm' > > > works because it takes correctly the DOM object. > > > > > > What do you think? > > > > > > On Wed, Jan 5, 2011 at 1:28 PM, Sascha Rodekamp < > sascha.rodekamp.lynx.de > > @ > > > googlemail.com> wrote: > > > > > > > Hi Jonatan, > > > > do you working on the latest trunk? > > > > > > > > $('checkoutInfoForm') looks like something related to prototype. > > > > > > > > In the current trunk all these $ calls should be replaced by their > > jQuery > > > > equivalent. > > > > > > > > But in this case your right we use a form call by name. > > > > > > > > Cheers > > > > Sascha > > > > > > > > > > > > 2011/1/5 Jonatan Soto > > > > > > > > > Hi, > > > > > > > > > > I found links interpreted badly for this page, they don't work. > > Perhaps > > > > > caused by the recent freemarker lib upgrade? > > > > > > > > > > The links are defined like this: > > > > > > > > > > > > > > class="button">${uiLabelMap.AccountingCreditCard} > > > > > > > > > > I've changed them to: > > > > > > > > > > > > > > class="button">${uiLabelMap.AccountingCreditCard} > > > > > > > > > > And set the form name properly. I just followed the way that is > used > > in > > > > > other pages for the same process. See checkoutoptions.ftl. > > > > > > > > > > Regards, > > > > > > > > > > -- > > > > > - > > > > > > > > > > Jonatan Soto > > > > > > > > > > > > > > > > > > > > > -- > > > > Sascha Rodekamp > > > >Lynx-Consulting GmbH > > > >Johanniskirchplatz 6 > > > >D-33615 Bielefeld > > > >http://www.lynx.de > > > > > > > > > > > > > > > > -- > > > - > > > > > > Jonatan Soto > > > > > > > > > > > -- > > Sascha Rodekamp > >Lynx-Consulting GmbH > >Johanniskirchplatz 6 > >D-33615 Bielefeld > >http://www.lynx.de > > > > > > -- > - > > Jonatan Soto > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: checkoutpayment.ftl problem
Hi Jonatan, if 'checkoutInfoForm' is the id of the Form you've to add a #. 'jQuery("#checkoutInfoForm'')' That makes jQuery to return a jQuery Dom Object of the form (that's not the same as the normal DOM Object. To Get this 'normal' (classical) DOM Obejct try 'jQuery("#checkoutInfoForm'')[0]'. But anyway, the solution to get the form via name is more common. But in which file do you found this bug, i searched for it but didn't get a result. 2011/1/5 Jonatan Soto > Hi Sacha, > > Yes, I am working with a 2-3 weeks ago trunk version. I've upgraded my > custom Ofbiz 2 or 3 days after the jQuery branch was merged. > > I was wrong, it is not related to freemarker. I just tried what you said > and > still not working. It takes the first parameter > 'jQuery(''checkoutInfoForm'')' as a string. If I use > 'document.checkoutInfoForm' > works because it takes correctly the DOM object. > > What do you think? > > On Wed, Jan 5, 2011 at 1:28 PM, Sascha Rodekamp googlemail.com> wrote: > > > Hi Jonatan, > > do you working on the latest trunk? > > > > $('checkoutInfoForm') looks like something related to prototype. > > > > In the current trunk all these $ calls should be replaced by their jQuery > > equivalent. > > > > But in this case your right we use a form call by name. > > > > Cheers > > Sascha > > > > > > 2011/1/5 Jonatan Soto > > > > > Hi, > > > > > > I found links interpreted badly for this page, they don't work. Perhaps > > > caused by the recent freemarker lib upgrade? > > > > > > The links are defined like this: > > > > > > > > class="button">${uiLabelMap.AccountingCreditCard} > > > > > > I've changed them to: > > > > > > > > class="button">${uiLabelMap.AccountingCreditCard} > > > > > > And set the form name properly. I just followed the way that is used in > > > other pages for the same process. See checkoutoptions.ftl. > > > > > > Regards, > > > > > > -- > > > - > > > > > > Jonatan Soto > > > > > > > > > > > -- > > Sascha Rodekamp > >Lynx-Consulting GmbH > >Johanniskirchplatz 6 > >D-33615 Bielefeld > >http://www.lynx.de > > > > > > -- > - > > Jonatan Soto > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: checkoutpayment.ftl problem
Hi Jonatan, do you working on the latest trunk? $('checkoutInfoForm') looks like something related to prototype. In the current trunk all these $ calls should be replaced by their jQuery equivalent. But in this case your right we use a form call by name. Cheers Sascha 2011/1/5 Jonatan Soto > Hi, > > I found links interpreted badly for this page, they don't work. Perhaps > caused by the recent freemarker lib upgrade? > > The links are defined like this: > > class="button">${uiLabelMap.AccountingCreditCard} > > I've changed them to: > > class="button">${uiLabelMap.AccountingCreditCard} > > And set the form name properly. I just followed the way that is used in > other pages for the same process. See checkoutoptions.ftl. > > Regards, > > -- > - > > Jonatan Soto > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Lookup form multiple parameters
Hey Shereen, would do you exactly mean? Passing multipale parameters back to the calling screen. Have a look at the example pages. You can specify an additinal target field for the lookups where a second parameter will be passed back. . https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples The Second Lookup in the middle of the page. If you mean anything else let me now. Maybe with a link to the lookup you mean. Have a good day Sascha 2010/12/29 Shereen > > Can anyone give me a hint how we receive those target parameters in > LookUpWorkshop > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Export-Ofbiz-Services-that-use-complex-type-parameters-New-AXIS2-Ofbiz-Component-Example-tp160706p3166845.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: About Rich Text Editor in the Catalog Manager Application
No Scott i haven't i had a closer look to http://elrte.org/ it's BSD 3-clauses licensed, which is fine with ofbiz and apache. And it is based on jQuery :-). Seems to be a pretty good and easy to use editor, but i haven't try to implement it. It is a little bit smaller than the CK Editor but haven an free to use file browser! 2010/10/21 Scott Gray > Out of curiosity, has anyone tried the Xinha editor ( > http://xinha.webfactional.com/)? It's BSD licensed and looks pretty > advanced. > > I haven't used it but stumbled across it while looking at Hippo CMS, they > use it for the content editor. > > Thanks > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 21/10/2010, at 11:30 PM, Hans Bakker wrote: > > > there are 2 editors already in the system, they can even be used in > > formscheck content -> resource -> text item > > > > On Thu, 2010-10-21 at 03:11 -0700, Tremal wrote: > >> The fisrt idea is to insert the FCKEditor as a Widget in the Promo's of > >> eCommerce module. Has somebody tried it? > > > > -- > > Ofbiz on twitter: http://twitter.com/apache_ofbiz > > Myself on twitter: http://twitter.com/hansbak > > Antwebsystems.com: Quality services for competitive rates. > > > > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: About Rich Text Editor in the Catalog Manager Application
Jep FCK Editor is now CK Editor - http://ckeditor.com/ we use it for various text modifications and it work very well. But i think the licence can't go with ofbiz:-) Cheers Sascha 2010/10/21 Tremal > > The fisrt idea is to insert the FCKEditor as a Widget in the Promo's of > eCommerce module. Has somebody tried it? > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/About-Rich-Text-Editor-in-the-Catalog-Manager-Application-tp3005224p3005320.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Eclipse plugin for Ajax based layout maker.
Hm Anil, hm you can use i.e. Aptana which is a good Eclipse based Web developing tool, there you have an jQuery Integration (beside other libraries). But i don't think that there is something special for OFBiz. http://www.aptana.com/products/studio2 2010/9/27 Anil Soni > Ajax based layout means where I can create Ajaxy components and can make > Ajax call to my services. So I am looking for Eclipse plug-in kind of > Editor/ layout maker where I can design my entire page and just use that > page in OFBiz project to reduce GUI coding effort. > > > -Original Message----- > From: Sascha Rodekamp [mailto:sascha.rodekamp.lynx...@googlemail.com] > Sent: Monday, September 27, 2010 5:01 PM > To: user@ofbiz.apache.org > Subject: Re: Eclipse plugin for Ajax based layout maker. > > Hi Anil, > nope, what whould you achive with such a plugin. What kind of Ajax based > layout? > > 2010/9/27 Anil Soni > > > Anyone used some type of Eclipse plug-in to create AJAX based layout, > which > > we can directly use in framework instead of FTL ? > > > > > > Regards, > > Anil Soni > > Cell : +91-9930302283 > > > > > > > > This Email may contain confidential or privileged information for the > > intended recipient (s) If you are not the intended recipient, please do > not > > use or disseminate the information, notify the sender and delete it from > > your system. > > > > __ > > > > > -- > Sascha Rodekamp >Lynx-Consulting GmbH >Johanniskirchplatz 6 >D-33615 Bielefeld >http://www.lynx.de > > > __ > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from > your system. > > __ > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Eclipse plugin for Ajax based layout maker.
Hi Anil, nope, what whould you achive with such a plugin. What kind of Ajax based layout? 2010/9/27 Anil Soni > Anyone used some type of Eclipse plug-in to create AJAX based layout, which > we can directly use in framework instead of FTL ? > > > Regards, > Anil Soni > Cell : +91-9930302283 > > > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do not > use or disseminate the information, notify the sender and delete it from > your system. > > ______ -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: ajax response
Hi Pierre, you're Ajax request looks for a JSON Object in you're return parameters and you try to render a screen. Try to start you're Ajax request without asking for an JSON Object. That should work. If not let me now. Cheers Sascha 2010/9/2 Pierre Smits > Hi all, > > In a .ftl form I build a list of projects available. The list contains per > row a selection box to generate a query-string. > > I then pass the request (with the query-string) to following javascript > function: > > function getAssociatedTaskList(request) {; >new Ajax.Request( request, { >onSuccess: function(transport) { >var data = transport.responseText.evalJSON(true); >var serverError = getServerError(data); >if (serverError != "") { >alert("het gaat fout"); >Effect.Appear('createListError',{duration:0.0}); >$('createListError').update(serverError); >} else { >Effect.Fade('createListError', {duration: 0.0}); >new Ajax.Updater($('TaskOverview'), 'ListTasks' , > {evalScripts: true}); >} >}, >asynchronous: true, >requestHeaders: {Accept: 'application/json'} >}); > } > > the request is like: > /application/control/getAssociatedTaskList?projectsSelected=10050 > > The request-map in controller.xml is: > > > > > > With the corresponding view-map: > page="component://application/widget/applicationScreens.xml#ListTasks"/> > > ListTasks in applicationScreens.xml contains: > > > > global="true"/> > from-field="parameters.userLogin.partyId"/> >
Re: Auto Suggest
Hello Gavin, jep we have the autocomplete in the trunk (prototype based) and in the jQuery brunch (jquery based). If you want to use it in the 9.04 version, you have implement it by you're own (have a look at the example screens in the current trunk, maybe you can copy some code there). Here are some instructions for the Prototype autocomplete: http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter If you have problems using the plugin just ask: Cheers Sascha 2010/9/2 Matthieu Bollot > Le jeudi 02 septembre 2010 à 09:35 +0200, Matthieu Bollot a écrit : > > Le jeudi 02 septembre 2010 à 08:59 +0200, Jacques Le Roux a écrit : > > > If you mean auto-complete there are already some in ofbiz. AFAIK only > for lookups in trunk, but soon also for dropdowns in jQuery > > > branch > > I think that he means something such as : you're looking at green shoes, > > so may be you would like to buy pink socks too… > forget this mail… > > > -- > Matthieu BOLLOT > www.nereide.biz > > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: AJAX JSON response
I use the normal java event handler when working with json objects. You can pass the JSON String/ Array as normal parameter to your Event. In the Event/ Service you can simply parse the parameter String into a JSON Object: JSONObject jsonObject = JSONObject.fromObject(jsonStringFromParameter); Do some stuff with the jsonObject change/edit/add Data and transform back to a String. This String can be written into your response Object. 1) Set the Content Type to "application/x-json" response.setContentType("application/x-json"); 2) set the Content length response.setContentLength(jsonString.getBytes("UTF8").length); 3) Get the response writer and write the json String to your response Object If your calling the Event/ Service with an Ajax Request you can user the evalJSON() Method. new Ajax.Request("/youreRequestHere", { method: "get", parameters: {"parameter": "data23"}, onSuccess: function(transport){ var jsonData = transport.responseText.evalJSON(); //here you can update you're div with the data } }); The controller entry looks like this BTW: why you're working with JSON Data when you want simply update a div? Creat a normal Screen and a normal controller entry which calls the screen. Then Do you're Ajax Request, the response will be the difined Screen which you can insert / replace in your're div you wan't to update. Cheers Sascha 2010/7/1 Levenimeux > > thanks sasha for your answer > but can you explain me more how to parse my arguments to the event/service > (i guess you mean minilang or java classes to invoke). by the way after > posting my question i was trying to use the JSONJavaHandler when firing > request to my uribut now after reading your answer i get a quetion > about this do i have to use necessarly the DojoJSONserviceHandler or > can > i use the JSONJavaHandler instead and if this is the case do i have to do > some modifications ??? i suppose that if i use the DojoJSONserviceHandler > like you propose i have to write a service (in minilang or even java). if > we > consider those conditions are verified how do i have to write my urimap in > the controller i mean > --- > < request-map type="java or service according to the service ive wrote" > path="my service or java class path" invoke="the method to invoke if > event"> > http://ofbiz.135035.n4.nabble.com/AJAX-JSON-response-tp2274772p2275011.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: AJAX JSON response
Hi, have a look at the DojoJSONServiceEventHandler. The Way is simple pass your Arguments to your Event/ Service parse them into a Jason Object (have a look here http://www.json.org/java/). Do what ever you want :-) And write back the result to the response Object. Now you can work with the JSON Object in your Client. I hope i could help Cheers Sascha 2010/7/1 Levenimeux > > "Hi everybody ; > i'm an ofbiz framework beginner developper and in the application i'm > developping i need to use AJAX in the client side. i'm now try to use Json > for the response but i get no result . when i fire a request to the > controler , instead of updating the div i've prepared in the client side > page i get a downlodable file wich content is the following one : > - > > {"targetRequestUri":"/testServiceAjax","_CONTEXT_ROOT_":"C:\\workspace\\ofbiz\\hot-deploy\\practice\\webapp\\practice\\","javax.servlet.request.key_size":128,"_FORWARDED_FROM_SERVLET_":true,"javax.servlet.request.ssl_session":"4c2b3a693e0b8204df23eb50f3c5bfe89ab1ae92c9d134be9b3d55fe55f5e284","_REQUEST_FROM_SPIDER_":"N","_SERVER_ROOT_URL_":" > https://localhost:8443 > ","_LOGIN_PASSED_":"TRUE","_CONTROL_PATH_":"/practice/control","javax.servlet.request.cipher_suite":"SSL_RSA_WITH_RC4_128_MD5","thisRequestUri":"json"} > > then i suppose that i have this type of response because in my webapp > controller there is no handler for the type Json .so i search in ofbiz for > any handler of the json type and i find as reponse the common-controller > of > the common component in ofbiz (common > /webcommon/webinf/common-controller.xml). while reading this controller and > looking for any handler of the json type i found this comment : > -- > > -- > so i make a copy of the last line in this comment to my app controller but > i > get the same response as described before... so now i have no idea of how > to > use this Json type in my webapp controller ... > can anyone explain me the meaning of the comment i found in the > common-cotroller or > can anyone explain me the way to use Ajax with the JSON type in the > controller and some link about the subject will be welcome > thank for advance " > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/AJAX-JSON-response-tp2274772p2274772.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > -- Sascha Rodekamp Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de
Re: Fw: Dojo tree 1.4
Hey, so i started upgrading to dojo 1.4. The good point is ... Dojo 1.4 has many really cool new Features which can help us to improve the UI. The Bad thing is, some parts of the syntax had changed. That effects many parts in OFBiz (OnePageCheckout, Trees, all Dojo features Scripts :-)). So that's a lot of work and i can't do it on my own ... who volunteer to help me ;) ?? First Step is to collect all depending issues and than to fix them step by step. Have a nice day Sascha -- http://www.lynx.de
Re: Costcenters
Hey Pierre, have a look at this Screen: https://demo-trunk.ofbiz.apache.org/accounting/control/CostCenters It will create a GL Account Category Member. There you can add any cost center to a GL Acc. Creating/ Defining cost centers is not implemented yet (so far as i now). So long Sascha 2010/6/2 Pierre Smits > Hi all, > > I see in the accounting module functionality for costcenters, but I can't > find how to create them. > > Can you help me out? > > Regards, > > Pierre > -- http://www.lynx.de
Re: Conditional redirect from controller
Hi Varun, jep thats possible. The controller can work with different response messages, just return something different from success or error and make a mapping in your request-map. Cheers Sascha 2010/5/28 varun bhansaly > Hi, > I have developed a custom service which would send different values > for an OUT param. > Depending on the value of the OUT param, the controller should > redirect to the appropriate view. > > Please let me know if such conditional redirect is possible & has any > precedence in existing components. > > -- > Regards, > Varun Bhansaly > -- http://www.lynx.de
Re: Deleting a Skill Standard Entry for a Task
No problem i'm on vacation at the momement. i will make me a reminder and have a look next week when i'm back in the office :-) Cheers Sascha 2010/4/6 Bertuzzi, Armando [Nervianoms] > Thanks for your quick answer! > Armando > > -Original Message- > From: Sascha Rodekamp [mailto:sascha.rodekamp.lynx...@googlemail.com] > Sent: Tuesday, April 06, 2010 3:15 PM > To: user@ofbiz.apache.org > Subject: Re: Deleting a Skill Standard Entry for a Task > > i think on this screen u can't ... a workaround is to set the duration > to zero, but the skill will stay. But it's a good point to add a button > to delete a skill from a task! > > > So long > \ > Sascha > > 2010/4/6 Bertuzzi, Armando [Nervianoms] > > > > Hi all, > > using the ofBiz Project Manager module, is it possible to delete a > > Skill Standard Entry for a Task (Project > Tasks > Skill Standards)? > > (comment: Apparently only the "Update" option is available for each > > entry). > > Many thanks in advance for your help, > > Armando > > > > > > > -- > http://www.lynx.de > -- http://www.lynx.de
Re: Deleting a Skill Standard Entry for a Task
i think on this screen u can't ... a workaround is to set the duration to zero, but the skill will stay. But it's a good point to add a button to delete a skill from a task! So long \ Sascha 2010/4/6 Bertuzzi, Armando [Nervianoms] > Hi all, > using the ofBiz Project Manager module, is it possible to delete a Skill > Standard Entry for a Task (Project > Tasks > Skill Standards)? > (comment: Apparently only the "Update" option is available for each > entry). > Many thanks in advance for your help, > Armando > > -- http://www.lynx.de
Re: Help required in ftl
Hi Hemanth, you can include ftl with the @include tag. Check this page: http://freemarker.sourceforge.net/docs/ref_directive_include.html Hope that solves your problem. Have a nice day Sascha 2010/4/1 Hemanth Kumar Kanamarlapudi > Hi All, > > I need a help regarding ftl. > > I need to include an ftl file dynamically if it is available or else > include a default ftl page. > > Any one has an idea, please let me know. > > Thanks in advance > > Hemanth > > Hemanth Kumar.K| Module Lead| MindTree Ltd. Maruthi Chambers, No. 17/9C, > 17/4C, Rupena Agrahara, Hosur Road, Bangalore - 560 068, INDIA | > Voice +91 80 25738005 x 77590| Mobile +91 9986134010| email: > hemanth_kanamarlap...@mindtree.com hemanth_kanamarlap...@mindtree.com> |www.mindtree.com http://www.mindtree.com/> | > > > > http://www.mindtree.com/email/disclaimer.html > -- http://www.lynx.de
Re: Brain-storm: OFBIZ on Grails, is this a right way for the future?
Hi Miles, i really like to see a POC of an Grails OFBiz component. I think this could be an interesting project. So Miles keep on working :-) 2010/2/26 huang.mi...@gmail.com > On Fri, 2010-02-26 at 10:06 +0100, Jacques Le Roux wrote: > > Miles, > > > > Well tried, from your argumentation I guess that > > > > 1) you certainly know Grail, > > 2) most of us don't, > I don't think most of you don't. Grails development is merely writing > Groovy code, with which most of you are familiar already. What make > Grails source code difference is many DSL extension specifically to > solve common WEB application requirements. Again you are also familiar > with DSL concept already, the mini-lang could be considered as a DSL > based on XML. Grails use Groovy DSL to gain similar high programming > efficiency. > > > 3) you don't know much about OFBiz yet > > > > So you try to push Grail and we brake on it. As David wisely suggested in > another email a POC is the way for you now... > > > > Thanks for you interest in OFBiz > > > > Jacques > > Nice summary. I agree a POC will make things clear. A sample Grails > OFBIZ component would be a better discussion base. > > Now I've heard the voice from the community and it's time to do more > research on the subject and learn more on OFBIZ itself. Hope I can work > out a sample component in Grails recently. > > Thanks, > Miles. > > > -- http://www.lynx.de
Re: OFBiz Blog, Integration 3rd party tools
Hm thats the point. The idea was to run a 3rd party blog in, maybe, an iFrame (i really don't like this idea). So there are two options, to fully integrate a functional blog application or extend/ improve the ofbiz blog. There are pro and cons for both. 2010/1/29 BJ Freeman > If need is to have something functional quickly then I would suggest you > look at the code of the blog, like wordpress, applications then just > post to ofbiz what is needed. the application would not be in ofbiz > workspace. > Like your login. But the rest of the application runs in it own space > and database. > I would then suggest that you look at the blog in ofbiz and how to add > the functionality of the other blogs for long term. > > Sascha Rodekamp sent the following on 1/29/2010 2:09 AM: > > Hi everybody, > > > > i thought of having a full featured blog in my ofbiz application. > > I like to have a blog that has functions like i.e. wordpress, roller. > > The ofbiz blog can't offer me these things :-) > > > > So someone have an idea how to integrate i.e Roller > > http://roller.apache.org/ (because it's java based) > > or some other great blog software in ofbiz? > > > > So long > > Sascha > > > >
Re: OFBiz Blog, Integration 3rd party tools
yep, maybe someone have an idea or even implemented it. 2010/1/29 Info Olagos > Good question. > How to integrate Roller, interests me also. > > regards, > Heidi > > 2010/1/29 Sascha Rodekamp > > > Hi everybody, > > > > i thought of having a full featured blog in my ofbiz application. > > I like to have a blog that has functions like i.e. wordpress, roller. > > The ofbiz blog can't offer me these things :-) > > > > So someone have an idea how to integrate i.e Roller > > http://roller.apache.org/ (because it's java based) > > or some other great blog software in ofbiz? > > > > So long > > Sascha > > >
OFBiz Blog, Integration 3rd party tools
Hi everybody, i thought of having a full featured blog in my ofbiz application. I like to have a blog that has functions like i.e. wordpress, roller. The ofbiz blog can't offer me these things :-) So someone have an idea how to integrate i.e Roller http://roller.apache.org/ (because it's java based) or some other great blog software in ofbiz? So long Sascha
Re: Eclipse plugin.
Hey everybody, yep Daniel Rosowski, a colleque of mine, began to extend the plugin and we still keep working on it. For now the features are in early development state but it will grow :-) (hopefully soon) Have a nice Day Sascha Sascha Rodekamp Consultant Lynx-Consulting GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: +49 151 140 698 93 Company and Management Headquarters: Lynx-Consulting GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.lynx.de Court Registration: Amtsgericht Bielefeld HRB 35946 Chief Executive Officers: Karsten Noss, Dirk Osterkamp This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. SAP Special Expertise Partner ERP Upgrade Erfolg ist eine Folge. 20 Jahre Lynx
Restricted Tree Access for projects
Hey, I'm looking for a way to restrict the view in a tree Screen. I have a tree in my project manager to show -- Projects -- Phases -- Tasks Now I want an restricted access on the project level, that the user online can see the projects he's assigned to. (like the "list project" page). Anyone know how i can do this? -- Best Regards Sascha
Re: FTL Error in Project MGR/ Blog
its the same error. Ah ok i think i have to test with the new version :) And see what happen 2009/5/1 Scott Gray > What error exactly are you talking about? The exception you originally > sent has been fixed as of about 12 hours ago, if you update your version > that error will be gone. Are you still talking about that error or do you > need to send me a new error message? > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 2/05/2009, at 1:09 AM, Sascha Rodekamp wrote: > > Ok. Maybe first some more words what i want to do: >> >> The idea was to at to every new project, which is created, it's own blog/ >> content to have something like a >> project journal. To easily share information's between the project >> members. >> >> I copied the blog folders >> /widget/blog/*.xml/webapp/ecommerce/blog/*.ftl >> /webapp/ecommerce/images/blog.cssfrom the ecommerce to the projectmgr >> >> folder. >> Added the needed stuff in the projectmgr/../controller.xml. And said the >> ProjectServices.xml to create >> an Blog Content for every new project. This is working fine. >> >> I changed nothing in the BlogScreens.xml#MainBLog. But on that spot there >> occurs my mysterious error. >> It ONLY happened in the "firstBlog" section the "allOtherBlog" section has >> no problems!! >> >> >> >> > operator="equals" type="Integer" value="0"/> >> >> >> >> > location="component://ecommerce/widget/blog/BlogMenus.xml"/> >> >> > text="${blog.contentName} [${blog.contentId}]" >> target="ViewBlogArticle" style="blogheader"> >> > param-name="contentId" from-field="blog.contentId"/> >> > param-name="blogContentId"/> >> >> >> >> >> >> > map-key="SUMMARY" content-id="${blog.contentId}"/> >> >> >> >> >> >> >> >> >> 2009/5/1 Scott Gray >> >> Yes the problem you reported at the bottom of this thread is fixed. >>> >>> If you could provide some steps to reproduce whatever this other issue is >>> that your having I'd be glad to take a look. >>> >>> Regards >>> Scott >>> >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> On 1/05/2009, at 9:28 PM, Sascha Rodekamp wrote: >>> >>> hm really? I updated my ofbiz on monday with the current trunk. >>> >>>> After this monday update the error occurs. >>>> >>>> Maybe i have more detailed informations where my blog crashes. >>>> In the BlogScreens.xml i recommended the >>>> and >>>> >>>> out and included an http://www.hotwaxmedia.com >>>>> >>>>> On 30/04/2009, at 8:27 PM, Sascha Rodekamp wrote: >>>>> >>>>> Hm, nobody an idea about my error msg? >>>>> >>>>>> >>>>>> Error on line 54, column 105 in >>>>>> component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a >>>>>> boolean >>>>>> (true/false) expression here Expression enableEditValue does not >>>>>> evaluate to >>>>>> true/false it is an instance of freemarker.template.SimpleScalar >>>>>> The problematic instruction: -- ==> if editRequest?exists && >>>>>> enableEditValue [on line 54, column 78 in >>>>>> component://widget/templates/htmlScreenMacroLibrary.ftl] >>>>>> in user-directive renderSubContentBegin [on line 1, column 1 in Thu >>>>>> Apr >>>>>> 30 >>>>>> 10:11:47 CEST 2009] >>>>>> >>>>>> Screenshot: http://www.imagebam.com/image/7572a334137517 >>>>>> >>>>>> I'm a little bit desperated about this and hope some can give me a >>>>>> hint... >>>>>> >>>>>> >>>>>> -- >>>>>> Best Regards >>>>>> >>>>>> Sascha >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> >> -- >> Best Regards >> >> Sascha >> > > -- Best Regards Sascha
Re: FTL Error in Project MGR/ Blog
Ok. Maybe first some more words what i want to do: The idea was to at to every new project, which is created, it's own blog/ content to have something like a project journal. To easily share information's between the project members. I copied the blog folders /widget/blog/*.xml/webapp/ecommerce/blog/*.ftl /webapp/ecommerce/images/blog.cssfrom the ecommerce to the projectmgr folder. Added the needed stuff in the projectmgr/../controller.xml. And said the ProjectServices.xml to create an Blog Content for every new project. This is working fine. I changed nothing in the BlogScreens.xml#MainBLog. But on that spot there occurs my mysterious error. It ONLY happened in the "firstBlog" section the "allOtherBlog" section has no problems!! 2009/5/1 Scott Gray > Yes the problem you reported at the bottom of this thread is fixed. > > If you could provide some steps to reproduce whatever this other issue is > that your having I'd be glad to take a look. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 1/05/2009, at 9:28 PM, Sascha Rodekamp wrote: > > hm really? I updated my ofbiz on monday with the current trunk. >> After this monday update the error occurs. >> >> Maybe i have more detailed informations where my blog crashes. >> In the BlogScreens.xml i recommended the >> and >> >> out and included an http://www.hotwaxmedia.com >>> >>> On 30/04/2009, at 8:27 PM, Sascha Rodekamp wrote: >>> >>> Hm, nobody an idea about my error msg? >>>> >>>> Error on line 54, column 105 in >>>> component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a >>>> boolean >>>> (true/false) expression here Expression enableEditValue does not >>>> evaluate to >>>> true/false it is an instance of freemarker.template.SimpleScalar >>>> The problematic instruction: -- ==> if editRequest?exists && >>>> enableEditValue [on line 54, column 78 in >>>> component://widget/templates/htmlScreenMacroLibrary.ftl] >>>> in user-directive renderSubContentBegin [on line 1, column 1 in Thu Apr >>>> 30 >>>> 10:11:47 CEST 2009] >>>> >>>> Screenshot: http://www.imagebam.com/image/7572a334137517 >>>> >>>> I'm a little bit desperated about this and hope some can give me a >>>> hint... >>>> >>>> >>>> -- >>>> Best Regards >>>> >>>> Sascha >>>> >>> >>> >> > -- Best Regards Sascha
Re: FTL Error in Project MGR/ Blog
hm really? I updated my ofbiz on monday with the current trunk. After this monday update the error occurs. Maybe i have more detailed informations where my blog crashes. In the BlogScreens.xml i recommended the and out and included an blog works without this changes. So i do not really understand why this sub-content tag make trouble on the one hand and on the other (in the ecommerce) works without any problems. So long Scott Gray schrieb: Thanks for the report Sascha, the problem is fixed in: trunk - r770501 9.04 - r770503 Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/04/2009, at 8:27 PM, Sascha Rodekamp wrote: Hm, nobody an idea about my error msg? Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar The problematic instruction: -- ==> if editRequest?exists && enableEditValue [on line 54, column 78 in component://widget/templates/htmlScreenMacroLibrary.ftl] in user-directive renderSubContentBegin [on line 1, column 1 in Thu Apr 30 10:11:47 CEST 2009] Screenshot: http://www.imagebam.com/image/7572a334137517 I'm a little bit desperated about this and hope some can give me a hint... -- Best Regards Sascha
Re: FTL Error in Project MGR/ Blog
Hm, nobody an idea about my error msg? Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar The problematic instruction: -- ==> if editRequest?exists && enableEditValue [on line 54, column 78 in component://widget/templates/htmlScreenMacroLibrary.ftl] in user-directive renderSubContentBegin [on line 1, column 1 in Thu Apr 30 10:11:47 CEST 2009] Screenshot: http://www.imagebam.com/image/7572a334137517 I'm a little bit desperated about this and hope some can give me a hint... -- Best Regards Sascha
Re: FTL Error in Project MGR/ Blog
I think i forgot to attach the screenshot: http://www.imagebam.com/image/7572a334137517 Best Regards Sascha Rodekamp Agrenon GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: Company and Management Headquarters: Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.agrenon.com Court Registration: Amtsgericht Bielefeld HRB 36795 Chief Executive Officer: Dirk Osterkamp This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. Besuchen Sie uns! t...@lynx: Unternehmenssteuerung & Process Intelligence! 05. Mai 2009 Lynx Consulting Group & Pepperl+Fuchs GmbH Lilienthalstraße 200 68307 Mannheim
FTL Error in Project MGR/ Blog
Hey everybody, i try to implement the blog in my projectmgr, in a previous version i had no problem. But with the current trunk there are some problemes while showing the blog content. I add two attachments, to make it more clear where the error occurs. In the ecommerce modul i haven't any problems with the blog, someone knows while it's crashes in my project modul? Error Msg: Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar The problematic instruction: -- ==> if editRequest?exists && enableEditValue [on line 54, column 78 in component://widget/templates/htmlScreenMacroLibrary.ftl] in user-directive renderSubContentBegin [on line 1, column 1 in Wed Apr 29 14:33:22 CEST 2009] -- Java backtrace for programmers: -- freemarker.core.NonBooleanException: Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar at freemarker.core.Expression.isTrue(Expression.java:150) at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Macro$Context.runMacro(Macro.java:168) at freemarker.core.Environment.visit(Environment.java:602) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.include(Environment.java:1482) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:103) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:112) at org.ofbiz.widget.screen.MacroScreenRenderer.renderSubContentBegin(MacroScreenRenderer.java:518) at Best Regards the ofbiz intern :-) Sascha Rodekamp Agrenon GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: Company and Management Headquarters: Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.agrenon.com Court Registration: Amtsgericht Bielefeld HRB 36795 Chief Executive Officer: Dirk Osterkamp This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. Besuchen Sie uns! t...@lynx: Unternehmenssteuerung & Process Intelligence! 05. Mai 2009 Lynx Consulting Group & Pepperl+Fuchs GmbH Lilienthalstraße 200 68307 Mannheim Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar The problematic instruction: -- ==> if editRequest?exists && enableEditValue [on line 54, column 78 in component://widget/templates/htmlScreenMacroLibrary.ftl] in user-directive renderSubContentBegin [on line 1, column 1 in Wed Apr 29 14:22:13 CEST 2009] -- Java backtrace for programmers: -- freemarker.core.NonBooleanException: Error on line 54, column 105 in component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a boolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalar at freemarker.core.Expression.isTrue(Expression.java:150) at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Macro$Context.runMacro(Macro.java:168) at freemarker.core.Environment.visit(Environment.java:602) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.include(Environment.java:1482) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:103) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(
Survey Content Upload
Hi all after applying the patch https://issues.apache.org/jira/browse/OFBIZ-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel the "survey content upload" works fine. When uploading a picture it will be stored int the database table imageDataRessource. I need a function to store the file on the file system instead of storing it in the database. Is there a (simple) way to replace the "survey content upload" function with an upload function which stores the file on the file system. Best Regards Sascha R. Sascha Rodekamp Agrenon GmbH Johanniskirchplatz 6 33615 Bielefeld Deutschland Fon: +49 521 5247-0 Fax: +49 521 5247-250 Mobil: Company and Management Headquarters: Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.agrenon.com Court Registration: Amtsgericht Bielefeld HRB 36795 Chief Executive Officer: Dirk Osterkamp This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. *