Hello,
think you hit an important issue. Chiba only understands only certain
params and obviously get scrambled when there are some different ones.
this is a bug besides the fact that the Servlet should pass arbitrary
params through (which is doesn't).
btw, your mail encoding is somewhat strange - please post plain-text
when writing to the list - thanks.
Joern
Михаил Павлов wrote:
hi.
I installed 0.9.7 version of chiba and tried to test parameterizing Connector
URIs
and found that it does not work/
a have modified todo.xhtml to get instance from todo-data.jsp with
attribute src="/forms/todo-data.jsp?user={user}".
in todo-data.jsp i place this parameter into "description" node.
and when i call the form with
"http://localhost:8080/chiba-0.9.7/XFormsServlet?form=/forms/todo.xhtml&user=mic"
i`m getting
NullPointerException from chiba in ConnectorFactory.applyContextProperties
From the source i can guess that no context is set in
ConnectionFactory for HTTPURIResolver
OR maybe i`m doing something wrong way.
------------------------------------------------------------------------
This example will write the list of todos to a local file called
'todo-data.xml' every time you hit the 'save'-button. 'todo-data.xml'
can be found in the same directory as this form. todo list Description
Priority 1 1 2 2 3 3 4 4 5 5 Priority 1 is highest Due Status Not
Started not started In Progress in progress Finished finished Insert
Delete Save
------------------------------------------------------------------------
<% response.setContentType("text/xml"); %> <%=
request.getParameter("user")%> 20.01.2003 1 not started
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|