Re: [Hypercontent-users] Schedule update error
Brought to you by:
alexvigdor
|
From: tom t. <j_l...@ya...> - 2007-08-29 01:42:22
|
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}">
> > <dq/>
> > <dq who="${scheduler}"/>
> > </event>
> > </q>
> > </workflow
> >
> >
> >
> >
>
______________________________________________________________________
>
> > ______________
> > Pinpoint customers who are looking for what you
> sell.
> > http://searchmarketing.yahoo.com/
> >
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/
> _______________________________________________
> Hypercontent-users mailing list
> Hyp...@li...
>
https://lists.sourceforge.net/lists/listinfo/hypercontent-users
>
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
|