bas60
Posts: 18
|
| Posted: 04/12/2011, 9:38 AM |
|
Boy I must be thick 
At Step 7 things start going wrong - don't see ANY store_products objects listed
in fact can't seem to figure out where the "store_productsproduct_name come from
Step 9 there is no optin to select just "product_id"
Damian tried to help by saying follow the instructions - I guess he's right as it must have worked for 100's of others... I just can't see what I'm doing wrong
I printed out the info and ticked off each step...
just can't see where hell store_productsproduct_name comes from 
If anyone can help - I'd appreciate it.
is there an actual sample I can download with this in ?
Anyway thanks for reading!... hope you can help!
|
 |
 |
gerrit
Posts: 131
|
| Posted: 04/13/2011, 12:07 AM |
|
hi,
Take a look at her http://examples.codecharge.com/Ajax/DependentListBox2.php
Open new project and Solutions than ajax examples ?
Gerrit
www.ccsdemo.nl
_________________
| http://www.vision.to | |
 |
 |
bas
|
| Posted: 04/13/2011, 6:14 AM |
|
Hi
Thanks
I just tried that this morning - hadn't seen them before...
Anyway I get sevral warning about unclosed string constant
Autocomplete L50 C116
new Ajax.Request("services/employees.php?keyword=" +
encodeURIComponent($("employeesemp_name").value).replace(/'/g, "%27"), {
DependantListBox2
L60 C130
new Ajax.Request("services/products.php?keyword=" +
encodeURIComponent($("store_productsSearchs_product_id").value).replace(/'/g,
"%27"), {
when I try to publish
"gerrit" <gerrit@forum.codecharge> wrote in message
news:54da54ba4754ff@news.codecharge.com...
> hi,
>
> Take a look at her
> http://examples.codecharge.com/Ajax/DependentListBox2.php
>
> Open new project and Solutions than ajax examples ?
>
>
> Gerrit
> www.ccsdemo.nl
> _________________
> http://www.ccsdemo.nl
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
CodeChargeMVP
Posts: 473
|
| Posted: 04/28/2011, 1:04 PM |
|
yes, the examples aren´t perfectly explained, you shall see which steps has sense in your own application and which does not, but it finally works, just keep it hard.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
bas60
Posts: 18
|
| Posted: 04/28/2011, 1:18 PM |
|
Still hard at it... after almost 2 weeks...
The instructions are WRONG
(1) Steps 4-6 does not mention anything about "product_name"
then in step 7 you manually need to put in the SPAN attribute on product_name!!!
Step 9 > 3 - need to set the Target Control to "product_id " - this is NOT available in the Dropdown and because its a dropdown can't type into
So step 9 - Autofill is a show stopper
|
 |
 |
bas60
Posts: 18
|
| Posted: 04/28/2011, 1:23 PM |
|
Been on to CodeCharge support
They don't seem to find anything wrong with the Instructions
Although not able to tell me where in the instructions the lable "product_name" is set
(obviously missing step)
And so far no clue as to how to set Target Control to "product_id" in step 9 > 3
(almost a dozen replies later...)
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 04/29/2011, 4:19 AM |
|
What I did, to get sucess on this issue were to adapt the example from CodeCharge to my real database so every field on the example means a real field in my database.
Then you can see which steps are insane and which does not.
I printed the example code, I downloaded the examples code and loaded the project on CCS.
Also a pen and a paper is necessary, without it there´s not way to make it any sense.
I hope this tricks guide you the right way.
Quote bas60:
Been on to CodeCharge support
They don't seem to find anything wrong with the Instructions
Although not able to tell me where in the instructions the lable "product_name" is set
(obviously missing step)
And so far no clue as to how to set Target Control to "product_id" in step 9 > 3
(almost a dozen replies later...)
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
bas60
Posts: 18
|
| Posted: 04/29/2011, 4:34 AM |
|
The generated example work fine - if you ignore the warning messages !
The problem I'm having is simply to RE-CREATE this example following instruction on the codecharge site and the link in the generated Ajax example (both are the same)
There are missing bits and CodeCharge support is incapable of seeing the missing info in the document.
For example - steps 4-6 mentions changing the label1 and label2 to price and description
but no mention of label "product_name"
Then in step 7 - mention putting SPAN attributes by adding
<span id="store_productsproduct_name"></span> !!!!
obviously, they deal with support issues all day but they'd have to blind not to spot this mistake when I have told them SEVERAL times
Then on STEP 9 > 3
Target Control needs to be set to product_id - this cannot be done
This is a droplist and only two value are avaiable
Again if anyone at Yessoftware actually bother to check the instructions they will find these are wrong....
some step is missing
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 05/05/2011, 12:25 PM |
|
Hi,
yes we´re all agree than the instructions are insane, but despite that is possible to make it work, I did it just 15 days after starting working for the first time over CCS.
Quote bas60:
The generated example work fine - if you ignore the warning messages !
The problem I'm having is simply to RE-CREATE this example following instruction on the codecharge site and the link in the generated Ajax example (both are the same)
There are missing bits and CodeCharge support is incapable of seeing the missing info in the document.
For example - steps 4-6 mentions changing the label1 and label2 to price and description
but no mention of label "product_name"
Then in step 7 - mention putting SPAN attributes by adding
<span id="store_productsproduct_name"></span> !!!!
obviously, they deal with support issues all day but they'd have to blind not to spot this mistake when I have told them SEVERAL times
Then on STEP 9 > 3
Target Control needs to be set to product_id - this cannot be done
This is a droplist and only two value are avaiable
Again if anyone at Yessoftware actually bother to check the instructions they will find these are wrong....
some step is missing
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |