Нет я имею в виду немного другое но не важно уже, возник второй вопрос по выводу параметра но не в цикле
вот кусок из темплейта вызова внешних параметров - параметра типа строка
<xsl:if test="extra_property_type='text' or extra_property_type='password'">
<input size="{extra_property_size}" name="{extra_property_name}" type="{extra_property_type}" title="{extra_property_comment}" value="{extra_property_value}" />
</xsl:if>
У меня есть дополнительные параметры и они наполовину обязательные поэтому я не могу выводить их в цикле, в общем хочется их выводить как доп свойство в ИС
Делаю так например для вывода поля Квартира
<tr>
<td>Квартира (офис)<br/><br/><br/></td>
<td>
<input name="site_users_address_app" type="text" value="{site_users_address_app}" size="40" class="text important"/>
<br/><span style="font-size: x-small;"> <span style="color: #ff0000;">Обязательно заполните!</span></span><br/><br/>
</td>
</tr>
Затем записываю в сессию, все ок - поле заполнено.
Но в личном кабинете это поле оказывается не заполнено то есть value я не правильно определяю.
Подскажите как правильно заполнить value, вот xml
<?xml version="1.0" encoding="windows-1251"?>
<document>
<page_title>Анкетные данные</page_title>
<site_user_login>html</site_user_login>
<site_user_email>info@trueflavas.ru</site_user_email>
<site_user_fio>i f</site_user_fio>
<site_users_id>165</site_users_id>
<site_users_confirmation>1</site_users_confirmation>
<site_users_login>html</site_users_login>
<site_users_email>info@trueflavas.ru</site_users_email>
<site_users_name>i</site_users_name>
<site_users_surname>f</site_users_surname>
<site_users_patronymic></site_users_patronymic>
<site_users_company></site_users_company>
<site_users_phone>123</site_users_phone>
<site_users_fax></site_users_fax>
<site_users_site></site_users_site>
<site_users_icq></site_users_icq>
<site_users_country></site_users_country>
<site_users_postcode></site_users_postcode>
<site_users_city>s</site_users_city>
<site_users_address></site_users_address>
<site_users_date_registration>25.10.2009 11:43:42</site_users_date_registration>
<site_users_only_date_registration>25.10.2009</site_users_only_date_registration>
<site_users_ip>95.28.124.178</site_users_ip>
<extra_property>
<extra_property_id>19</extra_property_id>
<extra_property_name>site_users_street</extra_property_name>
<extra_property_title>Улица</extra_property_title>
<extra_property_type>text</extra_property_type>
<extra_property_size>40</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>0</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>1</list_id>
<extra_property_value >u</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>16</extra_property_id>
<extra_property_name>site_users_address_dom</extra_property_name>
<extra_property_title>Дом</extra_property_title>
<extra_property_type>text</extra_property_type>
<extra_property_size>40</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>1</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>1</list_id>
<extra_property_value >123</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>17</extra_property_id>
<extra_property_name>site_users_address_bld</extra_property_name>
<extra_property_title>Корпус</extra_property_title>
<extra_property_type>text</extra_property_type>
<extra_property_size>40</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>2</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>1</list_id>
<extra_property_value >123</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>18</extra_property_id>
<extra_property_name>site_users_address_app</extra_property_name>
<extra_property_title>Квартира (офис)</extra_property_title>
<extra_property_type>text</extra_property_type>
<extra_property_size>40</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>3</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>1</list_id>
<extra_property_value >123</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>15</extra_property_id>
<extra_property_name>birthday</extra_property_name>
<extra_property_title>Дата рождения</extra_property_title>
<extra_property_type>text</extra_property_type>
<extra_property_size>0</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>4</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>258</list_id>
<extra_property_value ></extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>14</extra_property_id>
<extra_property_name>male</extra_property_name>
<extra_property_title>Пол</extra_property_title>
<extra_property_type>select</extra_property_type>
<extra_property_size>0</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>5</extra_property_order>
<extra_property_comment></extra_property_comment>
<list_id>1</list_id>
<extra_property_value >
<item>
<item_id>20</item_id>
<item_name>предпочитаю не сообщать</item_name>
<selected>true</selected>
</item>
<item>
<item_id>19</item_id>
<item_name>мужской</item_name>
<selected>false</selected>
</item>
<item>
<item_id>18</item_id>
<item_name>женский</item_name>
<selected>false</selected>
</item>
</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>13</extra_property_id>
<extra_property_name>public_email</extra_property_name>
<extra_property_title>Отображать адрес электронной почты на форуме:</extra_property_title>
<extra_property_type>checkbox</extra_property_type>
<extra_property_size>0</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>6</extra_property_order>
<extra_property_comment>Параметр предназначен для форумов - позволяет или запрещает делать e-mail пользователя общедоступным.</extra_property_comment>
<list_id>258</list_id>
<extra_property_value >0</extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>11</extra_property_id>
<extra_property_name>count_message</extra_property_name>
<extra_property_title>Количество сообщений:</extra_property_title>
<extra_property_type>hidden</extra_property_type>
<extra_property_size>0</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value>0</extra_property_default_value>
<extra_property_order>7</extra_property_order>
<extra_property_comment>Свойство хранит количество сообщений оставленных пользователем на форуме</extra_property_comment>
<list_id>0</list_id>
<extra_property_value ></extra_property_value>
</extra_property>
<extra_property>
<extra_property_id>5</extra_property_id>
<extra_property_name>avatar</extra_property_name>
<extra_property_title>Аватар</extra_property_title>
<extra_property_type>file</extra_property_type>
<extra_property_size>20</extra_property_size>
<extra_property_rows>0</extra_property_rows>
<extra_property_cols>0</extra_property_cols>
<extra_property_checked>0</extra_property_checked>
<extra_property_default_value></extra_property_default_value>
<extra_property_order>8</extra_property_order>
<extra_property_comment>Аватарка для форума</extra_property_comment>
<list_id>1</list_id>
<extra_property_value ></extra_property_value>
</extra_property>
<page_title>Анкетные данные</page_title>
<maillist>
<maillist_id>1</maillist_id>
<maillist_name>Почтовая рассылка1</maillist_name>
<maillist_description></maillist_description>
<maillist_type>0</maillist_type>
<maillist_value>1</maillist_value>
</maillist>
</document>