ask expression onclick

ask expression onclick

  

Hi all,

anyone can help me?
i have a problem, i want when i click on richwidgets expression content will appear
the content already success hide using code if(ShowListContent,"","display:none")

anyone can give me some tutorial for my problem?

Thanks
Risa

Hi Risa,

Dou you mean expression widget? I do not know about Rich Widget expression. 

To hide and show an expression:

1. put the expression in a container and name the container.

2. put an if statement to that container... and give the conditional value of ShowListContent 

3. in onclick just ajax refresh the container

here the pics:

regards,

bb


Hi Risa,

If the information provided by Barong didn't solve your problem, then please provide more details. Your scenario is not very clear.


Shashank...

Shashank Diwan wrote:

Hi Risa,

If the information provided by Barong didn't solve your problem, then please provide more details. Your scenario is not very clear.


Shashank...

Hi Barong and Shashank,

Thank you for your reply,

i will explain my problem clearly,

i have expression widget with value in it, you can see the capture :

and the expression widget can be clicked and appear content like this :

is it possible in outsystem?

hi Putri,

- which one is your expression widget?

regards,

bb

Barong Bali wrote:

hi Putri,

- which one is your expression widget?

regards,

bb


Hi Barong,

The expression widget in the first picture with yellow color

Thanks

Risa



Hi Risa,

I think you have 2 sections 

- Product Name 

- Product Detail 

and you want once you click on one specific Product Name, the details section should be refreshed with that Product count or data.

If so, yes this is possible, you can have a link with each Product Name and on the link you can create a screen action, which can get the details for that product so you can refresh your below Detail table with the values. You can also create a webblock for your details table which take Product ID as an input parameter.

Remember you need to pass this new action the Product ID and you need to use the Ajax refresh to refresh details. 

Please let me know if you need further help.


Shashank...

Shashank Diwan wrote:

Hi Risa,

I think you have 2 sections 

- Product Name 

- Product Detail 

and you want once you click on one specific Product Name, the details section should be refreshed with that Product count or data.

If so, yes this is possible, you can have a link with each Product Name and on the link you can create a screen action, which can get the details for that product so you can refresh your below Detail table with the values. You can also create a webblock for your details table which take Product ID as an input parameter.

Remember you need to pass this new action the Product ID and you need to use the Ajax refresh to refresh details. 

Please let me know if you need further help.


Shashank...

Hi Shashank,

yes, something like that

can you give me an example or tutorial to make it ?

Thank you

Risa


Solution

hi Putri,

Before click widget expression "Commercial":

After click:

I attach the oml.

regards,

bb

Solution

Barong Bali wrote:

hi Putri,

Before click widget expression "Commercial":

After click:

I attach the oml.

regards,

bb

Hi Barong,

I've tried it and it works

Thank you very much for your help


Thanks

Risa