Re: [twsocket] HTTPserver Template

2006-05-04 Thread Francois PIETTE
> is it possible or has someone realized some templates with HTTPServer 
> component that also contains a variable ?? For example you normally have 
> a variable <#DEVICE> in a table row all devices are listed at this 
> position. But it would also be great to handle over a variable like 
> <#DEVICE 2> so that at this position the info of Device 2 is printed and 
> at <#DEVICE 99> the information of device no. 99. In my code I only have 
> one tag that handle over the address.

Why not simply having <#DEVICE1> <#DEVICE2> and so on ?
In the even handler you have access to the tag name.
See the component source to understand how it is implemented :-)

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] HTTPserver Template

2006-05-03 Thread Stefan Blankenagel
Hi,

is it possible or has someone realized some templates with HTTPServer 
component that also contains a variable ?? For example you normally have 
a variable <#DEVICE> in a table row all devices are listed at this 
position. But it would also be great to handle over a variable like 
<#DEVICE 2> so that at this position the info of Device 2 is printed and 
at <#DEVICE 99> the information of device no. 99. In my code I only have 
one tag that handle over the address.

best regards

Stefan
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be