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
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
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
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
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
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
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
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: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
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
.
--
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
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
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)?
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
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
, 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
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
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]
18 matches
Mail list logo