woody: null instead of empty string if field left empty

2004-05-12 Thread Hubert Trzewik
I have a problem with woody. Let's say I store filled form in SQL DB. On woody exit an XSP page is fired. Inside XSP SQL query is builded. Let say form has 4 fields. We filled two first, and the 3rd and 4th we left empty. SQL query I get in result is: INSERT INTO onetable VALUES ('filled

Woody - XML binding - float datatype - problem found

2004-04-20 Thread Hubert Trzewik
I found a problem with binding data to woody form. Example: In this example binding works perfectly.. XML data for binding: MyFactor55/MyFactor Form definition: wd:field id=myfactor wd:labelMy facor:/wd:label wd:datatype base=string/ /wd:field But if we change datatype in definition to

Re:Woody-XMLbinding-floatdatatype-problemfound

2004-04-20 Thread Hubert Trzewik
is converted but into decimal type - don't know why.. ok.. now I found I can use decimal instead of float.. so, anyway, Marc, I found your advice usefull, thank you :) Hubert Trzewik wrote: I found a problem with binding data to woody form. Example: In this example binding works perfectly.. XML

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Hubert Trzewik
Hi, XSP:EXPR should be outside of XSP:LOGIC block.. try: select xsp:logic String app_id = util:get-sitemap-parameter name=app_id/; String user_id = util:get-sitemap-parameter name=user_id/; /xsp:logic END OF XSP:LOGIC BLOCK MOVED HERE val1xsp:exprapp_id/xsp:expr/val1

Re: ProblemspassingparameterstoXSP

2004-04-20 Thread Hubert Trzewik
inside xsp:logic block.. CDias - Original Message - From: Hubert Trzewik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 4:53 PM Subject: Re: Problems passing parameters to XSP Hi, XSP:EXPR should be outside of XSP:LOGIC block.. try: select xsp:logic

Woody - Repeater Widget - Selection List source

2004-04-15 Thread Hubert Trzewik \(Prosystel\)
In short: How to change selection list source for new rows added by repeater widget? In details: I'b building a form. There is a selection list in there in repeater widget. Selection list has a XML source (its items) (in fact it's build by XSP). But the source may change to another XML

Re: National chars in forms

2004-03-17 Thread Hubert Trzewik
Hello Hubert, (...) Regards, Marcin Okraszewski P.S.2 How do you expect can we connect your localhost - your and our localhosts are different!! I did not. I meant try it with your own instalation and samples included. P.S.2 Write Polish with capital P, otherwise you say to make

Re: map:parameters problem

2004-02-05 Thread Hubert Trzewik \(Prosystel\)
Yeah, it works. Thanks. I was conscious map:act.. is additional level, but I forgot I can use ../ to address my variables.. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - Original Message - From: Loic Quintin de Kercadio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday

map:parameters problem

2004-02-04 Thread Hubert Trzewik \(Prosystel\)
map:call resource=stage1 !-- and here we set parameter -- map:parameter name=myparam value=123456/ /map:call /map:match /map:pipeline /map:pipelines -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED

Re: XSP, for loop, XSP logicsheets

2004-01-27 Thread Hubert Trzewik \(Prosystel\)
whenever I need to do work with any:logicsheets on Java data structers which are arrays, etc. How no idea how to make use of logicsheets in this situations. Simple thing is becoming impossible, very annoying. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - Original Message - From

Re: XSP, for loop, XSP logicsheets

2004-01-27 Thread Hubert Trzewik \(Prosystel\)
. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - Original Message - From: Hubert Trzewik (Prosystel) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 9:50 AM Subject: Re: XSP, for loop, XSP logicsheets Maybe I present problem in another way. Let say

Woody output widget

2004-01-22 Thread Hubert Trzewik \(Prosystel\)
I tried to use woody _output widget_. It shows it's label on rendered screen but _no value_. If I change it into normal field widget I see _both_ label and value in text field. What may be wrong? -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED

Re: Woody output widget

2004-01-22 Thread Hubert Trzewik \(Prosystel\)
Yes, it works. Thank you Upayavira. I was close to try it in this way as I discovered wi:styling.. possibilities. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - Original Message - From: Upayavira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 22, 2004 12:27

How to make back button on woody form (flow)?

2004-01-21 Thread Hubert Trzewik \(Prosystel\)
How to make back button on woody form (flow)? Can I define any widget for that? -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

JXForm - filling model with data from DB

2004-01-20 Thread Hubert Trzewik \(Prosystel\)
Need tip for following subject. JXForm is easy to create forms with multi-views and to build data model (for/from forms) just programming in _javascript_. But, let say, I need to prepare a data model before displaying form. And I need access to DB for that. Question is how toaccess SQL DB

From flow with JXForm to XSP Logicsheet

2004-01-19 Thread Hubert Trzewik \(Prosystel\)
, becaue: XSP needs own generator and JXForm needs it's own generator. The only solve I can see is that source for one of these generators is an internal pipeline with other generator. But I'm not sure is I think in good way. Can I count on your tips? -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL

Re: Null instead of value while passing map:parameter to XSPAction

2004-01-09 Thread Hubert Trzewik \(Prosystel\)
Works. I thought that map:parameter element inside map:act will be 'executed' after action do action:set-success/. -- Hubert Trzewik Prosystel Sp. z o.o. [EMAIL PROTECTED] - Original Message - From: Olivier Billard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 09, 2004 12

Passing parameters from sitemap map:act ... to XSP action - how?

2003-12-23 Thread Hubert Trzewik \(Prosystel\)
Hello. Could anybody provide some examples ofpassing parameters from sitemap, from map:act ... element to action written in XSP. I need complete example- what to put in sitemap and what to put in XSP. --Hubert TrzewikProsystel Sp. z o.o.[EMAIL PROTECTED]