Re: [Hypercontent-users] Schedule update error
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-08-30 04:09:12
|
Hi Alex, Thanks for the infor, I got this working, only pending thing is the publishers to have the download zip feature. Thanks --- Alex Vigdor <al...@bi...> wrote: > With that href you should see details on the right > hand side like > this (I just did this using the same script in my > environment) > > History > 8/29/07 9:47:49 AM > Schedule Appearance > by you > Current Queues > /workflow-data/queues/principal/alex > /workflow-data/queues/schedule/scheduled > Attributes > start-edition = 2 > href = > https://server.net/project/workflow-data/work/1p/xi/dv/8j/hf/ > > 1pxidv8jhfkw.ser?mode=work-details > pre-edition = 1 > end-date = 2007-08-29 09:50 > scheduler = alex > start-date = 2007-08-29 09:49 > end-edition = 1 > > This is exactly the same screen that appears when > you click "more > details" on the lower left hand side of the screen. > Does that link > work for you? The template for that screen is > located in the > bootstrap project at /screens/work-details.vm. > > You should make sure that you have enabled "read" > permissions for > files matching /workflow-data/**/*.* for authors and > other relevant > groups that should be able to see workflow details. > See my last > message about permissions inheritance; you may be > unintentionally > blocking access to the screen. > > Alex > > On Aug 28, 2007, at 9:42 PM, tom tom wrote: > > > Hi Alex, > > > > I did what you stated, the error disappeared but > it > > shows a blank page in the right hand side, should > it > > show the updated schedule entries instead of a > blank > > page. > > > > Following is the top entries of the xml with your > > change, should I have the change some where down? > > > > workflow binding="/**/*.*"> > > â > > <event name="schedule-appearance" > > permissions="approve"> > > > > <variable name="href" > > > value="${abs-server-base}${work-path}?mode=work-details"/> > > > > <input label="Please enter a beginning date as > > YYYY-MM-DD [00-23]:[00-59]" name="start-date" > > pattern="\d\d\d\d-\d\d-\d\d \d\d:\d\d" > type="text"/> > > > > <input label="Please enter an ending date" > > name="end-date" pattern="\d\d\d\d-\d\d-\d\d > \d\d:\d\d" > > type="text"/> > > > > <input default="-1" label="Please enter the > edition to > > appear before the start date (-1 for invisible)" > > name="pre-edition" type="text"/> > > > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> Hi , > >> "href" is a property of a work item that > indicates > >> what should be > >> displayed in the right hand pane of the workflow > >> screen. Since > >> "href" is not set in that script, you are seeing > the > >> "file not found" > >> error - this is actually harmless, but you might > >> want to add > >> something like this in the top level event: > >> > >> <variable name="href" > >> value="${abs-server-base}${work-path}?mode=work- > >> details"/> > >> > >> That will set the right hand to display the "work > >> details" screen. > >> > >> Alex > >> > >> On Aug 28, 2007, at 2:47 AM, tom tom wrote: > >> > >>> Hi, > >>> > >>> When I try to update the schedule parameters in > >> the > >>> workflow screen and press the schedule > appearance > >>> button > >>> it gives the following error, > >>> > >>> what is this $href > >>> > >>> No file found at > >>> > >> > > > http://localhost/hypercontent/production/studentDetails/ > >> > >>> studentUpdates/$href > >>> > >>> my schedule.xml looks as follows. > >>> > >>> > >>> > >>> workflow binding="/**/*.*"> > >>> â > >>> <event name="schedule-appearance" > >>> permissions="approve"> > >>> <input label="Please enter a beginning date as > >>> YYYY-MM-DD [00-23]:[00-59]" name="start-date" > >>> pattern="\d\d\d\d-\d\d-\d\d \d\d:\d\d" > >> type="text"/> > >>> <input label="Please enter an ending date" > >>> name="end-date" pattern="\d\d\d\d-\d\d-\d\d > >> \d\d:\d\d" > >>> type="text"/> > >>> <input default="-1" label="Please enter the > >> edition to > >>> appear before the start date (-1 for invisible)" > >>> name="pre-edition" type="text"/> > >>> <input label="Please enter the edition to appear > >> on > >>> the start date" name="start-edition" > type="text"/> > >>> <input default="-1" label="Please enter the > >> edition to > >>> appear on the end date (or -1 to disappear)" > >>> name="end-edition" type="text"/> > >>> <variable name="scheduler" value="${actor}"/> > >>> <nq who="${scheduler}"/> > >>> <nq q="scheduled"/> > >>> â > >>> <exec > >>> > >> > > > command="org.hypercontent.workflow.command.SetCurrentEdition"> > >>> <with-param name="edition" > >> value="${pre-edition}"/> > >>> </exec> > >>> </event> > >>> â > >>> <q id="scheduled"> > >>> â > >>> <event name="begin-appear" > when="${start-date}"> > >>> â > >>> <exec > >>> > >> > > > command="org.hypercontent.workflow.command.SetCurrentEdition"> > >>> <with-param name="edition" > >> value="${start-edition}"/> > >>> </exec> > >>> </event> > >>> â > >>> <event name="end-appear" when="${end-date}"> > >>> â > >>> <exec > >>> > >> > > > command="org.hypercontent.workflow.command.SetCurrentEdition"> > >>> <with-param name="edition" > >> value="${end-edition}"/> > >>> </exec> > >>> <dq/> > >>> <dq who="${scheduler}"/> > >>> </event> > >>> â > >>> <event name="cancel" who="${scheduler}"> > === message truncated === ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC |