RE: Re: 5 csets were pushed to core/stable:Dynamic_TextBox_Property.php: //Desc: A...

"Michael Cortez" <mcortez-8sipqmjc3J32fBVCVOL8/[email protected]>
Newsgroups gmane.comp.cms.xaraya.bk-notices
Message-ID <[email protected]>
>>  What's this all about ? Seems like the Select changes 
>>  re-introduce some invalid defaults, adds some HTML in 
>>  code rather than the template again,

Personally I don't understand how this could have happened again, I
pulled latest before working on this.

I'll correct both of these now.


>>  not to mention that xarVarFetch() is handled by 
>>  checkInput() already, so there's no reason to do 
>>  this in the Select or TextBox property code.
>>  


Because I needed it during the display of the input control, not during
the processing of the input control.


>>  And then 
>>  perhaps you might
>>  explain exactly what you were trying to "fix" so we can 
>>  provide a cleaner
>>  solution...


>From the Comment:
//Desc: Allows the creation of links to submitting pubtypes, where the
default value is passed in via the link
//TODO: This functionality should be pushed farther up the work flow
into DD itself

This allows you to construct a link to create a new article, and in that
link specify default values to be put into those inputs.

And yes, I noted it would be better to handle this farther up inside DD
-- but thought it was a useful enough feature, to commit it now.


--
Mike C.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.