-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
field types are gotten from the
framework\entity\fieldtype folder for your specific db.
look at the Type for how to define in ofbiz like
type="short-varchar"
there is no text type.
if the db is connected to ofbiz now, and an entity is defined
you can use the web tools to see what would be pulled from the table
go to
https://localhost:8443/webtools/control/entitymaint
find your entity protocolAttribute
click on Fnd
you can put an "A" in the "type" field and see what comes up.
you can do this with the other entities to see the results.
the code that does this is part of the code you will need but written
differently.
The rest of the form is how you want it laid out.
Please contact me directly.
I can only respond to mailing list concern here.
Jack Liu sent the following on 2/17/2009 5:46 AM:
> Are you sure what I want and you have a good solution?
> Again:
> What I want is not drop-down list
>
> In table attributetype:
> Id attribute type
> 1 ChUrl A
> 2 SupportedCharsets A
> 3 ServerID A
> 4 ServerID B
>
>
> While in form, we can get all the attributes of type A.
>
> <form name="xxxxxx" type="single"
> target="createProtocolAttribute?protocolid=${id}">
> <field name="ChlUrl"><text/></field>
> <field name="SupportedCharsets"><text/></field>
> <field name="ServerID"><text/></field>
> <field name="submitButton" title="Add Protocol">
> <submit button-type="button"/>
> </field>
> </form>
>
> Three fields ChlUrl, SupportedCharsets, ServerID are all fetched from table,
> not written by hand. Of course, the form maybe looks different, but can reach
> the same effect as above.
>
> Are you sure you can do it? If you can do it, money is not a problem, I think.
>
> -----Original Message-----
> From: BJ Freeman [mailto:[email protected]]
> Sent: 2009年2月17日 21:20
> To: [email protected]
> Subject: Re: Tricky! About fields in the form
>
> On the list I point people to places they can learn.
> however if you want personal help I will be glad to consult with you for
> a fee.
>
> Jack Liu sent the following on 2/17/2009 5:13 AM:
>> Could you give me an example in OFBiz?
>> I think it's very easy for you to find an example?
>
>
>> -----Original Message-----
>> From: BJ Freeman [mailto:[email protected]]
>> Sent: 2009t217
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJmwAVrP3NbaWWqE4RAthZAJ9VaOPZYck0knKhkWonlTQVM/atVACgw9L9
kuK7hmiWYs0m6TtyH4tZLUw=
=84jD
-----END PGP SIGNATURE-----